1 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3 * net/shr.el (shr-render-region): Autoload.
5 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
7 * net/eww.el (eww-download-directory): Rename from
8 `eww-download-path' (Bug#16419).
10 2014-01-12 Leo Liu <sdl.web@gmail.com>
12 * dired-x.el (dired-mode-map): Fix last change.
14 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
16 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
19 * emacs-lisp/generic.el (generic--normalize-comments):
20 Rename from generic--normalise-comments. All uses changed.
21 * play/bubbles.el (bubbles--neighborhood-score):
22 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
23 (bubbles--neighborhood-available)
24 (bubbles--update-neighborhood-score):
25 Rename from names with 'neighbourhood'. All uses changed.
27 2014-01-12 Leo Liu <sdl.web@gmail.com>
29 Re-implement the feature of showing eldoc info after editing.
30 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
31 (eldoc-edit-message-commands): New function.
32 (eldoc-print-after-edit): New variable.
33 (eldoc-pre-command-refresh-echo-area): Emit message only by
34 eldoc-message-commands.
35 (eldoc-mode): Restrict eldoc-message-commands to editing commands
36 if eldoc-print-after-edit is set. (Bug#16346)
38 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
40 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
42 * version.el (emacs-repository-get-version): Enhance so the
43 function works correctly in either a Bazaar or Git repo.
45 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
46 Goes with removal of the joke manpages from /etc.
48 2014-01-10 K. Handa <handa@gnu.org>
50 * mail/rmail.el (rmail-get-coding-system):
51 Check rmail-get-coding-function before "funcall"ing it.
53 2014-01-10 Glenn Morris <rgm@gnu.org>
55 * emacs-lisp/authors.el (authors-fixed-entries):
56 Update for files that no longer exist.
58 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
60 * version.el (emacs-bzr-get-version): Restore compatibilty with
63 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
65 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
68 2014-01-10 Eli Zaretskii <eliz@gnu.org>
70 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
72 2014-01-10 Chong Yidong <cyd@gnu.org>
74 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
76 2014-01-10 Anders Lindgren <andlind@gmail.com>
78 * follow.el (follow-cache-command-list): Include right-char and
81 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
84 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
85 * woman.el (woman-mark-horizontal-position):
86 Rename from woman-mark-horizonal-position. Use changed.
88 2014-01-10 Glenn Morris <rgm@gnu.org>
90 * info.el (info-initialize): If running uninstalled, ensure our
91 own info files are always found first, even if INFOPATH is set.
93 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
95 2014-01-09 David Engster <deng@randomsample.de>
97 * emacs-lisp/eieio-custom.el:
98 * emacs-lisp/eieio-opt.el: Set generated autoload file to
99 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
100 * emacs-lisp/eieio.el: Regenerate autoloads.
102 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
104 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
105 following renames. (Bug#8756)
107 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
109 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
111 (activate-mark): Add `no-tmm' argument.
112 (set-mark, push-mark-command): Use it instead of running
113 activate-mark-hook by hand.
115 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
117 In preparation for the move to git, sanitize out some
118 Bazaar-specific names.
120 * version.el (emacs-bzr-version): Name changed to
121 emacs-repository-version. Obsolete-variable alias made.
122 * loadup.el: Follow through on this name change.
123 * mail/emacsbug.el (report-emacs-bug): Factor out any
124 assumption about the version control system in use.
126 2014-01-08 David Engster <deng@randomsample.de>
128 * help-fns.el (help-fns-describe-function-functions):
129 New variable to call functions for augmenting help buffers.
130 (describe-function-1): Remove explicit calls to
131 `help-fns--compiler-macro', `help-fns--parent-mode' and
132 `help-fns--obsolete'. Put them in above new variable instead, and
133 call them through `run-hook-with-args'.
134 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
135 `eieio-describe-class'. Not meant for interactive use anymore,
136 but to augment existing help buffers. Remove optional second
137 argument. Create proper button for file location.
138 Rewrite function to use `insert' instead of `princ' and `prin1' where
140 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
141 (eieio-method-def, eieio-class-def): Move further up.
142 (describe-method, describe-generic, eieio-describe-method):
144 (eieio-help-constructor, eieio-help-generic): Rename from
145 `eieio-describe-constructor' and `eieio-describe-generic', resp.
146 Rewrite to use `insert' in the current buffer and use proper help
148 (eieio-help-find-method-definition)
149 (eieio-help-find-class-definition): Also accept symbols as
151 (eieio-help-mode-augmentation-maybee): Remove.
152 (eieio-describe-class-sb): Use `describe-function'.
153 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
154 Add `eieio-help-generic' and `eieio-help-constructor'.
156 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
159 * language/china-util.el (hz-ascii-designation):
160 Rename from hz-ascii-designnation.
161 (hz-ascii-designation): Rename from hz-ascii-designnation.
164 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
166 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
169 2014-01-08 Bastien Guerry <bzg@gnu.org>
171 * emacs-lisp/package.el (package-delete):
172 Correctly delete the package from package-alist.
174 2014-01-08 Daiki Ueno <ueno@gnu.org>
176 * emacs-lisp/package.el (url-recreate-url): Declare.
177 (url-http-target-url): Declare.
178 (package-handle-response): Include requested URL in the error message.
179 (package--check-signature): Don't re-signal errors from
180 package--with-work-buffer. Suggested by Stefan Monnier.
182 2014-01-07 Bastien Guerry <bzg@gnu.org>
184 * minibuffer.el (completion--try-word-completion): When both a
185 hyphen and a space are possible candidates for the character
186 following a word, display both candidates. (Bug#15980)
188 2014-01-07 Martin Rudalics <rudalics@gmx.at>
190 * window.el (balance-windows-2): While rounding don't give a
191 window more than the remainder. Bug#16351, Bug#16383.
193 2014-01-07 Glenn Morris <rgm@gnu.org>
195 * menu-bar.el (menu-bar-help-extra-packages): Remove.
196 (menu-bar-help-menu): Use view-external-packages instead.
198 2014-01-07 Bastien Guerry <bzg@gnu.org>
200 * emacs-lisp/package.el (package-delete): Also delete the package
201 name from `package-alist', not its description only.
203 2014-01-07 Glenn Morris <rgm@gnu.org>
205 * help.el (view-external-packages):
206 * menu-bar.el (menu-bar-help-extra-packages):
207 Visit efaq.info rather than etc/MORE.STUFF.
209 2014-01-07 Juri Linkov <juri@jurta.org>
211 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
212 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
214 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
215 that shadows RET. (Bug#16342)
217 2014-01-07 Chong Yidong <cyd@gnu.org>
219 * isearch.el (isearch-yank-char, isearch-yank-word)
220 (isearch-yank-line): Doc fix.
222 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
224 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
225 * emacs-lisp/elint.el (elint-find-builtins):
226 * emacs-lisp/eldoc.el (eldoc-symbol-function):
227 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
228 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
229 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
230 * apropos.el (apropos-safe-documentation):
231 * subr.el (symbol-file): Remove redundant fboundp.
232 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
234 2014-01-06 Bastien Guerry <bzg@gnu.org>
236 * hl-line.el (global-hl-line-overlay): Make a local variable.
237 (global-hl-line-overlays): New variable to store all overlays.
238 (global-hl-line-mode): Don't delete overlays from the current
239 buffer when `global-hl-line-sticky-flag' is non-nil.
240 (global-hl-line-highlight): Add new overlays to
241 `global-hl-line-overlays'.
242 (global-hl-line-unhighlight-all): New function to delete all
243 overlays when turning off `global-hl-line-mode'.
244 This fixes Bug#16183.
246 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
248 * subr.el (set-transient-map): Fix nested case and docstring.
250 2014-01-06 Tassilo Horn <tsdh@gnu.org>
252 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
255 2014-01-06 Daniel Colascione <dancol@dancol.org>
257 Fix defun navigation in vc log view.
259 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
260 like `beginning-of-defun'.
261 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
262 log-view-end-of-defun to log-view-end-of-defun-1. Replace
263 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
264 (log-view-extract-comment): Call `log-view-current-entry' directly
265 instead of relying on broken `log-view-beginning-of-defun' behavior.
267 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
270 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
271 * emacs-lisp/debug.el (cancel-debug-on-entry):
272 * epg.el (epg-error-to-string):
273 * files.el (recover-file):
274 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
275 * mail/emacsbug.el (report-emacs-bug-hook):
276 * mail/sendmail.el (mail-recover):
277 * ses.el (ses-yank-resize):
278 * term/ns-win.el (ns-print-buffer):
279 Spelling fixes in diagnostics, mostly for "canceled" with one L.
280 * epg.el (epg-key-capability-alist): Rename from misspelled version.
282 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
284 2014-01-06 Leo Liu <sdl.web@gmail.com>
286 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
287 to avoid shadowing global key. (Bug#16354)
289 2014-01-06 Daniel Colascione <dancol@dancol.org>
291 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
294 2014-01-05 Martin Rudalics <rudalics@gmx.at>
296 * window.el (balance-windows): Add mising t to fix Bug#16351.
298 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
300 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
302 (shr-insert): If we have a word that's longer than `shr-width',
303 break after it anyway. Otherwise we'll do no breaking once we get
306 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
308 * net/eww.el (eww): Support single/double quote for search.
309 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
310 (eww-history-quit): Delete and use quit-window.
311 (eww-history-kill): Delete, because it doesn't work well and
313 (eww-history-mode-map): Delete some keys and add easy-menu.
315 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
317 Fix misspelling of 'chinese' in rx (Bug#16237).
318 * emacs-lisp/rx.el (rx-categories): Correct spelling of
321 Change subword regexps back to vars (Bug#16296).
322 * progmodes/subword.el (subword-forward-regexp)
323 (subword-backward-regexp): Change these back to variables.
325 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
327 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
328 syntax-begin-function (bug#16247).
330 2014-01-03 Chong Yidong <cyd@gnu.org>
332 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
333 (advice--docstring): Delete variable.
334 (advice--make-1): Leave the docstring empty.
335 (advice-add): Use function-documentation for advised docstring.
337 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
338 Ignore function-documentation property when getting documentation.
339 (ad-activate-advised-definition): Use function-documentation
340 generate the docstring.
341 (ad-make-advised-definition): Don't call
342 ad-make-advised-definition-docstring.
343 (ad-make-advised-definition-docstring, ad-advised-definition-p):
346 * progmodes/sql.el (sql-help): Use function-documentation instead
347 of dynamic-docstring-function property. No need to autoload now.
348 (sql--help-docstring): New variable.
349 (sql--make-help-docstring): Use it.
351 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
353 * ielm.el (ielm-tab): Retarget.
354 (ielm-map): Use ielm-tab for tab.
355 (ielm-complete-filename): Use comint-filename-completion.
356 (ielm-complete-symbol): Remove.
357 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
358 remove ielm-tab from completion-at-point-functions (bug#16224).
360 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
361 Beware signals raised by predicates (bug#16201).
363 2014-01-02 Richard Stallman <rms@gnu.org>
365 * dired-aux.el (dired-do-print): Handle printer-name.
367 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
368 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
369 (rmail-epa-decrypt): Turn off mime processing.
371 * mail/rmail.el (rmail-make-in-reply-to-field):
372 Add parens in message-id.
374 * mail/rmail.el (rmail-get-coding-function): Variable.
375 (rmail-get-coding-system): Use it.
377 2013-12-31 Eli Zaretskii <eliz@gnu.org>
379 * international/mule-conf.el: Unify the charset indian-is13194.
380 (indian-is13194): Specify unify-map.
382 2013-12-31 Leo Liu <sdl.web@gmail.com>
384 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
386 2013-12-30 Daniel Colascione <dancol@dancol.org>
388 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
389 of printing a useless when we resume from sleep.
391 * progmodes/sh-script.el
392 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
393 in indentation code. (Bug#16233)
395 2013-12-28 João Távora <joaotavora@gmail.com>
397 * elec-pair.el (electric-pair-post-self-insert-function):
398 Don't open extra newlines at beginning of buffer. (Bug#16272)
400 2013-12-28 Eli Zaretskii <eliz@gnu.org>
402 * frame.el (window-system-for-display): Don't allow to create a
403 GUI frame from a -nw session on MS-Windows. (Bug#14739)
405 2013-12-28 Glenn Morris <rgm@gnu.org>
407 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
410 * apropos.el (apropos-match-face):
411 * calculator.el (calculator-displayer):
412 * dabbrev.el (dabbrev-search-these-buffers-only):
413 * face-remap.el (buffer-face-mode-face):
414 * simple.el (yank-handled-properties):
415 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
416 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
417 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
418 (hashcash-double-spend-database):
419 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
420 (ruby-deep-indent-paren-style):
421 * textmodes/flyspell.el (flyspell-auto-correct-binding):
422 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
423 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
424 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
425 Specify custom types.
427 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
428 * bookmark.el (bookmark-bmenu-use-header-line):
429 * doc-view.el (doc-view-scale-internally):
430 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
431 * register.el (register-preview-delay):
432 * net/shr.el (shr-bullet):
433 * progmodes/cfengine.el (cfengine-cf-promises)
434 (cfengine-parameters-indent):
435 * progmodes/octave.el (inferior-octave-error-regexp-alist):
436 * textmodes/reftex-vars.el (reftex-label-regexps):
437 * vc/log-edit.el (log-edit-setup-add-author): Add version.
439 * net/tls.el (tls-certtool-program): Fix default value.
441 * desktop.el (desktop-restore-in-current-display):
442 * newcomment.el (comment-empty-lines):
443 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
444 (idlwave-pad-keyword):
445 * progmodes/tcl.el (tcl-tab-always-indent):
446 * textmodes/reftex-vars.el (reftex-index-default-tag):
447 * elec-pair.el (electric-pair-skip-whitespace):
448 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
450 * emacs-lisp/authors.el (authors-ignored-files)
451 (authors-valid-file-names, authors-renamed-files-alist): Additions.
453 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
455 * shell.el (shell-dynamic-complete-command): Doc fix.
456 (shell--command-completion-data): Shell completion now matches
457 executable filenames from the current buffer's directory, on
458 systems in which this behavior is the default (windows-nt, ms-dos).
460 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
462 * net/shr.el (shr-insert): Don't infloop if the width is zero.
464 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
466 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
469 * electric.el: Move all electric-pair-* to elec-pair.el.
470 * elec-pair.el: New file, split from electric.el.
472 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
474 * net/shr.el (shr-find-fill-point): Don't try to fill if the
475 indentation level is larger than the width, because that will
477 (shr-insert): Fill repeatedly long texts, so that Japanese is
478 formatted correctly (bug#16263).
479 (shr-find-fill-point): Off by one error in comparison with the
482 2013-12-26 João Távora <joaotavora@gmail.com>
484 * electric.el (electric-pair-mode): More flexible engine for skip-
485 and inhibit predicates, new options for pairing-related functionality.
486 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
487 if that keeps or improves their balance in buffers.
488 (electric-pair-delete-adjacent-pairs): Delete the pair when
489 backspacing over adjacent matched delimiters.
490 (electric-pair-open-extra-newline): Open extra newline when
491 inserting newlines between adjacent matched delimiters.
492 (electric--sort-post-self-insertion-hook):
493 Sort post-self-insert-hook according to priority values when
494 minor-modes are activated.
495 * simple.el (newline-and-indent): Call newline with interactive
497 (blink-paren-post-self-insert-function): Set priority to 100.
498 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
499 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
500 comments. Locally set electric-pair-skip-whitespace to 'chomp and
501 electric-pair-open-newline-between-pairs to nil.
503 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
505 * progmodes/python.el: Use lexical-binding.
506 (python-nav-beginning-of-defun): Stop searching ASAP.
508 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
510 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
511 Fix interactive spec. Doc fix. (Bug#15754)
513 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
515 * emacs-lisp/byte-run.el (eval-when-compile):
516 * progmodes/cc-defs.el (cc-eval-when-compile):
517 Fix edebug spec (bug#16184).
519 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
521 * net/shr.el (shr-visit-file): Remove debugging function.
522 (shr-insert): Don't infloop if we can't find a good place to break
523 the line (bug#16256).
525 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
527 * progmodes/python.el:
528 (python-nav--lisp-forward-sexp): New function.
529 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
530 python-nav-lisp-forward-sexp-safe.
531 (python-nav--forward-sexp): New argument SAFE allows switching
532 forward sexp movement behavior for parens.
533 (python-nav-forward-sexp): Throw errors on unterminated parens
535 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
536 (python-nav-backward-sexp-safe): New functions.
537 (python-shell-buffer-substring):
538 Use `python-nav-forward-sexp-safe'.
540 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
542 * net/shr.el (shr-find-fill-point): Don't break lines before a
544 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
545 (shr-find-fill-point): Remove the special checks for the quotation
546 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
548 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
550 * net/eww.el (eww-form-textarea): Use a different face for
551 textareas than text input since they have different keymaps
554 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
556 * progmodes/python.el (python-nav-beginning-of-statement):
557 Speed up (Bug#15295).
559 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
561 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
562 the window configuration.
564 2013-12-24 Eli Zaretskii <eliz@gnu.org>
566 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
567 we run on MS-Windows or MS-DOS.
569 2013-12-24 Martin Rudalics <rudalics@gmx.at>
571 * window.el (balance-windows-area): Call window-size instead of
572 window-height and window-width. Bug#16241.
574 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
576 * net/eww.el (eww-bookmark-quit): Remove.
577 (eww-bookmark-browse): Restore the window configuration when you
578 choose a bookmark (bug#16144).
580 2013-12-24 Daniel Colascione <dancol@dancol.org>
582 * icomplete.el: Remove redundant :group arguments to `defcustom'
584 (icomplete-show-matches-on-no-input): New customizable variable.
585 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
586 we have something to show.
587 (icomplete-exhibit): Compute completions even if we have no user input.
589 2013-12-23 Daniel Colascione <dancol@dancol.org>
591 * icomplete.el: Move `provide' to end of file.
593 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
595 * net/gnutls.el (gnutls-verify-error): Add version tag.
597 2013-12-23 Chong Yidong <cyd@gnu.org>
599 * subr.el (set-transient-map): Rename from
600 set-temporary-overlay-map. Doc fix.
602 * face-remap.el (text-scale-adjust):
603 * indent.el (indent-rigidly):
604 * kmacro.el (kmacro-call-macro):
605 * minibuffer.el (minibuffer-force-complete):
606 * repeat.el (repeat):
607 * simple.el (universal-argument--mode):
608 * calendar/todo-mode.el (todo-insert-item--next-param):
609 * progmodes/f90.el (f90-abbrev-start): Callers changed.
611 * indent.el (indent-rigidly): Use substitute-command-keys.
613 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
615 * net/eww.el (eww-tag-select): Add text-property to jump to next
617 (eww): Add non-supported ftp error.
619 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
621 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
622 comments. Handle electric indent after typing `?' and `!'.
624 2013-12-22 Chong Yidong <cyd@gnu.org>
626 * faces.el (face-spec-recalc): If the theme specs are not
627 applicable to a frame, fall back on the defface spec.
628 This prevents themes from obliterating faces on low-color terminals.
630 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
632 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
633 after `{'. We need it after block openers, and it doesn't seem
634 to hurt after hash openers.
636 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
638 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
639 extracted from `ruby-smie-rules'.
640 (ruby--electric-indent-chars): New variable.
641 (ruby--electric-indent-p): New function.
642 (ruby-mode): Use `electric-indent-functions' instead of
643 `electric-indent-chars'.
645 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
647 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
649 (ruby-smie-rules): Indent plus one level after `=>'.
651 2013-12-21 Richard Stallman <rms@gnu.org>
653 * simple.el (newline): Doc fix.
655 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
657 * net/eww.el (eww-list-histories, eww-list-histories)
658 (eww-history-browse, eww-history-quit, eww-history-kill)
659 (eww-history-mode-map, eww-history-mode): New command and
660 functions to list browser histories.
661 (eww-form-text): Support text form with disabled
662 and readonly attributes.
663 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
665 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
667 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
668 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
669 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
670 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
672 (eww-bookmark-mode-map): Add menu.
673 (eww-render, eww-mode): Use `setq-local'.
674 (eww-tool-bar-map): New variable.
675 (eww-mode): Set `tool-bar-map'.
676 (eww-view-source): Check for `html-mode' with `fboundp'.
678 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
680 * net/shr.el (shr--extract-best-source): Don't bug out on audio
681 elements with text inside. Also remove debugging.
683 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
685 * cus-start.el (all): Add ns-use-srgb-colorspace.
687 2013-12-21 Chong Yidong <cyd@gnu.org>
689 * custom.el (custom-theme-recalc-face): Do nothing if the face is
690 undefined. Thus, theme settings for undefined faces do not take
691 effect until the faces are defined with defface, the same as with
694 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
695 (face-spec-reset-face): Don't assign extra properties in temacs.
696 (face-spec-recalc): Apply X resources too.
698 2013-12-21 Chong Yidong <cyd@gnu.org>
700 * faces.el (face-spec-set):
701 * cus-face.el (custom-theme-set-faces, custom-set-faces):
702 * custom.el (defface): Doc fixes (Bug#16203).
704 * indent.el (indent-rigidly-map): Add docstring, and move commands
705 into named functions.
706 (indent-rigidly-left, indent-rigidly-right)
707 (indent-rigidly-left-to-tab-stop)
708 (indent-rigidly-right-to-tab-stop): New functions. Decide on
709 indentation direction based on bidi direction, and accumulate
710 sequential commands in a single undo boundary.
711 (indent-rigidly--pop-undo): New utility function.
713 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
715 * faces.el (read-face-name): Require crm.el when using crm-separator.
717 2013-12-20 Daniel Colascione <dancol@dancol.org>
719 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
720 so that we don't reflow comments into the shebang line.
722 2013-12-20 Juri Linkov <juri@jurta.org>
724 * saveplace.el (save-place-to-alist): Add `dired-filename' as
725 a position when `dired-directory' is non-nil. Check integer
726 positions with `integerp'.
727 (toggle-save-place, save-places-to-alist): Add check for
729 (save-place-find-file-hook): Check integer positions with
731 (save-place-dired-hook): Use `dired-goto-file' when
732 `dired-filename' is found in the assoc list. Check integer
733 positions with `integerp'.
734 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
736 * dired.el (dired-initial-position-hook): Rename back from
737 `dired-initial-point-hook'.
738 (dired-initial-position): Rename `dired-initial-point-hook' to
739 `dired-initial-position-hook'.
740 (dired-file-name-at-point): Doc fix. (Bug#15329)
742 2013-12-20 Juri Linkov <juri@jurta.org>
744 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
745 (read-regexp-suggestions): New function.
746 (read-regexp): Use `read-regexp-defaults-function' to get default values.
747 Use `read-regexp-suggestions'. Add non-empty default to history
749 (occur-read-regexp-defaults-function): Remove function.
750 (occur-read-primary-args): Use `regexp-history-last' instead of
751 `occur-read-regexp-defaults-function'.
753 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
754 (hi-lock-line-face-buffer, hi-lock-face-buffer)
755 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
756 `hi-lock-read-regexp-defaults-function'. Doc fix.
757 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
758 with `find-tag-default-as-symbol-regexp'. Doc fix.
759 (hi-lock-read-regexp-defaults): Remove function.
760 (hi-lock-regexp-okay): Add check for null.
762 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
763 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
765 * subr.el (find-tag-default-as-symbol-regexp): New function.
766 (find-tag-default-as-regexp): Move symbol regexp formatting to
767 `find-tag-default-as-symbol-regexp'.
769 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
771 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
774 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
776 * calendar/todo-mode.el: New implementation of item insertion
777 commands and key bindings.
778 (todo-key-prompt): New face.
779 (todo-insert-item): New command.
780 (todo-insert-item--parameters): New defconst, replacing defvar
781 todo-insertion-commands-args-genlist.
782 (todo-insert-item--param-key-alist): New defconst, replacing
783 defvar todo-insertion-commands-arg-key-list.
784 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
785 (todo-insert-item--argsleft, todo-insert-item--apply-args)
786 (todo-insert-item--next-param): New functions.
787 (todo-insert-item--args, todo-insert-item--argleft)
788 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
790 (todo-key-bindings-t): Change binding of "i" from
791 todo-insertion-map to todo-insert-item.
792 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
793 (todo-insertion-command-name, todo-insertion-commands-names)
794 (todo-define-insertion-command, todo-insertion-commands)
795 (todo-insertion-key-bindings, todo-insertion-map): Remove.
797 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
799 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
800 (todo-toggle-item-highlighting): Use eval-and-compile instead of
802 (todo-move-category): Allow choosing a non-existing todo file to
803 move the category to, and create that file.
804 (todo-default-priority): New user option.
805 (todo-set-item-priority): Use it.
806 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
807 (desktop-restore-file-buffer): Declare.
808 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
809 (todo-modes-set-2): Locally set desktop-save-buffer to
810 todo-desktop-save-buffer.
811 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
812 (auto-mode-alist): Add autoload cookie.
814 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
816 * emacs-lisp/subr-x.el: Renamed from helpers.el.
817 helpers.el was a poor choice of name.
818 (string-remove-prefix): New function.
819 (string-remove-suffix): New function.
821 2013-12-20 Martin Rudalics <rudalics@gmx.at>
823 Fix assignment for new window total sizes.
824 * window.el (window--pixel-to-size): Remove function.
825 (window--pixel-to-total-1, window--pixel-to-total):
826 Fix calculation of new total sizes.
828 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
830 * comint.el (comint-output-filter): Fix rear-nonsticky property
831 placement (Bug#16010).
833 2013-12-20 Chong Yidong <cyd@gnu.org>
835 * faces.el (read-color): Minor fix for completion function.
837 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
839 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
840 New option. (Bug#16182)
841 (ruby-smie--indent-to-stmt-p): Use it.
842 (ruby-smie-rules): Revert the logic in the handling of `when'.
843 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
844 (ruby-deep-arglist, ruby-deep-indent-paren)
845 (ruby-deep-indent-paren-style): Update docstrings to note that the
846 vars don't have any effect with SMIE.
848 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
850 * calc/calc.el (calc-enter, calc-pop): Use the variable
851 `calc-context-sensitive-enter'.
853 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
855 * net/shr.el (shr-insert): Protect against infloops in degenerate
858 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
860 * progmodes/octave.el (octave): Add link to manual and octave
862 (octave-mode-menu): Link to octave-mode manual.
864 2013-12-20 Leo Liu <sdl.web@gmail.com>
866 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
867 insertion using skeleton-end-newline. (Bug#16138)
869 2013-12-20 Juri Linkov <juri@jurta.org>
871 * replace.el (occur-engine): Use `add-face-text-property'
872 to add the face property to matches and titles. (Bug#14645)
874 * hi-lock.el (hi-green): Use lighter color "light green" closer to
875 the palette of other hi-lock colors.
876 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
878 2013-12-19 Juri Linkov <juri@jurta.org>
880 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
881 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
882 (minibuffer-history-symbol): Move variable declaration closer to
885 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
888 2013-12-19 Juri Linkov <juri@jurta.org>
890 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
892 (log-edit-hook): Add it to :options. (Bug#16170)
894 2013-12-19 Juri Linkov <juri@jurta.org>
896 * simple.el (eval-expression-print-format): Don't check for
897 command names and the last command. Always display additional
898 formats of the integer result in the echo area, and insert them
899 to the current buffer only with a zero prefix arg.
900 Display character when char-displayable-p is non-nil.
901 (eval-expression): With a zero prefix arg, set `print-length' and
902 `print-level' to nil, and insert the integer values from
903 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
905 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
906 `eval-last-sexp-arg-internal'. Doc fix.
907 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
908 `eval-last-sexp-print-value'. Doc fix.
909 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
910 Set `print-length' and `print-level' to nil when arg is zero.
911 (eval-last-sexp): Doc fix.
912 (eval-defun-2): Print the integer values from
913 `eval-expression-print-format' at the end.
915 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
916 values from `eval-expression-print-format' at the end.
918 * ielm.el (ielm-eval-input): Print the integer
919 values from `eval-expression-print-format' at the end.
921 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
923 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
924 2013-12-11T19:01:44Z!tzz@lifelogs.com.
926 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
928 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
929 (hl-line-highlight, global-hl-line-highlight): Use it.
930 (hl-line-overlay): Use defvar-local.
932 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
934 * term/ns-win.el: Require dnd.
935 (global-map): Remove drag items.
936 (ns-insert-text, ns-set-foreground-at-mouse)
937 (ns-set-background-at-mouse):
938 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
939 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
942 2013-12-19 Glenn Morris <rgm@gnu.org>
944 * emacs-lisp/ert.el (ert-select-tests):
945 Fix string/symbol mixup. (Bug#16121)
947 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
949 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
950 keywords to their parent.
952 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
954 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
955 first arg to be a string (fixed dead code), or an operator symbol.
956 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
958 (ruby-smie-rules): Remove parent token check in the `.' clause, it
959 did nothing. Don't respond to `(:after ".")', it will be called
960 with :before anyway. Remove the ` @ ' rule, it didn't seem to
961 change anything. Only return indentation for binary operators
962 when they are hanging. De-dent opening paren when its parent is
963 `.', otherwise it looks bad when the dot is not at bol or eol
966 2013-12-19 Juri Linkov <juri@jurta.org>
968 * replace.el (query-replace-read-args): Split a non-negative arg
969 and a negative arg into separate elements.
970 (query-replace, query-replace-regexp, replace-string)
971 (replace-regexp): Add arg `backward'. Doc fix.
972 (replace-match-maybe-edit): When new arg `backward' is non-nil,
973 move point to the beginning of the match.
974 (replace-search, replace-highlight): Use new arg `backward'
975 to set the value of `isearch-forward'.
976 (perform-replace): Add arg `backward' and use it to perform
977 replacement backward. (Bug#14979)
979 * isearch.el (isearch-query-replace): Use a negative prefix arg
980 to call `perform-replace' with a non-nil arg `backward'.
982 2013-12-18 Juri Linkov <juri@jurta.org>
984 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
985 to the default list. Move `log-edit-show-files' to the end.
986 Add more available functions to options.
987 (log-edit): Move default specific settings to
988 `log-edit-insert-message-template'. Don't move point.
989 (log-edit-insert-message-template): New function.
990 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
993 2013-12-18 Juri Linkov <juri@jurta.org>
995 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
996 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
998 2013-12-18 Leo Liu <sdl.web@gmail.com>
1000 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1003 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1005 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1006 formats for displaying file sizes when the -s switch is given.
1007 Instead, compute a separate format for displaying the size in
1008 blocks, which is displayed in addition to the "regular" size.
1009 When -h is given in addition to -s, produce size in blocks in
1010 human-readable form as well. (Bug#16179)
1012 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1014 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1015 Reference tables with ~\ref{...} instead of only \ref{...}.
1017 2013-12-18 Chong Yidong <cyd@gnu.org>
1019 * cus-edit.el (custom-magic-alist): Fix "themed" description
1022 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1023 is non-nil, do not create a new entry in the symbol's theme-value
1024 or theme-face property; update theme-settings only (Bug#14664).
1025 (custom-available-themes): Doc fix.
1027 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1030 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1032 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1034 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1037 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1039 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1041 2013-12-18 Glenn Morris <rgm@gnu.org>
1043 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1044 * cus-start.el (load-prefer-newer): New option.
1046 2013-12-18 Le Wang <l26wang@gmail.com>
1048 * comint.el (comint-previous-matching-input-from-input):
1049 Retain point (Bug#13404).
1051 2013-12-18 Chong Yidong <cyd@gnu.org>
1053 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1055 2013-12-18 Glenn Morris <rgm@gnu.org>
1057 * mail/emacsbug.el (report-emacs-bug):
1058 Only mention enable-multibyte-characters if non-standard.
1060 2013-12-17 Juri Linkov <juri@jurta.org>
1062 * arc-mode.el (archive-extract-by-file): Check if directory exists
1063 before deletion to not show irrelevant errors if it doesn't exist.
1065 2013-12-17 Juri Linkov <juri@jurta.org>
1067 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1070 * net/eww.el (browse-web): Add alias to `eww'.
1071 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1072 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1074 * net/browse-url.el (browse-url-browser-function): Move `eww'
1075 closer to similar functions.
1077 * startup.el (fancy-startup-screen, fancy-about-screen):
1078 Set browse-url-browser-function to eww-browse-url locally.
1081 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1083 * window.el (window--pixel-to-total): Remove unused `mini' var.
1084 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1085 (split-window): Remove unused `new' var.
1086 (window--display-buffer): Remove unused `frame' and `delta' vars.
1087 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1090 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1092 * dired.el (dired-mark-pop-up):
1093 * register.el (register-preview): Don't bind
1094 split-height-threshold here since it's now done in
1095 display-buffer-below-selected.
1097 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1099 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1100 xterm-rgb-convert-to-16bit.
1101 (rxvt-register-default-colors): Standardize with
1102 xterm-register-default-colors (Bug#14078).
1104 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1106 * simple.el (kill-region): Pass mark first, then point, so that
1107 kill-append works right (Bug#12819).
1108 (copy-region-as-kill, kill-ring-save): Likewise.
1110 2013-12-17 Leo Liu <sdl.web@gmail.com>
1112 * net/rcirc.el (rcirc-add-face):
1113 * eshell/em-prompt.el (eshell-emit-prompt):
1114 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1117 2013-12-17 Chong Yidong <cyd@gnu.org>
1119 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1120 Suggested by Xue Fuqiao.
1122 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1124 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1126 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1128 * net/shr.el (shr-insert-document): Remove unused var
1129 `shr-preliminary-table-render'.
1130 (shr-rescale-image): Remove unused arg `force'.
1131 (shr-put-image): Update calls accordingly.
1132 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1134 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1136 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1137 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1138 :close-all, to see which indentation method to use (Bug#16116).
1139 (smie-rules-function): Document the method :close-all.
1141 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1143 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1145 * net/eww.el (eww-display-html): If we can't find the anchor we're
1146 looking for, then go to point-min.
1148 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1150 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1151 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1152 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1153 Expand dir too, in case it's relative.
1155 2013-12-16 Juri Linkov <juri@jurta.org>
1157 * desktop.el (desktop-auto-save-timeout): Change default to
1158 `auto-save-timeout'. Doc fix.
1159 (desktop-save): Skip the timestamp in desktop-saved-frameset
1160 when checking for auto-save changes.
1161 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1162 `desktop-auto-save' is called repeatedly by the idle timer.
1163 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1164 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1167 2013-12-16 Juri Linkov <juri@jurta.org>
1169 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1171 (isearch-pre-command-hook): Check `this-command' for symbolp.
1173 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1175 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1177 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1179 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1180 (cfengine3--current-function): Bring in the current-function
1181 functionality from `cfengine3--current-word'.
1182 (cfengine3-completion-function): Bring in the
1183 bounds-of-current-word functionality from
1184 `cfengine3--current-word'.
1186 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1188 * window.el (display-buffer-below-selected):
1189 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1191 2013-12-16 Leo Liu <sdl.web@gmail.com>
1193 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1194 Remove NOMSG arg and all uses changed.
1196 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1198 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1199 (cua--deactivate-rectangle): Don't deactivate the mark.
1200 (cua-set-rectangle-mark): Don't set mark-active since
1201 cua--activate-rectangle already does it for us.
1202 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1203 non-rectangular region.
1205 * emulation/cua-base.el (cua-repeat-replace-region):
1206 Use with-current-buffer.
1208 * net/gnutls.el: Use cl-lib.
1209 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1211 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1213 * emacs-lisp/package.el (package-built-in-p): Support both
1214 built-in and the package.el converted package descriptions.
1215 (package-show-package-list): Allow keywords.
1216 (package-keyword-button-action): Use it instead of
1217 `finder-list-matches'.
1218 (package-menu-filter-interactive): Interactive filtering (by
1220 (package-menu--generate): Support keywords and change keymappings
1221 and headers when they are given.
1222 (package--has-keyword-p): Helper function.
1223 (package-menu--refresh): Use it.
1224 (package--mapc): Helper function.
1225 (package-all-keywords): Use it.
1226 (package-menu-mode-map): Set up menu items and keybindings to
1227 provide a filtering UI.
1229 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1231 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1232 the behavior when a certificate fails validation. Defaults to
1233 old behavior: never abort, just warn.
1234 (gnutls-negotiate): Use it.
1236 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1238 * window.el (display-buffer-below-selected): Never split window
1239 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1241 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1243 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1244 (package-buffer-info): Use it (bug#15108).
1246 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1248 * icomplete.el (icomplete-completions): Make sure the prefix is already
1249 displayed elsewhere before hiding it (bug#16219).
1251 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1253 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1254 open-paren tokens when preceded by a open-paren, too.
1255 (ruby-smie-rules): Handle virtual indentation after open-paren
1256 tokens specially. If there is code between it and eol, return the
1257 column where is starts (Bug#16118).
1259 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1261 * progmodes/cfengine.el: Fix `add-hook' doc.
1262 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1263 (cfengine3--current-word): Fix parameters.
1264 (cfengine3-make-syntax-cache): Simplify further.
1265 (cfengine3-completion-function, cfengine3--current-function):
1266 Use `assq' for symbols.
1267 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1269 2013-12-13 Glenn Morris <rgm@gnu.org>
1271 * loadup.el (load-path): Warn if site-load or site-init changes it.
1272 No more need to reset it when bootstrapping.
1274 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1276 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1277 locations for cf-promises.
1278 (cfengine-mode-syntax-functions-regex): New caching variable.
1279 (cfengine3-fallback-syntax): Fallback syntax for cases where
1280 cf-promises doesn't run.
1281 (cfengine3--current-word): Reimplement using
1282 `cfengine-mode-syntax-functions-regex'.
1283 (cfengine3-completion-function, cfengine3--current-function):
1284 Use `cfengine3-make-syntax-cache' directly.
1285 (cfengine3-clear-syntax-cache): New function.
1286 (cfengine3-make-syntax-cache): Simplify and create
1287 `cfengine-mode-syntax-functions-regex' on demand.
1288 (cfengine3-format-function-docstring): Don't call
1289 `cfengine3-make-syntax-cache' explicitly.
1291 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1293 Fix windmove-find-other-window broken after pixelwise resizing
1295 * windmove.el (windmove-other-window-loc): Revert change from
1297 (windmove-find-other-window): Call window-in-direction.
1298 * window.el (window-in-direction): New arguments SIGN, WRAP and
1299 MINI to emulate original windmove-find-other-window behavior.
1301 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1303 * simple.el (blink-matching--overlay): New variable.
1304 (blink-matching-open): Instead of moving point, highlight the
1305 matching paren with an overlay
1306 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1308 * faces.el (paren-showing-faces, show-paren-match)
1309 (show-paren-mismatch): Move from paren.el.
1311 2013-12-13 Leo Liu <sdl.web@gmail.com>
1313 * indent.el (indent-region): Disable progress reporter in
1314 minibuffer. (Bug#16108)
1316 * bindings.el (visual-order-cursor-movement): Fix version.
1318 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1320 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1321 Also match after beginning of line.
1322 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1323 files. Thanks to Russell Sim. (Bug#15378)
1325 2013-12-13 Juri Linkov <juri@jurta.org>
1327 * simple.el <Keypad support>: Remove key bindings duplicated
1328 with bindings.el. (Bug#14397)
1330 2013-12-13 Juri Linkov <juri@jurta.org>
1332 * comint.el (comint-mode-map): Replace `delete-char' with
1333 `delete-forward-char'. (Bug#16109)
1335 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1337 * progmodes/python.el (python-indent-calculate-indentation):
1338 Fix de-denters cornercase. (Bug#15731)
1340 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1342 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1343 (advice--make): Pay attention to `depth'.
1344 (advice--make-1): Don't autoload commands eagerly.
1345 * emacs-lisp/elp.el (elp-instrument-function):
1346 * emacs-lisp/trace.el (trace-function-internal):
1347 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1349 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1351 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1353 * term/w32-win.el (w32-handle-dropped-file):
1354 * startup.el (normal-top-level):
1355 * net/browse-url.el (browse-url-file-url):
1356 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1357 decode file names using 'utf-8' rather than
1358 file-name-coding-system.
1360 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1362 * progmodes/python.el (python-indent-context)
1363 (python-indent-calculate-indentation): Fix auto-identation
1364 behavior for comment blocks. (Bug#15916)
1366 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1368 * progmodes/python.el (python-indent-calculate-indentation):
1369 When determining indentation, don't treat "return", "pass", etc., as
1370 operators when they are just string constituents. (Bug#15812)
1372 2013-12-12 Juri Linkov <juri@jurta.org>
1374 * uniquify.el (uniquify-buffer-name-style): Change default to
1375 `post-forward-angle-brackets'.
1377 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1378 `uniquify'. Change default to `post-forward-angle-brackets'.
1380 2013-12-11 Glenn Morris <rgm@gnu.org>
1382 * emacs-lisp/package.el (finder-list-matches):
1383 Autoload rather than falsely declaring.
1385 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1387 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1388 (eww-mode-map): Use them.
1390 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1392 * window.el (display-buffer-in-side-window): Fix doc-string
1395 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1397 * vc/vc-git.el: Silence byte-compiler warnings.
1398 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1399 (log-edit-set-header): Declare.
1401 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1403 * Makefile.in (custom-deps, finder-data): Run output file names
1404 through unmsys--file-name. (Bug#16099)
1406 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1408 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1409 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1411 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1412 instead of deleting the selection "by hand" (bug#16098).
1413 Rely on insert-for-yank to yank rectangles.
1414 (cua-highlight-region-shift-only): Mark obsolete.
1415 (cua-mode): Don't enable/disable transient-mark-mode,
1416 shift-select-mode (cua-mode works both with and without them), and
1417 pc-selection-mode (obsolete).
1418 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1419 (cua--deactivate-rectangle): Deactivate it.
1421 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1422 (delete-selection-helper): Make sure yank starts at the top of the
1424 (minibuffer-keyboard-quit): Use region-active-p.
1426 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1428 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1429 to `delete' (bug#16109).
1431 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1433 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1434 info manual and show keybindings and set `:group' keyword.
1436 2013-12-11 Juri Linkov <juri@jurta.org>
1438 * delsel.el (delete-active-region): Let-bind `this-command'
1439 to prevent `kill-region' from changing its original value.
1440 (delete-selection-helper): Handle `overwrite-mode' for the type
1441 `kill' exactly the same way as for the type `t'.
1442 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1443 Support more commands. (Bug#13312)
1445 2013-12-11 Juri Linkov <juri@jurta.org>
1447 * bindings.el: Map kp keys to non-kp keys systematically
1448 with basic modifiers control, meta and shift. (Bug#14397)
1450 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1452 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1453 "Close browser" menu items. Fix wrong function of "List
1456 2013-12-11 Juri Linkov <juri@jurta.org>
1458 * misearch.el (multi-isearch-buffers): Set the value of
1459 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1460 arg of isearch-forward to t.
1461 (multi-isearch-buffers-regexp): Set the value of
1462 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1463 arg of isearch-forward-regexp to t.
1464 (multi-isearch-files): Set the value of
1465 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1466 arg of isearch-forward to t.
1467 (multi-isearch-files-regexp): Set the value of
1468 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1469 arg of isearch-forward-regexp to t. (Bug#16035)
1471 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1472 arg of isearch-forward to t.
1473 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1474 arg of isearch-forward-regexp to t.
1475 (dired-isearch-filter-filenames): Remove unnecessary check for
1476 `dired-isearch-filenames'.
1478 * comint.el (comint-history-isearch-backward):
1479 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1480 (comint-history-isearch-backward-regexp):
1481 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1483 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1485 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1486 unmsys--file-name. (Bug#16099)
1488 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1490 * emacs-lisp/package.el (package-keyword-button-action):
1491 Remove finder.el require dependency.
1493 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1495 * emacs-lisp/package.el: Require finder.el.
1496 (describe-package-1): Add keyword buttons.
1497 (package-make-button): New convenience function.
1498 (package-keyword-button-action): Keyword button action using
1499 `finder-list-matches'.
1501 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1503 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1506 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1508 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1511 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1513 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1514 after the end of a percent literal.
1516 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1518 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1519 Handle caret-delimited strings (Bug#16079).
1521 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1523 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1524 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1525 `ruby-parse-partial' (Bug#16078).
1527 2013-12-09 Leo Liu <sdl.web@gmail.com>
1529 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1531 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1533 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1534 (js-switch-indent-offset): New option.
1535 (js--proper-indentation): Use it. And handle the case when
1536 "default" is actually a key in an object literal.
1537 (js--same-line): New function.
1538 (js--multi-line-declaration-indentation): Use it.
1539 (js--indent-in-array-comp, js--array-comp-indentation):
1541 (js--proper-indentation): Use them, to handle array comprehension
1544 2013-12-08 Leo Liu <sdl.web@gmail.com>
1546 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1547 (flymake-make-overlay): Remove arg MOUSE-FACE.
1548 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1550 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1552 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1554 (redisplay-highlight-region-function): Use it.
1556 * emulation/cua-base.el (cua--explicit-region-start)
1557 (cua--last-region-shifted): Remove.
1558 (cua--deactivate): Use deactivate-mark.
1559 (cua--pre-command-handler-1): Don't handle shift-selection.
1560 (cua--post-command-handler-1): Don't change transient-mark-mode.
1561 (cua--select-keymaps): Use region-active-p rather than
1562 cua--explicit-region-start or cua--last-region-shifted.
1563 (cua-mode): Enable shift-select-mode.
1565 2013-12-08 Leo Liu <sdl.web@gmail.com>
1567 * progmodes/flymake.el (flymake-popup-current-error-menu):
1568 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1569 (flymake-posn-at-point-as-event, flymake-popup-menu)
1570 (flymake-make-emacs-menu): Remove. (Bug#16077)
1572 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1574 * rect.el (rectangle-mark-mode): Activate mark even if
1575 transient-mark-mode is off (bug#16066).
1576 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1577 is > mark and at bolp.
1579 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1580 (region-extract-function): Use it.
1581 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1582 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1584 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1585 kill-ring-save, kill-region, delete-char, delete-forward-char.
1586 Ignore self-insert-iso.
1588 * emulation/cua-gmrk.el (cua--init-global-mark):
1589 Ignore `self-insert-iso'.
1591 * emulation/cua-base.el (cua--prefix-copy-handler)
1592 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1593 checking cua--rectangle.
1594 (cua-delete-region): Use region-extract-function.
1595 (cua-replace-region): Delete function.
1596 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1597 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1598 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1599 (cua--init-keymaps): Don't remap delete-selection commands.
1600 (cua-mode): Use delete-selection-mode instead of rolling our own
1603 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1604 Obey region-extract-function.
1606 Make registers and delete-selection-mode work on rectangles.
1607 * register.el (describe-register-1): Don't modify the register's value.
1608 (copy-to-register): Obey region-extract-function.
1609 * delsel.el (delete-active-region): Obey region-extract-function.
1611 2013-12-08 Leo Liu <sdl.web@gmail.com>
1613 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1614 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1615 (flymake-compilation-prevents-syntax-check)
1616 (flymake-start-syntax-check-on-newline)
1617 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1618 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1619 (flymake-xml-program, flymake-master-file-dirs)
1620 (flymake-master-file-count-limit)
1621 (flymake-allowed-file-name-masks): Relocate.
1622 (flymake-makehash, flymake-float-time)
1623 (flymake-replace-regexp-in-string, flymake-split-string)
1624 (flymake-get-temp-dir): Remove.
1625 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1626 (flymake-current-row, flymake-selected-frame)
1627 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1628 related functions. (Bug#16077)
1630 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1632 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1634 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1636 * help-fns.el (describe-function-1): Use new advice-* functions
1637 rather than old ad-* functions. Fix function type description and
1638 source links for advised functions and subrs.
1640 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1642 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1644 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1646 * progmodes/compile.el (compilation-start):
1647 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1649 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1650 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1652 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1654 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1655 Touch up the last change.
1657 2013-12-06 Leo Liu <sdl.web@gmail.com>
1659 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1660 (inferior-octave-startup): Always use "octave> " for prompt.
1661 (octave-goto-function-definition)
1662 (octave-sync-function-file-names)
1663 (octave-find-definition-default-filename): Remove redundant backquotes.
1665 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1667 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1669 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1670 where appropriate already.
1671 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1672 end of method names (Bug#15874).
1674 2013-12-06 Juri Linkov <juri@jurta.org>
1676 * isearch.el (isearch--saved-overriding-local-map):
1677 New internal variable.
1678 (isearch-mode): Set it to the initial value of
1679 `overriding-terminal-local-map'.
1680 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1681 with `isearch--saved-overriding-local-map'. (Bug#16035)
1683 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1685 * progmodes/octave.el (inferior-octave-completion-table):
1686 Turn back into function, use `completion-table-with-cache'
1687 (Bug#11906). Update all references.
1689 * minibuffer.el (completion-table-with-cache): New function.
1691 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1693 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1695 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1697 * net/eww.el (eww-current-source): New variable to store page
1699 (eww-display-html, eww-mode, eww-save-history)
1700 (eww-restore-history): Use it.
1701 (eww-view-source): New command to view page source.
1702 Opportunistically uses `html-mode' to highlight the buffer.
1703 (eww-mode-map): Install it.
1705 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1707 * net/dbus.el (dbus-unregister-service)
1708 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1710 (dbus-unregister-service): Skip :serial entries in
1711 `dbus-registered-objects-table'.
1712 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1714 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1716 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1717 around keywords with extra `split-string' argument.
1719 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1721 * windmove.el (windmove-other-window-loc): Handle navigation
1722 between windows (excluding the minibuffer window - Bug#16017).
1724 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1726 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1727 in D-Bus type syntax.
1728 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1729 preserve unibyte strings. (Bug#16048)
1731 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1733 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1734 Call force-mode-line-update is the proper buffer (bug#16042).
1736 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1738 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1739 `log-edit-remember-comment', make argument optional. Adjust all
1741 (log-edit-mode): Add `log-edit-remember-comment' to
1742 `kill-buffer-hook' locally.
1743 (log-edit-kill-buffer): Don't remember comment explicitly since
1744 the buffer is killed anyway.
1746 2013-12-04 Juri Linkov <juri@jurta.org>
1748 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1749 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1751 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1753 * notifications.el (notifications-close-notification): Call the
1754 D-Bus method with ID being a `:uint32'. (Bug#16030)
1756 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1758 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1760 2013-12-03 Juri Linkov <juri@jurta.org>
1762 * progmodes/compile.el (compilation-start): Rename window alist
1763 entry `no-display-ok' to `allow-no-window'.
1765 * simple.el (shell-command): Add window alist entry
1766 `allow-no-window' to `display-buffer'.
1767 (async-shell-command): Doc fix.
1769 * window.el (display-buffer-no-window): New action function.
1770 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1772 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1774 * vc/log-edit.el (log-edit-set-header): Extract from
1775 `log-edit-toggle-header'.
1776 (log-edit-extract-headers): Separate the summary, when extracted
1777 from header, from the rest of the message with an empty line.
1779 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1780 line, if present, to the Summary header.
1782 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1784 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1785 in current-buffer (bug#16029).
1787 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1789 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1790 (debugger-mode-map): Bind it.
1791 (debugger--backtrace-base): New function.
1792 (debugger-eval-expression): Use it.
1793 (debugger-frame-number): Skip local vars when present.
1794 (debugger--locals-visible-p, debugger--insert-locals)
1795 (debugger--show-locals, debugger--hide-locals): New functions.
1797 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1799 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1801 (tramp-get-remote-locale): New defun.
1802 (tramp-open-connection-setup-interactive-shell): Use it.
1804 2013-12-02 Leo Liu <sdl.web@gmail.com>
1806 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1808 * progmodes/sh-script.el (sh-shell-process):
1809 * progmodes/octave.el (inferior-octave-process-live-p):
1810 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1811 (gdb-inferior-io-sentinel):
1812 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1814 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1816 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1817 `save-selected-window' to `log-edit-hide-buf'. This makes
1818 `log-edit-show-files' idempotent.
1819 (log-edit-show-files): Mark the new window as dedicated.
1821 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1823 * vc/log-edit.el (log-edit-mode-map): Add binding for
1824 `log-edit-kill-biffer'.
1825 (log-edit-hide-buf): Add a FIXME comment.
1826 (log-edit-add-new-comment): New function, extracted from
1828 (log-edit-done, log-edit-add-to-changelog): Use it.
1829 (log-edit-kill-buffer): New command.
1831 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1833 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1834 instead of killing the buffer.
1836 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1838 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1840 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1842 * net/eww.el (eww-form-checkbox-selected-symbol)
1843 (eww-form-checkbox-symbol): New customizable variable.
1844 (eww-form-checkbox, eww-toggle-checkbox):
1845 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1847 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1848 (shr--get-media-pref, shr--extract-best-source): New function.
1849 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1850 no :src tag was specified.
1852 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1853 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1854 Use \\` to match beginning of string instead of ^.
1855 (eww-browse-with-external-browser): Provide optional URL parameter.
1856 (eww-render): Set `eww-current-title' back to "".
1858 * net/shr.el (shr-tag-video): Display content for video if no
1859 poster is available.
1860 (shr-tag-audio): Add support for <audio> tag.
1862 * net/eww.el (eww-text-input-types): New const.
1863 (eww-process-text-input): Treat input types in
1864 `eww-text-input-types' as text.
1866 * net/shr.el (shr-tag-table): Fix comment typo.
1868 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1870 * net/eww.el (eww-follow-link): New command to avoid reloading
1871 pages when we follow #target links (bug#15243).
1872 (eww-quit): Special mode buffers shouldn't query before exiting.
1874 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1876 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1879 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1881 * net/eww.el (eww-restore-history): Update the window title after
1882 moving in the history.
1883 (eww-current-dom): New variable used to save the current DOM.
1885 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1887 * vc/log-edit.el (log-edit-mode-map): Add binding for
1888 `log-edit-beginning-of-line'.
1889 (log-edit-setup-add-author): New user option.
1890 (log-edit-beginning-of-line): New command.
1891 (log-edit): Move major mode call above the contents setup so that
1892 the local variable values are already applied.
1893 (log-edit): Only insert "Author: " when
1894 `log-edit-setup-add-author' is non-nil.
1895 (log-edit): When SETUP is non-nil, position point after ": "
1896 instead of point-min.
1898 2013-12-01 Glenn Morris <rgm@gnu.org>
1900 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1902 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1904 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1905 redisplay to make sure the initial frame gets a chance to become
1906 visible. (Bug#16014)
1908 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1910 Support resizing frames and windows pixelwise.
1911 * cus-start.el (frame-resize-pixelwise)
1912 (window-resize-pixelwise): New entries.
1913 * emacs-lisp/debug.el (debug): Use window-total-height instead
1914 of window-total-size.
1915 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1916 * help.el (describe-bindings-internal): Call help-buffer
1917 (temp-buffer-max-width): New option.
1918 (resize-temp-buffer-window, help-window-setup)
1919 (with-help-window): Rewrite.
1920 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1922 * window.el (frame-char-size, window-min-pixel-height)
1923 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1924 (window-min-pixel-width, window-safe-min-pixel-size)
1925 (window-combination-p, window-safe-min-size)
1926 (window-resizable-p, window--size-to-pixel)
1927 (window--pixel-to-size, window--resize-apply-p): New functions.
1928 (window-safe-min-height): Fix doc-string.
1929 (window-size, window-min-size, window--min-size-1)
1930 (window-sizable, window-sizable-p, window--min-delta-1)
1931 (window-min-delta, window--max-delta-1, window-max-delta)
1932 (window--resizable, window--resizable-p, window-resizable)
1933 (window-full-height-p, window-full-width-p, window-at-side-p)
1934 (window--in-direction-2, window-in-direction)
1935 (window--resize-reset-1, window--resize-mini-window)
1936 (window-resize, window-resize-no-error)
1937 (window--resize-child-windows-normal)
1938 (window--resize-child-windows, window--resize-siblings)
1939 (window--resize-this-window, window--resize-root-window)
1940 (window--resize-root-window-vertically)
1941 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1942 (maximize-window, minimize-window, delete-window)
1943 (quit-restore-window, window-split-min-size, split-window)
1944 (balance-windows-2, balance-windows)
1945 (balance-windows-area-adjust, balance-windows-area)
1946 (window--state-get-1, window-state-get, window--state-put-1)
1947 (window--state-put-2, window-state-put)
1948 (display-buffer-record-window, window--display-buffer):
1949 Make functions handle pixelwise sizing of windows.
1950 (display-buffer--action-function-custom-type)
1951 (display-buffer-fallback-action):
1952 Add display-buffer-in-previous-window.
1953 (display-buffer-use-some-window): Resize window to height it had
1955 (fit-window-to-buffer-horizontally): New option.
1956 (fit-frame-to-buffer): Describe new values.
1957 (fit-frame-to-buffer-bottom-margin): Replace with
1958 fit-frame-to-buffer-margins.
1959 (window--sanitize-margin): New function.
1960 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1961 using window-text-pixel-size.
1963 2013-11-30 Glenn Morris <rgm@gnu.org>
1965 * emacs-lisp/bytecomp.el (byte-compile-form):
1966 Make the `interactive-only' warning like the `obsolete' one.
1967 * comint.el (comint-run):
1968 * files.el (insert-file-literally, insert-file):
1969 * replace.el (replace-string, replace-regexp):
1970 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1971 (goto-line, insert-buffer, next-line, previous-line):
1972 Tweak `interactive-only' spec.
1974 Stop keeping (most) generated cedet grammar files in the repository.
1975 * Makefile.in (semantic): New.
1976 (compile-main): Depend on semantic.
1978 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1980 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1981 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1983 * uniquify.el (uniquify-buffer-name-style): Change default.
1985 * loadup.el: Preload "uniquify".
1987 * time.el (display-time-update): Update all mode lines (bug#15999).
1989 * electric.el (electric-indent-mode): Enable by default.
1990 * loadup.el: Preload "electric".
1992 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1994 * emacs-lisp/helpers.el (string-empty-p): New function.
1995 (string-blank-p): New function.
1997 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1999 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2002 2013-11-29 Andreas Politz <politza@fh-trier.de>
2003 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2004 allow non-lambda lists as functions.
2005 (imenu--in-alist): Don't recurse into non-subalists.
2006 (imenu): Don't pass function itself as an argument (Bug#14029).
2008 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2010 * progmodes/python.el (python-mode-map): Remove binding for ":".
2011 (python-indent-electric-colon): Remove command.
2012 (python-indent-post-self-insert-function): Integrate the previous code
2013 of python-indent-electric-colon. Make it conditional on
2014 electric-indent-mode.
2015 (python-mode): Add ?: to electric-indent-chars.
2016 Move python-indent-post-self-insert-function to the end of
2017 post-self-insert-hook.
2019 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2021 * doc-view.el (doc-view-goto-page): Update mode-line.
2023 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2025 2013-11-27 Glenn Morris <rgm@gnu.org>
2027 * international/charprop.el, international/uni-bidi.el:
2028 * international/uni-category.el, international/uni-combining.el:
2029 * international/uni-comment.el, international/uni-decimal.el:
2030 * international/uni-decomposition.el, international/uni-digit.el:
2031 * international/uni-lowercase.el, international/uni-mirrored.el:
2032 * international/uni-name.el, international/uni-numeric.el:
2033 * international/uni-old-name.el, international/uni-titlecase.el:
2034 * international/uni-uppercase.el:
2035 Remove generated files from VCS repository.
2037 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2039 * filenotify.el (file-notify-add-watch): Don't special-case
2040 w32notify when computing the directory to watch.
2042 2013-11-27 Glenn Morris <rgm@gnu.org>
2044 Make bootstrap without generated uni-*.el files possible again.
2045 * loadup.el: Update command-line-args checking for unidata-gen.
2046 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2047 * composite.el, international/characters.el:
2048 Handle unicode tables being undefined.
2050 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2051 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2052 (compile-main): Depend on leim rule.
2054 * loadup.el: Move leim-list.el to leim/ subdirectory.
2055 * startup.el (normal-top-level): No more leim directory.
2056 * international/ja-dic-cnv.el (skkdic-convert):
2057 Disable version-control and autoloads in output files.
2058 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2059 Disable version-control and autoloads in output files.
2060 * leim/quail: Move here from ../leim.
2061 * leim/quail/hangul.el (hangul-input-method-activate):
2062 Add autoload cookie.
2063 (generated-autoload-load-name): Set file-local value.
2064 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2065 (generated-autoload-load-name): Set file-local value.
2067 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2069 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2070 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2071 (eww-quit): Ask confirmation before quitting eww.
2073 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2075 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2076 reading output from Diff on MS-Windows and MS-DOS.
2078 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2080 * emacs-lisp/helpers.el (string-reverse): New function.
2082 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2084 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2085 names on MS Windows, like "/[::1]:".
2087 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2090 2013-11-26 Glenn Morris <rgm@gnu.org>
2092 * progmodes/python.el (python-indent-guess-indent-offset):
2093 Avoid corner-case error. (Bug#15975)
2095 Preload leim-list.el. (Bug#4789)
2096 * loadup.el: Load leim-list.el when found.
2097 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2099 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2101 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2103 * emacs-lisp/helpers.el (string-join): New function.
2105 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2107 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2108 Mark as obsolete and replace it with a symbol property.
2109 (byte-compile-form): Use new 'interactive-only property.
2110 * comint.el, files.el, replace.el, simple.el:
2111 Apply new 'interactive-only properly.
2113 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2115 * window.el (display-buffer-at-bottom): Make sure that
2116 split-window-sensibly creates the new window on bottom
2119 2013-11-23 David Kastrup <dak@gnu.org>
2121 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2122 on the conflict markers when available.
2123 (smerge--get-marker): New function.
2124 (smerge-end-re, smerge-base-re): Add subgroup.
2126 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2128 * frame.el (handle-focus-in, handle-focus-out): Add missing
2131 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2133 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2134 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2136 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2138 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2139 (gomoku--last-pos): New var.
2140 (gomoku--intangible-chars): New const.
2141 (gomoku--intangible): New function.
2142 (gomoku-mode): Use it. Derive from special-mode.
2143 (gomoku-move-up): Adjust line count.
2144 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2145 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2146 Simplify accordingly.
2148 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2149 Remove blink-cursor code.
2150 (blink-cursor-timer-function, blink-cursor-suspend):
2151 Don't special-case GUIs.
2152 (blink-cursor-mode): Use focus-in/out-hook.
2154 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2156 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2157 work when annotation is invisible (Bug#13886).
2159 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2161 * json.el (json-alist-p): Only return non-nil if the alist has
2162 simple keys (Bug#13518).
2164 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2166 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2167 when control-statement is the first statement in a buffer (Bug#15956).
2169 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2171 * imenu.el (imenu-generic-skip-comments-and-strings):
2172 New option (Bug#15560).
2173 (imenu--generic-function): Use it.
2175 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2177 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2180 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2182 * emacs-lisp/helpers.el: Add some string helpers.
2183 (string-trim-left): Removes leading whitespace.
2184 (string-trim-right): Removes trailing whitespace.
2185 (string-trim): Removes leading and trailing whitespace.
2187 * subr.el (string-suffix-p): New function.
2189 2013-11-23 Glenn Morris <rgm@gnu.org>
2191 * progmodes/python.el (python-shell-send-file):
2192 Add option to delete file when done. (Bug#15647)
2193 (python-shell-send-string, python-shell-send-region): Use it.
2195 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2197 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2198 to set buffer-read-only to t, never to nil. (Bug#15938)
2200 * textmodes/tex-mode.el (latex-noindent-environments):
2201 Add safe-local-variable property. (Bug#15936)
2203 2013-11-23 Glenn Morris <rgm@gnu.org>
2205 * textmodes/enriched.el (enriched-mode): Doc fix.
2206 * emacs-lisp/authors.el (authors-renamed-files-alist):
2207 Add enriched.doc -> enriched.txt.
2209 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2211 2013-11-22 Leo Liu <sdl.web@gmail.com>
2213 * progmodes/octave.el (inferior-octave-startup): Spit out error
2216 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2218 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2221 (ruby-encoding-magic-comment-style): Add :version.
2223 2013-11-22 Leo Liu <sdl.web@gmail.com>
2225 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2227 (octave-help-mode): Adapt to change to help-mode-finish to use
2228 derived-mode-p on 2013-09-17.
2229 (inferior-octave-prompt): Also match octave-gui.
2230 (octave-kill-process): Don't ask twice. (Bug#10564)
2232 2013-11-22 Leo Liu <sdl.web@gmail.com>
2234 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2235 (inferior-octave-startup, inferior-octave-check-process)
2236 (inferior-octave-track-window-width-change)
2237 (octave-completion-at-point, octave-eldoc-function): Use it.
2238 (octave-kill-process): Provide confirmation. (Bug#10564)
2240 2013-11-21 Leo Liu <sdl.web@gmail.com>
2242 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2243 Fix obsolete variable comment-use-global-state.
2245 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2247 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2248 Add `octave-source-file'.
2249 (octave-source-file): New function. (Bug#15935)
2251 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2253 * net/eww.el (eww-local-regex): New variable.
2254 (eww): Use it to detect localhost and similar.
2256 2013-11-21 Leo Liu <sdl.web@gmail.com>
2258 Add completion for command `ag'.
2259 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2260 (pcomplete/ag): New function.
2261 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2263 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2265 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2267 (make-obsolete): Remove interactive spec.
2269 2013-11-21 Glenn Morris <rgm@gnu.org>
2271 * startup.el (command-line-1): Use path-separator with -L.
2273 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2275 * emacs-lisp/package.el (describe-package-1): Add package archive
2278 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2280 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2281 Change default to "# encoding: %s" to differentiate it from the
2282 default Ruby encoding comment template.
2284 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2286 * ses.el (ses-mode): Doc fix. (Bug#14748)
2288 2013-11-20 Leo Liu <sdl.web@gmail.com>
2290 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2292 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2294 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2295 when rebase or bisect are in progress.
2297 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2299 * filenotify.el (file-notify-add-watch): Doc fix.
2301 2013-11-19 Leo Liu <sdl.web@gmail.com>
2303 * obsolete/rcompile.el: Mark obsolete.
2305 * progmodes/compile.el (compilation-start)
2306 (compilation-goto-locus, compilation-find-file):
2307 Pass no-display-ok and handle nil value from display-buffer.
2310 * window.el (display-buffer-alist, display-buffer): Document the
2311 new parameter no-display-ok. Return either a window or nil
2312 but never a non-window value.
2314 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2316 * electric.el (electric-indent-mode-map): Remove.
2317 (electric-indent-mode): Change the global-map instead (bug#15915).
2319 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2322 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2324 * emacs-lisp/nadvice.el (remove-function): Align with
2325 add-function's behavior.
2327 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2328 (gdb--string-regexp): New constant.
2329 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2330 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2331 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2333 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2334 Adjust use accordingly.
2335 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2337 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2339 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2340 interpolation curlies (Bug#15914).
2342 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2344 * calc/calc.el (calc-context-sensitive-enter): New variable.
2345 (calc-enter): Use `calc-context-sensitive-enter'.
2347 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2349 * progmodes/cfengine.el: Version bump.
2350 (cfengine-cf-promises): New defcustom to locate cf-promises.
2351 (cfengine3-vartypes): Add new "data" type.
2352 (cfengine3--current-word): New function to get current name-like
2354 (cfengine3--current-function): New function to look up a CFEngine
2355 function's definition.
2356 (cfengine3-format-function-docstring): New function.
2357 (cfengine3-make-syntax-cache): New function.
2358 (cfengine3-documentation-function): New function: ElDoc glue.
2359 (cfengine3-completion-function): New function: completion glue.
2360 (cfengine3-mode): Set `compile-command',
2361 `eldoc-documentation-function', and add to
2362 `completion-at-point-functions'.
2364 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2366 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2367 `tramp-current-connection'.
2369 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2371 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2372 nil/self/true/false with "end of symbol".
2374 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2376 * subr.el (version-regexp-alist): Fix a typo.
2378 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2380 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2381 "en_US.utf8" and "LC_CTYPE" to "".
2382 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2383 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2385 2013-11-15 Leo Liu <sdl.web@gmail.com>
2387 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2389 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2391 * progmodes/gud.el (ctl-x-map):
2392 Remove C-x SPC binding. (Bug#12342)
2393 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2395 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2397 * subr.el (version-regexp-alist):
2398 Recognize hg, svn and darcs versions as snapshot versions.
2400 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2401 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2402 (ruby--encoding-comment-required-p): Extract from
2403 `ruby-mode-set-encoding'.
2404 (ruby-mode-set-encoding): Add the ability to always insert an
2405 utf-8 encoding comment. Fix and simplify coding comment update
2408 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2410 * net/tramp-gvfs.el (top): Run init code only when
2411 `tramp-gvfs-enabled' is not nil.
2412 (tramp-gvfs-enabled): Check also :system bus.
2414 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2416 Sync with upstream verilog-mode revision 78e66ba.
2417 * progmodes/verilog-mode.el (verilog-end-of-defun)
2418 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2419 (verilog-get-end-of-defun): Remove unused argument.
2420 (verilog-comment-depth): Remove unused local `e'.
2421 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2422 Don't pass arg to verilog-get-end-of-defun.
2424 2013-11-14 Glenn Morris <rgm@gnu.org>
2426 * obsolete/assoc.el (aget): Prefix dynamic variable.
2428 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2430 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2432 * widget.el, hfy-cmap.el: Remove bogus package version number.
2434 2013-11-13 Glenn Morris <rgm@gnu.org>
2436 * replace.el (replace-eval-replacement):
2437 Try to give more helpful error message. (Bug#15836)
2439 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2440 (archive-7z-update): Avoid custom type mismatches.
2442 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2444 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2446 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2447 address can be empty.
2449 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2450 Accept nil SWITCHES.
2451 (tramp-gvfs-handle-write-region): Implement APPEND.
2453 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2455 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2456 binary "|" operator and closing block args delimiter.
2457 Remove FIXME comment referring to Ruby 1.8-only syntax.
2458 (ruby-smie--implicit-semi-p): Not after "|" operator.
2459 (ruby-smie--closing-pipe-p): New function.
2460 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2461 (ruby-smie-rules): Indent after "|".
2463 2013-11-12 Glenn Morris <rgm@gnu.org>
2465 * ps-print.el (ps-face-attribute-list):
2466 Handle anonymous faces. (Bug#15827)
2468 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2470 * window.el (display-buffer-other-frame): Fix doc-string.
2473 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2475 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2477 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2479 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2480 (tramp-sh-handle-file-local-copy): Don't write a message when
2481 saving temporary files.
2483 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2484 both directories are remote.
2485 (tramp-smb-handle-directory-files): Do not return double entries.
2486 Do not expand full file names.
2487 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2488 (tramp-smb-handle-write-region): Implement APPEND.
2489 (tramp-smb-get-stat-capability): Fix a stupid bug.
2491 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2493 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2495 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2497 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2498 throwing error over malformed let/let* (bug#15814).
2500 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2502 * iswitchb.el (iswitchb-mode): Mark obsolete.
2504 2013-11-11 Glenn Morris <rgm@gnu.org>
2506 * international/uni-bidi.el, international/uni-category.el:
2507 * international/uni-name.el, international/uni-numeric.el:
2508 Regenerate for Unicode 6.3.0.
2510 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2512 * net/tramp.el (tramp-methods):
2513 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2514 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2516 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2518 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2519 Force highlighting text after Summary keyword in doc face for rpm.
2521 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2523 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2524 available and the word has no wildcards, append one to the grep pattern.
2525 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2526 (ispell-complete-word): Call `ispell-lookup-words' with the value
2527 independent of `ispell-look-p'.
2529 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2531 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2533 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2536 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2538 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2539 (ruby-font-lock-keywords): Use backquote.
2541 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2543 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2544 (ruby-smie--backward-token): Only consider full-string matches.
2546 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2548 * faces.el (describe-face): Add distant-foreground.
2550 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2552 * progmodes/ruby-mode.el: Improve encoding comment handling.
2553 (ruby-encoding-magic-comment-style): New option.
2554 (ruby-custom-encoding-magic-comment-template): New option.
2555 (ruby--insert-coding-comment, ruby--detect-encoding):
2556 New functions extracted from `ruby-mode-set-encoding'.
2557 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2558 to control the style of the auto-inserted encoding comment.
2560 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2562 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2563 Use `smie-backward-sexp' with token argument.
2565 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2567 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2568 Remove instrumentation code.
2570 2013-11-08 Glenn Morris <rgm@gnu.org>
2572 * progmodes/autoconf.el (autoconf-mode):
2573 Tweak comment-start-skip. (Bug#15822)
2575 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2577 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2578 at bobp (bug#15826).
2579 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2581 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2583 * man.el (Man-start-calling): New macro, extracted from
2584 Man-getpage-in-background.
2585 (Man-getpage-in-background): Use it.
2586 (Man-update-manpage): New command.
2587 (Man-mode-map): Bind it.
2589 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2591 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2592 of "and", "or", "&&" and "||".
2593 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2594 argument. Prohibit opening curly brace because it could only be a
2595 block opener in that position.
2596 (ruby-smie--forward-token, ruby-smie--backward-token):
2597 Separate "|" from "&" or "*" going after it. That can happen in block
2599 (ruby-smie--indent-to-stmt): New function, seeks the end of
2600 previous statement or beginning of buffer.
2601 (ruby-smie-rules): Use it.
2602 (ruby-smie-rules): Check if there's a ":" before a curly block
2603 opener candidate; if there is, it's a hash.
2605 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2607 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2608 (cl--block-wrapper): Fix last accidental change.
2610 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2612 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2613 Instrument, in order to hunt failure on hydra.
2615 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2617 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2618 malformed bindings form (bug#15814).
2620 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2622 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2623 "." compared to " @ ". This incidentally fixes some indentation
2625 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2626 (ruby-smie-grammar): New tokens: "and" and "or".
2627 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2628 Exclude "and" and "or". Remove "do" in order to work around token
2630 (ruby-smie-rules): Add all infix tokens. Handle the case of
2631 beginning-of-buffer.
2633 2013-11-06 Glenn Morris <rgm@gnu.org>
2635 * Makefile.in (setwins_almost, setwins_for_subdirs):
2636 Avoid accidental matches.
2638 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2640 * menu-bar.el (popup-menu): Use key-binding.
2642 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2644 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2645 menus, support also the menus produced by minor modes.
2648 2013-11-06 Leo Liu <sdl.web@gmail.com>
2650 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2651 DISTANCE to bound the search. All uses changed. (Bug#15808)
2653 2013-11-06 Glenn Morris <rgm@gnu.org>
2655 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2656 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2657 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2659 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2661 * electric.el (electric-indent-just-newline): New command.
2662 (electric-indent-mode-map): New keymap.
2663 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2664 Re-add :group which weren't redundant.
2666 * electric.el (electric-indent-local-mode): New minor mode.
2667 (electric-indent-functions-without-reindent): New var.
2668 (electric-indent-post-self-insert-function): Use it.
2669 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2671 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2673 * international/quail.el (quail-help): Be more explicit about the
2674 meaning of the labels shown on the keys. (Bug#15800)
2676 * startup.el (normal-top-level): Load the subdirs.el files before
2677 setting the locale environment. (Bug#15805)
2679 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2681 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2682 via arguments so as to get the right ones (bug#15418).
2684 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2686 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2688 Fix problems found while writing a test suite.
2690 * net/tramp-compat.el (tramp-compat-load): New defun.
2691 * net/tramp.el (tramp-handle-load): Use it.
2693 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2694 "(numberp ok-if-already-exists)" correctly.
2696 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2698 * international/characters.el (glyphless-char-display-control):
2701 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2703 * progmodes/python.el (python-mode):
2704 * progmodes/scheme.el (scheme-mode):
2705 * progmodes/prolog.el (prolog-mode):
2706 * progmodes/ruby-mode.el (ruby-mode):
2707 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2708 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2710 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2712 * rect.el (rectangle--highlight-for-redisplay):
2713 * emacs-lisp/smie.el (smie--next-indent-change):
2714 Use buffer-chars-modified-tick.
2716 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2718 * electric.el (electric-indent-post-self-insert-function):
2719 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2721 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2723 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2725 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2727 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2730 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2732 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2734 * progmodes/python.el: Fix up last change.
2735 (python-shell--save-temp-file): New function.
2736 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2737 `string' comes from the current buffer.
2738 (python-shell-send-string-no-output): Remove `msg' arg.
2739 (python--use-fake-loc): New var.
2740 (python-shell-buffer-substring): Obey it. Try to compensate for the
2741 extra coding line added by python-shell--save-temp-file.
2742 (python-shell-send-region): Use python-shell--save-temp-file and
2743 python-shell-send-file directly. Add `nomain' argument.
2744 (python-shell-send-buffer): Use python-shell-send-region.
2745 (python-electric-pair-string-delimiter): New function.
2746 (python-mode): Use it.
2748 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2750 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2751 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2752 environment and decoding all of the default-directory's to here
2754 (command-line): Decode also argv[0].
2756 * loadup.el: Error out if default-directory is a multibyte string
2757 when we are dumping.
2759 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2761 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2763 * emacs-lisp/package.el (package-menu-mode)
2764 (package-menu--print-info, package-menu--archive-predicate):
2765 Add Archive column to package list.
2767 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2769 Fix problems found while writing a test suite.
2771 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2772 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2773 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2774 to nil when running original file name handler. Otherwise,
2775 there are problems with constructs like "$$FOO".
2777 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2780 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2782 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2784 * subr.el (version<, version<=, version=):
2785 Update docstrings with information for snapshot versions.
2787 * helpers.el: New library for misc helper functions.
2788 (hash-table-keys): New function returning a list of hash keys.
2789 (hash-table-values): New function returning a list of hash values.
2791 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2793 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2794 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2796 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2798 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2799 checking whether point is after a 1-letter word.
2801 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2803 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2804 Don't infloop when expanding region over `multiline' syntax-type that
2805 begins a line (bug#15778).
2807 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2809 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2810 Make it into a proper minor mode.
2811 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2812 (rectangle-mark-mode-map): New keymap.
2813 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2815 2013-11-04 Glenn Morris <rgm@gnu.org>
2817 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2819 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2821 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2822 (ruby-smie-rules): Use smie-rule-parent instead.
2824 * emacs-lisp/smie.el (smie-rule-parent): Always call
2825 smie-indent-virtual rather than only for hanging tokens.
2826 (smie--next-indent-change): New helper command.
2828 2013-11-03 Glenn Morris <rgm@gnu.org>
2830 * Makefile.in (abs_srcdir): Remove.
2831 (emacs): Unset EMACSLOADPATH.
2833 2013-11-02 Glenn Morris <rgm@gnu.org>
2835 * Makefile.in (EMACS): Use a relative filename.
2836 (abs_top_builddir): Remove.
2837 (custom-deps, finder-data, autoloads): Use --chdir.
2839 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2841 Use relative filenames in TAGS files.
2842 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2843 (lisptagsfiles4, TAGS): Use relative file names.
2844 (TAGS-LISP): Remove.
2845 (maintainer-clean): No more TAGS-LISP file.
2847 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2848 (lisptagsfiles4): Use absolute filenames again.
2849 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2850 Remove all *loaddefs files, not just the first. Remove esh-groups.
2851 (maintainer-clean): Delete TAGS, TAGS-LISP.
2853 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2855 * emacs-lisp/package.el (package-version-join):
2856 Recognize snapshot versions.
2858 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2860 * subr.el (version-regexp-alist): Add support for snapshot versions.
2862 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2864 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2865 New function, replacement for `smie-rule-parent' for when we want to
2866 skip over our direct parent if it's an assignment token..
2867 (ruby-smie-rules): Use it.
2869 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2871 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2872 unconditionally. Remove now unnecessary forward declarations.
2873 Remove XEmacs-specific setup.
2874 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2875 (ruby-font-lock-syntactic-keywords)
2876 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2877 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2878 (ruby-here-doc-end-syntax): Remove.
2879 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2880 defined as function.
2882 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2884 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2886 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2888 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2889 table and abbrev table, `define-derived-mode' does that for us
2892 2013-11-01 Glenn Morris <rgm@gnu.org>
2894 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2895 files is atomic for some time, so no parallel compilation issues).
2897 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2899 * faces.el (face-x-resources): Add :distant-foreground.
2900 (region): Use :distant-foreground for gtk and ns.
2902 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2904 Allow multiple bibliographies when BibLaTeX is used rather than
2906 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2907 (reftex-locate-bibliography-files): Us it.
2909 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2911 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2912 allow comments in pbm files.
2914 * term/w32-win.el (dynamic-library-alist): Support newer versions
2915 of libjpeg starting with v7: look only for the DLL from the
2916 version against which Emacs was built.
2917 Support versions of libpng beyond 1.4.x.
2918 Support libtiff v4.x.
2920 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2922 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2923 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2925 (ruby-deep-arglist): Add property :type.
2927 2013-10-31 Glenn Morris <rgm@gnu.org>
2929 * Makefile.in (custom-deps, finder-data): No need to setq the target
2930 variables, we are in the right directory and the defaults work fine.
2932 2013-10-30 Glenn Morris <rgm@gnu.org>
2934 * Makefile.in (autoloads): Do not use abs_lisp.
2936 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2937 `newline' does not respect `standard-output', so use `princ'.
2939 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2941 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2942 * buff-menu.el (Buffer-menu--unmark): New function.
2943 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2945 2013-10-30 Glenn Morris <rgm@gnu.org>
2947 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2949 * emacs-lisp/package.el (lm-homepage): Declare.
2951 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2954 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2956 * Makefile.in (finder-data, autoloads, update-subdirs)
2957 (compile-main, compile-clean, compile-always, bootstrap-clean):
2958 Check return value of cd.
2959 (compile-calc): Remove.
2961 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2963 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2965 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2966 (byte-compile-and-folded): New function.
2967 (=, <, >, <=, >=): Use it.
2969 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2970 (path-separator, null-device, buffer-file-coding-system)
2971 (lpr-headers-switches): Check system-type before modifying them.
2972 (find-buffer-file-type-coding-system): Mark obsolete.
2973 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2974 find-file-not-found-set-buffer-file-coding-system.
2975 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2976 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2977 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2978 (w32-direct-print-region-helper, w32-direct-print-region-function)
2979 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2980 * startup.el (normal-top-level-add-subdirs-to-load-path):
2981 * ps-print.el (ps-print-region-function):
2982 * lpr.el (print-region-function): Use new name.
2984 * subr.el (custom-declare-variable-early): Remove function.
2985 (custom-declare-variable-list): Remove var.
2986 (error, user-error): Remove `while' loop.
2987 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2988 (user-emacs-directory-warning, locate-user-emacs-file):
2990 * simple.el (read-quoted-char-radix, read-quoted-char):
2991 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2993 * custom.el (custom-declare-variable-list): Don't process
2994 custom-declare-variable-list.
2996 * progmodes/python.el (python-shell-get-buffer): New function.
2997 (python-shell-get-process): Use it.
2998 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2999 Python which encoding was used. Don't split-string since we only care
3000 about the first line. Return the temp-file, if applicable.
3001 (python-shell-send-region): Tell compile.el how to turn locations in
3002 the temp-file into locations in the source buffer.
3004 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3006 * subr.el (undefined): Add missing behavior from the C code for
3009 * rect.el: Use lexical-binding. Add new rectangular region support.
3010 (rectangle-mark): New command.
3011 (rectangle--region): New var.
3012 (deactivate-mark-hook): Reset rectangle--region.
3013 (rectangle--extract-region, rectangle--insert-for-yank)
3014 (rectangle--highlight-for-redisplay)
3015 (rectangle--unhighlight-for-redisplay): New functions.
3016 (region-extract-function, redisplay-unhighlight-region-function)
3017 (redisplay-highlight-region-function): Use them to handle
3019 * simple.el (region-extract-function): New var.
3020 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3021 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3022 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3023 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3024 (redisplay-unhighlight-region-function)
3025 (redisplay-highlight-region-function): New vars.
3026 (redisplay--update-region-highlight): New function.
3027 (pre-redisplay-function): Use it.
3028 (exchange-point-and-mark): Don't deactivate the mark before
3029 reactivate-it anyway.
3030 * comint.el (comint-kill-region): Remove yank-handler argument.
3031 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3032 (delete-char): Remove property, since it's now part of their
3034 (self-insert-iso): Remove property since this command doesn't exist.
3036 * emacs-lisp/package.el (package--download-one-archive)
3037 (describe-package-1): Don't query the user about final newline.
3039 2013-10-29 Daniel Colascione <dancol@dancol.org>
3041 * net/tramp.el (tramp-methods): Document new functionality.
3042 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3043 tramp-hostname-checker if method provides one instead of scanning
3044 argument list for "%h" to decide hostname acceptability.
3046 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3048 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3049 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3050 Handle COPY-CONTENTS. (Bug#15737)
3052 2013-10-28 Daiki Ueno <ueno@gnu.org>
3055 (epa-file-cache-passphrase-for-symmetric-encryption):
3056 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3058 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3060 * image.el (defimage):
3061 (image-load-path): Doc fixes.
3063 2013-10-27 Alan Mackenzie <acm@muc.de>
3065 Indent statements in macros following "##" correctly.
3066 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3067 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3069 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3071 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3073 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3075 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3076 after `=' is probably a new expression.
3078 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3080 * man.el (man-imenu-title): New option.
3081 (Man-mode-map): Add menu. (Bug#15722)
3082 (Man-mode): Add imenu to menu.
3084 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3086 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3087 specific in what the first arg can be: a non-keyword word,
3088 string/regexp/percent literal opener, opening paren, or unary
3089 operator followed directly by word.
3091 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3093 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3094 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3095 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3096 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3097 Remove vars, they do not apply any more.
3098 (prolog-mode-abbrev-table): Remove redundant declaration.
3099 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3100 (prolog-use-smie): Remove.
3101 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3102 supported by prolog-electric-if-then-else-flag.
3103 (prolog-mode-variables, prolog-menu): Use setq-local.
3104 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3105 Remove binding to `Backspace' since this key doesn't exist anyway.
3106 Remove bindings for electric self-inserting keys.
3107 (prog-mode): Assume it's defined.
3108 (prolog-post-self-insert): New function.
3109 (prolog-mode): Use it.
3110 (prolog-indent-line, prolog-indent-level)
3111 (prolog-find-indent-of-matching-paren)
3112 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3113 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3114 (prolog-goto-next-paren, prolog-in-string-or-comment)
3115 (prolog-tokenize, prolog-inside-mline-comment)
3116 (prolog-find-start-of-mline-comment): Remove functions.
3117 (prolog-find-unmatched-paren, prolog-clause-end)
3118 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3119 (prolog-electric--if-then-else): Rename from
3120 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3121 (prolog-tokenize-searchkey): Remove const.
3122 (prolog-clause-info): Use forward-sexp.
3123 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3124 (prolog-electric-if-then-else): Remove commands.
3125 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3126 for use in post-self-insert-hook.
3127 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3128 for use in post-self-insert-hook.
3129 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3130 for use in post-self-insert-hook.
3131 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3132 adapt it for use in post-self-insert-hook.
3134 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3136 * emacs-lisp/ert.el (ert-run-tests-interactively):
3137 Use `completing-read'. (Bug#9756)
3139 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3141 * simple.el (line-move): Call line-move-1 instead of
3142 line-move-visual when the current window hscroll is zero, but
3143 temporary-goal-column indicates we will need to hscroll as result
3144 of the movement. (Bug#15712)
3146 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3148 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3149 capitalization. Use :visible instead of :active.
3150 Fix `ruby-indent-exp' reference. Add menu items for the generic
3151 commands that are used with SMIE.
3152 (ruby-do-end-to-brace): Insert space after `{'.
3154 2013-10-25 John Anthony <john@jo.hnanthony.com>
3156 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3158 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3160 2013-10-25 Glenn Morris <rgm@gnu.org>
3162 * vc/vc.el (vc-print-log): Don't use a working revision unless
3163 one was explicitly specified. (Bug#15322)
3165 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3167 * subr.el (add-to-list): Preserve return value in compiler-macro
3170 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3172 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3173 result. Ask user to retry using '-all' flag. (Bug#15701)
3175 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3177 * emacs-lisp/smie.el: New smie-config system.
3178 (smie-config): New defcustom.
3179 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3180 (smie-config-guess, smie-config-save): New commands.
3181 (smie-config--mode-local, smie-config--buffer-local)
3182 (smie-config--trace, smie-config--modefuns): New vars.
3183 (smie-config--advice, smie-config--mode-hook)
3184 (smie-config--setter, smie-config-local, smie-config--get-trace)
3185 (smie-config--guess-value, smie-config--guess): New functions.
3186 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3187 text properties. Treat "string fence" syntax like string syntax.
3189 * progmodes/sh-script.el (sh-use-smie): Change default.
3190 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3191 (sh-var-value): Simplify by CSE.
3192 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3193 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3195 (sh-guess-basic-offset): Use cl-incf.
3196 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3198 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3200 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3203 2013-10-24 Glenn Morris <rgm@gnu.org>
3205 * Makefile.in (abs_top_srcdir): Remove.
3206 (update-subdirs): Use relative path to update-subdirs.
3208 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3210 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3211 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3212 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3213 Call unmsys--file-name before expand-file-name, not after it.
3215 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3217 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3218 (ert-test-skipped): New error.
3219 (ert-skip, ert-stats-skipped): New defuns.
3220 (ert--skip-unless): New macro.
3221 (ert-test-skipped): New struct.
3222 (ert--run-test-debugger, ert-test-result-type-p)
3223 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3224 (ert--stats-set-test-and-result, ert-char-for-test-result)
3225 (ert-string-for-test-result, ert-run-tests-batch)
3226 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3227 Handle skipped tests. (Bug#9803)
3229 2013-10-24 Glenn Morris <rgm@gnu.org>
3231 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3233 * Makefile.in (abs_top_srcdir): New, set by configure.
3234 (update-subdirs): Correct build-aux location.
3236 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3238 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3239 value, whether we could auto-deduce `backend', or not.
3241 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3242 with parameters" example. Simplify the "is it block or is it
3243 hash" check, but also make it more thorough.
3245 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3247 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3249 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3251 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3254 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3257 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3259 * progmodes/compile.el (compilation-directory-matcher)
3260 (compilation-page-delimiter):
3261 Support GNU Make-4.0 directory quoting. (Bug#15678)
3263 2013-10-23 Leo Liu <sdl.web@gmail.com>
3265 * ido.el (ido-tidy): Handle read-only text.
3267 2013-10-23 Glenn Morris <rgm@gnu.org>
3269 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3270 (emacs, compile, compile-always):
3271 Quote entities that might contain whitespace.
3272 (custom-deps, finder-data, autoloads): Use abs_lisp.
3273 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3274 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3275 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3277 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3279 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3280 Use `following-char'.
3282 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3284 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3285 * progmodes/ruby-mode.el (ruby-smie-rules):
3286 Remove corresponding workaround. Fix indentation rule of ";" so it
3287 also applies when ";" is the parent.
3289 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3291 * frame.el (display-screens, display-pixel-height)
3292 (display-pixel-width, display-mm-width, display-backing-store)
3293 (display-save-under, display-planes, display-color-cells)
3294 (display-visual-class, display-monitor-attributes-list):
3295 Mention the optional ‘display’ argument in doc strings.
3297 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3299 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3300 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3302 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3304 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3305 TODO. Add "." after " @ ".
3306 (ruby-smie--at-dot-call): New function. Checks if point at method
3307 call with explicit target.
3308 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3309 to the method name tokens when it precedes them.
3310 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3311 (ruby-smie-rules): Add rule for indentation before and after "."
3314 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3316 * textmodes/remember.el (remember-diary-extract-entries):
3319 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3322 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3324 * progmodes/ruby-mode.el (ruby-smie-grammar):
3325 Add (almost) all infix operators.
3326 (ruby-smie--implicit-semi-p): Add new operator chars.
3328 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3330 (ruby-smie--args-separator-p): Check that there's no newline
3331 between method call and its arguments.
3333 2013-10-20 Alan Mackenzie <acm@muc.de>
3335 Allow comma separated lists after Java "implements".
3337 * progmodes/cc-engine.el (c-backward-over-enum-header):
3339 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3340 from a "disallowed" list in enum fontification.
3342 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3344 * startup.el (default-frame-background-mode): Remove unused defvar.
3346 * progmodes/verilog-mode.el (verilog-mode): Don't set
3347 comment-indent-function globally.
3349 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3351 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3352 Move Info menu item creation to ns-win.el.
3354 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3357 * menu-bar.el: Move GNUStep specific menus...
3359 * term/ns-win.el (ns-initialize-window-system): ... to here.
3361 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3363 * simple.el (newline): Only run post-self-insert-hook when
3364 called interactively.
3366 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3368 * icomplete.el (icomplete-with-completion-tables): Add :version.
3370 2013-10-19 Alan Mackenzie <acm@muc.de>
3372 Fix fontification bugs with constructors and const.
3374 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3375 CASE 2) Remove the check for the absence of a suffix construct
3376 after a function declaration with only types (no identifiers) in
3377 the parentheses. Also, accept a function declaration with just a
3378 type inside the parentheses, if this type can be positively
3379 recognised as such, or if a prefix keyword like "explicit" nails
3380 down the construct as a declaration.
3382 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3384 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3385 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3386 the problem whereby selecting a menu item that leads to a
3387 minibuffer prompt moves the cursor out of the minibuffer window,
3388 making it hard to type at the prompt. Suggested by Stefan Monnier
3389 <monnier@iro.umontreal.ca>.
3391 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3393 * menu-bar.el: Don't make Services menu.
3395 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3397 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3398 (ffap-alist): Use ffap-c++-mode for c++-mode.
3399 (ffap-c++-path): New variable.
3400 (ffap-c++-mode): New function.
3402 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3404 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3406 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3408 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3409 introduced on 2013-09-08, which results in an infinite loop
3410 requesting a password.
3412 2013-10-18 Glenn Morris <rgm@gnu.org>
3414 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3416 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3418 Sync with upstream verilog-mode revision 1a6ecec7.
3419 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3420 (verilog-mode-release-date): Remove.
3421 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3422 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3423 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3424 (verilog-auto-tieoff-ignore-regexp)
3425 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3426 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3427 (verilog-signals-with, verilog-dir-cache-preserving)
3428 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3430 (verilog-case-fold): New option, to control case folding in
3431 regexp searches, bug597.
3432 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3433 (verilog-string-match-fold, verilog-in-paren-count)
3434 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3435 (verilog-at-close-struct-p): New functions.
3436 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3437 (verilog-forward-sexp, verilog-set-auto-endcomments):
3438 (verilog-leap-to-case-head): Handle "unique0" case.
3439 (verilog-in-constraint-re): New constant.
3440 (verilog-keywords, verilog-type-font-keywords):
3441 Add some SystemVerilog 1800-2012 keywords.
3442 (verilog-label-be): Remove unimplemented argument, bug669.
3443 (verilog-batch-execute-func): When batch expanding clear
3444 create-lockfiles to prevent spurious user locks when a file ends
3446 (verilog-calculate-indent, verilog-calc-1)
3447 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3448 (verilog-do-indent): Fix indentation of nested constraints
3450 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3451 (verilog-auto-inst-param): Use verilog-string-match-fold.
3452 (verilog-read-inst-module-matcher):
3453 Fix AUTOINST on gate primitives with #1.
3454 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3455 Reads all user-defined typed variables.
3456 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3457 (verilog-signals-matching-regexp)
3458 (verilog-signals-not-matching-regexp, verilog-auto):
3459 Respect verilog-case-fold.
3460 (verilog-diff-report): Fix line count.
3461 (verilog-auto-assign-modport): Remove unused local `modi'.
3462 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3463 better handle multidimensional arrays.
3464 Fix packed array ports misadding bit index in AUTOINST, bug637.
3465 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3466 to not double-declare existing outputs and inputs, respectively.
3467 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3468 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3469 (verilog-sk-uvm-component): New skeleton.
3470 (verilog-submit-bug-report): Add verilog-case-fold,
3471 remove verilog-mode-release-date.
3473 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3475 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3478 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3480 * textmodes/remember.el (remember): Set buffer-offer-save in
3481 remember buffers (bug#13566).
3483 2013-10-18 Daniel Colascione <dancol@dancol.org>
3485 When evaluating forms in ielm, direct standard output to ielm
3486 buffer. Add new ielm-return-for-effect command. Remove trailing
3487 whitespace throughout.
3489 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3490 (ielm-return-for-effect): New command.
3491 (ielm-send-input): Accept optional `for-effect' parameter.
3492 (ielm-eval-input): Accept optional `for-effect' parameter.
3493 Bind `standard-output' to stream we create using
3494 `ielm-standard-output-impl'. Suppress printing result when
3496 (ielm-standard-output-impl): New function.
3497 (inferior-emacs-lisp-mode): Explain new features in documentation.
3499 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3503 * net/tramp.el (tramp-debug-message): Do not check for connection
3505 (tramp-message): Use "vector" connection property.
3507 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3508 (tramp-equal-remote, tramp-eshell-directory-change)
3509 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3510 (tramp-adb-handle-rename-file)
3511 * net/tramp-cmds.el (tramp-list-remote-buffers)
3512 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3513 * net/tramp-compat.el (tramp-compat-process-running-p)
3514 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3515 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3516 (tramp-gvfs-handle-rename-file)
3517 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3518 (tramp-set-file-uid-gid)
3519 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3520 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3523 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3524 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3525 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3526 (tramp-gw-open-network-stream): Suppress unrelated traces.
3528 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3529 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3530 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3531 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3532 connection property.
3534 * net/tramp-cache.el (top): Suppress traces when reading
3537 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3538 Refactor common code. Improve debug message.
3539 (tramp-maybe-open-connection)
3540 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3541 connection buffer too early.
3543 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3544 from `tramp-smb-actions-with-acl'.
3545 (tramp-smb-actions-set-acl): New defconst.
3546 (tramp-smb-handle-copy-directory)
3547 (tramp-smb-action-get-acl): New defun, renamed from
3548 `tramp-smb-action-with-acl'.
3549 (tramp-smb-action-set-acl): New defun.
3550 (tramp-smb-handle-set-file-acl): Rewrite.
3552 2013-10-17 Glenn Morris <rgm@gnu.org>
3554 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3556 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3558 * skeleton.el (skeleton-newline): Remove.
3559 (skeleton-internal-1): Use (insert "\n") instead.
3561 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3564 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3565 forward-sexp-function while we redo its job (bug#15613).
3567 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3569 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3570 represented by lists.
3572 2013-10-16 Glenn Morris <rgm@gnu.org>
3574 * tmm.el (tmm--history): New dynamic variable.
3575 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3577 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3579 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3580 (tramp-smb-errors): Add error messages.
3581 (tramp-smb-actions-with-acl): New defconst.
3582 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3583 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3584 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3585 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3586 (tramp-smb-get-stat-capability): Fix tests.
3588 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3590 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3593 2013-10-16 Glenn Morris <rgm@gnu.org>
3595 * ansi-color.el (ansi-color-drop-regexp):
3596 Add 1J, 1K, 2K. (Bug#15617)
3598 * files.el (hack-local-variables--warned-lexical): New.
3599 (hack-local-variables):
3600 Warn about misplaced lexical-binding. (Bug#15616)
3602 * net/eww.el (eww-render): Always set eww-current-url,
3603 and update header line. (Bug#15622)
3604 (eww-display-html): ... Rather than just doing it here.
3606 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3608 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3609 menu navigations commands.
3611 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3613 * progmodes/subword.el (subword-capitalize): Be careful when
3614 the search for [[:alpha:]] fails (bug#15580).
3616 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3618 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3619 to commands that scroll the menu.
3621 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3623 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3624 Handle methods ending with `?' and `!'.
3626 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3628 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3629 `japanese-cp932' to `cp932' to fix the problem where saving a
3630 source file written in Shift_JIS twice would end up having
3631 `coding: japanese-cp932' which Ruby could not recognize.
3632 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3633 in `ruby-encoding-map'.
3634 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3635 doesn't need to be explicitly declared in magic comment.
3636 (ruby-encoding-map): Add type declaration for better customize UI.
3638 2013-10-13 Glenn Morris <rgm@gnu.org>
3640 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3641 Occur buffers are read-only. http://bugs.debian.org/720775
3643 * emacs-lisp/authors.el (authors-fixed-entries):
3644 Comment out old alpha stuff.
3646 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3648 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3649 to `after-save-hook' instead of `before-save-hook'.
3650 (ruby-mode-set-encoding): Use the value of coding system used to
3651 write the file. Call `basic-save-buffer-1' after modifying the
3654 2013-10-13 Alan Mackenzie <acm@muc.de>
3656 Fix indentation/fontification of Java enum with
3657 "implements"/generic.
3659 * progmodes/cc-engine.el (c-backward-over-enum-header):
3660 Extracted from the three other places and enhanced to handle generics.
3661 (c-inside-bracelist-p): Uses new function above.
3662 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3664 (c-font-lock-enum-tail): Uses new function above.
3666 2013-10-13 Kenichi Handa <handa@gnu.org>
3668 * international/mule-cmds.el (select-safe-coding-system): Remove a
3669 superfluous condition in chekcing whether a coding system is safe
3672 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3674 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3676 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3678 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3680 2013-10-13 Glenn Morris <rgm@gnu.org>
3682 * menu-bar.el (menu-bar-update-buffers):
3683 Unify Buffers menu prompt string. (Bug#15576)
3685 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3687 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3689 (authors-fixed-entries): Use accented form of name.
3691 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3693 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3694 method calls (bug#15594).
3695 (ruby-smie--args-separator-p): New function.
3696 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3697 recognize paren-free method calls.
3699 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3700 internals of universal-argument.
3702 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3704 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3705 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3706 dropped menu on second mouse click on the menu bar.
3708 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3710 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3711 (explicit-shell-file-name): Declare.
3712 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3713 (sh-completion-at-point-function): New function.
3715 (sh-smie--keyword-p): Remove unused argument.
3716 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3718 (sh-set-shell): Always setup SMIE, even if we use the
3719 old indentation code.
3721 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3723 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3725 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3726 predicate would return nil are almost non-existent.
3727 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3729 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3730 cache also after commands that modify the buffer but don't move
3733 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3735 * env.el (substitute-env-in-file-name): New function.
3736 (substitute-env-vars): Extend the meaning of the optional arg.
3738 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3740 * term/w32-win.el (dynamic-library-alist): Define separate lists
3741 of GIF DLLs for versions before and after 5.0.0 of giflib.
3744 2013-10-10 João Távora <joaotavora@gmail.com>
3746 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3747 not locked, use last revision and current source as
3748 defaults. (Bug#15569)
3750 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3752 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3755 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3757 * window.el (pop-to-buffer-same-window): Fix doc-string.
3760 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3762 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3764 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3766 * calendar/icalendar.el (icalendar-import-file):
3767 Fix interactive spec. (Bug#15482)
3769 2013-10-10 Glenn Morris <rgm@gnu.org>
3771 * desktop.el (desktop-save): Default to saving in .emacs.d,
3772 since PWD is no longer in desktop-path by default. (Bug#15319)
3774 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3775 now that text mode has a menu with the same entry.
3776 (menu-bar-text-mode-auto-fill): Remove now unused func.
3777 * textmodes/text-mode.el (text-mode-map):
3778 Use auto-fill help text from menu-bar.el.
3780 2013-10-10 John Anthony <john@jo.hnanthony.com>
3782 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3784 2013-10-09 Juri Linkov <juri@jurta.org>
3786 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3787 instead of this-command-keys. Add universal-argument-more and
3788 universal-argument-minus to the list of prefix commands. (Bug#15568)
3790 2013-10-09 Glenn Morris <rgm@gnu.org>
3792 * vc/vc-svn.el (vc-svn-create-repo):
3793 Expand paths in file://... url. (Bug#15446)
3795 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3797 (authors): Remove unused local variables.
3799 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3801 * profiler.el: Create a more coherent calltree from partial backtraces.
3802 (profiler-format): Hide the tail with `invisible' so that C-s can still
3803 find the hidden elements.
3804 (profiler-calltree-depth): Don't recurse so enthusiastically.
3805 (profiler-function-equal): New hash-table-test.
3806 (profiler-calltree-build-unified): New function.
3807 (profiler-calltree-build): Use it.
3808 (profiler-report-make-name-part): Indent the calltree less.
3809 (profiler-report-mode): Add visibility specs for profiler-format.
3810 (profiler-report-expand-entry, profiler-report-toggle-entry):
3811 Expand the whole subtree when provided with a prefix arg.
3813 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3815 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3817 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3818 hanging iuwu-mod token.
3819 (ruby-smie--forward-token): Do not include a dot after a token in
3821 (ruby-smie--backward-token): Likewise.
3823 2013-10-08 Juri Linkov <juri@jurta.org>
3825 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3826 to isearch-other-control-char.
3827 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3828 and isearch-post-command-hook to post-command-hook.
3829 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3830 and isearch-post-command-hook from post-command-hook.
3831 (isearch-unread-key-sequence)
3832 (isearch-reread-key-sequence-naturally)
3833 (isearch-lookup-scroll-key, isearch-other-control-char)
3834 (isearch-other-meta-char): Remove functions.
3835 (isearch-pre-command-hook, isearch-post-command-hook):
3836 New functions based on isearch-other-meta-char rewritten
3837 relying on the new behavior of overriding-terminal-local-map
3838 that does not replace the local keymaps any more. (Bug#15200)
3840 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3842 Support menus on text-mode terminals.
3843 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3846 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3848 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3849 Move here from mouse.el.
3850 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3852 (tty-menu-navigation-map): New map for TTY menu navigation.
3854 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3856 * frame.el (display-mouse-p): Report text-mode mouse as available
3858 (display-popup-menus-p): Report availability if mouse is
3859 available; don't condition on window-system.
3861 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3862 (tty-menu-selected-face): New faces.
3864 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3866 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3867 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3868 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3869 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3871 (lisp-mode-variables): New `elisp' argument.
3872 (emacs-lisp-mode): Use it.
3873 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3874 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3876 * indent.el: Use lexical-binding.
3877 (indent-region): Add progress reporter.
3878 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3880 (indent--next-tab-stop): New function to implement this behavior.
3881 (tab-to-tab-stop, move-to-tab-stop): Use it.
3883 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3885 * indent.el (indent-rigidly--current-indentation): New function.
3886 (indent-rigidly-map): New var.
3887 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3889 2013-10-08 Bastien Guerry <bzg@gnu.org>
3891 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3893 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3895 * progmodes/perl-mode.el: Use lexical-binding.
3896 Remove redundant :group args.
3897 (perl-nochange): Change default to be closer to other major modes's
3899 (perl-indent-line): Don't consider text on current line as a
3900 valid beginning of function from which to indent.
3902 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3903 with more than one argument (bug#15538).
3905 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3907 * vc/pcvs.el: Use lexical-binding.
3908 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3909 environment of `eval'.
3910 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3911 than a list of expressions. Adjust callers.
3912 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3914 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3916 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3917 case of the dot in a chained method call being on the following line.
3919 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3921 * electric.el (electric-indent-inhibit): New var.
3922 (electric-indent-post-self-insert-function): Use it.
3923 * progmodes/python.el (python-mode): Set it.
3925 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3928 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3930 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3931 (css-mode): Use electric-indent-chars.
3933 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3934 (font-lock-beg, font-lock-end): Move before first use.
3935 (nxml-mode): Use syntax-propertize-function.
3936 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3937 (nxml-extend-after-change-region): Remove.
3938 * nxml/xmltok.el: Use lexical-binding.
3939 (xmltok-save): Use `declare'.
3940 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3941 * nxml/nxml-util.el: Use lexical-binding.
3942 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3944 * nxml/nxml-ns.el: Use lexical-binding.
3945 (nxml-ns-save): Use `declare'.
3946 (nxml-ns-prefixes-for): Avoid add-to-list.
3947 * nxml/rng-match.el: Use lexical-binding.
3948 (rng--ipattern): Use cl-defstruct.
3949 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3950 (rng-cons-group-after, rng-subst-group-after)
3951 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3952 Use closures instead of `(lambda...).
3954 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3956 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3959 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3960 Use `tramp-handle-insert-file-contents'.
3961 (tramp-gvfs-handle-insert-file-contents): Remove function.
3963 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3964 Use `save-restriction' in order to keep markers.
3966 * net/trampver.el: Update release number.
3968 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3970 * progmodes/compile.el (compilation-parse-errors):
3971 Use compilation--put-prop.
3972 (compilation--ensure-parse): Check compilation-multiline.
3974 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3976 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3979 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3981 * progmodes/ruby-mode.el: Fix recently added tests.
3982 (ruby-smie-grammar): Add - and +.
3983 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3984 (ruby-smie--backward-id): New functions.
3985 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3986 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3989 2013-10-07 Leo Liu <sdl.web@gmail.com>
3991 * register.el (register-preview-delay)
3992 (register-preview-functions): New variables.
3993 (register-read-with-preview, register-preview)
3994 (register-describe-oneline): New functions.
3995 (point-to-register, window-configuration-to-register)
3996 (frame-configuration-to-register, jump-to-register)
3997 (number-to-register, view-register, insert-register)
3998 (copy-to-register, append-to-register, prepend-to-register)
3999 (copy-rectangle-to-register): Use register-read-with-preview to
4000 read register. (Bug#15525)
4002 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4004 * net/network-stream.el (network-stream-open-starttls): Don't add
4005 --insecure if it's already present, because that gnutls-cli
4006 rejects getting that parameter twice.
4008 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4010 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4013 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4015 * newcomment.el (comment-use-global-state): Change default value
4016 to t, mark obsolete (Bug#15251).
4017 (comment-beginning): In addition to `comment-to-syntax', check the
4018 value of `comment-use-global-state'.
4020 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4022 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4023 (ruby-comment-column): Follow the global default, by default.
4024 (ruby-smie-grammar): Add assignment syntax.
4025 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4026 open-paren, a comma, or a \.
4027 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4028 and line continuations.
4029 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4030 followed by implicit semi-colons. Add rule for string concatenation
4031 and for indentation at BOB.
4032 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4034 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4035 calling next-sexp, since next-token may have skipped chars which
4036 next-sexp doesn't know should be skipped!
4038 2013-10-05 Leo Liu <sdl.web@gmail.com>
4040 * progmodes/octave.el (octave-send-region):
4041 Call compilation-forget-errors.
4043 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4045 * vc/vc-svn.el (vc-svn-find-admin-dir):
4046 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4047 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4048 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4049 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4051 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4053 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4055 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4057 * subr.el (read-passwd): Hide chars even when called within a context
4058 where after-change-functions is disabled (bug#15501).
4059 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4060 until we removed ourself from overriding-terminal-local-map.
4062 2013-10-04 Leo Liu <sdl.web@gmail.com>
4064 * progmodes/octave.el (inferior-octave-mode):
4065 Call compilation-forget-errors.
4067 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4069 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4071 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4073 * net/secrets.el (secrets-create-collection): Add optional
4074 argument ALIAS. Use proper Label keyword. Append ALIAS as
4075 dbus-call-method argument. (Bug#15516)
4077 2013-10-04 Leo Liu <sdl.web@gmail.com>
4079 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4080 (inferior-octave-compilation-font-lock-keywords): New variables.
4081 (compilation-error-regexp-alist)
4082 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4083 (inferior-octave-mode): Use compilation-shell-minor-mode.
4085 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4087 * minibuffer.el (completion--replace): Be careful that `end' might be
4090 2013-10-03 Daiki Ueno <ueno@gnu.org>
4092 Add support for package signature checking.
4093 * emacs-lisp/package.el (url-http-file-exists-p)
4094 (epg-make-context, epg-context-set-home-directory)
4095 (epg-verify-string, epg-context-result-for)
4096 (epg-signature-status, epg-signature-to-string)
4097 (epg-check-configuration, epg-configuration)
4098 (epg-import-keys-from-file): Declare.
4099 (package-check-signature): New user option.
4100 (package-unsigned-archives): New user option.
4101 (package-desc): Add `signed' field.
4102 (package-load-descriptor): Set `signed' field if .signed file exists.
4103 (package--archive-file-exists-p): New function.
4104 (package--check-signature): New function.
4105 (package-install-from-archive): Check package signature.
4106 (package--download-one-archive): Check archive signature.
4107 (package-delete): Remove .signed file.
4108 (package-import-keyring): New command.
4109 (package-refresh-contents): Import default keyring.
4110 (package-desc-status): Add "unsigned" status.
4111 (describe-package-1, package-menu--print-info)
4112 (package-menu-mark-delete, package-menu--find-upgrades)
4113 (package-menu--status-predicate): Support "unsigned" status.
4115 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4117 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4118 the new compilation scheme using the new byte-codes.
4120 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4121 (byte-pophandler): New byte codes.
4122 (byte-goto-ops): Adjust accordingly.
4123 (byte-compile--use-old-handlers): New var.
4124 (byte-compile-catch): Use new byte codes depending on
4125 byte-compile--use-old-handlers.
4126 (byte-compile-condition-case--old): Rename from
4127 byte-compile-condition-case.
4128 (byte-compile-condition-case--new): New function.
4129 (byte-compile-condition-case): New function that dispatches depending
4130 on byte-compile--use-old-handlers.
4131 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4134 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4135 Optimize under `condition-case' and `catch' if
4136 byte-compile--use-old-handlers is nil.
4137 (disassemble-offset): Handle new bytecodes.
4139 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4141 * subr.el (error): Use `declare'.
4142 (decode-char, encode-char): Use advertised-calling-convention instead
4143 of the docstring to discourage use of the `restriction' arg.
4145 2013-10-03 Daiki Ueno <ueno@gnu.org>
4147 * epg.el (epg-verify-file): Add a comment saying that it does not
4148 notify verification error as a return value nor a signal.
4149 (epg-verify-string): Ditto.
4151 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4153 * progmodes/compile.el (compilation-start): Try globbing the arg to
4156 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4158 Sync with Tramp 2.2.8.
4160 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4161 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4162 * net/trampver.el: Update release number.
4164 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4166 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4167 and default-process-coding-system for darwin only.
4169 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4171 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4173 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4175 * vc/vc-git.el (vc-git-grep): Disable pager.
4177 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4179 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4180 Use :url instead of :homepage, as per
4181 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4183 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4184 non-nil, use `syntax-ppss' (Bug#15251).
4186 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4188 * progmodes/octave.el (inferior-octave-startup-file):
4189 Prefer ~/.emacs.d/init_octave.m.
4191 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4193 * emacs-lisp/package.el (package-desc-from-define):
4194 Accept additional arguments as plist, convert them to an alist and store
4195 them in the `extras' slot.
4196 (package-generate-description-file): Convert extras alist back to
4197 plist and append to the `define-package' form arguments.
4198 (package--alist-to-plist): New function.
4199 (package--ac-desc): Add `extras' slot.
4200 (package--add-to-archive-contents): Check if the archive-contents
4201 vector is long enough, and if it is, pass its `extras' slot value
4202 to `package-desc-create'.
4203 (package-buffer-info): Call `lm-homepage', pass the returned value
4204 to `package-desc-from-define'.
4205 (describe-package-1): Render the homepage button (Bug#13291).
4207 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4208 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4210 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4212 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4213 and default-process-coding-system to utf-8-unix (Bug#15402).
4215 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4217 * subr.el (looking-back): Do not recommend using looking-back.
4219 2013-09-28 Alan Mackenzie <acm@muc.de>
4221 Fix indentation/fontification of Java enum with "implements".
4223 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4224 regexp which matches "implements", etc., in Java.
4225 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4226 specifier clauses coming after "enum".
4227 * progmodes/cc-fonts.el (c-font-lock-declarations)
4228 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4231 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4233 * faces.el (region): Change ns_selection_color to
4234 ns_selection_fg_color, add ns_selection_bg_color.
4236 2013-09-28 Leo Liu <sdl.web@gmail.com>
4238 * progmodes/octave.el (inferior-octave-completion-table)
4239 (inferior-octave-completion-at-point): Minor tweaks.
4241 * textmodes/ispell.el (ispell-lookup-words): Rename from
4242 lookup-words. (Bug#15460)
4243 (lookup-words): Obsolete.
4244 (ispell-complete-word, ispell-command-loop): All uses changed.
4246 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4248 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4249 (octave-mode-menu): Add octave-send-buffer.
4250 (octave-send-buffer): New function.
4252 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4254 * progmodes/octave.el (octave-mode-map): Add key binding for
4256 (octave-mode-menu): Add octave-lookfor.
4257 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4259 (octave-lookfor): New function.
4261 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4263 * emacs-lisp/cl-macs.el:
4264 (cl--loop-destr-temps): Remove.
4265 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4267 (cl--loop-set-iterator-function): New function.
4268 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4269 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4270 Bind `it' with `let' instead of substituting it with `cl-subst'.
4271 (cl--unused-var-p): New function.
4272 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4273 Eliminate some unused variable warnings (bug#15326).
4275 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4277 * doc-view.el (doc-view-scale-reset): Rename from
4278 `doc-view-reset-zoom-level'.
4279 (doc-view-scale-adjust): New command.
4280 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4281 `doc-view-scale-adjust'.
4283 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4285 * doc-view.el (doc-view-reset-zoom-level): New command.
4286 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4287 zoom commands (bug#15466).
4289 2013-09-26 Kenichi Handa <handa@gnu.org>
4291 * international/quail.el (quail-help): Make it not a command.
4293 2013-09-26 Leo Liu <sdl.web@gmail.com>
4295 * minibuffer.el (completion-all-sorted-completions): Make args
4296 optional as they are.
4298 2013-09-25 Daniel Colascione <dancol@dancol.org>
4300 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4301 specs are and that they're not evaluated.
4303 2013-09-24 Sam Steingold <sds@gnu.org>
4305 * midnight.el (clean-buffer-list-kill-regexps)
4306 (clean-buffer-list-kill-buffer-names): Update for the new Man
4307 buffer naming which includes the object name.
4309 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4311 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4312 (eshell-parse-command, eshell-parse-pipeline): Use it since
4313 eshell-separate-commands requires a dynamic scoped var.
4314 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4316 2013-09-23 Leo Liu <sdl.web@gmail.com>
4318 * autoinsert.el (auto-insert-alist): Make the value of
4319 lexical-binding match its file setting.
4321 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4323 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4325 * autoarg.el (autoarg-kp-digit-argument):
4326 * electric.el (Electric-command-loop):
4327 * kmacro.el (kmacro-step-edit-insert):
4328 Do not set universal-argument-num-events.
4330 2013-09-22 Leo Liu <sdl.web@gmail.com>
4332 * files.el (interpreter-mode-alist): Add octave.
4334 2013-09-21 Alan Mackenzie <acm@muc.de>
4336 C++: fontify identifier in declaration following "public:" correctly.
4337 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4338 to match "public", etc.
4339 (c-decl-prefix-re): Add ":" into the C++ value.
4340 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4341 bit. Add a check for a ":" preceded by "public", etc.
4343 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4345 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4346 recognized by GDB 7.5 and later.
4348 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4350 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4352 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4354 * subr.el (internal--call-interactively): New const.
4355 (called-interactively-p): Use it (bug#3984).
4357 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4359 * vc/pcvs.el (cvs-mode-ignore):
4360 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4361 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4363 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4365 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4366 (eshell-ls-orig-insert-directory): Remove.
4367 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4368 (eshell-ls-use-in-dired): Use advice-add/remove.
4369 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4370 Add `orig-fun' arg for use in :around advice.
4371 Make it check (redundantly) eshell-ls-use-in-dired.
4373 2013-09-19 Glenn Morris <rgm@gnu.org>
4375 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4377 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4379 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4381 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4383 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4384 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4385 (tramp-get-remote-python): New defuns.
4386 (tramp-get-remote-uid-with-perl)
4387 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4388 contributed by yary <not.com@gmail.com> (tiny change).
4389 (tramp-get-remote-uid-with-python)
4390 (tramp-get-remote-gid-with-python): New defuns. Python code
4391 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4392 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4394 2013-09-19 Glenn Morris <rgm@gnu.org>
4396 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4398 * eshell/em-unix.el (eshell-remove-entries):
4399 Rename argument to avoid name-clash with global `top-level'.
4401 * eshell/esh-proc.el (eshell-kill-process-function):
4402 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4403 (eshell-reset-after-proc): Remove unused arg `proc'.
4405 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4406 (directory-files-and-attributes): Mark unused arg.
4408 * eshell/em-unix.el (eshell-remove-entries):
4409 Remove unused arg `path'. Update callers.
4411 * eshell/em-hist.el (eshell-hist-parse-arguments):
4412 Remove unused arg `silent'. Update callers.
4414 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4415 Fix (f)boundp mix-up.
4417 * eshell/em-smart.el (eshell-smart-scroll-window)
4418 (eshell-disable-after-change):
4419 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4421 2013-09-18 Alan Mackenzie <acm@muc.de>
4423 Fix fontification of type when followed by "const".
4424 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4425 "known" types from fontification.
4427 2013-09-18 Glenn Morris <rgm@gnu.org>
4429 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4430 (chart-face-list): Drop Emacsen without display-color-p.
4432 * net/eww.el (libxml-parse-html-region): Declare.
4433 (eww-display-html): Explicit error if no libxml2 support.
4435 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4437 * image.el (image-type-from-buffer, image-multi-frame-p):
4438 Remove --without-x warning/error.
4440 * mouse.el (mouse-yank-primary):
4441 * term.el (term-mouse-paste):
4442 Reorder to silence --without-x compilation.
4444 * mpc.el (doc-view-mode): Silence --without-x compilation.
4446 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4447 Silence --without-x compilation.
4449 * progmodes/gud.el (gud-find-file, gud-mode):
4450 Silence --without-x compilation.
4451 (tooltip-mode): Declare.
4453 * wdired.el (dired-backup-overwrite): Remove declaration.
4454 (wdired-mode-map): Add doc string.
4456 * custom.el (x-get-resource): Declare.
4458 * eshell/em-glob.el (ange-cache):
4459 * eshell/em-unix.el (ange-cache): Declare.
4461 * faces.el (x-display-list, x-open-connection, x-get-resource):
4464 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4465 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4468 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4470 * net/gnutls.el (gnutls-log-level): Declare.
4472 * net/shr.el (image-size, image-animate): Declare.
4474 * simple.el (font-info): Declare.
4476 * subr.el (x-popup-dialog): Declare.
4478 * term/common-win.el (x-select-enable-primary)
4479 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4482 * term/ns-win.el (x-handle-args): Declare.
4484 * term/x-win.el (x-select-enable-clipboard): Declare.
4486 * term/w32-win.el (create-default-fontset): Declare.
4488 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4491 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4492 (fit-frame-to-buffer): Explicit error if --without-x.
4493 (mouse-autoselect-window-select): Silence compiler.
4495 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4497 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4498 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4499 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4500 * eshell/esh-util.el (eshell-sublist):
4501 Remove unused local variables.
4503 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4505 * textmodes/two-column.el: Make 2C-split work for --without-x.
4506 (scroll-bar-columns): Autoload.
4507 (top-level): Require fringe when compiling.
4509 2013-09-18 Leo Liu <sdl.web@gmail.com>
4511 * subr.el (add-hook): Robustify to handle closure as well.
4513 2013-09-17 Glenn Morris <rgm@gnu.org>
4515 * simple.el (messages-buffer-mode-map): Unbind "g".
4517 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4519 * help-mode.el (help-mode-finish): Use derived-mode-p.
4520 Remove obsolete highlighting.
4522 * play/life.el (life-mode): Use define-derived-mode. Derive from
4524 (life): Let-bind inhibit-read-only.
4525 (life-setup): Avoid `setq'. Use `life-mode'.
4527 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4528 which should not be needed any more.
4529 (package-menu-refresh, package-menu-describe-package): Use user-error.
4531 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4532 (eshell-post-rewrite-command-hook): Make obsolete.
4533 (eshell-parse-command): Simplify.
4534 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4535 (eshell--cmd): Declare.
4536 (eshell-parse-pipeline): Remove unused var `final-p'.
4537 Pass a dynvar to eshell-post-rewrite-command-hook.
4538 Implement the new eshell-post-rewrite-command-function.
4539 (eshell-invoke-directly): Remove unused arg `input'.
4540 * eshell/esh-io.el (eshell-io-initialize):
4541 Use eshell-post-rewrite-command-function (bug#15399).
4542 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4543 adjust to new calling convention.
4544 (eshell-create-handles): Rename args to avoid clashing with dynvar
4547 2013-09-17 Glenn Morris <rgm@gnu.org>
4549 * simple.el (messages-buffer-mode): New major mode.
4550 (messages-buffer): New function.
4551 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4552 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4553 (ert-run-test): Use `messages-buffer' function.
4554 (ert--force-message-log-buffer-truncation): Ignore read-only.
4555 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4556 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4558 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4560 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4562 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4564 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4566 * icomplete.el (icomplete-in-buffer): New var.
4567 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4568 vars and replace them with functions.
4569 (icomplete-minibuffer-setup): Adjust accordingly.
4570 (icomplete--completion-table, icomplete--completion-predicate)
4571 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4573 (icomplete-forward-completions, icomplete-backward-completions)
4574 (icomplete-simple-completing-p, icomplete-exhibit)
4575 (icomplete-completions): Use them.
4576 (icomplete--in-region-buffer): New var.
4577 (icomplete--in-region-setup): New function.
4578 (icomplete-mode): Use it.
4580 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4582 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4583 return args and options.
4584 (eshell-eval-using-options): Use the new return value of
4585 eshell--do-opts to set the options's vars in their scope.
4586 (eshell--set-option): Rename from eshell-set-option.
4588 (eshell--process-option): Rename from eshell-process-option.
4590 (eshell--process-args): Use an `opt-vals' alist to store the options's
4591 values during their processing and return them additionally to the
4594 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4596 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4597 continuation character an operator, as far as indentation is
4598 concerned (Bug#15369).
4600 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4602 * window.el (window--state-put-2): Don't process buffer state
4603 when buffer doesn't exist any more (Bug#15382).
4605 2013-09-15 Glenn Morris <rgm@gnu.org>
4607 * eshell/em-unix.el (eshell/rm):
4608 Make -f ignore missing files. (Bug#15373)
4610 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4611 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4612 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4614 2013-09-14 Glenn Morris <rgm@gnu.org>
4616 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4618 2013-09-13 Glenn Morris <rgm@gnu.org>
4620 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4621 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4623 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4625 * frame.el (x-focus-frame): Mark as declared in frame.c.
4627 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4629 * ls-lisp.el: Use advice-add.
4630 (original-insert-directory): Remove.
4631 (ls-lisp--insert-directory): Rename from insert-directory; add
4632 `orig-fun' argument.
4633 (insert-directory): Advise.
4635 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4637 * term.el (term-emulate-terminal): Decode the command string
4638 before passing it to term-command-hook. (Bug#15337)
4640 2013-09-13 Glenn Morris <rgm@gnu.org>
4642 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4644 * eshell/esh-ext.el (eshell-search-path): Declare.
4646 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4647 Otherwise an error occurs if eshell-dirs module not loaded.
4649 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4651 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4653 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4654 `tramp-check-proper-host'. Check for a valid method name.
4656 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4657 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4658 * net/tramp-sh.el (tramp-maybe-open-connection):
4659 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4661 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4662 also for hash values.
4664 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4666 * term/ns-win.el (parameters): Don't declare as dynamic.
4667 (before-make-frame-hook): Don't add ineffective function.
4669 * eshell/*.el: Use lexical-binding (bug#15231).
4671 2013-09-12 Kenichi Handa <handa@gnu.org>
4673 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4675 2013-09-12 Glenn Morris <rgm@gnu.org>
4677 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4678 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4680 * subr.el (do-after-load-evaluation): Also give compiler warnings
4681 when obsolete files are used (except by obsolete files).
4683 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4684 in the status output, assume `filename' is the first. (Bug#15322)
4686 * vc/vc.el (vc-deduce-fileset): Doc fix.
4688 * calc/calc-help.el (Info-goto-node):
4689 * progmodes/cperl-mode.el (Info-find-node):
4690 * vc/ediff.el (Info-goto-node): Update declarations.
4692 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4694 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4695 (vc-bzr-pull): Require vc-dispatcher.
4696 * vc/vc-git.el (vc-compilation-mode): Declare.
4697 (vc-git-pull): Require vc-dispatcher.
4699 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4701 * progmodes/octave.el (help-button-action): Declare.
4703 * shell.el (shell-directory-tracker): Output error as a message
4704 rather than just returning it as a string.
4705 (shell-process-pushd): Remove useless use of message.
4707 * dframe.el (dframe-timer-fn):
4708 * files.el (dir-locals-read-from-file):
4709 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4711 * reveal.el (reveal-post-command):
4712 * saveplace.el (load-save-place-alist-from-file):
4713 * shell.el (shell-resync-dirs):
4714 * w32-common-fns.el (x-get-selection-value):
4715 * emacs-lisp/copyright.el (copyright-find-copyright):
4716 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4717 * emulation/tpu-edt.el (tpu-copy-keyfile):
4718 * play/bubbles.el (bubbles--mark-neighbourhood):
4719 * progmodes/executable.el
4720 (executable-make-buffer-file-executable-if-script-p):
4721 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4723 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4725 Cleanup Eshell to rely less on dynamic scoping.
4726 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4727 last-value, and ext-command here. Bind `args' closer to `body'.
4728 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4729 (eshell--args): Declare new dynamic var.
4730 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4731 last-value, and ext-command. Pass `args' to `body'.
4732 (eshell-process-args): Bind eshell--args.
4733 (eshell-set-option): Use eshell--args.
4734 * eshell/eshell.el (eshell): Use derived-mode-p.
4735 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4736 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4737 (eshell-glob-function): Declare.
4738 * eshell/esh-util.el: Require cl-lib.
4739 (eshell-read-hosts-file): Avoid add-to-list.
4740 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4742 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4744 (eshell/diff): Remove unused var `err'.
4745 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4747 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4748 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4750 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4751 Move declaration before first use.
4752 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4753 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4756 2013-09-12 Glenn Morris <rgm@gnu.org>
4758 * term/ns-win.el (global-map): Remove binding for ispell-next,
4759 deleted 1999-05-29. (Bug#15357)
4761 2013-09-11 Glenn Morris <rgm@gnu.org>
4763 * echistory.el (electric-command-history): Remove call to deleted func.
4765 * play/landmark.el (landmark-mode): Fix typos.
4767 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4768 Check cvs-sort-ignore-file is bound.
4770 * savehist.el: No need for cl when compiling on Emacs.
4772 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4774 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4776 (eshell-self-insert-command, eshell-send-invisible):
4777 Remove unused argument.
4778 (eshell-handle-control-codes): Remove unused var `orig'.
4779 Avoid delete-backward-char.
4781 * files.el (set-auto-mode): Simplify a bit further.
4783 2013-09-11 Glenn Morris <rgm@gnu.org>
4785 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4786 (set-auto-mode): Don't regexp-quote elements.
4787 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4788 * progmodes/cc-mode.el (interpreter-mode-alist):
4789 * progmodes/ruby-mode.el (interpreter-mode-alist):
4790 Revert previous change.
4792 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4794 * play/snake.el (snake-mode):
4795 * play/mpuz.el (mpuz-mode):
4796 * play/landmark.el (lm-mode):
4797 * play/blackbox.el (blackbox-mode):
4798 * play/5x5.el (5x5-mode):
4799 * obsolete/options.el (Edit-options-mode):
4800 * net/quickurl.el (quickurl-list-mode):
4801 * net/newst-treeview.el (newsticker-treeview-mode):
4802 * mail/rmailsum.el (rmail-summary-mode):
4803 * mail/mspools.el (mspools-mode):
4804 * locate.el (locate-mode):
4805 * ibuffer.el (ibuffer-mode):
4806 * emulation/ws-mode.el (wordstar-mode):
4807 * emacs-lisp/debug.el (debugger-mode):
4808 * array.el (array-mode):
4809 * net/eudc.el (eudc-mode): Use define-derived-mode.
4810 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4811 Move initialization into declaration.
4812 (mairix-searches-mode): Use define-derived-mode.
4813 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4814 (eudc-edit-hotlist): Use dolist.
4815 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4816 (Man-mode): Use define-derived-mode.
4817 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4818 (Info-edit-mode): Use define-derived-mode.
4819 (Info-cease-edit): Use Info-mode.
4820 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4822 (eshell-mode): Use define-derived-mode.
4823 * chistory.el (command-history-mode-map): Rename from
4824 command-history-map.
4825 (command-history-mode): Use define-derived-mode.
4826 (Command-history-setup): Remove function.
4827 * calc/calc.el (calc-trail-mode-map): New var.
4828 (calc-trail-mode): Use define-derived-mode.
4829 (calc-trail-buffer): Set calc-main-buffer manually.
4830 * bookmark.el (bookmark-insert-annotation): New function.
4831 (bookmark-edit-annotation): Use it.
4832 (bookmark-edit-annotation-mode): Make it a proper major mode.
4833 (bookmark-send-edited-annotation): Use derived-mode-p.
4834 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4835 closer to its ideal place. Use \' to match EOS.
4837 * profiler.el (profiler-calltree-find): Use function-equal.
4839 2013-09-10 Glenn Morris <rgm@gnu.org>
4841 * files.el (interpreter-mode-alist): Convert to regexps.
4842 (set-auto-mode): Adapt for this. (Bug#15306)
4843 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4844 Comment out unused variable.
4845 * progmodes/cc-mode.el (interpreter-mode-alist):
4846 * progmodes/python.el (interpreter-mode-alist):
4847 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4848 * progmodes/sh-script.el (sh-set-shell):
4849 No longer use interpreter-mode-alist to get list of shells.
4851 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4853 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4855 * simple.el: Use set-temporary-overlay-map for universal-argument.
4856 (universal-argument-map): Don't use default-bindings (bug#15317).
4857 Bind switch-frame explicitly. Replace universal-argument-minus with
4858 a conditional binding.
4859 (universal-argument-num-events, saved-overriding-map): Remove.
4860 (restore-overriding-map): Remove.
4861 (universal-argument--mode): Rename from save&set-overriding-map,
4863 (universal-argument, universal-argument-more, negative-argument)
4864 (digit-argument): Adjust accordingly.
4865 (universal-argument-minus): Remove.
4866 (universal-argument-other-key): Remove.
4868 * subr.el (with-demoted-errors): Add `format' argument.
4870 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4872 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4873 `tramp-cleanup-connection'.
4875 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4876 parameters KEEP-DEBUG and KEEP-PASSWORD.
4878 * net/tramp.el (tramp-file-name-handler):
4879 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4880 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4881 (tramp-maybe-open-connection):
4882 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4883 Use `tramp-cleanup-connection'.
4885 * net/tramp-sh.el (tramp-maybe-open-connection):
4886 Catch 'uname-changed inside the progress reporter.
4888 2013-09-10 Glenn Morris <rgm@gnu.org>
4890 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4892 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4893 returns "alternate access method" in mode (eg "-rw-r--r--.").
4895 2013-09-08 Glenn Morris <rgm@gnu.org>
4897 * saveplace.el (load-save-place-alist-from-file):
4898 Demote errors. (Bug#15305)
4900 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4902 Improve compatibility with older Emacsen, and XEmacs.
4904 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4905 only if it is bound. It isn't for XEmacs.
4906 (with-tramp-progress-reporter): Do not let-bind `result'.
4907 This yields to scoping errors in XEmacs.
4908 (tramp-handle-make-auto-save-file-name): New function, moved from
4911 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4912 for `make-auto-save-file-name'.
4913 (tramp-adb--gnu-switches-to-ash):
4914 Use `tramp-compat-replace-regexp-in-string'.
4916 * net/tramp-cache.el (tramp-cache-print): Call
4917 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4919 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4920 bound. It isn't for XEmacs.
4922 * net/tramp-compat.el (tramp-compat-copy-file):
4923 Catch `wrong-number-of-arguments' error.
4924 (tramp-compat-replace-regexp-in-string): New defun.
4926 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4927 for `make-auto-save-file-name'.
4928 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4930 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4931 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4932 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4934 * net/tramp-gw.el (tramp-gw-open-network-stream):
4935 Use `tramp-compat-replace-regexp-in-string'.
4937 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4938 Call `tramp-handle-make-auto-save-file-name'.
4939 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4940 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4941 (tramp-sh-file-inotifywait-process-filter):
4942 Use `tramp-compat-replace-regexp-in-string'.
4943 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4945 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4946 for `make-auto-save-file-name'.
4947 (tramp-smb-handle-copy-directory):
4948 Call `tramp-compat-replace-regexp-in-string'.
4949 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4950 (tramp-smb-handle-copy-file): Improve error message.
4951 (tramp-smb-handle-rename-file): Rename directly only in case
4952 `newname' does not exist yet. This is a restriction of smbclient.
4953 (tramp-smb-maybe-open-connection): Rerun the function only when
4954 `auth-sources' is non-nil.
4956 2013-09-08 Kenichi Handa <handa@gnu.org>
4958 * international/characters.el: Set category "^" (Combining) for
4961 2013-09-07 Alan Mackenzie <acm@muc.de>
4963 Correctly fontify Java class constructors.
4964 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4966 (c-recognize-typeless-decls): Set the Java value to t.
4967 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4968 While handling a "(", add a check for, effectively, Java, and handle a
4969 "typeless" declaration there.
4971 2013-09-07 Roland Winkler <winkler@gnu.org>
4973 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4974 field subtitle for entry type book.
4976 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4978 * minibuffer.el: Make minibuffer-complete call completion-in-region
4979 rather than other way around.
4980 (completion--some, completion-pcm--find-all-completions):
4981 Don't delay signals when debugging.
4982 (minibuffer-completion-contents): Beware fields within the
4983 minibuffer contents.
4984 (completion-all-sorted-completions): Use defvar-local.
4985 (completion--do-completion, completion--cache-all-sorted-completions)
4986 (completion-all-sorted-completions, minibuffer-force-complete):
4987 Add args `beg' and `end'.
4988 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4989 (minibuffer-complete): Use completion-in-region.
4990 (completion-complete-and-exit): New fun, extracted from
4991 minibuffer-complete-and-exit.
4992 (minibuffer-complete-and-exit): Use it.
4993 (completion--complete-and-exit): Rename from
4994 minibuffer--complete-and-exit.
4995 (completion-in-region--single-word): New function, extracted from
4996 minibuffer-complete-word.
4997 (minibuffer-complete-word): Use it.
4998 (display-completion-list): Make `common-substring' argument obsolete.
4999 (completion--in-region): Call completion--in-region-1 instead of
5000 minibuffer-complete.
5001 (completion-help-at-point): Pass boundaries to
5002 minibuffer-completion-help as args rather than via an overlay.
5003 (completion-pcm--string->pattern): Use `any-delim'.
5004 (completion-pcm--optimize-pattern): New function.
5005 (completion-pcm--pattern->regex): Handle `any-delim'.
5006 * icomplete.el (icomplete-forward-completions)
5007 (icomplete-backward-completions, icomplete-completions):
5008 Adjust calls to completion-all-sorted-completions and
5009 completion--cache-all-sorted-completions.
5010 (icomplete-with-completion-tables): Default to t.
5011 * emacs-lisp/crm.el (crm--current-element): Rename from
5012 crm--select-current-element. Don't put an overlay but return the
5014 (crm--completion-command): Take two new args to bind to the boundaries.
5015 (crm-completion-help): Adjust accordingly.
5016 (crm-complete): Use completion-in-region.
5017 (crm-complete-word): Use completion-in-region--single-word.
5018 (crm-complete-and-exit): Use completion-complete-and-exit.
5020 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5022 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5025 2013-09-06 Juri Linkov <juri@jurta.org>
5027 * info.el (Info-display-images-node): When image file doesn't exist
5028 display text version of the image if it's provided in the Info file.
5029 Otherwise, display the location of missing image from SRC attribute.
5030 Add help-echo text property from ALT attribute. (Bug#15279)
5032 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5034 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5035 (edit-abbrevs-mode): Use define-derived-mode.
5037 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5038 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5040 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5041 Use define-derived-mode.
5043 * epg.el (epg-start-encrypt): Minor CSE simplification.
5045 2013-09-06 William Xu <william.xwl@gmail.com>
5047 * arc-mode.el: Add support for 7za (bug#15264).
5048 (archive-7z-program): New var.
5049 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5050 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5051 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5053 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5057 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5058 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5059 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5060 (tramp-postfix-host-format, tramp-file-name-regexp)
5061 (tramp-completion-file-name-regexp)
5062 (tramp-completion-dissect-file-name)
5063 (tramp-handle-substitute-in-file-name): Remove 'url case.
5064 (tramp-file-name-regexp-url)
5065 (tramp-completion-file-name-regexp-url): Remove constants.
5067 2013-09-06 Glenn Morris <rgm@gnu.org>
5069 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5071 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5073 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5074 keywords" below "here-doc beginnings" (Bug#15270).
5076 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5078 * subr.el (pop): Use `car-safe'.
5079 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5080 to detect unused `pop' return value.
5082 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5084 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5085 (python-fill-string): Remove unused var `marker'.
5086 (python-skeleton-add-menu-items): Remove unused var `items'.
5088 * international/mule-cmds.el: Require CL.
5089 (find-coding-systems-for-charsets): Avoid add-to-list.
5090 (sanitize-coding-system-list): New function, extracted from
5091 select-safe-coding-system-interactively.
5092 (select-safe-coding-system-interactively): Use it.
5093 (read-input-method-name): Accept symbols for `default'.
5095 * emacs-lisp/advice.el (defadvice): Add indent rule.
5097 2013-09-05 Daniel Hackney <dan@haxney.org>
5101 * net/browse-url.el:
5104 * net/eudcb-ldap.el:
5117 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5118 byte compiler. Remove some unused let-bound variables.
5120 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5122 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5123 a "ref-cell", since it gets better optimized (bug#14883).
5125 2013-09-05 Glenn Morris <rgm@gnu.org>
5127 * progmodes/cc-awk.el (c-forward-sws): Declare.
5129 2013-09-04 Glenn Morris <rgm@gnu.org>
5131 * generic-x.el [rul-generic-mode]: Require cc-mode.
5132 (c++-mode-syntax-table): Declare.
5133 (rul-generic-mode-syntax-table): Init in the defvar.
5135 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5137 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5138 (vc-do-command, vc-set-async-update):
5139 * vc/vc-mtn.el (vc-mtn-dir-status):
5140 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5141 (vc-hg-pull, vc-hg-merge-branch):
5142 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5143 (vc-git-merge-branch):
5144 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5145 (vc-cvs-dir-status-files):
5146 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5147 (vc-bzr-dir-status-files):
5148 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5149 * vc/vc-annotate.el: Use lexical-binding.
5150 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5151 (vc-sentinel-movepoint): Declare.
5152 (vc-annotate): Don't use `goto-line'.
5153 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5154 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5155 (vc-sentinel-movepoint): Declare.
5156 * vc/vc-svn.el: Use lexical-binding.
5157 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5159 * vc/vc-rcs.el: Use lexical-binding.
5161 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5162 `deleted'. Don't drop errors silently.
5164 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5166 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5168 * vc/vc.el (vc-ignore): Rewrite.
5169 (vc-default-ignore): New function.
5170 (vc-default-ignore-completion-table): Use find-ignore-file.
5172 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5173 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5174 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5175 Remove. Most code moved to vc.el.
5177 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5179 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5180 * net/tramp-smb.el (tramp-smb-get-file-entries):
5181 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5182 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5184 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5186 (eww-change-select): Remove unused var `properties'.
5187 (eww-make-unique-file-name): Remove unused var `base'.
5189 * finder.el (finder-compile-keywords): Don't mess with windows.
5191 * calculator.el (calculator-funcall): Fix typo in last change.
5193 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5195 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5196 <pkg>-autoloads.el file stop us.
5198 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5199 warnings, and factor out common code.
5201 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5203 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5204 two-character operators and whether the character preceding them
5205 changes their meaning (Bug#15208).
5207 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5209 Format code sent to Python shell for robustness.
5210 * progmodes/python.el (python-shell-buffer-substring):
5212 (python-shell-send-region, python-shell-send-buffer): Use it.
5214 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5216 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5217 * net/tramp.el (tramp-user-error): ... here.
5218 (tramp-find-method, tramp-check-proper-host)
5219 (tramp-dissect-file-name, tramp-debug-message)
5220 (tramp-handle-shell-command):
5221 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5222 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5224 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5226 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5228 * avoid.el (mouse-avoidance-point-position)
5229 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5232 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5234 * progmodes/python.el (python-shell-completion-get-completions):
5235 Drop use of deleted `comint-last-prompt-overlay'.
5236 (python-nav-if-name-main): New command.
5238 2013-09-01 Glenn Morris <rgm@gnu.org>
5240 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5241 Avoid leading space in $wins. Otherwise the sed command used by
5242 eg compile-main ends up containing "/*.el". (Bug#15170)
5244 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5246 2013-08-30 Glenn Morris <rgm@gnu.org>
5248 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5249 Fix is-this-a-directory logic. (Bug#15220)
5251 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5253 * textmodes/css-mode.el: Use SMIE.
5254 (css-smie-grammar): New var.
5255 (css-smie--forward-token, css-smie--backward-token)
5256 (css-smie-rules): New functions.
5257 (css-mode): Use them.
5258 (css-navigation-syntax-table): Remove var.
5259 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5260 (css-indent-calculate, css-indent-line): Remove functions.
5262 Misc changes to reduce use of `(lambda...); and other cleanups.
5263 * cus-edit.el: Use lexical-binding.
5264 (customize-push-and-save, customize-apropos)
5265 (custom-buffer-create-internal): Use closures.
5266 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5267 * progmodes/ada-xref.el: Use setq.
5268 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5269 * dframe.el: Use lexical-binding.
5270 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5271 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5272 * descr-text.el: Use lexical-binding.
5273 (describe-text-widget, describe-text-sexp, describe-property-list):
5275 * comint.el (comint-history-isearch-push-state): Use a closure.
5276 * calculator.el: Use lexical-binding.
5277 (calculator-number-to-string): Make it work with lexical-binding.
5278 (calculator-funcall): Same and use cl-letf.
5280 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5281 (lisp--company-doc-string, lisp--company-location): New functions.
5282 (lisp-completion-at-point): Use them to improve Company support.
5284 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5285 params of lambda expressions.
5286 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5287 (ruby-smie--opening-pipe-p): New function.
5288 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5289 symbols and matched |...| for formal params.
5290 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5291 from being treated as hanging. Handle "rescue".
5293 2013-08-29 Glenn Morris <rgm@gnu.org>
5295 * progmodes/cc-engine.el (c-pull-open-brace):
5296 Move definition before use.
5298 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5300 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5301 are immutable. Don't use `unsafe' any more.
5302 (cl--defsubst-expand): Don't substitute at the same time as keeping
5303 a residual unused let-binding. Don't use `unsafe' any more.
5305 2013-08-29 Glenn Morris <rgm@gnu.org>
5307 * calendar/cal-china.el (calendar-chinese-year-cache):
5310 * nxml/nxml-util.el (nxml-debug-clear-inside):
5311 Use cl-loop rather than loop.
5313 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5315 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5317 2013-08-28 Glenn Morris <rgm@gnu.org>
5319 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5321 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5323 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5325 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5327 * simple.el (repeat-complex-command--called-interactively-skip):
5329 (repeat-complex-command): Use it (bug#14136).
5331 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5332 (c-define-abbrev-table): Add `doc' argument.
5333 (c-mode-abbrev-table, c++-mode-abbrev-table)
5334 (objc-mode-abbrev-table, java-mode-abbrev-table)
5335 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5336 (awk-mode-abbrev-table): Use it.
5337 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5338 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5339 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5340 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5341 Move initialization into the declaration; and remove any
5344 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5345 and dynamic let binding.
5347 * vc/smerge-mode.el: Remove redundant :group args.
5349 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5352 2013-08-28 Juri Linkov <juri@jurta.org>
5354 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5355 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5356 (isearch-other-meta-char): Handle an undefined shifted printing
5357 character by downshifting it. (Bug#15200)
5359 2013-08-28 Juri Linkov <juri@jurta.org>
5361 * isearch.el (isearch-search): Change regexp error message for
5362 non-regexp searches. (Bug#15166)
5364 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5366 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5367 for portability to hosts where /bin/sh has problems.
5369 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5371 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5373 2013-08-27 Juri Linkov <juri@jurta.org>
5375 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5376 in the keyboard macro. (Bug#15126)
5378 2013-08-27 Juri Linkov <juri@jurta.org>
5380 * isearch.el (isearch-quote-char): Comment out converting unibyte
5381 to multibyte, thus syncing with its `quoted-insert' counterpart.
5384 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5386 * window.el (display-buffer-use-some-window): Add missing
5387 argument in call of get-largest-window (Bug#15185).
5388 Reported by Stephen Leake.
5390 2013-08-27 Glenn Morris <rgm@gnu.org>
5392 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5394 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5396 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5397 from a matcher-function unless there's no more matches (bug#15161).
5399 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5401 * minibuffer.el: Revert change from 2013-08-20.
5403 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5404 with text property `tramp-default', if appropriate.
5405 (tramp-check-proper-host): New defun.
5406 (tramp-dissect-file-name): Do not check hostname. Revert change
5408 (tramp-backtrace): Make VEC-OR-PROC optional.
5410 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5411 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5412 * net/tramp-sh.el (tramp-maybe-open-connection):
5413 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5414 Apply `tramp-check-proper-host'.
5416 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5418 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5419 lambda expression in order to have `describe-variable' display it.
5421 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5423 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5424 BUF can be optional. (Bug#15186)
5426 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5428 * progmodes/flymake.el (flymake-get-real-file-name-function):
5429 Fix broken customization. (Bug#15184)
5431 2013-08-25 Alan Mackenzie <acm@muc.de>
5433 Improve indentation of bracelists defined by macros (without "=").
5435 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5436 expansion begins with "{", regard it as bracelist when it doesn't
5439 Parse C++ inher-intro when there's a template split over 2 lines.
5441 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5442 rigorously the search for "class" etc. followed by ":".
5444 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5445 random languages a regexp which never matches rather than nil.
5447 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5449 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5450 (c-awk-regexp-one-line-possibly-open-char-list-re)
5451 (c-awk-one-line-possibly-open-regexp-re)
5452 (c-awk-one-line-non-syn-ws*-re): Remove.
5453 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5454 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5455 (c-awk-space*-unclosed-regexp-/-re): New constants.
5456 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5457 aren't regexp delimiters.
5459 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5460 handling for a rare situation in AWK Mode involving unterminated
5463 2013-08-23 Glenn Morris <rgm@gnu.org>
5465 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5467 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5469 * files.el (create-file-buffer): If the result would begin with
5470 spaces, prepend a "|" instead of removing them. (Bug#15162)
5472 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5474 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5475 text-properties (bug#15155).
5477 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5479 (calc-keypad-redraw): Remove unused var `pad'.
5480 (calc-keypad-press): Remove unused var `menu'.
5482 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5484 * window.el (display-buffer-pop-up-frame):
5485 Call pop-up-frame-function with BUFFER current so `make-frame' will
5486 use it as the new frame's buffer (Bug#15133).
5488 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5490 * calendar/timeclock.el: Minor cleanups.
5491 (timeclock-ask-before-exiting, timeclock-use-display-time):
5493 (timeclock-modeline-display): Define as alias before the
5495 (timeclock-mode-line-display): Use define-minor-mode.
5496 (timeclock-day-list-template): Make it a function, add an argument.
5497 (timeclock-day-list-required, timeclock-day-list-length)
5498 (timeclock-day-list-debt, timeclock-day-list-span)
5499 (timeclock-day-list-break): Adjust calls accordingly.
5501 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5503 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5504 Use read--expression so that completion works again.
5506 2013-08-21 Sam Steingold <sds@gnu.org>
5508 Add rudimentary inferior shell interaction
5509 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5510 (sh-set-shell): Reset it.
5511 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5512 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5514 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5516 * align.el: Use lexical-binding.
5517 (align-region): Simplify accordingly.
5519 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5521 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5523 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5526 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5530 * net/tramp-cmds.el:
5532 * net/tramp-gvfs.el:
5534 * net/tramp-sh.el: Don't wrap external variable declarations by
5535 `eval-when-compile'.
5537 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5539 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5540 now that Emacs supports ImageMagick animations.
5542 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5544 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5545 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5547 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5549 * window.el (mouse-autoselect-window-select): Do autoselect when
5550 mouse pointer is on margin.
5552 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5554 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5556 2013-08-16 Glenn Morris <rgm@gnu.org>
5558 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5559 Handle "Remote Directory" response of some clients. (Bug#15058)
5561 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5562 Tweak warning. (Bug#14926)
5564 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5565 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5567 * image-mode.el (image-mode-map): Add menu items to reverse,
5568 increase, decrease, reset animation speed.
5569 (image--set-speed, image-increase-speed, image-decrease-speed)
5570 (image-reverse-speed, image-reset-speed): New functions.
5571 (image-mode-map): Add bindings for speed commands.
5573 * image.el (image-animate-get-speed, image-animate-set-speed):
5575 (image-animate-timeout): Respect image :speed property.
5577 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5579 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5580 previous line (bug#15101).
5581 (debugger-eval-expression, debugger-record-expression):
5582 Use read--expression (bug#15102).
5584 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5586 Remove byte compiler warnings, visible when compiling with
5587 `byte-compile-force-lexical-warnings' set to t.
5589 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5590 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5591 (tramp-handle-unhandled-file-name-directory)
5592 (tramp-handle-file-notify-add-watch, tramp-action-login)
5593 (tramp-action-succeed, tramp-action-permission-denied)
5594 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5597 * net/tramp-adb.el (tramp-adb-parse-device-names)
5598 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5599 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5600 (tramp-adb-handle-file-truename): Remove unused arguments.
5602 * net/tramp-cache.el (tramp-flush-directory-property)
5603 (tramp-flush-connection-property, tramp-list-connections)
5604 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5606 * net/tramp-compat.el (tramp-compat-make-temp-file):
5607 Rename FILENAME to F.
5609 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5610 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5611 (tramp-zeroconf-parse-workstation-device-names)
5612 (tramp-zeroconf-parse-webdav-device-names)
5613 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5615 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5616 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5618 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5620 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5621 (tramp-sh-handle-insert-file-contents-literally)
5622 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5624 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5625 Remove unused variables.
5627 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5628 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5629 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5631 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5632 Make them a defconst.
5633 (tramp-uuencode-region): Remove unused variable.
5635 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5637 * frameset.el (frameset--prop-setter): New function.
5638 (frameset-prop): Add gv-setter declaration.
5639 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5640 parameter was already set in FILTERED. Doc fix.
5641 (frameset--record-minibuffer-relationships): Allow saving a
5642 minibufferless frame without its corresponding minibuffer frame.
5643 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5644 frame, if the frame id matches.
5645 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5646 frames before orphaned ones.
5647 (frameset-restore): Warn about orphaned windows, instead of error out.
5649 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5651 * window.el (window-make-atom): Don't overwrite parameter
5653 (display-buffer-in-atom-window): Handle special case where we
5654 split an already atomic window.
5655 (window--major-non-side-window, display-buffer-in-side-window)
5656 (window--side-check): Ignore minibuffer window when walking
5658 (window-deletable-p): Return 'frame only if no other frame uses
5659 our minibuffer window.
5660 (record-window-buffer): Run buffer-list-update-hook.
5661 (split-window): Make sure window--check-frame won't destroy an
5662 existing atomic window in case the new window gets nested
5664 (display-buffer-at-bottom): Ignore minibuffer window when
5665 walking window tree. Don't split a side window.
5666 (pop-to-buffer): Don't set-buffer here, the select-window call
5668 (mouse-autoselect-window-select): Autoselect only if we are in the
5669 text portion of the window.
5671 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5673 * net/shr.el (shr-parse-image-data): New function to grab both the
5674 data itself and the Content-Type.
5675 (shr-put-image): Use it.
5677 * net/eww.el (eww-display-image): Ditto.
5679 * image.el (image-content-type-suffixes): New variable.
5681 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5683 * progmodes/python.el (python-imenu--build-tree)
5684 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5686 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5688 * simple.el (backward-word): Mention the optional argument.
5690 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5692 * frameset.el (frameset--make): Rename constructor from make-frameset.
5693 (frameset-p, frameset-valid-p): Don't autoload.
5694 (frameset-valid-p): Use normal accessors.
5696 2013-08-13 Glenn Morris <rgm@gnu.org>
5698 * progmodes/compile.el (compile-command): Tweak example in doc.
5699 * obsolete/scribe.el (scribe-mode):
5700 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5702 * mail/feedmail.el (feedmail-confirm-outgoing)
5703 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5705 * cus-start.el (truncate-partial-width-windows): Fix type.
5707 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5709 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5711 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5713 * emacs-lisp/timer.el (timer--time-setter): New function.
5714 (timer--time): Use it as gv-setter.
5716 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5717 setter is not a symbol.
5719 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5721 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5722 if sending fails. This makes debugging easier.
5724 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5726 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5727 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5728 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5730 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5732 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5734 2013-08-12 Glenn Morris <rgm@gnu.org>
5736 * format.el (format-annotate-function):
5737 Handle read-only text properties in the source. (Bug#14887)
5739 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5741 * net/eww.el (eww-display-html): Ignore coding system errors.
5742 One web site uses "utf-8lias" as the coding system.
5744 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5746 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5748 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5750 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5751 (tutorial--detailed-help): Remove unused local variables.
5752 (tutorial--save-tutorial-to): Use ignore-errors.
5753 (help-with-tutorial): Use looking-at-p.
5755 * view.el (view-buffer-other-window, view-buffer-other-frame):
5756 Mark unused arguments.
5758 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5759 (woman-select-symbol-fonts, woman, woman-find-file)
5760 (woman-insert-file-contents, woman-non-underline-faces):
5762 (woman1-unquote): Move declaration.
5764 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5765 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5766 argument. Remove unused local variable.
5767 (xml-parse-elem-type): Use string-match-p.
5768 (xml-substitute-numeric-entities): Use ignore-errors.
5770 * calculator.el (calculator): Mark unused argument.
5771 (calculator-paste, calculator-quit, calculator-integer-p):
5773 (calculator-string-to-number, calculator-decimal, calculator-exp)
5774 (calculator-op-or-exp): Use string-match-p.
5776 * dired.el (dired-buffer-more-recently-used-p): Declare.
5777 (dired-insert-set-properties, dired-insert-old-subdirs):
5780 * dired-aux.el (dired-compress): Use ignore-errors.
5781 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5782 (dired-do-async-shell-command, dired-do-shell-command)
5783 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5784 (dired-insert-subdir-validate): Use string-match-p.
5785 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5786 (dired-add-entry): Use string-match-p, looking-at-p.
5787 (dired-insert-subdir-newpos): Remove unused local variable.
5789 * filenotify.el (file-notify-callback): Remove unused local variable.
5791 * filesets.el (filesets-error): Mark unused argument.
5792 (filesets-which-command-p, filesets-filter-dir-names)
5793 (filesets-directory-files, filesets-get-external-viewer)
5794 (filesets-ingroup-get-data): Use string-match-p.
5796 * find-file.el (ff-other-file-name, ff-other-file-name)
5797 (ff-find-the-other-file, ff-cc-hh-converter):
5798 Remove unused local variables.
5799 (ff-get-file-name): Use string-match-p.
5800 (ff-all-dirs-under): Use ignore-errors.
5802 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5803 (follow-select-if-visible): Remove unused local variable.
5805 * forms.el (read-file-filter): Move declaration.
5806 (forms--make-format, forms--make-parser, forms-insert-record):
5807 Quote function with #'.
5808 (forms--update): Use string-match-p. Quote function with #'.
5810 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5811 (help-make-xrefs): Use looking-at-p.
5812 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5814 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5815 (ibuffer-confirm-operation-on): Use string-match-p.
5817 * msb.el (msb-item-handler, msb-dired-item-handler):
5818 Mark unused arguments.
5820 * ses.el (ses-decode-cell-symbol)
5821 (ses-kill-override): Remove unused local variable.
5822 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5823 (ses-load): Use ignore-errors, looking-at-p.
5824 (ses-jump-safe): Use ignore-errors.
5825 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5827 * tabify.el (untabify, tabify): Mark unused arguments.
5829 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5830 Mark unused argument.
5831 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5832 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5834 * emacs-lisp/timer.el (timer--time): Define setter with
5835 gv-define-setter to avoid deprecation warning.
5837 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5838 (*record-cmpl-statistics-p*): Remove (was commented out).
5839 (cmpl-statistics-block): Remove (body was commented out).
5840 All callers changed.
5841 (add-completions-from-buffer, load-completions-from-file):
5842 Remove unused variables.
5844 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5846 * filecache.el (file-cache-delete-file-list):
5847 Print message only when told so.
5848 (file-cache-files-matching): Use #' in mapconcat argument.
5850 * ffap.el (ffap-url-at-point): Fix reference to variable
5851 thing-at-point-default-mail-uri-scheme.
5853 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5855 * subr.el (define-error): New function.
5856 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5857 error-file-not-found and define with define-error.
5858 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5859 and define with define-error.
5860 * userlock.el (file-locked, file-supersession):
5861 * simple.el (mark-inactive):
5862 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5863 * progmodes/ada-mode.el (ada-mode-errors):
5864 * play/life.el (life-extinct):
5865 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5866 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5867 * nxml/rng-util.el (rng-error):
5868 * nxml/rng-uri.el (rng-uri-error):
5869 * nxml/rng-match.el (rng-compile-error):
5870 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5871 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5872 * nxml/nxml-rap.el (nxml-scan-error):
5873 * nxml/nxml-outln.el (nxml-outline-error):
5874 * net/soap-client.el (soap-error):
5875 * net/gnutls.el (gnutls-error):
5876 * net/ange-ftp.el (ftp-error):
5877 * mpc.el (mpc-proc-error):
5878 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5879 (json-number-format, json-string-escape, json-string-format)
5880 (json-key-format, json-object-format):
5881 * jka-compr.el (compression-error):
5882 * international/quail.el (quail-error):
5883 * international/kkc.el (kkc-error):
5884 * emacs-lisp/ert.el (ert-test-failed):
5885 * calc/calc.el (calc-error, inexact-result, math-overflow)
5887 * bookmark.el (bookmark-error-no-filename):
5888 * epg.el (epg-error): Define with define-error.
5890 * time.el (display-time-event-handler)
5891 (display-time-next-load-average): Don't call sit-for since it seems
5892 unnecessary (bug#15045).
5894 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5895 Use #' instead of ' to quote functions.
5896 (checkdoc-output-mode): Use setq-local.
5897 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5898 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5899 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5900 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5901 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5902 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5903 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5904 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5906 * ido.el (ido-completion-help): Fix up compiler warning.
5908 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5910 * frameset.el (frameset-p): Add autoload cookie.
5911 (frameset--jump-to-register): New function, based on code moved from
5913 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5915 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5916 (frameset-restore, frameset-save, frameset-session-filter-alist):
5917 Remove declarations.
5918 (register-alist): Doc fix.
5919 (frameset-to-register): Move to frameset.el.
5920 (jump-to-register, describe-register-1): Remove frameset-specific code.
5922 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5924 * allout-widgets.el (allout-widgets-pre-command-business)
5925 (allout-widgets-post-command-business)
5926 (allout-widgets-after-change-handler)
5927 (allout-decorate-item-and-context, allout-set-boundary-marker)
5928 (allout-body-modification-handler)
5929 (allout-graphics-modification-handler): Mark ignored arguments.
5930 (allout-widgets-post-command-business)
5931 (allout-widgets-exposure-change-processor)
5932 (allout-widgets-exposure-undo-processor)
5933 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5934 (allout-parse-item-at-point, allout-decorate-item-guides)
5935 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5936 * allout.el (epa-passphrase-callback-function): Declare.
5937 (allout-overlay-insert-in-front-handler)
5938 (allout-overlay-interior-modification-handler)
5939 (allout-isearch-end-handler, allout-chart-siblings)
5940 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5941 (allout-yank-processing, allout-process-exposed)
5942 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5943 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5944 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5945 (lisp-indent-defform): Mark ignored arguments.
5946 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5947 (calculate-lisp-indent): Remove unused variables.
5948 * international/characters.el (indian-2-column, arabic-2-column)
5949 (tibetan): Mark ignored arguments.
5950 (use-cjk-char-width-table): Mark ignored arguments.
5951 Remove unused variables.
5952 * international/fontset.el (build-default-fontset-data)
5953 (x-compose-font-name, create-fontset-from-fontset-spec):
5954 Mark ignored arguments.
5955 (fontset-plain-name): Remove unused variables.
5956 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5957 (keyboard-coding-system): Mark ignored arguments.
5958 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5959 * help.el (resize-temp-buffer-window):
5960 * window.el (display-buffer-in-major-side-window)
5961 (display-buffer-in-side-window, display-buffer-in-previous-window):
5962 Remove unused variables.
5963 * isearch.el (isearch-forward-symbol):
5964 * version.el (emacs-bzr-version-bzr):
5965 * international/mule-cmds.el (current-language-environment):
5966 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5968 * term/pc-win.el (x-list-fonts, x-display-planes)
5969 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5970 (x-server-version, x-display-screens, x-display-mm-height)
5971 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5972 (x-selection-owner-p, x-own-selection-internal)
5973 (x-disown-selection-internal, x-get-selection-internal)
5974 (msdos-initialize-window-system):
5975 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5976 * term/x-win.el (x-handle-no-bitmap-icon):
5977 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5978 (vc-default-find-file-hook, vc-default-extra-menu):
5979 Mark ignored arguments.
5981 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5983 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5984 break-condition in the context of the debugged code (bug#12685).
5986 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5989 Do not use an overlay to highlight the last prompt. (Bug#14744)
5990 (comint-mode): Make comint-last-prompt buffer local.
5991 (comint-last-prompt): New variable.
5992 (comint-last-prompt-overlay): Remove. Superseded by
5994 (comint-snapshot-last-prompt, comint-output-filter):
5995 Use comint-last-prompt.
5997 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5999 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6000 (frameset-save): Check validity of the resulting frameset.
6002 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6004 * ido.el (ido-record-command): Add doc string.
6006 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6008 * frameset.el (frameset): Do not disable creation of the default
6009 frameset-p predicate. Doc fix.
6010 (frameset-valid-p): New function, copied from the old predicate-p.
6011 Add additional checks.
6012 (frameset-restore): Check with frameset-valid-p.
6013 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6014 (frameset-name, frameset-description, frameset-properties)
6015 (frameset-states): Add docstring.
6016 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6017 (frameset-filter-alist): Doc fixes.
6019 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6021 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6023 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6025 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6026 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6027 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6028 (byte-compile-normal-call): Remove obsolescence check.
6030 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6032 * frameset.el (frameset-restore): Doc fix.
6034 * register.el (frameset-frame-id, frameset-frame-with-id)
6035 (frameset-p, frameset-restore, frameset-save): Declare.
6036 (register-alist): Document framesets.
6037 (frameset-session-filter-alist): Declare.
6038 (frameset-to-register): New function.
6039 (jump-to-register): Implement jumping to framesets. Doc fix.
6040 (describe-register-1): Describe framesets.
6042 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6044 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6046 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6047 Use lexical-binding.
6049 * frameset.el (frameset): Use type vector, not list (incompatible
6050 change). Do not declare a new constructor, use the default one.
6051 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6052 `name' and `description', respectively, and add read-only slot
6053 `timestamp'. Doc fixes.
6054 (frameset-copy, frameset-persistent-filter-alist)
6055 (frameset-filter-alist, frameset-switch-to-gui-p)
6056 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6057 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6058 (frameset-filter-iconified, frameset-keep-original-display-p):
6060 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6061 Rename from frameset-filter-(save|restore)-param. All callers changed.
6063 (frameset-p): Adapt to change to vector and be more thorough.
6064 Change arg name to OBJECT. Doc fix.
6065 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6066 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6067 All callers changed.
6068 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6069 All callers changed.
6070 (frameset--record-minibuffer-relationships): Rename from
6071 frameset--process-minibuffer-frames. All callers changed.
6072 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6073 Use new default constructor (again). Doc fix.
6074 (frameset--find-frame-if): Rename from `frameset--find-frame.
6075 All callers changed.
6076 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6077 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6079 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6080 PARAMETERS and WINDOW-STATE, respectively.
6081 (frameset-restore): Add new keyword argument PREDICATE.
6082 Reset frameset--target-display to nil. Doc fix.
6084 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6086 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6088 (bat-mode-syntax-table): Mark \n as end-of-comment.
6089 (bat-font-lock-keywords): Remove comment rule.
6091 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6092 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6094 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6095 (byte-compile-callargs-warn): Use `push'.
6096 (byte-compile-arglist-warn): Ignore higher-order "calls".
6097 (byte-compile-file-form-autoload): Use `pcase'.
6098 (byte-compile-function-form): If quoting a symbol, check that it exists.
6100 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6102 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6103 and add a few popular commands found in batch files.
6104 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6105 (dos-mode): Doc fixes.
6107 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6109 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6110 (dos-mode): Use setq-local. Add space after "rem".
6111 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6112 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6114 2013-08-07 Arni Magnusson <arnima@hafro.is>
6116 * progmodes/dos.el: New file.
6117 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6120 2013-08-06 Glenn Morris <rgm@gnu.org>
6122 * calendar/calendar.el: Add new faces, and day-header-array.
6123 (calendar-weekday-header, calendar-weekend-header)
6124 (calendar-month-header): New faces.
6125 (calendar-day-header-construct): New function.
6126 (calendar-day-header-width): Also :set calendar-day-header-array.
6127 (calendar-american-month-header, calendar-european-month-header)
6128 (calendar-iso-month-header): Use calendar- faces.
6129 (calendar-generate-month):
6130 Use calendar-day-header-array for day headers; apply faces to them.
6131 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6132 (calendar-abbrev-construct): Add optional maxlen argument.
6133 (calendar-day-name-array): Doc fix.
6134 (calendar-day-name-array, calendar-abbrev-length)
6135 (calendar-day-abbrev-array):
6136 Also :set calendar-day-header-array, and maybe redraw.
6137 (calendar-day-header-array): New option. (Bug#15007)
6138 (calendar-font-lock-keywords): Set to nil and make obsolete.
6139 (calendar-day-name): Add option to use header array.
6141 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6143 * net/shr.el (shr-render-td): Remove debugging.
6144 (shr-render-td): Make width computation consistent by defaulting
6145 all zero-width columns to 10 characters. This may not be optimal,
6146 but it's at least consistent.
6147 (shr-make-table-1): Redo last change to fix the real problem in
6150 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6152 * files.el (cache-long-line-scans):
6153 Make obsolete alias to `cache-long-scans'.
6155 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6157 * frameset.el (frameset, frameset-filter-alist)
6158 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6159 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6160 (frameset-compute-pos): Rename from frameset--compute-pos,
6162 (frameset-move-onscreen): Use frameset-compute-pos.
6163 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6165 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6166 Fix typos in docstrings.
6168 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6170 * frame.el (get-other-frame): Tiny cleanup.
6172 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6174 * vc/vc.el (vc-default-ignore-completion-table):
6175 Silence byte-compiler warning.
6177 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6178 slot , which can indeed be nil.
6179 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6180 Move entry for `left' from persistent to live filter alist.
6181 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6183 (frameset-filter-params): When restoring a frame, copy items added to
6184 `filtered', to avoid unwittingly modifying the original parameters.
6185 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6186 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6188 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6189 to use looking-at-p instead of looking-at. (Bug#15028)
6191 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6193 Revert introduction of isearch-filter-predicates (bug#14714).
6194 Rely on add-function instead.
6195 * isearch.el (isearch-filter-predicates): Rename it back to
6196 isearch-filter-predicate.
6197 (isearch-message-prefix): Use advice-function-mapc and advice
6198 properties to get the isearch-message-prefix.
6199 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6200 instead of run-hook-with-args-until-failure.
6201 (isearch-filter-visible): Not obsolete any more.
6202 * loadup.el: Preload nadvice.
6203 * replace.el (perform-replace): Revert to funcall
6204 instead of run-hook-with-args-until-failure.
6205 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6206 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6207 dired-isearch-filenames-toggle; make it into a proper minor mode.
6208 Use add/remove-function.
6209 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6210 Call the minor-mode rather than add/remove-hook.
6211 (dired-isearch-filter-filenames):
6212 Remove isearch-message-prefix property.
6213 * info.el (Info--search-loop): New function, extracted from Info-search.
6214 Funcall isearch-filter-predicate instead of
6215 run-hook-with-args-until-failure isearch-filter-predicates.
6216 (Info-search): Use it.
6217 (Info-mode): Use isearch-filter-predicate instead of
6218 isearch-filter-predicates.
6220 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6222 Do not call to `selected-window' where it is assumed by default.
6223 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6224 `window-hscroll', `window-width', `window-height', `window-buffer',
6225 `window-frame', `window-start', `window-point', `next-window'
6226 and `window-display-table'.
6227 * abbrev.el (abbrev--default-expand):
6228 * bs.el (bs--show-with-configuration):
6229 * buff-menu.el (Buffer-menu-mouse-select):
6230 * calc/calc.el (calc):
6231 * calendar/calendar.el (calendar-generate-window):
6232 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6234 * comint.el (send-invisible, comint-dynamic-complete-filename)
6235 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6236 * completion.el (complete):
6237 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6238 * disp-table.el (describe-current-display-table):
6239 * doc-view.el (doc-view-insert-image):
6240 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6241 * ehelp.el (with-electric-help):
6242 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6243 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6244 * emacs-lisp/helper.el (Helper-help-scroller):
6245 * emulation/cua-base.el (cua--post-command-handler-1):
6246 * eshell/esh-mode.el (eshell-output-filter):
6247 * ffap.el (ffap-gnus-wrapper):
6248 * help-macro.el (make-help-screen):
6249 * hilit-chg.el (highlight-compare-buffers):
6250 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6251 * hl-line.el (global-hl-line-highlight):
6252 * icomplete.el (icomplete-simple-completing-p):
6253 * isearch.el (isearch-done):
6254 * jit-lock.el (jit-lock-stealth-fontify):
6255 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6256 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6257 * mpc.el (mpc-tagbrowser, mpc):
6258 * net/rcirc.el (rcirc-any-buffer):
6259 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6260 * play/landmark.el (landmark-max-width, landmark-max-height):
6261 * play/zone.el (zone):
6262 * progmodes/compile.el (compilation-goto-locus):
6263 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6264 * progmodes/etags.el (find-tag-other-window):
6265 * progmodes/fortran.el (fortran-column-ruler):
6266 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6267 * progmodes/verilog-mode.el (verilog-point-text):
6268 * reposition.el (reposition-window):
6269 * rot13.el (toggle-rot13-mode):
6270 * server.el (server-switch-buffer):
6271 * shell.el (shell-dynamic-complete-command)
6272 (shell-dynamic-complete-environment-variable):
6273 * simple.el (insert-buffer, set-selective-display)
6274 (delete-completion-window):
6275 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6276 (speedbar-recenter):
6277 * startup.el (fancy-splash-head):
6278 * textmodes/ispell.el (ispell-command-loop):
6279 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6280 * tutorial.el (help-with-tutorial):
6281 * vc/add-log.el (add-change-log-entry):
6282 * vc/compare-w.el (compare-windows):
6283 * vc/ediff-help.el (ediff-indent-help-message):
6284 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6285 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6286 (ediff-setup-control-frame):
6287 * vc/emerge.el (emerge-position-region):
6288 * vc/pcvs-util.el (cvs-bury-buffer):
6289 * window.el (walk-windows, mouse-autoselect-window-select):
6290 * winner.el (winner-set-conf, winner-undo): Related users changed.
6292 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6294 * frameset.el (frameset--set-id): Doc fix.
6295 (frameset-frame-id, frameset-frame-id-equal-p)
6296 (frameset-locate-frame-id): New functions.
6297 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6298 (frameset-restore): Use them.
6300 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6302 Do not call to `selected-frame' where it is assumed by default.
6303 Affected functions are `raise-frame', `redraw-frame',
6304 `frame-first-window', `frame-terminal' and `delete-frame'.
6305 * calendar/appt.el (appt-disp-window):
6306 * epg.el (epg-wait-for-completion):
6307 * follow.el (follow-delete-other-windows-and-split)
6308 (follow-avoid-tail-recenter):
6309 * international/mule.el (set-terminal-coding-system):
6310 * mail/rmail.el (rmail-mail-return):
6311 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6312 * progmodes/f90.el (f90-add-imenu-menu):
6313 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6314 * server.el (server-switch-buffer):
6315 * simple.el (delete-completion-window):
6317 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6318 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6319 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6320 * vc/ediff.el (ediff-documentation): Related users changed.
6321 * frame.el (selected-terminal): Remove the leftover.
6323 2013-08-05 Glenn Morris <rgm@gnu.org>
6325 * calendar/calendar.el (calendar-generate-month):
6326 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6327 (calendar-generate-month, calendar-font-lock-keywords):
6328 Fix for calendar-day-header-width > length of any day name.
6330 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6332 * desktop.el (desktop-clear): Use new name of sort predicate.
6334 * frameset.el (frameset): Add docstring. Move :version property to its
6336 (frameset-copy): Rename from copy-frameset.
6337 (frameset-p): Check more thoroughly.
6338 (frameset-prop): Do not check for :version, which is no longer a prop.
6339 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6340 Use new :never value instead of t.
6341 (frameset-filter-alist): Expand and clarify docstring.
6342 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6343 (frameset-filter-minibuffer, frameset-filter-save-param)
6344 (frameset-filter-restore-param, frameset-filter-iconified):
6345 Add pointer to docstring of frameset-filter-alist.
6346 (frameset-filter-params): Rename filter values to be more meaningful:
6347 :never instead of t, and reverse the meanings of :save and :restore.
6348 (frameset--process-minibuffer-frames): Clarify error message.
6349 (frameset-save): Avoid unnecessary and confusing call to framep.
6350 Use new BOA constructor for framesets.
6351 (frameset--reuse-list): Doc fix.
6352 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6353 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6354 (frameset-minibufferless-first-p): Doc fix.
6355 Rename from frameset-sort-frames-for-deletion.
6356 (frameset-restore): Doc fixes. Use new function names.
6357 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6359 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6361 * desktop.el (desktop-restore-forces-onscreen)
6362 (desktop-restore-reuses-frames): Document :keyword constant values.
6363 (desktop-filter-parameters-alist): Remove, now identical to
6364 frameset-filter-alist.
6365 (desktop--filter-tty*): Remove, moved to frameset.el.
6366 (desktop-save-frameset, desktop-restore-frameset):
6367 Do not pass :filters argument.
6369 * frameset.el (frameset-live-filter-alist)
6370 (frameset-persistent-filter-alist): New variables.
6371 (frameset-filter-alist): Use them. Add autoload cookie.
6372 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6373 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6374 `frameset--id' (it's supposed to be internal to frameset.el).
6375 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6376 (frameset--initial-params): New function.
6377 (frameset--get-frame): Use it. Doc fix.
6378 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6379 Accept :all, not 'all.
6380 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6381 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6382 with fbound symbols. Fix frame id matching, and remove matching ids if
6383 the frame being restored is deleted. Obey :delete.
6385 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6387 * subr.el (macrop): New function.
6388 (text-clone--maintaining): New var.
6389 (text-clone--maintain): Rename from text-clone-maintain. Use it
6390 instead of inhibit-modification-hooks.
6392 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6393 a proxy, so as handle autoloads and redefinitions of the target.
6394 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6396 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6397 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6398 (pcase--mutually-exclusive-p): New function.
6399 (pcase--split-consp): Use it.
6400 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6401 mutually exclusive with the current predicate.
6403 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6404 (edebug-macrop): Remove. Use `macrop' instead.
6405 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6407 * eshell/esh-cmd.el (eshell-macrop):
6408 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6410 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6412 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6413 (advice-mapc): New function, using it.
6414 (advice-function-member-p): New function.
6415 (advice--normalize): Store the cdr in advice--saved-rewrite since
6416 that's the part that will be changed.
6417 (advice--symbol-function): New function.
6418 (advice-remove): Handle removal before the function is defined.
6419 Adjust to new advice--saved-rewrite.
6420 (advice-member-p): Use advice-function-member-p and
6421 advice--symbol-function.
6423 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6425 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6426 (frameset-filter-minibuffer): Doc fix.
6427 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6428 (frameset--set-id, frameset--process-minibuffer-frames)
6429 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6430 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6432 * desktop.el (desktop-clear): Only delete frames when called
6433 interactively and desktop-restore-frames is non-nil. Doc fix.
6434 (desktop-read): Set desktop-saved-frameset to nil.
6436 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6438 * vc/vc.el (vc-ignore): Rewrite.
6439 (vc-default-ignore-completion-table):
6441 (vc--add-line, vc--remove-regexp): New functions.
6443 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6444 (vc-svn-ignore-completion-table): New function.
6446 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6447 (vc-hg-ignore-completion-table):
6448 (vc-hg-find-ignore-file): New functions.
6450 * vc/vc-git.el (vc-git-ignore): Rewrite.
6451 (vc-git-ignore-completion-table):
6452 (vc-git-find-ignore-file): New functions.
6454 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6456 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6457 (vc-bzr-ignore-completion-table):
6458 (vc-bzr-find-ignore-file): New functions.
6460 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6462 * frameset.el (frameset-prop): New function and setter.
6463 (frameset-save): Do not modify frame list passed by the caller.
6465 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6467 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6469 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6471 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6472 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6474 * custom.el (custom-initialize-default, custom-initialize-set)
6475 (custom-initialize-reset, custom-initialize-changed): Affect the
6476 toplevel-default-value (bug#6275, bug#14586).
6477 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6480 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6482 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6483 Add cl-def* expressions.
6485 * frameset.el (frameset-filter-params): Fix order of arguments.
6487 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6489 Move code related to saving frames to frameset.el.
6490 * desktop.el: Require frameset.
6491 (desktop-restore-frames): Doc fix.
6492 (desktop-restore-reuses-frames): Rename from
6493 desktop-restoring-reuses-frames.
6494 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6495 (desktop-clear): Clear frames too.
6496 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6497 (desktop--filter-tty*, desktop-save, desktop-read):
6498 Use frameset functions.
6499 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6500 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6501 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6502 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6503 (desktop--process-minibuffer-frames, desktop-save-frames)
6504 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6505 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6506 (desktop--sort-states, desktop-restoring-frames-p)
6507 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6508 (desktop-restoring-frameset-p, desktop-restore-frameset)
6509 (desktop--check-dont-save, desktop-save-frameset): New functions.
6510 (desktop--app-id): New constant.
6511 (desktop-first-buffer, desktop-buffer-ok-count)
6512 (desktop-buffer-fail-count): Move before first use.
6513 * frameset.el: New file.
6515 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6517 * files.el: Use lexical-binding.
6518 (dir-locals-read-from-file): Remove unused `err' variable.
6519 (hack-dir-local-variables--warned-coding): New var.
6520 (hack-dir-local-variables): Use it to avoid repeated warnings.
6521 (make-backup-file-name--default-function): New function.
6522 (make-backup-file-name-function): Use it as default.
6523 (buffer-stale--default-function): New function.
6524 (buffer-stale-function): Use it as default.
6525 (revert-buffer-insert-file-contents--default-function): New function.
6526 (revert-buffer-insert-file-contents-function): Use it as default.
6527 (insert-directory): Avoid add-to-list.
6529 * autorevert.el (auto-revert-handler): Simplify.
6530 Use buffer-stale--default-function.
6532 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6534 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6536 * whitespace.el (whitespace-ensure-local-variables): New function.
6537 (whitespace-cleanup-region): Call it.
6538 (whitespace-turn-on): Call it.
6540 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6542 Complete file name handlers.
6544 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6545 (tramp-handle-verify-visited-file-modtime)
6546 (tramp-handle-file-notify-rm-watch): New functions.
6547 (tramp-call-process): Do not bind `default-directory'.
6549 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6550 Order alphabetically.
6551 [access-file, add-name-to-file, dired-call-process]:
6552 [dired-compress-file, file-acl, file-notify-rm-watch]:
6553 [file-ownership-preserved-p, file-selinux-context]:
6554 [make-directory-internal, make-symbolic-link, set-file-acl]:
6555 [set-file-selinux-context, set-visited-file-modtime]:
6556 [verify-visited-file-modtime]: Add handler.
6557 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6559 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6560 [file-notify-add-watch, file-notify-rm-watch]:
6561 [set-file-times, set-visited-file-modtime]:
6562 [verify-visited-file-modtime]: Add handler.
6563 (with-tramp-gvfs-error-message)
6564 (tramp-gvfs-handle-set-visited-file-modtime)
6565 (tramp-gvfs-fuse-file-name): Remove.
6566 (tramp-gvfs-handle-file-notify-add-watch)
6567 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6568 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6570 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6571 Order alphabetically.
6572 [file-notify-rm-watch ]: Use default Tramp handler.
6573 [executable-find]: Remove private handler.
6574 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6575 `default-directory'.
6576 (tramp-sh-handle-executable-find)
6577 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6578 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6579 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6580 Do not use `format' in `tramp-message'.
6582 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6583 [file-notify-rm-watch, set-visited-file-modtime]:
6584 [verify-visited-file-modtime]: Add handler.
6585 (tramp-smb-call-winexe): Do not bind `default-directory'.
6587 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6589 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6591 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6593 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6595 (log-view-diff-changeset): Same.
6596 (log-view-diff-common): Call backend command `previous-revision'
6597 to find out the previous revision, in both cases. Swap the
6598 variables `to' and `fr', so that `fr' usually refers to the
6599 earlier revision (Bug#14989).
6601 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6603 * ibuf-ext.el (ibuffer-filter-by-filename):
6604 Make it work with dired buffers too.
6606 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6608 * emacs-lisp/re-builder.el (reb-color-display-p):
6609 * files.el (save-buffers-kill-terminal):
6610 * net/browse-url.el (browse-url):
6611 * server.el (server-save-buffers-kill-terminal):
6612 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6613 Prefer nil to selected-frame for the first arg of frame-parameter.
6615 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6617 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6619 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6621 * minibuffer.el (completion--twq-all): Try and preserve each
6622 completion's case choice (bug#14907).
6624 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6626 * net/network-stream.el (open-network-stream): Mention the new
6627 :nogreeting parameter.
6628 (network-stream-open-starttls): Use the :nogreeting parameter
6631 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6633 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6634 more natural than popping.
6636 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6637 (shr-urlify): Highlight under mouse.
6639 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6641 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6643 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6645 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6648 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6649 point-min==1. Fix search string. Fix parentheses missing.
6651 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6652 assume point-min==1. Fix search string. Fix parentheses missing.
6654 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6656 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6659 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6661 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6662 initial frame is minibuffer-less. (Bug#14841)
6664 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6666 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6669 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6670 (tramp-maybe-open-connection): Use it.
6672 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6674 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6675 minimal set of parameters passed when creating a frame, because
6676 the minibuffer status of a frame cannot be changed later.
6678 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6680 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6681 replace-regexp-in-string and inadvertent omissions in previous change.
6682 (todo-filter-items): Ensure only file names are comma-separated in
6683 name of filtered items buffer.
6685 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6687 * desktop.el: Optionally force offscreen frames back onscreen.
6688 (desktop-restoring-reuses-frames): New option.
6689 (desktop--compute-pos, desktop--move-onscreen): New functions.
6690 (desktop--make-frame): Use desktop--move-onscreen.
6692 2013-07-27 Alan Mackenzie <acm@muc.de>
6694 Fontify a Java generic method as a function.
6695 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6698 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6700 * calendar/todo-mode.el: Add command to rename todo files.
6701 (todo-rename-file): New command.
6702 (todo-key-bindings-t): Add key binding for it. Change the
6703 bindings of todo-filter-regexp-items(-multifile) to use `x'
6704 instead of `r', since the latter is better suited to the new
6707 2013-07-27 Alan Mackenzie <acm@muc.de>
6709 Make Java try-with-resources statement parse properly.
6710 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6711 (c-block-stmt-1-2-key): New language constants/variables.
6712 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6713 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6714 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6715 with c-block-stmt-1-2-key.
6717 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6719 * desktop.el (desktop--make-frame): Apply most frame parameters after
6720 creating the frame to force (partially or totally) offscreen frames to
6721 be restored as such.
6723 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6725 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6728 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6730 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6731 `base' arg of backtrace-frame.
6733 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6735 * simple.el (list-processes): Doc fix.
6737 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6739 * desktop.el (desktop--select-frame):
6740 Try harder to reuse existing frames.
6742 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6744 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6745 (edebug-eval): Use backtrace-eval.
6746 (edebug--display, edebug--recursive-edit): Don't let-bind the
6747 edebug-outer-* vars that keep track of variables we locally let-bind.
6748 (edebug-outside-excursion): Don't restore outside values of locally
6750 (edebug--display): Use user-error.
6751 (cl-lexical-debug, cl-debug-env): Remove.
6753 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6755 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6756 are restored to be sure that they are visible before deleting any
6759 2013-07-26 Matthias Meulien <orontee@gmail.com>
6761 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6762 vc-print-root-log. (Bug#14948)
6764 2013-07-26 Richard Stallman <rms@gnu.org>
6766 Add aliases for encrypting mail.
6767 * epa.el (epa-mail-aliases): New option.
6768 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6769 Bind inhibit-read-only so read-only text doesn't ruin everything.
6770 (epa-mail-default-recipients): New subroutine broken out.
6771 Handle epa-mail-aliases.
6773 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6775 Add support for lexical variables to the debugger's `e' command.
6776 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6777 vars, except for debugger-outer-match-data.
6778 (debugger-frame-number): Move check for "on a function call" from
6779 callers into it. Add `skip-base' argument.
6780 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6781 (debugger-env-macro): Only reset the state stored in non-variables,
6782 i.e. current-buffer and match-data.
6783 (debugger-eval-expression): Rewrite using backtrace-eval.
6784 * subr.el (internal--called-interactively-p--get-frame): Remove.
6785 (called-interactively-p):
6786 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6787 `base' arg of backtrace-frame instead.
6789 2013-07-26 Glenn Morris <rgm@gnu.org>
6791 * align.el (align-regexp): Doc fix. (Bug#14857)
6792 (align-region): Explicit error if subexpression missing/does not match.
6794 * simple.el (global-visual-line-mode):
6795 Do not duplicate the mode lighter. (Bug#14858)
6797 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6799 * window.el (display-buffer): In display-buffer bind
6800 split-window-keep-point to t, bug#14829.
6802 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6804 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6805 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6806 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6807 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6809 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6810 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6812 2013-07-25 Glenn Morris <rgm@gnu.org>
6814 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6816 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6818 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6819 parameter to modify-frame-parameters if the value has not changed;
6820 this is a workaround for bug#14949.
6821 (desktop--make-frame): On cl-delete-if call, check parameter name,
6824 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6826 * vc/vc.el (vc-ignore): New function.
6828 * vc/vc-svn.el (vc-svn-ignore): New function.
6830 * vc/vc-hg.el (vc-hg-ignore): New function.
6832 * vc/vc-git.el (vc-git-ignore): New function.
6834 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6835 (vc-dir-ignore): New function.
6837 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6838 (cvs-append-to-ignore): Move here from pcvs.el.
6840 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6842 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6844 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6846 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6847 (desktop-restore-frames): Warn when deleting an existing frame failed.
6849 2013-07-24 Glenn Morris <rgm@gnu.org>
6851 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6853 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6855 * filenotify.el (file-notify-supported-p):
6856 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6859 * autorevert.el (auto-revert-use-notify):
6860 (auto-revert-notify-add-watch):
6861 * net/tramp.el (tramp-file-name-for-operation):
6862 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6863 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6864 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6865 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6866 Remove `file-notify-supported-p' entry.
6868 2013-07-24 Glenn Morris <rgm@gnu.org>
6870 * printing.el: Replace all uses of deleted ps-windows-system,
6871 ps-lp-system, ps-flatten-list with lpr- versions.
6873 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6875 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6876 checked with memq (bug#14935).
6878 * files.el (revert-buffer-function): Use a non-nil default.
6879 (revert-buffer-preserve-modes): Declare var to
6880 provide access to the `preserve-modes' argument.
6881 (revert-buffer): Let-bind it.
6882 (revert-buffer--default): New function, extracted from revert-buffer.
6884 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6886 * lpr.el: Signal print errors more prominently.
6887 (print-region-function): Don't default to nil.
6888 (lpr-print-region): New function, extracted from print-region-1.
6889 Check lpr's return value and signal an error in case of problem.
6890 (print-region-1): Use it.
6891 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6893 (ps-printer-name): Default to nil.
6894 (ps-printer-name-option): Default to lpr-printer-switch.
6895 (ps-print-region-function): Don't default to nil.
6896 (ps-postscript-code-directory): Simplify default.
6897 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6898 (ps-string-list, ps-eval-switch, ps-flatten-list)
6899 (ps-flatten-list-1): Remove.
6900 (ps-multibyte-buffer): Avoid setq.
6901 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6902 (print-region-function, ps-print-region-function): Don't set them here.
6904 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6906 * ido.el (ido-fractionp):
6907 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6908 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6909 (ido-max-directory-size, ido-max-dir-file-cache)
6910 (ido-decorations): Doc fix.
6912 * ansi-color.el: Fix old URL.
6914 2013-07-23 Michael R. Mauger <michael@mauger.com>
6916 * progmodes/sql.el: Version 3.3
6917 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6918 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6919 (sql-interactive-remove-continuation-prompt): Rewrite, use
6920 functions above. Fix continuation prompt and complete output line
6922 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6923 redirected output buffer.
6924 (sql-mode): Restore deleted code (Bug#13591).
6926 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6928 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6930 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6932 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6934 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6935 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6936 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6938 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6940 * desktop.el (desktop-clear): Simplify; remove useless checks
6941 against invalid buffer names.
6942 (desktop-list*): Use cl-list*.
6943 (desktop-buffer-info, desktop-create-buffer): Simplify.
6945 2013-07-23 Leo Liu <sdl.web@gmail.com>
6947 * bookmark.el (bookmark-make-record): Restore NAME as a default
6950 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6952 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6953 extracted from autoload--insert-text.
6954 (autoload--insert-text): Remove.
6955 (autoload--print-cookie-text): New function, extracted from
6956 autoload--insert-cookie-text.
6957 (autoload--insert-cookie-text): Remove.
6958 (autoload-generate-file-autoloads): Adjust calls accordingly.
6960 * winner.el (winner-hook-installed-p): Remove.
6961 (winner-mode): Simplify accordingly.
6963 * subr.el (add-to-list): Fix compiler-macro when `append' is
6964 not constant. Don't use `cl-member' for the base case.
6966 * progmodes/subword.el: Fix boundary case (bug#13758).
6967 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6969 (subword-backward-regexp): Make it a constant.
6970 (subword-forward-internal): Don't treat a trailing capital as the
6971 beginning of a word.
6973 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6975 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6976 global value of tabulated-list-revert-hook (bug#14930).
6978 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6980 * desktop.el: Require 'cl-lib.
6981 (desktop-before-saving-frames-functions): New hook.
6982 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6983 for frames being saved. Rename from desktop--save-minibuffer-frames.
6984 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6985 Do not save frames with non-nil `desktop-dont-save' parameter.
6986 Filter out deleted frames.
6987 (desktop--find-frame): Use cl-find-if.
6988 (desktop--select-frame): Use cl-(first|second|third) to access values
6990 (desktop--make-frame): Use cl-delete-if.
6991 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6992 (desktop-restore-frames): Use cl-(first|second|third) to access values
6993 of desktop-mini. Look for visible frame at the end, not while
6996 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6997 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6998 Use string-match-p, looking-at-p (bug#14927).
7000 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7002 * desktop.el (desktop-saved-frame-states):
7003 Rename from desktop--saved-states; all users changed.
7004 (desktop-save-frames): Rename from desktop--save-frames.
7005 Do not save state to desktop file.
7006 (desktop-save): Save desktop-saved-frame-states to desktop file
7008 (desktop-restoring-frames-p): New function.
7009 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7010 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7011 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7013 * desktop.el: Correctly restore iconified frames.
7014 (desktop--filter-iconified-position): New function.
7015 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7017 2013-07-20 Glenn Morris <rgm@gnu.org>
7019 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7020 Let `message' do the formatting.
7021 (def-gdb-preempt-display-buffer): Add explicit format.
7023 * image-dired.el (image-dired-track-original-file):
7024 Use with-current-buffer.
7025 (image-dired-track-thumbnail): Use with-current-buffer.
7026 Avoid changing point of wrong window.
7028 * image-dired.el (image-dired-track-original-file):
7029 Avoid changing point of wrong window. (Bug#14909)
7031 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7033 * progmodes/gdb-mi.el (gdb-done-or-error):
7034 Guard against "%" in gdb output. (Bug#14127)
7036 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7038 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7041 * international/mule.el (coding-system-iso-2022-flags): Fix last
7044 2013-07-20 Kenichi Handa <handa@gnu.org>
7046 * international/mule.el (coding-system-iso-2022-flags):
7047 Add `8-bit-level-4'. (Bug#8522)
7049 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7051 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7054 * net/eww.el (eww-process-text-input): Allow inputting when the
7055 point is at the start of the line, as the properties aren't
7058 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7061 2013-07-19 Richard Stallman <rms@gnu.org>
7063 * epa.el (epa-popup-info-window): Doc fix.
7065 * subr.el (split-string): New arg TRIM.
7067 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7069 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7070 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7072 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7074 * filenotify.el (file-notify--library): Rename from
7075 `file-notify-support'. Do not autoload. Adapt all uses.
7076 (file-notify-supported-p): New defun.
7078 * autorevert.el (auto-revert-use-notify):
7079 Use `file-notify-supported-p' instead of `file-notify-support'.
7081 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7083 * net/tramp.el (tramp-file-name-for-operation):
7084 Add `file-notify-supported-p'.
7086 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7088 (tramp-sh-file-name-handler-alist): Add it as handler for
7089 `file-notify-supported-p '.
7091 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7092 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7093 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7094 Add `ignore' as handler for `file-notify-*' functions.
7096 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7098 * simple.el (line-move-partial, line-move): Don't start vscroll or
7099 scroll-up if the current line is not taller than the window.
7102 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7104 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7105 highlight question marks in the method names as strings.
7106 (ruby-block-beg-keywords): Inline.
7107 (ruby-font-lock-keyword-beg-re): Extract from
7108 `ruby-font-lock-keywords'.
7110 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7112 * frame.el (blink-cursor-blinks): New defcustom.
7113 (blink-cursor-blinks-done): New defvar.
7114 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7115 (blink-cursor-timer-function): Check if number of blinks has been
7117 (blink-cursor-suspend, blink-cursor-check): New defuns.
7119 2013-07-15 Glenn Morris <rgm@gnu.org>
7121 * edmacro.el (edmacro-format-keys): Fix previous change.
7123 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7125 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7126 The hack didn't work outside English locales anyway.
7128 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7130 * simple.el (define-alternatives): Rename from alternatives-define,
7131 per RMS' suggestion.
7133 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7135 * desktop.el (desktop-restore-frames): Change default to t.
7136 (desktop-restore-in-current-display): Now offer more options.
7137 (desktop-restoring-reuses-frames): New customization option.
7138 (desktop--saved-states): Doc fix.
7139 (desktop-filter-parameters-alist): New variable, renamed and expanded
7140 from desktop--excluded-frame-parameters.
7141 (desktop--target-display): New variable.
7142 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7143 (desktop--filter-tty*, desktop--filter-*-color)
7144 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7145 (desktop--filter-save-desktop-parm)
7146 (desktop-restore-in-original-display-p): New functions.
7147 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7148 (desktop--save-minibuffer-frames): New function, inspired by a similar
7149 function from Martin Rudalics.
7150 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7151 (desktop--restore-in-this-display-p): Remove.
7152 (desktop--find-frame): Rename from desktop--find-frame-in-display
7153 and add predicate argument.
7154 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7155 (desktop--reuse-list): New variable.
7156 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7158 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7160 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7162 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7164 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7166 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7167 Highlight conversion methods on Kernel.
7169 2013-07-13 Alan Mackenzie <acm@muc.de>
7171 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7172 and comment it out. This out-commenting enables certain C++
7173 declarations to be parsed correctly.
7175 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7177 * international/mule.el (define-coding-system): Doc fix.
7179 * simple.el (default-font-height): Don't call font-info if the
7180 frame's default font didn't change since the frame was created.
7183 2013-07-13 Leo Liu <sdl.web@gmail.com>
7185 * ido.el (ido-read-file-name): Guard against non-symbol value.
7187 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7189 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7192 2013-07-13 Leo Liu <sdl.web@gmail.com>
7194 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7195 ido-set-matches call. (Bug#6852)
7197 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7199 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7200 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7202 (ruby-font-lock-keywords): Distinguish calls to functions with
7203 module-like names from module references. Highlight character
7206 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7208 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7209 (gdb-send): Handle continued commands. (Bug#14847)
7211 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7213 * desktop.el (desktop--v2s): Remove unused local variable.
7214 (desktop-save-buffer): Make defvar-local; adjust docstring.
7215 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7216 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7218 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7220 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7222 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7224 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7227 2013-07-12 Glenn Morris <rgm@gnu.org>
7229 * doc-view.el: Require cl-lib at runtime too.
7230 (doc-view-remove-if): Remove.
7231 (doc-view-search-next-match, doc-view-search-previous-match):
7234 * edmacro.el: Require cl-lib at runtime too.
7235 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7236 (edmacro-mismatch, edmacro-subseq): Remove.
7238 * shadowfile.el: Require cl-lib.
7239 (shadow-remove-if): Remove.
7240 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7243 * wid-edit.el: Require cl-lib.
7244 (widget-choose): Use cl-remove-if.
7245 (widget-remove-if): Remove.
7247 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7248 (ebrowse-delete-if-not): Remove.
7249 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7250 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7251 Use cl-delete-if-not.
7253 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7255 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7256 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7258 2013-07-12 Leo Liu <sdl.web@gmail.com>
7260 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7262 2013-07-11 Glenn Morris <rgm@gnu.org>
7264 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7265 (edebug-gensym-index, edebug-gensym):
7266 Remove reimplementation of cl-gensym.
7267 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7269 * thumbs.el: Require cl-lib at run-time too.
7270 (thumbs-gensym-counter, thumbs-gensym):
7271 Remove reimplementation of cl-gensym.
7272 (thumbs-temp-file): Use cl-gensym.
7274 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7275 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7276 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7277 (ert--union, ert--gensym-counter, ert--gensym-counter)
7278 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7279 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7280 (ert-make-test-unbound, ert--expand-should-1)
7281 (ert--expand-should, ert--should-error-handle-error)
7282 (should-error, ert--explain-equal-rec)
7283 (ert--plist-difference-explanation, ert-select-tests)
7284 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7285 Use cl-lib functions rather than reimplementations.
7287 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7289 * net/tramp.el (tramp-methods): Extend docstring.
7290 (tramp-connection-timeout): New defcustom.
7291 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7292 (with-tramp-progress-reporter): Simplify.
7293 (tramp-process-actions): Improve messages.
7295 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7296 * net/tramp-sh.el (tramp-maybe-open-connection):
7297 Use `tramp-connection-timeout'.
7298 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7301 2013-07-11 Leo Liu <sdl.web@gmail.com>
7303 * ido.el (ido-read-file-name): Conform to the requirements of
7304 read-file-name. (Bug#11861)
7305 (ido-read-directory-name): Conform to the requirements of
7306 read-directory-name.
7308 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7310 * subr.el (delay-warning): New function.
7312 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7314 * simple.el (default-line-height): New function.
7315 (line-move-partial, line-move): Use it instead of computing the
7317 (line-move-partial): Always compute ROWH. If the last line is
7318 partially-visible, but its text is completely visible, allow
7319 cursor to enter such a partially-visible line.
7321 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7323 Improve error messages. (Bug#14808)
7325 * net/tramp.el (tramp-current-connection): New defvar, moved from
7327 (tramp-message-show-progress-reporter-message): Remove, not
7329 (tramp-error-with-buffer): Show message in minibuffer.
7330 Discard input before waiting. Reset connection timestamp.
7331 (with-tramp-progress-reporter): Improve messages.
7332 (tramp-process-actions): Use progress reporter. Delete process in
7333 case of error. Improve messages.
7335 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7336 Call `tramp-error-with-buffer' with vector and buffer.
7337 (tramp-current-connection): Remove.
7338 (tramp-maybe-open-connection): The car of
7339 `tramp-current-connection' are the first 3 slots of the vector.
7341 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7343 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7344 inside continued strings.
7346 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7348 Timestamp fixes for undo (Bug#14824).
7349 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7351 2013-07-10 Leo Liu <sdl.web@gmail.com>
7353 * files.el (require-final-newline): Allow safe local value.
7356 2013-07-09 Leo Liu <sdl.web@gmail.com>
7358 * ido.el (ido-read-directory-name): Handle fallback.
7359 (ido-read-file-name): Update DIR to ido-current-directory.
7361 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7363 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7365 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7366 "autoload". Remove "warn lower camel case" section, previously
7367 commented out. Highlight negation char. Do not highlight the
7368 target in singleton method definitions.
7370 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7372 * faces.el (tty-setup-hook): Declare the hook.
7374 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7375 and detect when a guard/pred depends on local vars (bug#14773).
7376 (pcase--u1): Adjust caller.
7378 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7380 * simple.el (line-move-partial, line-move): Account for
7382 (line-move-partial): Avoid setting vscroll when the last
7383 partially-visible line in window is of default height.
7385 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7387 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7390 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7392 * subr.el (read-quoted-char): Remove unused local variable `char'.
7394 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7396 * ediff.el (ediff-version): Version update.
7397 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7398 (ediff-merge-with-ancestor-command, ediff-directories-command)
7399 (ediff-directories3-command, ediff-merge-directories-command)
7400 (ediff-merge-directories-with-ancestor-command): New functions.
7401 All are command-line interfaces to ediff: to facilitate calling
7402 Emacs with the appropriate ediff functions invoked.
7404 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7405 (viper-save-kill-buffer): Check if buffer is modified.
7407 * viper.el (viper-version): Version update.
7408 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7410 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7412 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7413 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7414 (viper-intercept-ESC-key): Simplify.
7415 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7416 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7417 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7418 (viper-setup-ESC-to-escape): New functions.
7419 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7420 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7422 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7424 * simple.el (default-font-height, window-screen-lines):
7426 (line-move, line-move-partial): Use them instead of
7427 frame-char-height and window-text-height. This makes scrolling
7428 text smoother when the buffer's default face uses a font that is
7429 different from the frame's default font.
7431 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7433 * files.el (write-file): Do not display confirm dialog for NS,
7434 it does its own dialog, which can't be canceled (Bug#14578).
7436 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7438 * simple.el (line-move-partial): Adjust the row returned by
7439 posn-at-point for the current window-vscroll. (Bug#14567)
7441 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7443 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7444 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7447 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7449 * window.el (window-state-put-stale-windows): New variable.
7450 (window--state-put-2): Save list of windows without matching buffer.
7451 (window-state-put): Remove "bufferless" windows if possible.
7453 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7455 * simple.el (alternatives-define): Remove leftover :group keyword.
7458 2013-07-06 Leo Liu <sdl.web@gmail.com>
7460 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7461 (ido-enable-virtual-buffers): New variable.
7462 (ido-buffer-internal, ido-toggle-virtual-buffers)
7463 (ido-make-buffer-list): Use it.
7464 (ido-exhibit): Support turning on and off virtual buffers
7467 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7469 * simple.el (alternatives-define): New macro.
7471 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7473 * subr.el (read-quoted-char): Use read-key.
7474 (sit-for): Let read-event decode tty input (bug#14782).
7476 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7478 * calendar/todo-mode.el: Add handling of file deletion, both by
7479 mode command and externally. Fix various related bugs.
7480 Clarify Commentary and improve some documentation strings and code.
7481 (todo-delete-file): New command.
7482 (todo-check-file): New function.
7483 (todo-show): Handle external deletion of the file we're trying to
7484 show (bug#14688). Replace called-interactively-p by an optional
7485 prefix argument to avoid problematic interaction with catch form
7486 when byte compiled (bug#14702).
7487 (todo-quit): Handle external deletion of the archive's todo file.
7488 Make sure the buffer that was visiting the archive file is still
7489 live before trying to bury it.
7490 (todo-category-completions): Handle external deletion of any
7491 category completion files.
7492 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7493 of todo files, in case of external deletion.
7494 (todo-add-file): Replace unnecessary setq by let-binding.
7495 (todo-find-archive): Check whether there are any archives.
7496 Replace unnecessary setq by let-binding.
7497 (todo-archive-done-item): Use find-file-noselect to get the
7498 archive buffer whether or not the archive already exists.
7499 Remove superfluous code. Use file size instead of buffer-file-name to
7500 check if the archive is new; if it is, update list of archives.
7501 (todo-default-todo-file): Allow nil to be a valid value for when
7502 there are no todo files.
7503 (todo-reevaluate-default-file-defcustom): Use corrected definition
7504 of todo-default-todo-file.
7505 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7506 (todo-delete-category, todo-show-categories-table)
7507 (todo-category-number): Clarify comment.
7508 (todo-filter-items): Clarify documentation string.
7509 (todo-show-current-file, todo-display-as-todo-file)
7510 (todo-reset-and-enable-done-separator): Tweak documentation string.
7511 (todo-done-separator): Make separator length window-width, since
7512 bug#2749 is now fixed.
7514 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7516 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7517 Support both "gvfs-monitor-dir" and "inotifywait".
7518 (tramp-sh-file-inotifywait-process-filter): Rename from
7519 `tramp-sh-file-notify-process-filter'.
7520 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7521 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7523 2013-07-05 Leo Liu <sdl.web@gmail.com>
7525 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7527 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7529 * frame.el (display-pixel-height, display-pixel-width)
7530 (display-mm-height, display-mm-width): Mention behavior on
7531 multi-monitor setups in docstrings.
7532 (w32-display-monitor-attributes-list): Declare function.
7533 (display-monitor-attributes-list): Use it.
7535 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7537 * filenotify.el: New package.
7539 * autorevert.el (top): Require filenotify.el.
7540 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7542 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7543 (auto-revert-notify-handler): Use `file-notify-*' functions.
7545 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7547 * net/tramp.el (tramp-file-name-for-operation):
7548 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7550 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7551 for `file-notify-add-watch' and `file-notify-rm-watch'.
7552 (tramp-process-sentinel): Improve trace.
7553 (tramp-sh-handle-file-notify-add-watch)
7554 (tramp-sh-file-notify-process-filter)
7555 (tramp-sh-handle-file-notify-rm-watch)
7556 (tramp-get-remote-inotifywait): New defuns.
7558 2013-07-03 Juri Linkov <juri@jurta.org>
7560 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7561 call of `occur-read-primary-args' to interactive spec.
7563 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7564 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7566 2013-07-03 Matthias Meulien <orontee@gmail.com>
7568 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7569 `Buffer-menu-multi-occur'. Add it to the menu.
7570 (Buffer-menu-mode): Document it in docstring.
7571 (Buffer-menu-multi-occur): New command. (Bug#14673)
7573 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7575 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7576 keywords and built-ins.
7578 2013-07-03 Glenn Morris <rgm@gnu.org>
7580 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7582 Make info-xref checks case-sensitive by default
7583 * info.el (Info-find-node, Info-find-in-tag-table)
7584 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7585 Add option for exact case matching of nodes.
7586 * info-xref.el (info-xref): New custom group.
7587 (info-xref-case-fold): New option.
7588 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7590 2013-07-03 Leo Liu <sdl.web@gmail.com>
7592 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7594 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7596 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7597 middle of block statement initially, lower the depth. Remove
7598 FIXME comment, not longer valid. Remove middle of block statement
7599 detection, no need to do that anymore since we've been using
7600 `ruby-parse-region' here.
7602 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7604 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7606 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7608 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7610 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7612 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7613 (desktop-restore-in-current-display): New customization option.
7614 (desktop--excluded-frame-parameters): Add `font'.
7615 (desktop--save-frames): Rename from desktop--save-windows.
7616 (desktop--restore-in-this-display-p): New function.
7617 (desktop--make-full-frame): Remove unwanted width/height from
7618 full(width|height) frames.
7619 (desktop--restore-frames): Rename from desktop--restore-windows.
7620 Obey desktop-restore-current-display. Do not delete old frames or
7621 select a new frame unless we were able to restore at least one frame.
7623 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7625 * files.el (find-file-noselect): Simplify conditional expression.
7627 * textmodes/remember.el (remember-append-to-file):
7628 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7630 Add `remember-notes' function to store random notes across Emacs
7632 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7633 notes buffer (if any).
7634 (remember-notes): New command.
7635 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7636 New defcustoms for the `remember-notes' function.
7637 (remember-notes-save-and-bury-buffer): New command.
7638 (remember-notes-mode-map): New variable.
7639 (remember-mode): New minor mode.
7640 (remember-notes--kill-buffer-query): New function.
7641 * startup.el (initial-buffer-choice): Add notes to custom type.
7643 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7645 * bindings.el (right-char, left-char): Don't call sit-for, this is
7646 no longer needed. Use arithmetic comparison only for numerical
7649 * international/mule-cmds.el (select-safe-coding-system):
7650 Handle the case of FROM being a string correctly. (Bug#14755)
7652 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7654 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7655 progression on degenerate tables.
7656 (shr-rescale-image): ImageMagick animated images currently don't work.
7658 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7660 Some fixes and improvements for desktop frame restoration.
7661 It is still experimental and disabled by default.
7662 * desktop.el (desktop--save-windows): Put the selected frame at
7663 the head of the list.
7664 (desktop--make-full-frame): New function.
7665 (desktop--restore-windows): Try to re-select the frame that was
7666 selected upon saving. Do not abort if some frames fail to restore,
7667 just show an error message and continue. Set up maximized frames
7668 so they have default non-maximized dimensions.
7670 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7672 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7673 Don't start heredoc inside a string or comment.
7675 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7677 * bindings.el (visual-order-cursor-movement): New defcustom.
7678 (right-char, left-char): Provide visual-order cursor motion by
7679 calling move-point-visually. Update the doc strings.
7681 2013-06-28 Kenichi Handa <handa@gnu.org>
7683 * international/mule.el (define-coding-system): New coding system
7684 properties :inhibit-null-byte-detection,
7685 :inhibit-iso-escape-detection, and :prefer-utf-8.
7686 (set-buffer-file-coding-system): If :charset-list property of
7687 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7688 appropriate for setting.
7690 * international/mule-cmds.el (select-safe-coding-system):
7691 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7692 multibyte characters, return utf-8 (or one of its siblings).
7694 * international/mule-conf.el (prefer-utf-8): New coding system.
7695 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7698 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7700 * net/shr.el (shr-render-region): New function.
7702 * net/eww.el: Autoload `eww-browse-url'.
7704 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7706 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7707 Adapt to `package-desc-version' being a list.
7708 Use `package--ac-desc-version' to retrieve version from a package
7711 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7713 New experimental feature to save&restore window and frame setup.
7714 * desktop.el (desktop-save-windows): New defcustom.
7715 (desktop--saved-states): New var.
7716 (desktop--excluded-frame-parameters): New defconst.
7717 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7718 (desktop--restore-windows, desktop--save-windows): New functions.
7719 (desktop-save): Call `desktop--save-windows'.
7720 (desktop-read): Call `desktop--restore-windows'.
7722 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7724 * net/shr.el (add-face-text-property): Remove compat definition.
7726 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7728 * info.el (Info-try-follow-nearest-node): Move search for footnote
7729 above search for node name to prevent missing a footnote (bug#14717).
7731 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7733 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7735 2013-06-27 Leo Liu <sdl.web@gmail.com>
7737 * net/eww.el (eww-read-bookmarks): Check file size.
7739 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7741 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7742 advice--pending if newdef is nil or an autoload (bug#13820).
7743 (advice-mapc): New function.
7745 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7747 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7749 (eww-mode-map): Add a menu bar.
7750 (eww-add-bookmark): New command.
7751 (eww-bookmark-mode): New mode and commands.
7752 (eww-add-bookmark): Remove newlines from the title.
7753 (eww-bookmark-browse): Don't bug out if it's the only window.
7755 2013-06-26 Glenn Morris <rgm@gnu.org>
7757 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7758 (hfy-size): Handle ttys. (Bug#14668)
7760 * info-xref.el: Update for Texinfo 5 change in *note format.
7761 (info-xref-node-re, info-xref-note-re): New constants.
7762 (info-xref-check-buffer): Use info-xref-note-re.
7764 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7766 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7768 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7769 nil terminate the loop (bug#14718).
7771 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7773 * net/eww.el: Rework history traversal. When going forward/back,
7774 put these actions into the history, too, so that they can be
7776 (eww-render): Move the history reset to the correct buffer.
7778 2013-06-25 Juri Linkov <juri@jurta.org>
7780 * files-x.el (modify-dir-local-variable): Change the header comment
7781 in the file with directory local variables. (Bug#14692)
7783 * files-x.el (read-file-local-variable-value): Add `default'.
7786 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7788 * net/eww.el (eww-make-unique-file-name): Create a unique file
7789 name before saving to entering `y' accidentally asynchronously.
7791 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7793 * net/eww.el (eww-download): New command and keystroke.
7795 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7797 * net/eww.el (eww-copy-page-url): Change name of command.
7799 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7800 be more consistent with Info and dired.
7802 * net/eww.el (eww-mode-map): Ditto.
7804 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7806 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7807 packages from archives.
7808 (package-archive-contents): Change format; include obsolete packages.
7809 (package-desc): Use `dir' to mark builtin packages.
7810 (package--from-builtin): Set the `dir' field to `builtin'.
7811 (generated-autoload-file, version-control): Declare.
7812 (package-compute-transaction): Change first arg and return value to be
7813 lists of package-descs. Adjust to new package-archive-contents format.
7814 (package--add-to-archive-contents): Adjust to new
7815 package-archive-contents format.
7816 (package-download-transaction): Arg is now a list of package-descs.
7817 (package-install): If `pkg' is a package name, pass it as
7818 a requirement, so it is subject to the usual (e.g. disabled) checks.
7819 (describe-package): Accept package-desc as well.
7820 (describe-package-1): Describe a specific package-desc. Add links to
7821 other package-descs for the same package name.
7822 (package-menu-describe-package): Pass the actual package-desc.
7823 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7825 (package-desc-status): New function.
7826 (package-menu--refresh): New function, extracted
7827 from package-menu--generate.
7828 (package-menu--generate): Use it.
7829 (package-delete): Update package-alist.
7830 (package-menu-execute): Don't call package-initialize.
7832 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7833 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7834 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7835 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7836 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7837 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7839 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7841 * window.el (window--state-get-1): Workaround for bug#14527.
7842 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7844 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7846 * net/eww.el (eww-back-url): Implement the history by stashing all
7847 the data into a list.
7848 (eww-forward-url): Allow going forward in the history, too.
7850 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7852 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7853 for values and use read--expression for expressions (bug#14710).
7854 (read-file-local-variable): Avoid setq.
7855 (read-file-local-variable-mode): Use minor-mode-list.
7857 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7859 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7862 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7864 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7865 Update imenu-support when dialect changes.
7867 2013-06-25 Leo Liu <sdl.web@gmail.com>
7869 * ido.el (ido-read-internal): Allow forward slash on windows.
7871 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7873 * net/eww.el (eww): Start of strings is \\`, not ^.
7875 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7877 * net/shr.el (shr-browse-url): Fix interactive spec.
7879 * net/eww.el (eww): Add a trailing slash to domain names.
7881 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7883 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7885 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7887 * net/shr.el (shr-browse-url): Use an external browser if given a
7890 * net/eww.el (eww-external-browser): Move to shr.
7892 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7894 * net/eww.el (eww): Work more correctly for file: URLs.
7895 (eww-detect-charset): Allow quoted charsets.
7896 (eww-yank-page-url): New command and keystroke.
7898 2013-06-24 Daiki Ueno <ueno@gnu.org>
7900 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7901 file name of gpg executable.
7902 (epg-context-program): New function.
7903 (epg-context-home-directory): New function.
7904 (epg-context-set-program): New function.
7905 (epg-context-set-home-directory): New function.
7906 (epg--start): Use `epg-context-program' instead of
7908 (epg--list-keys-1): Likewise.
7910 2013-06-24 Leo Liu <sdl.web@gmail.com>
7912 * ido.el (ido-read-internal): Fix bug#14620.
7914 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7916 * faces.el (face-documentation): Simplify.
7917 (read-face-attribute, tty-find-type, x-resolve-font-name):
7918 Use `string-match-p'.
7919 (list-faces-display): Use `string-match-p'. Simplify.
7920 (face-spec-recalc): Check face to avoid face alias loops.
7921 (read-color): Use `string-match-p' and non-capturing parenthesis.
7923 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7925 * net/shr.el (shr-rescale-image): Use the new
7926 :max-width/:max-height functionality.
7928 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7930 * net/eww.el (eww-search-prefix): New variable.
7932 (eww-external-browser): New variable.
7933 (eww-mode-map): New keystroke.
7934 (eww-browse-with-external-browser): New command.
7936 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7938 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7940 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7941 Don't skip aligning the next header field when padding is 0;
7942 otherwise, field width is not respected unless the title is as
7945 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7947 * emacs-lisp/package.el (package-el-version): Remove.
7948 (package-process-define-package): Fix inf-loop.
7949 (package-install): Allow symbols as arguments again.
7951 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7953 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7954 add some more keyword-like methods.
7955 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7957 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7959 * bs.el (bs-buffer-show-mark): Make defvar-local.
7960 (bs-mode): Use setq-local.
7962 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7963 (emacs-lock--try-unlocking): Make defvar-local.
7965 2013-06-22 Glenn Morris <rgm@gnu.org>
7967 * play/cookie1.el (cookie-apropos): Minor simplification.
7969 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7971 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7973 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7974 `regexp-opt', it breaks the build during dumping.
7976 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7978 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7979 Highlight keyword-like methods on Kernel and Module with
7980 font-lock-builtin-face.
7981 (auto-mode-alist): Consolidate different entries into one regexp
7982 and add more *file-s.
7984 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7986 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7988 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7989 (diary-entry): Use it in the action of this button type instead of
7992 * calendar/todo-mode.el: New version.
7993 (todo-add-category): Append new category to end of file and give
7994 it the highest number, instead of putting it at the beginning and
7995 giving it 0. Incorporate noninteractive functionality.
7996 (todo-forward-category): Adapt to 1-based category numbering.
7997 Allow skipping over archived categories.
7998 (todo-backward-category): Derive from todo-forward-category.
7999 (todo-backward-item, todo-forward-item): Make noninteractive and
8000 delegate interactive part to new commands. Make sensitive to done items.
8001 (todo-categories): Make value an alist of category names and
8002 vectors of item counts.
8003 (todo-category-beg): Make a defconst.
8004 (todo-category-number): Use 1 instead of 0 as initial value.
8005 (todo-category-select): Make sensitive to overlays, optional item
8006 highlighting and done items.
8007 (todo-delete-item): Make sensitive to overlays and marked and done items.
8008 (todo-edit-item): Make sensitive to overlays and editing of
8009 date/time header optional. Add format checks.
8010 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8011 no-op if point is not on an item. Advertise using todo-edit-quit.
8012 (todo-edit-mode): Make sensitive to new format, font-locking, and
8013 multiple todo files.
8014 (todo-insert-item, todo-insert-item-here): Derive from
8015 todo-basic-insert-item and extend functionality.
8016 (todo-item-end, todo-item-start): Make sensitive to done items.
8017 (todo-item-string): Don't return text properties. Restore point.
8018 (todo-jump-to-category): Make sensitive to multiple todo files and
8019 todo archives. Use extended category completion.
8020 (todo-lower-item, todo-raise-item): Rename to *-priority and
8021 derive from todo-set-item-priority.
8022 (todo-mode): Derive from special-mode. Make sensitive to new
8023 format, font-locking and multiple todo files. Make read-only.
8024 (todo-mode-map): Don't suppress digit keys, so they can supply
8025 prefix arguments. Add many new key bindings.
8026 (todo-prefix): Insert as an overlay instead of file text.
8027 Change semantics from diary date expression to purely visual mark.
8028 (todo-print): Rename to todo-print-buffer. Make buffer display
8029 features printable. Remove option to restrict number of items
8030 printed. Add option to print to file.
8031 (todo-print-function): Rename to todo-print-buffer-function.
8032 (todo-quit): Extend to handle exiting new todo modes.
8033 (todo-remove-item): Make sensitive to overlays.
8034 (todo-save): Extend to buffers of filtered items.
8035 (todo-show): Make sensitive to done items, multiple todo files and
8036 new todo modes. Offer to convert legacy todo file before creating
8037 first new todo file.
8038 (todo-show-priorities): Rename to todo-top-priorities.
8039 Change semantics of value 0.
8040 (todo-top-priorities): Rename to todo-filter-top-priorities,
8041 derive from todo-filter-items and extend functionality.
8042 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8043 and extend functionality to other types of filtered items.
8044 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8045 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8046 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8047 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8048 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8049 (todo-edit-mode-hook, todo-entry-prefix-function)
8050 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8051 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8052 (todo-initials, todo-insert-threshold, todo-item-string-start)
8053 (todo-line-string, todo-menu, todo-mode-hook)
8054 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8055 (todo-print-priorities, todo-remove-separator)
8056 (todo-save-top-priorities-too, todo-string-count-lines)
8057 (todo-string-multiline-p, todo-time-string-format)
8058 (todo-tmp-buffer-name): Remove.
8059 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8060 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8061 (todo-edit-category-diary-inclusion)
8062 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8063 (todo-edit-file, todo-edit-item-date-day)
8064 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8065 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8066 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8067 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8068 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8069 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8070 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8071 (todo-filter-top-priorities-multifile, todo-find-archive)
8072 (todo-find-filtered-items-file, todo-go-to-source-item)
8073 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8074 (todo-jump-to-archive-category, todo-lower-category)
8075 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8076 (todo-move-category, todo-move-item, todo-next-button)
8077 (todo-next-item, todo-padded-string, todo-powerset)
8078 (todo-previous-button, todo-previous-item)
8079 (todo-print-buffer-to-file, todo-raise-category)
8080 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8081 (todo-set-category-number, todo-set-item-priority)
8082 (todo-set-top-priorities-in-category)
8083 (todo-set-top-priorities-in-file, todo-show-categories-table)
8084 (todo-sort-categories-alphabetically-or-numerically)
8085 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8086 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8087 (todo-toggle-item-header, todo-toggle-item-highlighting)
8088 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8089 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8090 (todo-unarchive-items, todo-unmark-category): New commands.
8091 (todo-absolute-file-name, todo-add-to-buffer-list)
8092 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8093 (todo-basic-insert-item, todo-category-completions)
8094 (todo-category-number, todo-category-string-matcher-1)
8095 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8096 (todo-check-format, todo-clear-matches)
8097 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8098 (todo-current-category, todo-date-string-matcher)
8099 (todo-define-insertion-command, todo-diary-expired-matcher)
8100 (todo-diary-goto-entry, todo-diary-item-p)
8101 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8102 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8103 (todo-done-item-section-p, todo-done-separator)
8104 (todo-done-string-matcher, todo-files, todo-filter-items)
8105 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8106 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8107 (todo-insert-category-line, todo-insert-item-from-calendar)
8108 (todo-insert-sort-button, todo-insert-with-overlays)
8109 (todo-insertion-command-name, todo-insertion-key-bindings)
8110 (todo-label-to-key, todo-longest-category-name-length)
8111 (todo-make-categories-list, todo-mode-external-set)
8112 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8113 (todo-modes-set-3, todo-multiple-filter-files)
8114 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8115 (todo-read-category, todo-read-date, todo-read-dayname)
8116 (todo-read-file-name, todo-read-time)
8117 (todo-reevaluate-category-completions-files-defcustom)
8118 (todo-reevaluate-default-file-defcustom)
8119 (todo-reevaluate-filelist-defcustoms)
8120 (todo-reevaluate-filter-files-defcustom)
8121 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8122 (todo-reset-done-separator, todo-reset-done-separator-string)
8123 (todo-reset-done-string, todo-reset-global-current-todo-file)
8124 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8125 (todo-reset-prefix, todo-set-categories)
8126 (todo-set-date-from-calendar, todo-set-show-current-file)
8127 (todo-set-top-priorities, todo-short-file-name)
8128 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8129 (todo-total-item-counts, todo-update-buffer-list)
8130 (todo-update-categories-display, todo-update-categories-sexp)
8131 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8133 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8135 (todo-categories, todo-display, todo-edit, todo-faces)
8136 (todo-filtered): New defgroups.
8137 (todo-archived-only, todo-button, todo-category-string, todo-date)
8138 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8139 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8140 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8141 (todo-add-item-if-new-category, todo-always-add-time-string)
8142 (todo-categories-align, todo-categories-archived-label)
8143 (todo-categories-category-label, todo-categories-diary-label)
8144 (todo-categories-done-label, todo-categories-number-separator)
8145 (todo-categories-todo-label, todo-categories-totals-label)
8146 (todo-category-completions-files, todo-completion-ignore-case)
8147 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8148 (todo-done-separator-string, todo-done-string)
8149 (todo-files-function, todo-filter-done-items, todo-filter-files)
8150 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8151 (todo-initial-category, todo-initial-file, todo-item-mark)
8152 (todo-legacy-date-time-regexp, todo-mode-line-function)
8153 (todo-nondiary-marker, todo-number-prefix)
8154 (todo-print-buffer-function, todo-show-current-file)
8155 (todo-show-done-only, todo-show-first, todo-show-with-done)
8156 (todo-skip-archived-categories, todo-top-priorities-overrides)
8157 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8158 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8160 (todo-category-done, todo-date-pattern, todo-date-string-start)
8161 (todo-diary-items-buffer, todo-done-string-start)
8162 (todo-filtered-items-buffer, todo-item-start)
8163 (todo-month-abbrev-array, todo-month-name-array)
8164 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8165 (todo-top-priorities-buffer): New defconsts.
8166 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8167 (todo-categories-with-marks, todo-category-string-face)
8168 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8169 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8170 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8171 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8172 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8173 (todo-font-lock-keywords, todo-global-current-todo-file)
8174 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8175 (todo-insertion-commands-args)
8176 (todo-insertion-commands-args-genlist)
8177 (todo-insertion-commands-names, todo-insertion-map)
8178 (todo-key-bindings-t, todo-key-bindings-t+a)
8179 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8180 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8181 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8182 (todo-visited): New variables.
8184 2013-06-21 Glenn Morris <rgm@gnu.org>
8186 * play/cookie1.el (cookie-apropos): Add optional display argument.
8187 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8188 (psychoanalyze-pinhead): Use cookie-doctor.
8190 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8192 * emacs-lisp/package.el (tar-get-file-descriptor)
8193 (tar--extract): Declare.
8195 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8197 Extend flymake's warning predicate to be a function (bug#14217).
8198 * progmodes/flymake.el (flymake-warning-predicate): New.
8199 (flymake-parse-line): Use it.
8200 (flymake-warning-re): Make obsolete alias to
8201 `flymake-warning-predicate'.
8203 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8205 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8206 (package-obsolete-list): Remove.
8207 (package-activate): Remove min-version argument. Add `force' argument.
8208 Adjust to new package-alist format.
8209 (package-mark-obsolete): Remove.
8210 (package-unpack): Force reload of the package's autoloads.
8211 (package-installed-p): Check builtins if the installed package is not
8213 (package-initialize): Don't reset package-obsolete-list.
8214 Don't specify which package version to activate.
8215 (package-process-define-package, describe-package-1)
8216 (package-menu--generate): Adjust to new package-alist format.
8218 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8220 * allout-widgets.el (allout-widgets-mode-off)
8221 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8222 (allout-widgets-post-command-business)
8223 (allout-widgets-after-copy-or-kill-function)
8224 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8225 (allout-decorate-item-and-context)
8226 (allout-graphics-modification-handler): Fix typos in docstrings.
8227 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8229 * cmuscheme.el (scheme-start-file): Doc fix.
8230 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8231 (scheme-input-filter): Use `string-match-p'.
8233 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8235 * dired-x.el: Use Dired consistently in docstrings.
8237 * dired.el: Use Dired consistently in docstrings.
8238 (dired-readin, dired-mode): Use `setq-local'.
8239 (dired-switches-alist): Make defvar-local.
8240 (dired-buffers-for-dir): Use `zerop'.
8241 (dired-safe-switches-p, dired-switches-escape-p)
8242 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8243 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8244 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8245 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8246 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8247 (dired-toggle-marks, dired-mark-files-containing-regexp)
8248 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8249 (dired-flag-auto-save-files, dired-flag-backup-files):
8251 (dired-mark-files-regexp, dired-build-subdir-alist):
8252 Use `string-match-p', `looking-at-p'.
8254 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8255 (direct-print-region-helper): Use `string-match-p'.
8257 2013-06-21 Leo Liu <sdl.web@gmail.com>
8259 * comint.el (comint-redirect-results-list-from-process):
8262 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8264 * net/eww.el (eww-update-header-line-format): Quote % characters.
8266 2013-06-21 Glenn Morris <rgm@gnu.org>
8268 * play/cookie1.el (cookie): New custom group.
8269 (cookie-file): New option.
8270 (cookie-check-file): New function.
8271 (cookie): Make it interactive. Make start and end messages optional.
8272 Interactively, display the result. Default to cookie-file.
8273 (cookie-insert): Default to cookie-file.
8274 (cookie-snarf): Make start and end messages optional.
8275 Default to cookie-file. Use with-temp-buffer.
8276 (cookie-read): Rename from read-cookie.
8277 Make start and end messages optional. Default to cookie-file.
8278 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8280 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8281 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8283 2013-06-21 Leo Liu <sdl.web@gmail.com>
8285 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8287 2013-06-21 Glenn Morris <rgm@gnu.org>
8289 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8291 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8292 Daniel Hackney <dan@haxney.org>
8294 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8295 Consolidate the single-file vs tarball code.
8296 (package-desc-suffix): New function.
8297 (package-desc-full-name): Don't bother inlining it.
8298 (package-load-descriptor): Return the new package-desc.
8299 (package-mark-obsolete): Remove unused arg `package'.
8300 (package-unpack): Make it work for single files as well.
8301 Make it update package-alist.
8302 (package--make-autoloads-and-stuff): Rename from
8303 package--make-autoloads-and-compile. Don't compile any more.
8304 (package--compile): New function.
8305 (package-generate-description-file): New function, extracted from
8306 package-unpack-single.
8307 (package-unpack-single): Remove.
8308 (package--with-work-buffer): Add indentation and debugging info.
8309 (package-download-single): Remove.
8310 (package-install-from-archive): Rename from package-download-tar, make
8311 it take a pkg-desc, and make it work for single files as well.
8312 (package-download-transaction): Simplify.
8313 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8314 external tar program.
8315 (package-install-from-buffer): Remove `pkg-desc' argument.
8316 Use package-tar-file-info for tar-mode buffers.
8317 (package-install-file): Simplify accordingly.
8318 (package-archive-base): Change to take a pkg-desc.
8319 * tar-mode.el (tar--check-descriptor): New function, extracted from
8321 (tar-get-descriptor): Use it.
8322 (tar-get-file-descriptor): New function.
8323 (tar--extract): New function, extracted from tar-extract.
8324 (tar--extract): Use it.
8325 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8326 case the summary uses non-ascii. Adjust to new calling convention of
8327 package-tar-file-info.
8329 2013-06-21 Leo Liu <sdl.web@gmail.com>
8331 * comint.el (comint-redirect-results-list-from-process):
8332 Fix random delay. (Bug#14681)
8334 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8336 * profiler.el (profiler-format-number): Use log, not log10.
8338 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8340 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8342 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8344 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8345 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8347 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8348 (AUTOGENEL): ... here.
8349 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8350 (cl--defsubst-expand): Use it.
8352 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8354 * subr.el (log10): Move here from C code, and declare as obsolete.
8355 All uses of (log10 X) replaced with (log X 10).
8357 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8359 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8360 Declare with `defvar-local'.
8361 (tabulated-list-use-header-line, tabulated-list-entries)
8362 (tabulated-list-padding, tabulated-list-printer)
8363 (tabulated-list-sort-key): Declare with `defvar-local'.
8364 (tabulated-list-init-header, tabulated-list-print-fake-header):
8367 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8369 * arc-mode.el (archive-mode): Add `archive-write-file' to
8370 `write-contents-functions' also for remote files. (Bug#14652)
8372 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8374 * cus-edit.el (custom-commands): Fix typos.
8375 (custom-display): Fix tooltip text.
8376 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8377 Fix typos in docstrings.
8378 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8379 (custom-unlispify-menu-entry, custom-magic-value-create)
8380 (custom-add-see-also, custom-group-value-create): Use ?\s.
8381 (custom-guess-type, customize-apropos, editable-field)
8382 (custom-face-value-create): Use `string-match-p'.
8383 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8385 * custom.el (custom-load-symbol): Use `string-match-p'.
8387 * ansi-color.el: Convert to lexical binding.
8388 (ansi-colors): Fix URL.
8389 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8390 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8391 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8393 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8395 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8397 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8399 2013-06-19 Tom Tromey <tromey@redhat.com>
8401 * net/eww.el (eww-top-url): Remove.
8402 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8403 (eww-render): Set new variables. Don't set eww-top-url.
8404 (eww-handle-link): Handle "prev", "home", and "contents".
8405 Downcase the rel text.
8406 (eww-top-url): Choose best top URL.
8408 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8410 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8411 relying in widget.el. Using widget.el leads to too many
8412 user interface inconsistencies.
8413 (eww-self-insert): Implement entering commands in text fields.
8414 (eww-process-text-input): New function to make text input field editing
8416 (eww-submit): Rewrite to use the new-style form methods.
8417 (eww-select-display): Display the correct selected item.
8418 (eww-change-select): Implement changing the select value.
8419 (eww-toggle-checkbox): Implement radio/checkboxes.
8420 (eww-update-field): Fix compilation error.
8421 (eww-tag-textarea): Implement <textarea>.
8423 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8424 we don't shadow mode-specific bindings.
8426 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8429 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8431 2013-06-19 Glenn Morris <rgm@gnu.org>
8433 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8435 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8437 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8440 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8442 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8444 * net/browse-url.el (browse-url-browser-function):
8445 `eww-browse-url' has the right calling signature, `eww' does not.
8447 2013-06-19 Glenn Morris <rgm@gnu.org>
8449 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8450 Only eval autoloaded macros.
8451 (byte-compile-autoload): Only give the macro warning for macros.
8453 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8454 (ps-underlined-faces): Declare.
8456 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8457 (speedbar-add-supported-extension): Declare.
8459 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8460 Don't include a date stamp in the header of the generated file;
8461 it leads to needless differences between output files.
8463 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8465 * net/secrets.el (secrets-struct-secret-content-type):
8466 Replace check of introspection data by a test call of "CreateItem".
8467 Some servers do not offer introspection.
8469 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8471 * electric.el (electric-pair-mode): Improve interaction with
8472 electric-layout-mode.
8473 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8474 (electric-pair-syntax): Use text-mode-syntax-table in comments
8476 (electric-pair--insert): New function.
8477 (electric-pair-post-self-insert-function): Use it and
8478 electric--after-char-pos.
8480 2013-06-19 Leo Liu <sdl.web@gmail.com>
8482 * progmodes/octave.el (octave-help): Fix regexp.
8484 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8486 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8487 (shr-table-horizontal-line): Allow nil as a value, and change the
8489 (shr-insert-table-ruler): Respect the nil value.
8491 2013-06-18 Tom Tromey <tromey@barimba>
8493 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8495 (eww-open-file): New defun.
8496 (eww-render): Initialize new variables.
8497 (eww-display-html): Handle "link" and "a".
8498 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8499 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8500 (eww-back-url): Rename from eww-previous-url.
8501 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8504 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8506 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8507 Distinguish ternary operator tokens from slash symbol and slash
8510 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8512 Convert symbol prettification into minor mode and global minor mode.
8514 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8515 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8516 (prettify-symbols--keywords): Rename from
8517 `prog-prettify-symbols-alist' and make a local defvar.
8518 (prettify-symbols--compose-symbol): Rename from
8519 `prog--prettify-font-lock-compose-symbol'.
8520 (prettify-symbols--make-keywords): Rename from
8521 `prog-prettify-font-lock-symbols-keywords' and simplify.
8522 (prog-prettify-install): Remove.
8523 (prettify-symbols-mode): New minor mode, based on
8524 `prog-prettify-install'.
8525 (turn-on-prettify-symbols-mode): New function.
8526 (global-prettify-symbols-mode): New globalized minor mode.
8528 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8529 * progmodes/cfengine.el (cfengine3-mode):
8530 * progmodes/perl-mode.el (perl-mode): Don't call
8531 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8533 2013-06-18 Juri Linkov <juri@jurta.org>
8535 * files-x.el (modify-file-local-variable-message): New function.
8536 (modify-file-local-variable)
8537 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8538 and call `modify-file-local-variable-message' when it's non-nil.
8539 (add-file-local-variable, delete-file-local-variable)
8540 (add-file-local-variable-prop-line)
8541 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8542 and use it. (Bug#9820)
8544 2013-06-18 Juri Linkov <juri@jurta.org>
8546 * emulation/vi.el (vi-shell-op):
8547 * emulation/vip.el (vip-execute-com, ex-command):
8548 * emulation/viper-cmd.el (viper-exec-bang):
8549 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8550 the call of `shell-command-on-region'. (Bug#14637)
8552 * simple.el (shell-command-on-region): Doc fix.
8554 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8556 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8559 2013-06-18 Glenn Morris <rgm@gnu.org>
8561 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8563 * newcomment.el (comment-search-forward, comment-search-backward):
8564 Doc fix. (Bug#14376)
8566 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8568 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8569 (buffer-face-mode-invoke): Doc fix.
8571 2013-06-18 Matthias Meulien <orontee@gmail.com>
8573 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8574 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8576 2013-06-18 Glenn Morris <rgm@gnu.org>
8578 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8579 Replace obsolete function generic-make-keywords with its expansion.
8581 * progmodes/python.el (ffap-alist): Declare.
8583 * textmodes/reftex.el (bibtex-mode-map): Declare.
8585 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8587 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8588 (package-unpack, package-unpack-single): Return the pkg-dir.
8589 (package-download-transaction): Use it to update package-alist.
8591 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8593 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8596 2013-06-17 Juri Linkov <juri@jurta.org>
8598 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8600 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8602 * emacs-lisp/package.el (package-load-descriptor):
8603 Remove `with-syntax-table' call, `read' doesn't need it.
8604 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8606 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8608 * startup.el (command-line): Expand package name returned by
8609 `package--description-file' (bug#14639).
8611 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8613 * emacs-lisp/package.el (package-load-descriptor): Do not call
8614 `emacs-lisp-mode', just use its syntax table.
8616 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8618 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8619 `font-lock-extra-managed-props' if any prettifying keyword is added.
8620 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8621 (prog-mode): Use `setq-local'.
8623 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8625 * international/characters.el (standard-case-table): Set syntax of ?»
8626 and ?« to punctuation.
8628 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8630 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8631 Save relevant match data before calling `syntax-ppss' (bug#14595).
8633 2013-06-15 Juri Linkov <juri@jurta.org>
8635 * files-x.el (modify-file-local-variable-prop-line): Add local
8636 variables to the end of the existing comment on the first line.
8637 Use `file-auto-mode-skip' to skip interpreter magic line,
8638 and also skip XML declaration.
8640 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8642 * startup.el (package--builtin-versions): New var.
8643 (package-subdirectory-regexp): Remove.
8644 (package--description-file): Hard code its value instead.
8646 * emacs-lisp/package.el: Don't activate packages older than builtin.
8647 (package-obsolete-list): Rename from package-obsolete-alist, and make
8648 it into a simple list of package-desc.
8649 (package-strip-version): Remove.
8650 (package-built-in-p): Use package--builtin-versions.
8651 (package-mark-obsolete): Simplify.
8652 (package-process-define-package): Mark it obsolete if older than the
8654 (package-handle-response): Use line-end-position.
8655 (package-read-archive-contents, package--download-one-archive):
8657 (package--add-to-archive-contents): Skip if older than the builtin or
8659 (package-menu-describe-package): Fix last change.
8660 (package-list-unversioned): New var.
8661 (package-menu--generate): Use it.
8663 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8664 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8665 (autoload-builtin-package-versions): New variable.
8666 (autoload-generate-file-autoloads): Use them.
8667 Remove the list of autoloaded functions/macros from the
8668 (autoload...) comments.
8670 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8672 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8674 * simple.el (line-move-partial): Don't jump to the next screen
8675 line as soon as it becomes visible. Instead, continue enlarging
8676 the vscroll until the portion of a tall screen line that's left on
8677 display is about the height of the frame's default font.
8680 2013-06-15 Glenn Morris <rgm@gnu.org>
8682 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8683 compilation-error-regexp-alist void, or local while let-bound.
8685 * progmodes/make-mode.el (makefile-mode-syntax-table):
8686 Treat "=" as punctuation. (Bug#14614)
8688 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8690 * help-fns.el (describe-variable):
8691 Add extra line for permanent-local variables.
8693 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8695 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8696 Add export, import, library. (Bug#9164)
8697 (library): Set indent function.
8699 2013-06-14 Glenn Morris <rgm@gnu.org>
8701 * term/xterm.el (xterm--query):
8702 Stop after first matching handler. (Bug#14615)
8704 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8706 Add support for dired in saveplace.
8707 * dired.el (dired-initial-position-hook): New variable.
8708 (dired-initial-position): Call hook to place cursor position.
8709 * saveplace.el (save-place-to-alist): Add dired position.
8710 (save-place-dired-hook): New function.
8712 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8714 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8715 through a symbol rather than letrec.
8717 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8718 (package-desc): Add `dir' field.
8719 (package-desc-full-name): New function.
8720 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8721 (package-maybe-load-descriptor): Remove.
8722 (package-load-all-descriptors): Just call package-load-descriptor.
8723 (package--disabled-p): New function.
8724 (package-desc-vers, package-desc-doc): Remove aliases.
8725 (package--dir): Remove function.
8726 (package-activate): Check if a package is disabled.
8727 (package-process-define-package): New function, extracted from
8729 (define-package): Turn into a place holder.
8730 (package-unpack-single, package-tar-file-info):
8731 Use package--description-file.
8732 (package-compute-transaction): Use package--disabled-p.
8733 (package-download-transaction): Don't call
8734 package-maybe-load-descriptor since they're all loaded anyway.
8735 (package-install): Change argument to be a pkg-desc.
8736 (package-delete): Use a single pkg-desc argument.
8737 (describe-package-1): Use package-desc-dir instead of package--dir.
8738 Use package-desc property instead of package-symbol.
8739 (package-install-button-action): Adjust accordingly.
8740 (package--push): Rewrite.
8741 (package-menu--print-info): Adjust accordingly. Change the ID format
8743 (package-menu-describe-package, package-menu-get-status)
8744 (package-menu--find-upgrades, package-menu-mark-upgrades)
8745 (package-menu-execute, package-menu--name-predicate):
8747 * startup.el (package--description-file): New function.
8748 (command-line): Use it.
8749 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8750 Use package-desc-version.
8752 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8753 (byte-compile-preprocess): Use it.
8754 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8755 can't quite recognize.
8756 (byte-compile-add-to-list): Remove.
8757 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8758 (cconv-closure-convert): Add assertion.
8760 * emacs-lisp/map-ynp.el: Use lexical-binding.
8761 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8762 Factor out some repeated code.
8764 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8766 * subr.el (with-eval-after-load): New macro.
8767 (eval-after-load): Allow form to be a function.
8768 take advantage of lexical-binding.
8769 (do-after-load-evaluation): Use dolist and adjust to new format.
8770 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8772 2013-06-13 Juri Linkov <juri@jurta.org>
8774 * replace.el (perform-replace): Display "symbol " and other search
8775 modes from `isearch-message-prefix' in the *Help* buffer.
8777 * isearch.el (isearch-query-replace): Add " symbol" and other
8778 possible search modes from `isearch-message-prefix' to the prompt.
8779 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8780 when reading a regexp to collect.
8782 2013-06-13 Juri Linkov <juri@jurta.org>
8784 * isearch.el (word-search-regexp): Match whitespace if the search
8785 string begins or ends in whitespace. The LAX arg is applied to
8786 both ends of the search string. Use `regexp-quote' and explicit
8787 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8788 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8789 boundaries are replaced with symbol boundaries, and characters
8790 between symbols match non-word non-symbol syntax. (Bug#14602)
8792 2013-06-13 Juri Linkov <juri@jurta.org>
8794 * isearch.el (isearch-del-char): Don't exceed the length of
8795 `isearch-string' by the prefix arg. (Bug#14563)
8797 2013-06-13 Juri Linkov <juri@jurta.org>
8799 * isearch.el (isearch-yank-word, isearch-yank-line)
8800 (isearch-char-by-name, isearch-quote-char)
8801 (isearch-printing-char, isearch-process-search-char):
8802 Add optional count prefix arg. (Bug#14563)
8804 * international/isearch-x.el
8805 (isearch-process-search-multibyte-characters):
8806 Add optional count prefix arg.
8808 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8810 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8811 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8814 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8816 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8818 2013-06-13 Glenn Morris <rgm@gnu.org>
8820 * startup.el (tty-handle-args):
8821 Don't just discard "--" and anything after. (Bug#14608)
8823 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8825 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8827 Implement changes in Secret Service API. Make it backward compatible.
8828 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8829 (secrets-create-item): Use it. Prefix properties with interface.
8831 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8833 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8834 (term-emulate-terminal): Respect term-suppress-hard-newline.
8836 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8838 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8839 Only remove a `thumb-file' overlay. (Bug#14548)
8841 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8843 * mail/reporter.el (reporter-submit-bug-report):
8844 Handle missing package-name. (Bug#14600)
8846 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8848 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8849 (reftex-citation-prompt, reftex-default-bibliography)
8850 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8851 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8852 (reftex-bib-sort-author, reftex-bib-sort-year)
8853 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8854 (reftex-extract-bib-entries-from-thebibliography)
8855 (reftex-get-bibkey-default, reftex-get-bib-names)
8856 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8857 (reftex-format-bib-entry, reftex-parse-bibitem)
8858 (reftex-format-bibitem, reftex-do-citation)
8859 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8860 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8861 (reftex-insert-bib-matches, reftex-format-citation)
8862 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8863 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8864 existing comments into docstrings.
8866 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8868 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8870 2013-06-12 Andreas Schwab <schwab@suse.de>
8872 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8873 for auto-save files.
8875 2013-06-12 Glenn Morris <rgm@gnu.org>
8877 * ido.el (ido-delete-ignored-files): Remove.
8878 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8879 Go back to calling ido-ignore-item-p directly.
8881 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8883 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8885 * ido.el (ido-delete-ignored-files): New function,
8886 split from ido-make-file-list-1.
8887 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8888 (ido-make-file-list-1): Use ido-delete-ignored-files.
8890 2013-06-12 Leo Liu <sdl.web@gmail.com>
8892 * progmodes/octave.el (inferior-octave-startup)
8893 (inferior-octave-completion-table)
8894 (inferior-octave-track-window-width-change)
8895 (octave-eldoc-function-signatures, octave-help)
8896 (octave-find-definition): Use single quoted strings.
8897 (inferior-octave-startup-args): Change default value.
8898 (inferior-octave-startup): Do not hard code "-i" and
8899 "--no-line-editing".
8900 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8901 (inferior-octave-directory-tracker): Use it.
8902 (octave-goto-function-definition): Robustify.
8903 (octave-help): Support highlighting operators in 'See also'.
8904 (octave-find-definition): Find subfunctions only in Octave mode.
8906 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8908 * help-fns.el (help-fns--compiler-macro): If the handler function is
8909 named, then put a link to it.
8910 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8911 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8913 (cl-eval-when): Simplify debug spec.
8914 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8915 compiler-macro function instead of setting `compiler-macro-file'.
8917 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8919 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8920 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8922 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8923 Daniel Hackney <dan@haxney.org>
8925 First part of Daniel Hackney's patch to package.el.
8926 * emacs-lisp/package.el: Use defstruct.
8927 (package-desc): New, main struct.
8928 (package--bi-desc, package--ac-desc): New structs, used to describe the
8929 format in external files.
8930 (package-desc-vers): Replace with package-desc-version accessor.
8931 (package-desc-doc): Replace with package-desc-summary accessor.
8932 (package-activate-1): Remove `package' arg since the pkg-vec now
8934 (define-package): Use package-desc-from-define.
8935 (package-unpack-single): Change file-name arg to be a symbol.
8936 (package--add-to-archive-contents): Use package-desc-create and new
8937 accessor functions to package--ac-desc.
8938 (package-buffer-info, package-tar-file-info): Return a package-desc.
8939 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8940 arg to be a package-desc.
8941 (package-install-file): Adjust accordingly. Use \' to match EOS.
8942 (package--from-builtin): New function.
8943 (describe-package-1, package-menu--generate): Use it.
8944 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8945 (package-generate-autoloads): Idem and return the name of the file.
8946 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8947 Change pkg-info arg to be a package-desc.
8948 Use package-make-ac-desc.
8949 (package-upload-file): Use \' to match EOS.
8950 * finder.el (finder-compile-keywords): Use package-make-builtin.
8952 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8954 * vc/vc.el (vc-deduce-fileset): Change error message.
8955 (vc-read-backend): New function.
8956 (vc-next-action): Use it.
8958 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8960 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8961 (prolog-font-lock-keywords): Use regexp-opt instead.
8962 Don't manually highlight strings.
8963 (prolog-mode-variables): Simplify comment-start-skip.
8964 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8966 * emacs-lisp/generic.el (generic--normalise-comments)
8967 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8968 (generic-mode-set-comments): Use them.
8969 (generic-bracket-support): Use setq-local.
8970 (generic-make-keywords-list): Declare obsolete.
8972 2013-06-11 Glenn Morris <rgm@gnu.org>
8974 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8975 Prettify after setting font-lock-defaults. (Bug#14574)
8977 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8979 * replace.el (query-replace, occur-read-regexp-defaults-function)
8981 * subr.el (declare-function, number-sequence, local-set-key)
8982 (substitute-key-definition, locate-user-emacs-file)
8983 (with-silent-modifications, split-string, eval-after-load):
8984 Fix typos, remove unneeded backslashes and reflow some docstrings.
8986 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8988 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8989 default for Elisp files.
8991 2013-06-11 Glenn Morris <rgm@gnu.org>
8993 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8994 although define-derived-mode was doing this anyway. (Bug#14583)
8996 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8998 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8999 Fix make-variable-buffer-local call to refer to the correct variable.
9001 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9003 * eshell/em-term.el (eshell-visual-commands)
9004 (eshell-visual-subcommands, eshell-visual-options):
9005 Add summary line to docstrings. Add cross-references.
9007 2013-06-10 Glenn Morris <rgm@gnu.org>
9009 * epa.el (epa-read-file-name): New function. (Bug#14510)
9010 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9012 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9014 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9015 output redirection to be ignored with visual commands.
9017 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9019 * eshell/em-term.el (eshell-visual-command-p): New function.
9020 (eshell-term-initialize): Move long lambda to separate function
9021 eshell-visual-command-p.
9022 * eshell/em-dirs.el (eshell-dirs-initialise):
9023 * eshell/em-script.el (eshell-script-initialize):
9024 Add missing #' to lambda.
9026 2013-06-08 Leo Liu <sdl.web@gmail.com>
9028 * progmodes/octave.el (octave-add-log-current-defun): New function.
9029 (octave-mode): Set add-log-current-defun-function.
9030 (octave-goto-function-definition): Do not move point if not found.
9031 (octave-find-definition): Enhance to try subfunctions first.
9033 2013-06-08 Glenn Morris <rgm@gnu.org>
9035 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9036 (byte-compile-backward-char, byte-compile-backward-word):
9037 Improve previous change, to handle non-explicit nil.
9039 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9041 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9042 (smie--opener/closer-at-point): New function.
9043 (smie--matching-block-data): Use it. Don't match from right after an
9044 opener or right before a closer. Obey smie-blink-matching-inners.
9045 Don't signal a mismatch for repeated inners like "switch..case..case".
9047 2013-06-07 Leo Liu <sdl.web@gmail.com>
9049 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9051 (octave-function-header-regexp): Fix. (Bug#14570)
9052 (octave-help-mode-finish-hook, octave-help-mode-finish):
9053 Remove. Just use temp-buffer-show-hook.
9055 * newcomment.el (comment-search-backward): Revert last change.
9058 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9060 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9062 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9063 through xargs, to avoid failure due to MS-Windows limitations on
9064 command-line length.
9066 2013-06-06 Glenn Morris <rgm@gnu.org>
9068 * font-lock.el (lisp-font-lock-keywords-2):
9069 Treat user-error like error.
9071 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9072 (byte-compile-backward-char, byte-compile-backward-word):
9073 Handle explicit nil arguments. (Bug#14565)
9075 2013-06-05 Alan Mackenzie <acm@muc.de>
9077 * isearch.el (isearch-allow-prefix): New user option.
9078 (isearch-other-meta-char): Don't exit isearch when a prefix
9079 argument is typed whilst `isearch-allow-prefix' is non-nil.
9082 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9084 * autorevert.el (auto-revert-notify-handler): Use memq.
9085 Hide assertion failure.
9087 * skeleton.el: Use cl-lib.
9088 (skeleton-further-elements): Use defvar-local.
9089 (skeleton-insert): Use cl-progv.
9091 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9093 * progmodes/prog-mode.el (prog-prettify-symbols)
9094 (prog-prettify-install): Update docstrings.
9096 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9098 * simple.el: Move all the prog-mode code to prog-mode.el.
9099 * progmodes/prog-mode.el: New file.
9100 * loadup.el: Add prog-mode.el.
9102 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9104 * simple.el (prog-prettify-symbols): Add version.
9105 (prog-prettify-install): Add convenience function to prettify symbols.
9107 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9108 (perl--augmented-font-lock-keywords-1)
9109 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9110 variables and use it.
9112 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9113 (cfengine3-mode): Remove unneeded variable and use it.
9115 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9116 (lisp--augmented-font-lock-keywords-1)
9117 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9118 Remove unneeded variables and use it.
9120 2013-06-05 João Távora <joaotavora@gmail.com>
9122 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9123 to point when opening the connection. (Bug#14380)
9125 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9127 * subr.el (load-history-regexp, load-history-filename-element)
9128 (eval-after-load, after-load-functions, do-after-load-evaluation)
9129 (eval-next-after-load, display-delayed-warnings)
9130 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9131 definition of save-match-data.
9132 (overriding-local-map): Remove accidental obsolescence declaration.
9134 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9136 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9138 Generalize symbol prettify support to prog-mode and implement it
9139 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9140 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9141 (prog--prettify-font-lock-compose-symbol)
9142 (prog-prettify-font-lock-symbols-keywords): New variables and
9143 functions to support symbol prettification.
9144 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9145 (lisp--augmented-font-lock-keywords-1)
9146 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9147 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9148 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9149 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9150 Implement prettify of -> => :: strings.
9151 * progmodes/perl-mode.el (perl-prettify-symbols)
9152 (perl--font-lock-compose-symbol)
9153 (perl--font-lock-symbols-keywords): Move to prog-mode.
9154 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9155 (perl-font-lock-keywords-1)
9156 (perl-font-lock-keywords-2): Remove explicit prettify support.
9157 (perl--augmented-font-lock-keywords)
9158 (perl--augmented-font-lock-keywords-1)
9159 (perl--augmented-font-lock-keywords-2, perl-mode):
9160 Implement prettify support.
9162 2013-06-05 Leo Liu <sdl.web@gmail.com>
9164 Re-implement smie matching block highlight using
9165 show-paren-data-function. (Bug#14395)
9166 * emacs-lisp/smie.el (smie-matching-block-highlight)
9167 (smie--highlight-matching-block-overlay)
9168 (smie--highlight-matching-block-lastpos)
9169 (smie-highlight-matching-block)
9170 (smie-highlight-matching-block-mode): Remove.
9171 (smie--matching-block-data-cache): New variable.
9172 (smie--matching-block-data): New function.
9173 (smie-setup): Use smie--matching-block-data for
9174 show-paren-data-function.
9176 * progmodes/octave.el (octave-mode-menu): Fix.
9177 (octave-find-definition): Skip garbage lines.
9179 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9181 Fix compilation error with simultaneous dynamic+lexical scoping.
9182 Add warning when a defvar appears after the first let-binding.
9183 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9184 (byte-compile-close-variables): Initialize it.
9185 (byte-compile--declare-var): New function.
9186 (byte-compile-file-form-defvar)
9187 (byte-compile-file-form-define-abbrev-table)
9188 (byte-compile-file-form-custom-declare-variable): Use it.
9189 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9190 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9191 (byte-compile-bind): Handle dynamic bindings that shadow
9193 (byte-compile-unbind): Make arg non-optional.
9194 (byte-compile-let): Simplify.
9195 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9196 (cconv--analyse-function, cconv-analyse-form): Populate it.
9197 Protect byte-compile-bound-variables to limit the scope of defvars.
9198 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9199 Remove unneeded rule for `declare'.
9201 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9202 so as to avoid depending on cl-adjoin at run-time.
9203 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9205 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9206 (macroexp--warn-and-return): Use it.
9208 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9210 * subr.el: Convert to lexical binding.
9211 (overriding-local-map): Make obsolete.
9212 (add-to-list): Doc fix. Add compiler macro.
9213 (read-key): Swap values of local maps.
9215 2013-06-05 Leo Liu <sdl.web@gmail.com>
9217 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9219 2013-06-04 Leo Liu <sdl.web@gmail.com>
9221 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9222 (compilation-auto-jump): Suppress the "Mark set" message to give
9223 way to exit message.
9225 2013-06-04 Alan Mackenzie <acm@muc.de>
9227 Remove faulty optimisation from indentation calculation.
9228 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9229 search limit based on 2000 characters back from indent-point.
9231 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9233 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9235 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9237 * emacs-lisp/lisp.el: Use lexical-binding.
9238 (lisp--local-variables-1, lisp--local-variables): New functions.
9239 (lisp--local-variables-completion-table): New var.
9240 (lisp-completion-at-point): Use it complete let-bound vars.
9242 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9243 eagerly (bug#14422).
9245 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9247 * autorevert.el (auto-revert-notify-enabled)
9248 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9249 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9250 (auto-revert-notify-handler): Handle also gfilenotify.
9252 * subr.el (file-notify-handle-event): New defun. Replacing ...
9253 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9256 2013-06-03 Juri Linkov <juri@jurta.org>
9258 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9259 `M-s h .'. (Bug#14427)
9261 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9262 command `hi-lock-face-symbol-at-point'.
9263 (hi-lock-face-symbol-at-point): New command.
9264 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9265 (hi-lock-menu): Add `highlight-symbol-at-point'.
9266 (hi-lock-mode): Doc fix.
9268 * isearch.el (isearch-forward-symbol-at-point): New command.
9269 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9270 (isearch-highlight-regexp): Add a regexp which matches
9271 words/symbols for word/symbol mode.
9273 * subr.el (find-tag-default-bounds): New function with the body
9274 mostly moved from `find-tag-default'.
9275 (find-tag-default): Move most code to `find-tag-default-bounds',
9276 call it and apply `buffer-substring-no-properties' afterwards.
9278 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9280 * eshell/em-term.el (eshell-term-initialize):
9281 Use `cl-intersection' rather than `intersection'.
9283 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9285 * vc/log-view.el: Doc fix.
9286 (log-view-mode-map): Copy keymap from `special-mode-map'.
9288 2013-06-02 Eric Ludlam <zappo@gnu.org>
9290 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9291 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9292 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9293 (eieio-unbound, eieio-default-superclass)
9294 (eieio--define-field-accessors, method-static, method-before)
9295 (method-primary, method-after, method-num-lists)
9296 (method-generic-before, method-generic-primary)
9297 (method-generic-after, method-num-slots)
9298 (eieio-specialized-key-to-generic-key)
9299 (eieio--check-type, class-v, class-p)
9300 (eieio-class-name, define-obsolete-function-alias)
9301 (eieio-class-parents-fast, eieio-class-children-fast)
9302 (same-class-fast-p, class-constructor, generic-p)
9303 (generic-primary-only-p, generic-primary-only-one-p)
9304 (class-option-assoc, class-option, eieio-object-p)
9305 (class-abstract-p, class-method-invocation-order)
9306 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9307 (eieio-class-un-autoload, eieio-defclass)
9308 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9309 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9310 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9311 (eieio-defgeneric-reset-generic-form)
9312 (eieio-defgeneric-form-primary-only)
9313 (eieio-defgeneric-reset-generic-form-primary-only)
9314 (eieio-defgeneric-form-primary-only-one)
9315 (eieio-defgeneric-reset-generic-form-primary-only-one)
9316 (eieio-unbind-method-implementations)
9317 (eieio--defmethod, eieio--typep)
9318 (eieio-perform-slot-validation, eieio-validate-slot-value)
9319 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9320 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9321 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9322 (eieio-slot-name-index, eieio-class-slot-name-index)
9323 (eieio-set-defaults, eieio-initarg-to-attribute)
9324 (eieio-attribute-to-initarg, eieio-c3-candidate)
9325 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9326 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9327 (eieio-class-precedence-list, eieio-generic-call-methodname)
9328 (eieio-generic-call-arglst, eieio-generic-call-key)
9329 (eieio-generic-call-next-method-list)
9330 (eieio-pre-method-execution-functions, eieio-generic-call)
9331 (eieio-generic-call-primary-only, eieiomt-method-list)
9332 (eieiomt-optimizing-obarray, eieiomt-install)
9333 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9334 (eieio-generic-form, eieio-defmethod, make-obsolete)
9335 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9336 (defclass): Remove `eval-and-compile' from macro.
9337 (call-next-method, shared-initialize): Instead of using
9338 `scoped-class' variable, use new eieio--scoped-class, and
9339 eieio--with-scoped-class.
9340 (initialize-instance): Rename local variable 'scoped-class' to
9341 'this-class' to remove ambiguitity from old global.
9343 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9345 (eieio--scoped-class-stack): New variable.
9346 (eieio--scoped-class): New fcn.
9347 (eieio--with-scoped-class): New scoping macro.
9348 (eieio-defclass): Use pushnew instead of add-to-list.
9349 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9350 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9351 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9352 `scoped-class' variable, use new eieio--scoped-class, and
9353 eieio--with-scoped-class.
9355 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9357 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9359 * eshell/esh-ext.el (eshell-external-command): Pass args to
9360 `eshell-find-interpreter'.
9361 (eshell-find-interpreter): Add new second parameter ARGS.
9363 * eshell/em-script.el (eshell-script-initialize): Add second arg
9364 to the function added as MATCH to `eshell-interpreter-alist'.
9366 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9367 the function added as MATCH to `eshell-interpreter-alist'.
9369 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9370 (eshell-visual-options): New defcustom.
9371 (eshell-escape-control-x): Adapt docstring.
9372 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9373 `eshell-visual-options' in addition to `eshell-visual-commands'.
9374 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9376 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9378 * progmodes/python.el (python-indent-block-enders): Add break,
9379 continue and raise keywords.
9381 2013-06-01 Glenn Morris <rgm@gnu.org>
9383 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9385 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9386 * progmodes/cc-cmds.el (delete-forward-p):
9387 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9388 * progmodes/cc-engine.el (buffer-syntactic-context):
9389 * progmodes/cc-fonts.el (face-property-instance):
9390 * progmodes/cc-mode.el (set-keymap-parents):
9391 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9392 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9393 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9394 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9395 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9397 * progmodes/cc-vars.el (other): Emacs has this widget since
9398 at least 21.1, so don't (re)define it.
9400 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9401 Replace the obsolete alias pcomplete-arg-quote-list.
9403 2013-06-01 Leo Liu <sdl.web@gmail.com>
9405 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9407 (inferior-octave-minimal-columns)
9408 (inferior-octave-last-column-width): New variables.
9409 (inferior-octave-track-window-width-change): New function.
9410 (inferior-octave-mode): Adjust column width so that Octave output,
9411 for example from 'ls', can fit into the window nicely.
9413 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9415 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9416 Highlight expansions inside regexp literals.
9418 2013-05-31 Glenn Morris <rgm@gnu.org>
9420 * obsolete/sym-comp.el (symbol-complete):
9421 Replace obsolete completion-annotate-function.
9423 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9425 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9427 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9428 New function, checks if point is inside a literal that allows
9429 expression expansion.
9430 (ruby-syntax-propertize-expansion): Use it.
9431 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9434 2013-05-30 Juri Linkov <juri@jurta.org>
9436 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9438 (isearch-invisible): New variable.
9439 (isearch-forward): Doc fix.
9440 (isearch-mode): Set `isearch-invisible'
9441 to the value of `search-invisible'.
9442 (isearch-toggle-case-fold): Doc fix.
9443 (isearch-toggle-invisible): New command.
9444 (isearch-query-replace): Let-bind `search-invisible'
9445 to the value of `isearch-invisible'.
9446 (isearch-search): Use `isearch-invisible' instead of
9447 `search-invisible'. Let-bind `search-invisible'
9448 to the value of `isearch-invisible'. (Bug#11378)
9450 2013-05-30 Juri Linkov <juri@jurta.org>
9452 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9453 call when `query-flag' is nil and `search-invisible' is non-nil.
9456 2013-05-30 Glenn Morris <rgm@gnu.org>
9458 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9460 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9461 (cc-require): Suppress spurious "noruntime" warnings.
9462 (cc-require-when-compile): Use fboundp, for sake of compiler.
9464 * progmodes/cc-mode.el: Move load of cc-vars before that of
9465 cc-langs (which in turn loads cc-vars), to quieten compiler.
9467 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9469 * paren.el: Simplify the code.
9470 (show-paren-mode): Always start the timer.
9471 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9472 (show-paren--overlay, show-paren--overlay-1): Rename from
9473 show-paren-overlay and show-paren-overlay-1, and initialize to an
9474 overlay rather than to nil.
9475 (show-paren-function): Misc cleanup and simplifications.
9477 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9479 * paren.el (show-paren-data-function): New hook.
9480 (show-paren--default): New function, extracted from show-paren-function.
9481 (show-paren-function): Use show-paren-data-function.
9483 2013-05-30 Glenn Morris <rgm@gnu.org>
9485 * ielm.el (ielm-map, ielm-complete-symbol):
9486 Use completion-at-point rather than obsolete functions.
9487 (inferior-emacs-lisp-mode): Doc fix.
9488 Set completion-at-point-functions, rather than
9489 comint-dynamic-complete-functions.
9491 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9492 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9493 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9495 * image.el (image-animated-p): Tweak definition.
9497 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9498 (rlogin-process-connection-type): Tweak default. Add set-after.
9499 (rlogin-host): Doc fix.
9500 (rlogin): Tweak prompt.
9501 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9503 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9504 * progmodes/tcl.el (inferior-tcl-mode-map):
9505 Use completion-at-point rather than obsolete alias.
9507 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9509 * minibuffer.el (read-file-name-completion-ignore-case):
9510 Move before completion--in-region, for eager macro expansion.
9512 2013-05-29 Juri Linkov <juri@jurta.org>
9514 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9515 for total count of matching lines. Add `global-matches' for total
9516 count of matches. Rename `matches' to `lines' for count of
9517 matching lines. Add `matches' for count of matches.
9518 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9519 to `prev-line' for line number of prev match endpt.
9520 Increment `matches' for every match. Print the number of
9521 matching lines in the header.
9522 (occur-context-lines): Rename `lines' to `curr-line'.
9523 Rename `prev-lines' to `prev-line'. (Bug#14017)
9525 2013-05-29 Juri Linkov <juri@jurta.org>
9527 * replace.el (perform-replace): Add `skip-read-only-count',
9528 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9529 Increment them for corresponding conditions and report the number
9530 of skipped occurrences in the final message. (Bug#11746)
9531 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9532 (replace-string, replace-regexp): Doc fix.
9534 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9536 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9538 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9539 prog-mode-map (bug#14504).
9541 2013-05-29 Leo Liu <sdl.web@gmail.com>
9543 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9544 (octave-help): Small simplification.
9546 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9547 off the highlight first.
9549 2013-05-29 Glenn Morris <rgm@gnu.org>
9551 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9552 Handle idlwave-last-system-routine-info-cons-cell being nil.
9554 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9555 (idlwave-write-paths): Simplify via with-temp-buffer.
9557 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9558 * emulation/cua-rect.el: Also load cua-base at run time.
9560 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9561 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9562 (cperl-imenu-on-info): Require imenu.
9564 2013-05-28 Alan Mackenzie <acm@muc.de>
9566 Handle "capitalised keywords" correctly.
9567 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9569 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9571 * eshell/em-unix.el: Add -r option to cp.
9573 2013-05-28 Glenn Morris <rgm@gnu.org>
9575 * vc/vc-arch.el (vc-exec-after): Declare.
9576 (vc-switches): Autoload.
9577 * vc/vc-bzr.el: No need to require vc when compiling.
9578 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9579 (vc-resynch-buffer, vc-dir-refresh): Declare.
9580 (vc-setup-buffer, vc-switches): Autoload.
9581 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9582 (vc-resynch-buffer): Declare.
9583 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9584 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9585 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9586 (grep-read-regexp, grep-read-files, grep-expand-template)
9587 (vc-dir-refresh): Declare.
9588 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9589 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9590 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9591 * vc/vc-mtn.el (vc-exec-after): Declare.
9592 (vc-switches): Autoload.
9593 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9594 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9595 (vc-file-tree-walk): Declare.
9596 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9597 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9598 (vc-tag-precondition, vc-rename-master): Autoload.
9599 * vc/vc-svn.el (vc-exec-after): Declare.
9600 (vc-switches, vc-setup-buffer): Autoload.
9601 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9603 (vc-resynch-buffer): Declare.
9605 * obsolete/fast-lock.el (byte-compile-warnings):
9606 Don't warn about obsolete features in this obsolete file.
9608 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9609 Move definition before use.
9611 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9612 (dun-unix-verbs): Remove dun-zippy.
9613 (dun-zippy): Remove function.
9615 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9617 2013-05-27 Juri Linkov <juri@jurta.org>
9619 * replace.el (replace-search): New function with code moved out
9620 from `perform-replace'.
9621 (replace-highlight, replace-dehighlight): Move function definitions
9622 up closer to `replace-search'. (Bug#11746)
9624 2013-05-27 Juri Linkov <juri@jurta.org>
9626 * replace.el (perform-replace): Ignore invisible matches.
9627 In addition to checking `query-replace-skip-read-only', also
9628 filter out matches by calling `run-hook-with-args-until-failure'
9629 on `isearch-filter-predicates', and also check `search-invisible'
9630 for t or call `isearch-range-invisible'.
9631 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9633 2013-05-27 Juri Linkov <juri@jurta.org>
9635 * isearch.el (isearch-filter-predicates): Rename from
9636 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9637 (isearch-message-prefix): Display text from the property
9638 `isearch-message-prefix' of the currently active filters.
9639 (isearch-search): Don't compare `isearch-filter-predicate' with
9640 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9641 on `isearch-filter-predicates'. Also check `search-invisible' for t
9642 or call `isearch-range-invisible'.
9643 (isearch-filter-visible): Make obsolete.
9644 (isearch-lazy-highlight-search):
9645 Call `run-hook-with-args-until-failure' on
9646 `isearch-filter-predicates' and use `isearch-range-invisible'.
9648 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9649 `isearch-filter-predicates' instead of `funcall'ing
9650 `isearch-filter-predicate'.
9651 (Info-mode): Set `Info-isearch-filter' to
9652 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9654 * dired-aux.el (dired-isearch-filter-predicate-orig):
9656 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9657 (dired-isearch-filenames-end): Add and remove
9658 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9659 instead of changing the value of `isearch-filter-predicate'.
9660 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9661 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9662 Put property `isearch-message-prefix' to "filename " on
9663 `dired-isearch-filter-filenames'.
9665 * wdired.el (wdired-change-to-wdired-mode):
9666 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9667 locally instead of changing `isearch-filter-predicate'.
9668 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9670 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9672 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9673 return the commit hash (Bug#14459). Also set the
9674 `vc-git-detached' property.
9675 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9676 (vc-git-mode-line-string): Use the same help-echo format whether
9677 in detached mode or not, because we know the actual revision now.
9678 When in detached mode, shorten the revision to 7 chars.
9680 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9682 * emacs-lisp/easy-mmode.el (define-minor-mode):
9683 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9684 mode hook and provide a docstring.
9686 2013-05-27 Alan Mackenzie <acm@muc.de>
9688 Remove spurious syntax-table text properties inserted by C-y.
9689 * progmodes/cc-mode.el (c-after-change): Also clear hard
9690 syntax-table property with value nil.
9692 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9694 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9695 when reading the events; the buffer layout shall not be changed.
9697 2013-05-27 Leo Liu <sdl.web@gmail.com>
9699 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9701 (inferior-octave-directory-tracker): Automatically re-sync
9703 (octave-help): Improve handling of 'See also'.
9705 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9707 * doc-view.el: Minor naming convention tweaks.
9708 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9710 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9711 even if there's no `display' property yet (bug#14435).
9713 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9715 * subr.el (unmsys--file-name): Rename from reveal-filename.
9717 * Makefile.in (custom-deps, finder-data, autoloads)
9718 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9719 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9720 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9722 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9724 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9725 error-completion on the first 2 args of condition-case (bug#14446).
9728 2013-05-25 Leo Liu <sdl.web@gmail.com>
9730 * comint.el (comint-previous-matching-input): Do not flood the
9731 *Messages* buffer with trivial messages.
9733 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9735 * progmodes/flymake.el (flymake-nop): Don't return a string.
9736 (flymake-set-at): Fix typo.
9738 * simple.el (read--expression): New function, extracted from
9739 eval-expression. Set completion-at-point-functions (bug#14465).
9740 (eval-expression, eval-minibuffer): Use it.
9742 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9744 * progmodes/flymake.el (flymake-save-buffer-in-file)
9745 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9746 (flymake-selected-frame, flymake-log, flymake-ins-after)
9747 (flymake-set-at, flymake-get-buildfile-from-cache)
9748 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9749 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9750 Refine the doc string.
9751 (flymake-get-file-name-mode-and-masks): Reformat.
9752 (flymake-get-real-file-name-function): Fix a minor bug.
9754 2013-05-24 Juri Linkov <juri@jurta.org>
9756 * progmodes/grep.el (grep-mode-font-lock-keywords):
9757 Support =linenumber= format used by git-grep for lines with
9758 function names. (Bug#13549)
9760 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9762 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9763 0 after a semi-colon; it works better for smie-auto-fill.
9764 (octave--indent-new-comment-line): New function.
9765 (octave-indent-new-comment-line): Use it (indirectly).
9766 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9767 modify comment-line-break-function.
9769 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9770 (smie-setup): Use add-function to set it.
9772 2013-05-24 Sam Steingold <sds@gnu.org>
9774 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9775 argument (before the `interactive' argument).
9777 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9779 * image-mode.el (image-mode-winprops): Add winprops to
9780 image-mode-winprops-alist before running
9781 image-mode-new-window-functions.
9782 * doc-view.el (doc-view-new-window-function): Don't delay
9783 doc-view-goto-page via timers (bug#14435).
9785 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9787 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9788 (doc-view-desktop-save-buffer): New function.
9789 (doc-view-restore-desktop-buffer): New function.
9790 (desktop-buffer-mode-handlers):
9791 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9793 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9794 `desktop-save-buffer' function.
9796 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9798 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9799 (tramp-gvfs-file-name-handler): Raise a user error when
9800 `tramp-gvfs-enabled' is nil.
9801 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9802 Do not raise a user error when loading package. (Bug#14447)
9804 * net/xesam.el: Move to obsolete/.
9806 2013-05-24 Glenn Morris <rgm@gnu.org>
9808 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9810 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9812 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9813 (Info-find-node, Man-getpage-in-background): Declare.
9815 * mail/unrmail.el (unrmail):
9816 Replace obsolete detect-coding-with-priority.
9818 * net/socks.el (socks-split-string): Use this rather than split-string.
9819 (socks-nslookup-host): Update for above change.
9820 (dynamic-choice, s5-dynamic-choice-match)
9821 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9822 Comment out unused code.
9824 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9825 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9826 (gud-tooltip-echo-area): Make obsolete.
9827 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9829 * progmodes/js.el (js--optimize-arglist): Declare.
9831 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9833 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9834 (ediff-window-C): Declare.
9836 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9837 Tweak requires to silence compiler.
9839 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9840 (he-search-string, he-tried-table, he-expand-list)
9841 (he-init-string, he-string-member, he-substitute-string)
9842 (he-reset-string): Declare.
9844 * obsolete/options.el (list-options): Use custom-variable-p,
9845 rather than obsolete alias.
9847 2013-05-23 Sam Steingold <sds@gnu.org>
9849 * simple.el (shell-command-on-region): Pass the `replace' argument
9850 down to `call-process-region' to comply with the doc as reported on
9851 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9853 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9855 * emacs-lisp/smie.el (smie-indent-forward-token)
9856 (smie-indent-backward-token): Handle string tokens (bug#14381).
9858 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9860 * ielm.el (ielm-menu): New menu.
9861 (inferior-emacs-lisp-mode): Set comment-start.
9863 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9865 * textmodes/reftex.el (reftex-ref-style-toggle):
9866 Fix deactivate action.
9868 * textmodes/reftex-vars.el (reftex-ref-style-alist):
9869 Add cleveref macros.
9871 * textmodes/reftex-parse.el
9872 (reftex-locate-bibliography-files): Accept options for
9873 bibliography commands.
9874 * textmodes/reftex-vars.el (reftex-bibliography-commands):
9875 Add addbibresource. Basic Biblatex support.
9877 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9879 * net/tramp-gvfs.el (top):
9880 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9881 when loading package. (Bug#14447)
9883 2013-05-23 Glenn Morris <rgm@gnu.org>
9885 * progmodes/js.el: No need to load comint when compiling.
9886 (ring-insert, comint-send-string, comint-send-input)
9887 (comint-last-input-end, ido-chop): Declare.
9889 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9890 * vc/ediff-mult.el: Adjust requires.
9891 (ediff-directories-internal, ediff-directory-revisions-internal)
9892 (ediff-patch-file-internal): Declare.
9893 * vc/ediff-ptch.el: Adjust requires.
9894 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9895 (ediff-find-file): Autoload.
9896 * vc/ediff-util.el: No need to load ediff when compiling.
9897 (ediff-regions-internal): Declare.
9898 * vc/ediff-wind.el: Adjust requires.
9899 (ediff-compute-toolbar-width): Define when compiling.
9900 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9901 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9902 (dired-get-filename, dired-get-marked-files)
9903 (ediff-last-dir-patch, ediff-patch-default-directory)
9904 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9905 (ediff-patch-buffer-internal): Declare.
9907 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9908 (ispell-process, ispell-buffer-local-words, lm-summary)
9909 (lm-section-start, lm-section-end): Declare.
9910 (checkdoc-ispell-init): Simplify.
9912 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9913 (he-string-member, he-reset-string, he-substitute-string): Declare.
9915 * eshell/em-ls.el: Adjust requires.
9916 (eshell-glob-regexp): Declare.
9917 * eshell/em-tramp.el: Adjust requires.
9918 (eshell-parse-command): Autoload.
9919 * eshell/em-xtra.el: Adjust requires.
9920 (eshell-parse-command): Autoload.
9921 * eshell/esh-ext.el: Adjust requires.
9922 (eshell-parse-command, eshell-close-handles): Autoload.
9923 * eshell/esh-io.el: Adjust requires.
9924 (eshell-output-filter): Autoload.
9925 * eshell/esh-util.el: No need to load tramp when compiling.
9926 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9928 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9929 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9930 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9931 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9932 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9933 * eshell/esh-opt.el, eshell/esh-proc.el:
9934 * eshell/esh-var.el: Adjust requires.
9935 * eshell/eshell.el: Do not require esh-util twice.
9936 (eshell-add-input-to-history): Declare.
9937 (eshell-command): Check history module is active before using it.
9939 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9941 2013-05-22 Leo Liu <sdl.web@gmail.com>
9943 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9945 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9947 * autorevert.el (auto-revert-notify-add-watch)
9948 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9949 it indicates changes in file modification time.
9951 2013-05-22 Glenn Morris <rgm@gnu.org>
9953 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9954 Always delete the autoloaded function from the noruntime and
9955 unresolved functions lists.
9957 * allout.el: No need to load epa, epg, overlay when compiling.
9958 (epg-context-set-passphrase-callback, epg-list-keys)
9959 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9960 (epg-key-user-id-list): Declare.
9962 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9963 (viper-set-parsing-style-toggling-macro)
9964 (viper-set-emacs-state-searchstyle-macros):
9965 Use called-interactively-p on Emacs.
9966 (viper-looking-back): Make it an obsolete alias. Update callers.
9967 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9968 Use looking-back rather than viper-looking-back.
9969 (viper-tmp-insert-at-eob, viper-enlarge-region)
9970 (viper-read-string-with-history, viper-register-to-point)
9971 (viper-append-to-register, viper-change-state-to-vi)
9972 (viper-backward-char-carefully, viper-forward-char-carefully)
9973 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9974 (viper-change-state-to-emacs): Declare.
9975 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9976 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9977 * emulation/viper-mous.el: Do not load viper-cmd.
9978 (viper-backward-char-carefully, viper-forward-char-carefully)
9979 (viper-forward-word, viper-adjust-window): Declare.
9981 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9983 * progmodes/idlw-help.el (idlwave-help-fontify):
9984 Use called-interactively-p.
9986 * term/w32console.el (w32-get-console-codepage)
9987 (w32-get-console-output-codepage): Declare.
9989 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9990 Remove unnecessary declarations.
9991 (dframe-message): Doc fix.
9993 * info.el (dframe-select-attached-frame, dframe-current-frame):
9996 * speedbar.el (speedbar-message): Make it an obsolete alias.
9998 (speedbar-with-attached-buffer)
9999 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10000 (speedbar-with-writable): Use backquote.
10001 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10002 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10003 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10004 rather than speedbar- aliases.
10005 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10006 (speedbar-make-specialized-keymap, speedbar-insert-button)
10007 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10008 (speedbar-do-function-pointer): Declare.
10009 (rmail-speedbar-button, rmail-speedbar-find-file)
10010 (rmail-speedbar-move-message):
10011 Use dframe-with-attached-buffer rather than speedbar- alias.
10012 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10013 (dframe-message, speedbar-make-specialized-keymap)
10014 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10015 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10016 (speedbar-insert-button, dframe-select-attached-frame)
10017 (dframe-maybee-jump-to-attached-frame)
10018 (speedbar-change-initial-expansion-list)
10019 (speedbar-previously-used-expansion-list-name): Declare.
10020 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10021 Use dframe-message, dframe-with-attached-buffer rather than
10023 (gud-sentinel): Silence compiler.
10024 * progmodes/vhdl-mode.el (speedbar-refresh)
10025 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10026 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10027 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10028 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10029 (speedbar-file-lists, speedbar-make-tag-line)
10030 (speedbar-line-directory, speedbar-goto-this-file)
10031 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10032 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10033 (speedbar-make-button, speedbar-reset-scanners)
10034 (speedbar-files-item-info, speedbar-line-text)
10035 (speedbar-find-file-in-frame, speedbar-set-timer)
10036 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10037 (speedbar-with-writable): Do not (re)define it.
10038 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10039 rather than speedbar- alias.
10041 2013-05-21 Leo Liu <sdl.web@gmail.com>
10043 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10045 (octave-mode): Tweak fill-nobreak-predicate.
10046 (inferior-octave-startup): Check process to avoid infinite loop.
10047 (inferior-octave): Pop to buffer first to show abornmal process
10050 2013-05-21 Glenn Morris <rgm@gnu.org>
10052 * printing.el (pr-menu-bar): Define when compiling.
10054 2013-05-21 Leo Liu <sdl.web@gmail.com>
10056 * progmodes/octave.el (octave-auto-fill): Remove.
10057 (octave-indent-new-comment-line): Improve.
10058 (octave-mode): Use auto fill mode through
10059 comment-line-break-function and fill-nobreak-predicate.
10060 (octave-goto-function-definition): Support DEFUN_DLD.
10061 (octave-beginning-of-defun): Small tweak.
10062 (octave-help): Show parent directory.
10064 2013-05-21 Glenn Morris <rgm@gnu.org>
10066 * files.el (dired-unmark):
10067 * progmodes/gud.el (gdb-input): Update declarations.
10069 * calculator.el (electric, ehelp): No need to load when compiling.
10070 (Electric-command-loop, electric-describe-mode): Declare.
10072 * doc-view.el (doc-view-current-converter-processes): Move before use.
10074 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10075 Move MODE-set-explicitly definition before use.
10077 * international/mule-diag.el (mule-diag):
10078 Don't use obsolete window-system-version.
10080 * mail/feedmail.el (smtpmail): No need to load when compiling.
10081 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10083 * mail/mail-utils.el (rfc822): No need to load when compiling.
10084 (rfc822-addresses): Autoload it.
10085 (mail-strip-quoted-names): Trivial simplification.
10087 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10088 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10090 * net/snmp-mode.el (tempo): Don't duplicate requires.
10092 * progmodes/prolog.el (info): No need to load when compiling.
10093 (comint): Require before shell requires it.
10094 (Info-goto-node): Autoload it.
10095 (Info-follow-nearest-node): Declare.
10096 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10098 * textmodes/artist.el (picture-mode-exit): Declare.
10100 * textmodes/reftex-parse.el (reftex-parse-from-file):
10101 Trivial rewrite so the compiler can parse it better.
10103 2013-05-20 Leo Liu <sdl.web@gmail.com>
10105 * progmodes/octave.el (octave-help-mode-map)
10106 (octave-help-mode-finish-hook): New variables.
10107 (octave-help-mode, octave-help-mode-finish): New functions.
10108 (octave-help): Use octave-help-mode.
10110 2013-05-20 Glenn Morris <rgm@gnu.org>
10112 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10114 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10116 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10117 start at point, so that expansion starting right after opening
10118 slash in a regexp is recognized.
10119 (ruby-syntax-before-regexp-re): New defvar, extracted from
10120 ruby-syntax-propertize-function. Since the value of this regexp
10121 is looked up at runtime now, we should be able to turn
10122 `ruby-syntax-methods-before-regexp' into a defcustom later.
10123 (ruby-syntax-propertize-function): Split regexp matching into two
10124 parts, for opening and closing slashes. That allows us to skip
10125 over string interpolations and support multiline regexps.
10126 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10127 for them, which calls `ruby-syntax-propertize-expansion'.
10128 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10129 call to `ruby-syntax-propertize-function'.
10130 (ruby-syntax-propertize-expansion): Extracted from
10131 `ruby-syntax-propertize-expansions'. Handles one expansion.
10132 (ruby-syntax-propertize-percent-literal): Leave point right after
10133 the percent symbol, so that the expression expansion rule can
10134 propertize the contents.
10135 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10137 (ruby-syntax-propertize-expansions): Remove.
10139 2013-05-18 Juri Linkov <juri@jurta.org>
10141 * man.el (Man-default-man-entry): Remove `-' from the end
10142 of the default value. (Bug#14400)
10144 2013-05-18 Glenn Morris <rgm@gnu.org>
10146 * comint.el (comint-password-prompt-regexp):
10147 Allow "password for XXX" where XXX contains colons (eg https://...).
10149 2013-05-18 Leo Liu <sdl.web@gmail.com>
10151 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10152 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10153 (octave-source-directories): Don't check process.
10154 (octave-source-directories, octave-find-definition): Doc fix.
10156 2013-05-18 Glenn Morris <rgm@gnu.org>
10158 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10159 Remove backspace/delete bindings. (Bug#14392)
10161 * cus-dep.el (custom-make-dependencies): Sort the output.
10162 (custom-versions-load-alist): Convert comment to doc.
10164 2013-05-17 Leo Liu <sdl.web@gmail.com>
10166 * newcomment.el (comment-search-backward): Stricter in finding
10167 comment start. (Bug#14303)
10169 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10170 (octave-comment-start-skip): Properly anchored.
10172 2013-05-17 Leo Liu <sdl.web@gmail.com>
10174 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10175 Clean up when turned off. (Bug#14395)
10176 (smie--highlight-matching-block-overlay): No longer buffer-local.
10177 (smie-highlight-matching-block): Adjust.
10179 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10181 Doc string fix for "nanoseconds" (Bug#14406).
10182 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10183 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10185 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10187 * calc/calc-units.el (math-extract-units): Preserve powers
10190 2013-05-17 Leo Liu <sdl.web@gmail.com>
10192 * subr.el (delete-consecutive-dups): New function.
10193 * ido.el (ido-set-matches-1): Use it.
10194 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10195 * ido.el (ido-remove-consecutive-dups): Remove.
10197 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10199 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10200 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10201 regexp-opt's `words'.
10203 2013-05-16 Leo Liu <sdl.web@gmail.com>
10205 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10206 (smie--highlight-matching-block-overlay)
10207 (smie--highlight-matching-block-lastpos)
10208 (smie--highlight-matching-block-timer): New variables.
10209 (smie-highlight-matching-block): New function.
10210 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10211 (smie-setup): Conditionally enable smie-blink-matching-open.
10213 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10215 Sync with upstream verilog-mode r840.
10216 * progmodes/verilog-mode.el (verilog-mode-version)
10217 (verilog-mode-release-date): Update.
10218 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10219 (verilog-sig-tieoff): Fix string error on
10220 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10221 (verilog-read-decls): Fix parameters confusing
10222 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10224 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10226 * subr.el (reveal-filename): New function.
10228 * loadup.el: Compute Emacs executable versions on MS-Windows,
10229 where executables have the .exe extension. Add a hard link
10230 emacs-XX.YY.ZZ.exe on MS-Windows.
10232 * Makefile.in (XARGS_LIMIT): New variable.
10233 (custom-deps, finder-data, autoloads)
10234 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10235 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10236 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10237 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10239 2013-05-16 Leo Liu <sdl.web@gmail.com>
10241 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10242 (octave-mode-menu, octave-mode-map): Remove its uses.
10244 2013-05-16 Reto Zimmermann <reto@gnu.org>
10246 Sync with upstream vhdl mode v3.34.2.
10247 * progmodes/vhdl-mode.el: Use `push' throughout.
10248 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10249 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10250 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10251 (vhdl-actual-generic-name): New option to derive actual generic name.
10252 (vhdl-port-paste-signals): Replace formal by actual generics.
10253 (vhdl-beautify): New name for old group vhdl-align. Update users.
10254 (vhdl-beautify-options): New option.
10255 (vhdl-last-input-event): New compat alias. Use throughout.
10256 (vhdl-goto-line): Replace user level function `goto-line'.
10257 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10258 vhdl-fix-statement-buffer.
10259 (vhdl-create-mode-menu): Add some entries.
10260 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10261 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10262 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10263 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10264 to force statements on one line.
10265 (vhdl-remove-trailing-spaces-region):
10266 New, split from vhdl-remove-trailing-spaces.
10267 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10268 Respect vhdl-beautify-options.
10269 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10270 (vhdl-update-sensitivity-list): Not add with index if exists without.
10271 Not include array index with signal. Ignore keywords in comments.
10272 (vhdl-get-visible-signals): Regexp tweaks.
10273 (vhdl-template-component-inst): Handle empty library.
10274 (vhdl-template-type): Add template for 'enum' type.
10275 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10276 Use vhdl-replace-string.
10277 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10278 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10279 (vhdl-speedbar-initialize): Update for above name change.
10280 (vhdl-compose-wire-components): Fix in handling of constants.
10281 (vhdl-error-regexp-emacs-alist): New variable.
10282 (vhdl-error-regexp-add-emacs): New function;
10283 adds support for new compile.el (Emacs 22+)
10284 (vhdl-generate-makefile-1): Change target order for single lib. units.
10285 Allow use of absolute file names.
10287 2013-05-16 Leo Liu <sdl.web@gmail.com>
10289 * simple.el (prog-indent-sexp): Indent enclosing defun.
10291 2013-05-15 Glenn Morris <rgm@gnu.org>
10293 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10294 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10295 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10296 (whitespace-highlight): Move to whitespace group.
10298 * comint.el (comint-source):
10299 * pcmpl-linux.el (pcmpl-linux):
10300 * shell.el (shell-faces):
10301 * eshell/esh-opt.el (eshell-opt):
10302 * international/ccl.el (ccl): Remove empty custom groups.
10304 * completion.el (dynamic-completion-mode):
10305 * jit-lock.el (jit-lock-debug-mode):
10306 * minibuffer.el (completion-in-region-mode):
10307 * type-break.el (type-break-mode-line-message-mode)
10308 (type-break-query-mode):
10309 * emulation/tpu-edt.el (tpu-edt-mode):
10310 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10311 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10312 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10314 * term/xterm.el (xterm): Change parent group to terminals.
10316 * master.el (master): Remove empty custom group.
10317 (master-mode): Remove unused :group argument.
10318 * textmodes/refill.el (refill): Remove empty custom group.
10319 (refill-mode): Remove unused :group argument.
10321 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10323 * cus-dep.el: Provide a feature.
10324 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10325 Don't mistakenly ignore files whose basenames match a basename
10326 from preloaded-file-list (eg cedet/ede/simple.el).
10327 Add a fallback method for getting :group.
10329 2013-05-15 Juri Linkov <juri@jurta.org>
10331 * isearch.el (isearch-char-by-name): Rename from
10332 `isearch-insert-char-by-name'. Doc fix.
10333 (isearch-forward): Mention `isearch-char-by-name' in
10334 the docstring. (Bug#13348)
10336 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10337 `exit-minibuffer' instead of
10338 `isearch-nonincremental-exit-minibuffer'.
10339 (isearch-edit-string): Remove mention of
10340 `isearch-nonincremental-exit-minibuffer' from docstring.
10341 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10342 (isearch-forward-exit-minibuffer)
10343 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10345 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10347 * loadup.el: Just use unversioned DOC.
10349 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10350 literals as extending to EOB.
10351 (nxml-last-fontify-end): Remove unused variable.
10352 (nxml-after-change1): Use with-silent-modifications.
10353 (nxml-extend-after-change-region): Simplify.
10354 (nxml-extend-after-change-region1): Remove function.
10355 (nxml-after-change1): Don't adjust for dependent regions.
10356 (nxml-fontify-matcher): Simplify.
10357 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10358 (xmltok-add-dependent): Remove function.
10359 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10360 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10361 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10362 unclosed <[[, <?, comment, and other literals as extending to EOB.
10363 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10364 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10366 (rng-do-some-validation-1): Don't mark dependent regions.
10367 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10368 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10369 (nxml-clear-dependent-regions): Remove functions.
10370 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10371 (nxml-ensure-scan-up-to-date):
10372 Don't clear&mark dependent regions.
10374 2013-05-15 Leo Liu <sdl.web@gmail.com>
10376 * progmodes/octave.el (octave-goto-function-definition):
10377 Improve and fix callers.
10379 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10381 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10382 the setter (bug#14387).
10384 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10385 surrounding group (bug#14402).
10387 2013-05-14 Juri Linkov <juri@jurta.org>
10389 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10392 2013-05-14 Glenn Morris <rgm@gnu.org>
10394 * progmodes/f90.el (f90-imenu-generic-expression):
10395 Fix typo in 2013-05-08 change. (Bug#14402)
10397 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10399 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10400 Remove signals for which replies are never received.
10402 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10404 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10405 (gdb-handler-alist, gdb-handler-number): Remove variables.
10406 (gdb-handler-list): New variable.
10407 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10408 (gdb-pending-handler-p, gdb-handle-reply)
10409 (gdb-remove-all-pending-triggers): New functions.
10410 (gdb-discard-unordered-replies): New defcustom.
10411 (gdb-handler): New defstruct.
10412 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10413 instead of gdb-pending-triggers. Update docstring.
10414 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10415 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10416 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10417 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10418 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10419 (gdb-frame-handler): Pending triggers are now automatically managed.
10420 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10422 (gdb-input): Automatically handles pending triggers. Update docstring.
10423 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10424 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10426 (gdb-done-or-error): Now use gdb-handle-reply.
10428 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10430 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10433 2013-05-14 Glenn Morris <rgm@gnu.org>
10435 * subr.el (user-emacs-directory-warning): New option.
10436 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10438 2013-05-14 Leo Liu <sdl.web@gmail.com>
10440 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10442 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10443 (octave-font-lock-texinfo-comment): Fix invalid search bound
10444 error: wrong side of point.
10446 2013-05-14 Glenn Morris <rgm@gnu.org>
10448 * progmodes/flymake.el (flymake-xml-program): New option.
10449 (flymake-xml-init): Use it.
10451 * term/xterm.el: Provide a feature.
10453 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10455 2013-05-13 Glenn Morris <rgm@gnu.org>
10457 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10458 Add compat aliases as a hack workaround. (Bug#14384)
10460 2013-05-13 Leo Liu <sdl.web@gmail.com>
10462 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10464 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10466 (octave-comment-start-skip): Include %!.
10467 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10469 2013-05-12 Leo Liu <sdl.web@gmail.com>
10471 * progmodes/octave.el (inferior-octave-startup): Store the value
10472 of __octave_srcdir__ for octave-source-directories.
10473 (inferior-octave-check-process): New function refactored out of
10474 inferior-octave-send-list-and-digest.
10475 (octave-source-directories)
10476 (octave-find-definition-filename-function): New variables.
10477 (octave-source-directories)
10478 (octave-find-definition-default-filename): New functions.
10479 (octave-find-definition): Improve to find functions implemented in C++.
10481 2013-05-12 Glenn Morris <rgm@gnu.org>
10483 * calendar/diary-lib.el (diary-outlook-format-1):
10484 Don't include dayname in the output. (Bug#14349)
10486 2013-05-11 Glenn Morris <rgm@gnu.org>
10488 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10490 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10491 Treat cc-provide like provide.
10493 2013-05-11 Kevin Ryde <user42@zip.com.au>
10495 * cus-dep.el (custom-make-dependencies):
10496 Use generated-autoload-load-name for the sake of files such
10497 such cedet/semantic/bovine/c.el, where the base file name
10498 is not in load-path. (Bug#5277)
10500 2013-05-11 Glenn Morris <rgm@gnu.org>
10502 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10505 2013-05-11 Leo Liu <sdl.web@gmail.com>
10507 * progmodes/octave.el (octave-indent-comment): Improve.
10508 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10509 (octave-eldoc-function-signatures, octave-eldoc-function):
10511 (octave-mode, inferior-octave-mode): Add eldoc support.
10513 2013-05-11 Richard Stallman <rms@gnu.org>
10515 * epa.el (epa-decrypt-file): Take output file name as argument
10516 and read it using `interactive'.
10518 2013-05-11 Leo Liu <sdl.web@gmail.com>
10520 * progmodes/octave.el (octave-beginning-of-line)
10521 (octave-end-of-line): Check before using up-list because it jumps
10522 out of more syntactic contructs since moving to smie.
10523 (octave-indent-comment): New function.
10524 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10525 (octave-begin-keywords, octave-end-keywords)
10526 (octave-reserved-words, octave-smie-bnf-table)
10527 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10529 2013-05-11 Glenn Morris <rgm@gnu.org>
10531 * faces.el (internal-face-x-get-resource):
10532 * frame.el (ns-display-monitor-attributes-list):
10533 * calc/calc-aent.el (math-to-radians-2):
10534 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10537 * calc/calc-menu.el: Make it loadable in isolation.
10539 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10540 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10541 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10542 (eudc-bbdb-query-internal): Require 'bbdb.
10544 * lpr.el (lpr-headers-switches):
10545 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10547 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10549 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10551 * term.el (term-set-escape-char): Make it idempotent.
10553 2013-05-10 Leo Liu <sdl.web@gmail.com>
10555 * progmodes/octave.el (inferior-octave-completion-table):
10556 No longer a function and all uses changed. Use cache to speed up
10557 completion due to bug#11906.
10558 (octave-beginning-of-defun): Re-write to be more general.
10560 2013-05-10 Glenn Morris <rgm@gnu.org>
10562 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10564 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10566 * comint.el (comint-redirect-send-command-to-process): Use :around
10567 rather than :override for comint-redirect-filter.
10568 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10569 Call it instead of comint-redirect-original-filter-function (which
10570 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10572 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10574 * frame.el (display-monitor-attributes-list): Add NS case.
10575 (ns-display-monitor-attributes-list): Declare.
10577 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10579 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10581 2013-05-09 Glenn Morris <rgm@gnu.org>
10583 * international/fontset.el (vertical-centering-font-regexp):
10584 Set standard-value.
10586 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10588 * bookmark.el (bookmark-search-delay):
10589 * cus-start.el (vertical-centering-font-regexp):
10590 * ps-mule.el (ps-mule-font-info-database-default):
10591 * ps-print.el (ps-default-fg, ps-default-bg):
10592 * type-break.el (type-break-good-break-interval):
10593 * whitespace.el (whitespace-indentation-regexp)
10594 (whitespace-space-after-tab-regexp):
10595 * emacs-lisp/testcover.el (testcover-1value-functions)
10596 (testcover-noreturn-functions, testcover-progn-functions)
10597 (testcover-prog1-functions):
10598 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10599 * eshell/em-glob.el (eshell-glob-translate-alist):
10600 * play/tetris.el (tetris-tty-colors):
10601 * progmodes/cpp.el (cpp-face-default-list):
10602 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10603 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10604 (idlwave-help-browser-generic-args):
10605 * progmodes/make-mode.el (makefile-special-targets-list):
10606 * progmodes/python.el (python-shell-virtualenv-path):
10607 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10608 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10609 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10610 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10611 * textmodes/reftex-vars.el (reftex-format-label-function):
10612 * textmodes/remember.el (remember-diary-file): Fix custom types.
10614 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10617 2013-05-09 Leo Liu <sdl.web@gmail.com>
10619 * progmodes/octave.el (inferior-octave-completion-at-point):
10620 Restore file completion. (Bug#14300)
10621 (inferior-octave-startup): Fix incorrect highlighting for the
10624 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10626 * progmodes/ruby-mode.el: First cut at SMIE support.
10627 (ruby-use-smie): New var.
10628 (ruby-smie-grammar): New constant.
10629 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10630 (ruby-smie--forward-token, ruby-smie--backward-token)
10631 (ruby-smie-rules): New functions.
10632 (ruby-mode-variables): Setup SMIE if applicable.
10634 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10636 * simple.el (line-move-visual): Signal beginning/end of buffer
10637 only if vertical-motion moved less than it was requested. Avoids
10638 silly incorrect error messages when there are display strings with
10639 multiple newlines at EOL.
10641 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10643 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10644 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10645 (prolog-char-quote-workaround):
10646 * progmodes/cperl-mode.el (cperl-under-as-char):
10647 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10649 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10651 (vhdl-mode-syntax-table-init): Remove.
10653 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10656 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10658 (ld-script-font-lock-keywords):
10659 Change regexps to use things like \_< and \_>.
10661 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10662 Change all regexps to use things like \_< and \_>.
10664 * progmodes/autoconf.el (autoconf-definition-regexp)
10665 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10666 Handle a _ with symbol syntax.
10667 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10669 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10670 Consolidate declaration.
10671 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10673 (ada-create-syntax-table): Remove.
10674 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10675 already has the right syntax nowadays.
10676 (ada-goto-next-word): Don't change the syntax of "_".
10678 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10681 2013-05-08 Sam Steingold <sds@gnu.org>
10683 * thingatpt.el (thing-at-point): Accept optional second argument
10684 NO-PROPERTIES to strip the text properties from the return value.
10685 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10686 to `thing-at-point' instead of stripping the properties ourselves.
10687 Also, when `thing-at-point' fails to find a url, prepend "http://"
10688 to the filename at point on the assumption that the user is
10689 pointing at something like gnu.org/gnu.
10691 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10693 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10694 * faces.el (crm-separator):
10695 Silence byte-compiler.
10697 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10698 (tool-bar-map): Remove unneeded defvars.
10700 2013-05-08 Leo Liu <sdl.web@gmail.com>
10702 Re-work a fix for bug#10994 based on Le Wang's patch.
10703 * ido.el (ido-remove-consecutive-dups): New helper.
10704 (ido-completing-read): Use it.
10705 (ido-chop): Revert fix for bug#10994.
10707 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10709 * cus-edit.el (custom-save-variables):
10710 Pretty-print long values. (Bug#14187)
10712 2013-05-08 Glenn Morris <rgm@gnu.org>
10714 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10715 (m4-mode-syntax-table): Init in the defvar.
10716 (m4-mode-abbrev-table): Let define-derived-mode define it.
10718 2013-05-08 Tom Tromey <tromey@redhat.com>
10720 * progmodes/m4-mode.el (m4-mode-syntax-table):
10721 Do not treat "_" as word constituent. (Bug#14167)
10723 2013-05-07 Glenn Morris <rgm@gnu.org>
10725 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10726 Remove explicit eshell-isearch-cancel-map.
10728 * progmodes/f90.el (f90-smart-end-names): New option.
10729 (f90-smart-end): Doc fix.
10730 (f90-end-block-optional-name): New constant.
10731 (f90-block-match): Respect f90-smart-end-names.
10733 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10735 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10736 about implicit semi-colons (bug#14218).
10738 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10740 * frame.el (display-monitor-attributes-list)
10741 (frame-monitor-attributes): New functions.
10743 2013-05-06 Leo Liu <sdl.web@gmail.com>
10745 * progmodes/octave.el (octave-syntax-propertize-function): Change
10746 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10747 (octave-font-lock-keywords): Use octave-operator-regexp.
10748 (octave-completion-at-point): Rename from
10749 octave-completion-at-point-function.
10750 (inferior-octave-directory-tracker): Robustify.
10751 (octave-text-functions): Remove and fix its uses. No such things
10754 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10756 * emacs-lisp/trace.el (trace--display-buffer): New function.
10757 (trace-make-advice): Use it.
10759 2013-05-06 Juri Linkov <juri@jurta.org>
10761 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10762 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10764 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10765 in the help string. (Bug#12985)
10767 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10769 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10771 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10773 * progmodes/perl-mode.el: Add support for here documents.
10774 (perl-syntax-propertize-function): Match here-doc markers.
10775 (perl-syntax-propertize-special-constructs): Find their end.
10776 (perl-imenu-generic-expression): Use [:alnum:].
10778 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10779 (advice--add-function): Refresh the advice if already present
10782 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10784 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10786 2013-05-06 Glenn Morris <rgm@gnu.org>
10788 * w32-fns.el (w32-charset-info-alist): Declare.
10790 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10791 of its defcustom properties.
10792 (eshell-cmpl-initialize): No need to load pcomplete.
10794 * generic-x.el: No need to require comint when compiling.
10796 * net/eudc-export.el: Make it loadable without bbdb.
10797 (top-level): Use require rather than load-library.
10798 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10799 (eudc-batch-export-records-to-bbdb)
10800 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10803 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10805 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10806 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10807 some tweaks, instead.
10809 2013-05-05 Leo Liu <sdl.web@gmail.com>
10811 * progmodes/octave.el (octave-font-lock-keywords)
10812 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10813 (inferior-octave-send-list-and-digest): Improve error message.
10814 (octave-mode, inferior-octave-mode): Use setq-local.
10815 (octave-help): Set info-lookup-mode.
10817 2013-05-05 Richard Stallman <rms@gnu.org>
10819 * vc/compare-w.el (compare-windows-whitespace):
10820 Treat no-break space as whitespace.
10822 * mail/rmailsum.el (rmail-summary-rmail-update):
10823 Detect empty summary and don't change selected message.
10824 (rmail-summary-goto-msg): Likewise.
10826 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10827 Doc fixes, rename args.
10829 2013-05-05 Alan Mackenzie <acm@muc.de>
10831 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10833 2013-05-05 Juri Linkov <juri@jurta.org>
10835 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10836 to not add the length of the summary segment to the return value.
10839 2013-05-05 Leo Liu <sdl.web@gmail.com>
10841 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10842 (inferior-octave-output-filter): Remove.
10843 (octave-send-region, inferior-octave-startup): Fix callers.
10844 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10845 (octave-binary-file-extensions): New user variable.
10846 (octave-find-definition): Confirm if opening binary files.
10847 (octave-help-file): Use octave-find-definition to get the binary
10849 (octave-help): Adjust for octave-help-file change.
10851 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10853 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10854 Merge the two entries that handle function definitions.
10855 (pascal--syntax-propertize): New const.
10856 (pascal-mode): Use it. Use setq-local.
10858 2013-05-04 Glenn Morris <rgm@gnu.org>
10860 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10861 (diary-from-outlook): Respect diary-from-outlook-function.
10863 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10865 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10866 Move the declaration from C.
10867 (read-minibuffer, eval-minibuffer): Move from C.
10868 (completion-setup-function): Avoid minibuffer-completion-contents.
10870 2013-05-03 Leo Liu <sdl.web@gmail.com>
10872 * progmodes/octave.el (octave-font-lock-keywords): Do not
10873 dehighlight 'end' in comments or strings.
10874 (octave-completing-read, octave-goto-function-definition):
10876 (octave-help-buffer): New user variable.
10877 (octave-help-file, octave-help-function): New button types.
10878 (octave-help): New command and bind it to C-h ;.
10879 (octave-find-definition): New command and bind it to M-.
10880 (user-error): Alias to error if not defined.
10882 2013-05-02 Leo Liu <sdl.web@gmail.com>
10884 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10886 (octave-font-lock-keywords): Include [ and {.
10888 2013-05-02 Leo Liu <sdl.web@gmail.com>
10890 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10891 (inferior-octave): Remove calling comint-mode and return the buffer.
10892 (inferior-octave-startup): Cosmetic changes.
10894 2013-05-02 Leo Liu <sdl.web@gmail.com>
10896 * progmodes/octave.el (octave-syntax-propertize-function):
10897 Include the case when ' is at line beginning. (Bug#14336)
10899 2013-05-02 Glenn Morris <rgm@gnu.org>
10901 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10902 * desktop.el (vc-dir-mode): Just autoload it here.
10904 2013-05-02 Alan Mackenzie <acm@muc.de>
10906 Eliminate variable c-standard-font-lock-fontify-region-function.
10907 * progmodes/cc-mode.el
10908 (c-standard-font-lock-fontify-region-function): Remove.
10909 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10911 2013-05-01 Leo Liu <sdl.web@gmail.com>
10913 * progmodes/octave.el: Compatible with older emacs-24 releases.
10914 (inferior-octave-has-built-in-variables): Remove. Built-in
10915 variables were removed from Octave in 2007.
10916 (inferior-octave-startup): Fix uses.
10917 (comint-line-beginning-position): Remove compatibility code for
10920 2013-05-01 Juri Linkov <juri@jurta.org>
10922 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10924 2013-05-01 Juri Linkov <juri@jurta.org>
10926 * comint.el (comint-previous-matching-input): Don't print message
10927 "History item: %d" when `isearch-mode' is active.
10928 (comint-history-isearch-message): Print message "History item: %d"
10929 when `comint-input-ring-index' is not empty and this function is
10930 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10932 2013-05-01 Leo Liu <sdl.web@gmail.com>
10934 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10935 definitions. Use completion-at-point to insert keywords.
10936 (octave-abbrev-start): Remove.
10937 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10939 2013-04-30 Leo Liu <sdl.web@gmail.com>
10941 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10944 2013-04-30 Alan Mackenzie <acm@muc.de>
10946 Handle arbitrarily long C++ member initialisation lists.
10947 * progmodes/cc-engine.el (c-back-over-member-initializers):
10949 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10950 (most) member init lists.
10952 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10954 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10957 2013-04-30 Leo Liu <sdl.web@gmail.com>
10959 * progmodes/octave.el (octave-variables): Remove. No builtin
10960 variables any more. All converted to functions.
10961 (octave-font-lock-keywords, octave-completion-at-point-function):
10963 (octave-font-lock-texinfo-comment): New user variable.
10964 (octave-texinfo-font-lock-keywords): New variable for texinfo
10966 (octave-function-comment-block): New face.
10967 (octave-font-lock-texinfo-comment): New function.
10968 (octave-mode): Font lock texinfo comment block.
10970 2013-04-29 Leo Liu <sdl.web@gmail.com>
10972 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10973 indexing expression.
10974 (octave-continuation-string): Do not use \.
10975 (inferior-octave-complete-impossible): Remove.
10976 (inferior-octave-completion-table)
10977 (inferior-octave-completion-at-point): Remove its uses.
10978 (inferior-octave-startup): completion_matches was introduced to
10979 Octave in 1996 so safe to assume it.
10980 (octave-function-file-comment): Improve to follow how Octave does it.
10981 (octave-update-function-file-comment): Tweak.
10983 2013-04-29 Leo Liu <sdl.web@gmail.com>
10985 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10986 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10987 (octave-function-file-comment): Fix typo.
10988 (octave-sync-function-file-names): Use read-char-choice.
10990 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10992 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10993 to t for the less important warnings.
10995 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10997 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10999 2013-04-27 Glenn Morris <rgm@gnu.org>
11001 * vc/log-view.el (log-view-current-entry):
11002 Treat "---" separator lines as part of the following rev. (Bug#14169)
11004 2013-04-27 Juri Linkov <juri@jurta.org>
11006 * subr.el (read-number): Doc fix about using it by interactive
11007 code letter `n'. (Bug#14254)
11009 2013-04-27 Juri Linkov <juri@jurta.org>
11011 * desktop.el (desktop-auto-save-timeout): New option.
11012 (desktop-file-checksum): New variable.
11013 (desktop-save): Add optional arg `auto-save' and don't auto-save
11014 if nothing changed.
11015 (desktop-auto-save-timer): New variable.
11016 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11017 (after-init-hook): Call `desktop-auto-save-set-timer'.
11018 Suggested by Reuben Thomas <rrt@sc3d.org> in
11019 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11021 2013-04-27 Leo Liu <sdl.web@gmail.com>
11023 * progmodes/octave.el (octave-function-file-p)
11024 (octave-skip-comment-forward, octave-function-file-comment)
11025 (octave-update-function-file-comment): New functions.
11026 (octave-mode-map): Bind C-c ; to
11027 octave-update-function-file-comment.
11028 (octave-mode-menu): Add octave-update-function-file-comment.
11029 (octave-mode, inferior-octave-mode): Fix doc-string.
11030 (octave-insert-defun): Conform to Octave's coding convention.
11033 * files.el (basic-save-buffer): Don't let errors in
11034 before-save-hook prevent saving buffer.
11036 2013-04-20 Roland Winkler <winkler@gnu.org>
11038 * faces.el (read-face-name): Use completing-read if arg multiple
11041 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11043 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11044 displayed, move point to after the totals line.
11045 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11048 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11050 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11051 Add current dir to the load-path.
11052 (package-generate-autoloads): Don't rely on
11053 autoload-ensure-default-file.
11055 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11057 * textmodes/remember.el (remember-store-in-files): Document that
11058 the file name format is passed to `format-time-string'.
11060 2013-04-26 Leo Liu <sdl.web@gmail.com>
11062 * progmodes/octave.el (octave-sync-function-file-names): New function.
11063 (octave-mode): Use it in before-save-hook.
11065 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11067 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11070 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11071 \n and comment, even if it's not an implicit ; (bug#14218).
11073 2013-04-26 Glenn Morris <rgm@gnu.org>
11075 * subr.el (read-number): Once more use `read' rather than
11076 `string-to-number', to trap non-numeric input. (Bug#14254)
11078 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11080 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11081 Use `syntax-multiline' text property consistently instead of
11082 `font-lock-multiline'. (Bug#14237)
11084 2013-04-26 Glenn Morris <rgm@gnu.org>
11086 * emacs-lisp/shadow.el (list-load-path-shadows):
11087 No longer necessary to check for duplicate simple.el, since
11088 2012-07-07 change to init_lread to not include installation lisp
11089 directories in load-path when running uninstalled. (Bug#14270)
11091 2013-04-26 Leo Liu <sdl.web@gmail.com>
11093 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11094 (octave-mode, inferior-octave-mode): Use setq-local.
11095 (octave-not-in-string-or-comment-p): Rename to
11096 octave-in-string-or-comment-p.
11097 (octave-in-comment-p, octave-in-string-p)
11098 (octave-in-string-or-comment-p): Replace defsubst with defun.
11100 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11102 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11104 2013-04-25 Bastien Guerry <bzg@gnu.org>
11106 * textmodes/remember.el (remember-data-directory)
11107 (remember-directory-file-name-format): Fix custom types.
11109 2013-04-25 Leo Liu <sdl.web@gmail.com>
11111 * progmodes/octave.el (octave-completion-at-point-function):
11112 Make use of inferior octave process.
11113 (octave-initialize-completions): Remove.
11114 (inferior-octave-completion-table): New function.
11115 (inferior-octave-completion-at-point): Use it.
11116 (octave-completion-alist): Remove.
11118 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11120 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11121 (opascal-mode-syntax-table): New var.
11122 (opascal-literal-kind, opascal-is-literal-end)
11123 (opascal-literal-token-at): Rewrite.
11124 (opascal--literal-start-re, opascal-font-lock-keywords)
11125 (opascal--syntax-propertize): New constants.
11126 (opascal-font-lock-defaults): Adjust.
11127 (opascal-mode): Use them. Set comment-<foo> variables as well.
11128 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11129 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11130 (delphi-other-face, opascal-other-face): Remove face variables.
11131 (opascal-save-state): Remove macro.
11132 (opascal-fontifying-progress-step): Remove constant.
11133 (opascal--ignore-changes): Remove var.
11134 (opascal-set-token-property, opascal-parse-next-literal)
11135 (opascal-is-stable-literal, opascal-complete-literal)
11136 (opascal-is-literal-start, opascal-face-of)
11137 (opascal-parse-region, opascal-parse-region-until-stable)
11138 (opascal-fontify-region, opascal-after-change)
11139 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11140 (opascal-debug-parse-region, opascal-debug-parse-window)
11141 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11142 (opascal-debug-fontify-buffer): Remove.
11143 (opascal-debug-mode-map): Adjust accordingly.
11145 2013-04-25 Leo Liu <sdl.web@gmail.com>
11147 Merge octave-mod.el and octave-inf.el into octave.el with some
11149 * progmodes/octave.el: New file renamed from octave-mod.el.
11150 * progmodes/octave-inf.el: Merged into octave.el.
11151 * progmodes/octave-mod.el: Renamed to octave.el.
11153 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11155 * textmodes/reftex-vars.el
11156 (reftex-label-ignored-macros-and-environments): New defcustom.
11158 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11160 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11162 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11163 (smie-indent-keyword): Improve the check to ensure that the next
11164 comment is really on the same line.
11165 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11167 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11168 semi-colons if the line is not otherwise empty (bug#14218).
11170 2013-04-25 Glenn Morris <rgm@gnu.org>
11172 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11174 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11176 * progmodes/opascal.el (opascal-set-token-property): Rename from
11177 opascal-set-text-properties and only set `token' (bug#14134).
11178 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11179 (opascal-literal-text-properties): Remove.
11180 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11183 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11185 * textmodes/remember.el (remember-handler-functions): Add an
11186 option for a new handler `remember-store-in-files'.
11187 (remember-data-directory, remember-directory-file-name-format):
11189 (remember-store-in-files): New function to store remember notes
11190 as separate files within a directory.
11192 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11194 * progmodes/compile.el (compilation-next-error-function):
11195 Pass "formats" to compilation-find-file (bug#11777).
11197 2013-04-24 Glenn Morris <rgm@gnu.org>
11199 * vc/vc-bzr.el (vc-bzr-print-log):
11200 * vc/vc-hg.el (vc-hg-print-log):
11201 * vc/vc-svn.el (vc-svn-print-log):
11202 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11204 * vc/vc-bzr.el (vc-bzr-print-log):
11205 * vc/vc-cvs.el (vc-cvs-print-log):
11206 * vc/vc-git.el (vc-git-print-log):
11207 * vc/vc-hg.el (vc-hg-print-log):
11208 * vc/vc-mtn.el (vc-mtn-print-log):
11209 * vc/vc-rcs.el (vc-rcs-print-log):
11210 * vc/vc-sccs.el (vc-sccs-print-log):
11211 * vc/vc-svn.el (vc-svn-print-log):
11212 * vc/vc.el (vc-print-log-internal): Doc fixes.
11214 2013-04-23 Glenn Morris <rgm@gnu.org>
11216 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11217 Remove venerable code attempting to avoid substitute-command-keys.
11219 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11221 * textmodes/reftex-vars.el (reftex-label-regexps):
11222 Call `reftex-compile-variables' after changes to this variable.
11224 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11226 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11227 Use lexical-binding.
11228 (jit-lock-force-redisplay): Use markers, check buffer's continued
11229 existence and beware narrowed buffers.
11230 (jit-lock-fontify-now): Adjust call accordingly.
11232 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11234 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11235 to avoid misleading the user.
11237 2013-04-22 Leo Liu <sdl.web@gmail.com>
11239 * info-look.el: Prefer latex2e.info. (Bug#14240)
11241 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11243 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11245 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11246 * net/tramp.el (tramp-call-process): ... here.
11247 (tramp-set-completion-function, tramp-parse-putty):
11248 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11249 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11250 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11251 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11252 (tramp-call-local-coding-command): Use `tramp-call-process'
11253 instead of `tramp-compat-call-process'.
11255 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11256 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11257 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11258 (tramp-find-inline-compress): Improve traces.
11259 (tramp-maybe-send-script): Check for Perl binary.
11260 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11262 2013-04-22 Daiki Ueno <ueno@gnu.org>
11264 * epg.el (epg-context-pinentry-mode): New function.
11265 (epg-context-set-pinentry-mode): New function.
11266 (epg--start): Pass --pinentry-mode option to gpg command.
11268 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11270 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11271 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11272 `completion-at-point'. (Bug#13774)
11274 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11275 default key binding for `describe-distribution' has been moved to
11276 `C-h C-o'. (Bug#13970)
11278 2013-04-21 Glenn Morris <rgm@gnu.org>
11280 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11282 (vc-print-log): Clarify interactive prompt.
11284 2013-04-20 Glenn Morris <rgm@gnu.org>
11286 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11287 No longer include timestamp etc information.
11289 2013-04-20 Roland Winkler <winkler@gnu.org>
11291 * faces.el (read-face-name): Bug fix, return just one face if arg
11292 multiple is nil. (Bug#14209)
11294 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11296 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11297 (remove-function): Autoload.
11299 * comint.el (comint-redirect-original-filter-function): Remove.
11300 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11301 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11302 (vc-cvs-annotate-command):
11303 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11304 * progmodes/prolog.el (prolog-consult-compile):
11305 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11306 Use add/remove-function instead.
11307 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11308 (gud-tooltip-process-output, gud-tooltip-tips):
11309 Use add/remove-function instead.
11310 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11311 (scheme-interaction-mode, exit-scheme-interaction-mode):
11312 Use add/remove-function instead.
11314 * vc/vc-dispatcher.el: Use lexical-binding.
11315 (vc--process-sentinel): Rename from vc-process-sentinel.
11316 Change last arg to be the code to run. Don't use vc-previous-sentinel
11317 and vc-sentinel-commands any more.
11318 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11319 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11321 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11323 * progmodes/sh-script.el (sh-imenu-generic-expression):
11324 Handle function names with a single character. (Bug#14111)
11326 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11328 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11329 for subroutines defined in an eval (bug#14182).
11331 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11333 * bookmark.el (bookmark-completing-read): Improve handling of empty
11334 string (bug#14176).
11336 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11338 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11340 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11342 New faster Imenu implementation (bug#14058).
11343 * progmodes/python.el:
11344 (python-imenu-prev-index-position):
11345 (python-imenu-format-item-label-function)
11346 (python-imenu-format-parent-item-label-function)
11347 (python-imenu-format-parent-item-jump-label-function):
11349 (python-imenu-format-item-label)
11350 (python-imenu-format-parent-item-label)
11351 (python-imenu-format-parent-item-jump-label)
11352 (python-imenu--put-parent, python-imenu--build-tree)
11353 (python-imenu-create-index, python-imenu-create-flat-index)
11354 (python-util-popn): New functions.
11355 (python-mode): Set imenu-create-index-function to
11356 python-imenu-create-index.
11358 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11360 * winner.el (winner-active-region): Use region-active-p, activate-mark
11361 and deactivate-mark (bug#14225).
11363 * simple.el (deactivate-mark): Don't inline it.
11365 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11367 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11369 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11371 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11372 file extensions from the archive-mode entry in order to prefer
11373 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11375 2013-04-18 Leo Liu <sdl.web@gmail.com>
11377 * bindings.el (help-event-list): Add ?\?.
11379 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11381 * subr.el (with-wrapper-hook): Declare obsolete.
11382 * simple.el (filter-buffer-substring-function): New hook.
11383 (filter-buffer-substring): Use it.
11384 (filter-buffer-substring-functions): Mark obsolete.
11385 * minibuffer.el (completion-in-region-function): New hook.
11386 (completion-in-region): Use it.
11387 (completion-in-region-functions): Mark obsolete.
11388 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11389 * abbrev.el (abbrev-expand-function): New hook.
11390 (expand-abbrev): Use it.
11391 (abbrev-expand-functions): Mark obsolete.
11392 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11393 and :filter-return.
11395 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11397 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11398 and do not care about match data.
11400 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11402 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11403 completion tables when completing error conditions and
11404 `declare' arguments.
11405 (lisp-complete-symbol, field-complete): Mark as obsolete.
11406 (check-parens): Unmatched parens are user errors.
11407 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11409 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11411 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11412 command changed buffer (ie. `flyspell-pre-buffer' is not current
11413 buffer), which prevents making decisions based on invalid value of
11414 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11415 cause an error when `flyspell-pre-point' was nil after switching
11417 (flyspell-post-command-hook): No longer needs to change buffers when
11418 checking pre-word. While at it remove unnecessary progn.
11420 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11422 * textmodes/ispell.el (ispell-add-per-file-word-list):
11423 Fix `flyspell-correct-word-before-point' error when accepting
11424 words and `coment-padding' is an integer by using
11425 `comment-normalize-vars' (Bug #14214).
11427 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11429 New defun movement commands.
11430 * progmodes/python.el (python-nav--syntactically)
11431 (python-nav--forward-defun, python-nav-backward-defun)
11432 (python-nav-forward-defun): New functions.
11434 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11436 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11437 (python-syntax-context): Use named compiler-macro for backwards
11438 compatibility with Emacs 24.x.
11440 2013-04-17 Leo Liu <sdl.web@gmail.com>
11442 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11443 octave-hide-process-buffer.
11445 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11447 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11450 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11452 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11453 Fix adjustment of offset when receiving incomplete responses from GDB
11456 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11458 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11459 python-mode-abbrev-table.
11460 (python-skeleton-define): Adjust accordingly.
11461 (python-mode-abbrev-table): New table that inherits from it so that
11462 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11464 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11465 (abbrev-symbol): Use it.
11466 (abbrev--before-point): Use it since we already handle inheritance.
11468 2013-04-16 Leo Liu <sdl.web@gmail.com>
11470 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11471 binding to info-lookup-symbol.
11473 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11475 * minibuffer.el (completion--twq-all):
11476 * term/ns-win.el (ns-initialize-window-system):
11477 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11479 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11481 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11484 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11486 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11488 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11489 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11491 (ruby-end-of-defun): Remove the unused arg, change the docstring
11492 to reflect that this function is only used as the value of
11493 `end-of-defun-function'.
11494 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11495 to reflect an earlier change that beginning/end-of-defun functions
11496 jump between methods in a class definition, as well as top-level
11499 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11501 * minibuffer.el (minibuffer-complete): Don't just scroll
11502 a *Completions* that's been iconified.
11503 (minibuffer-force-complete): Make sure repetitions do cycle when going
11504 through completion-in-region -> minibuffer-complete.
11506 2013-04-15 Alan Mackenzie <acm@muc.de>
11508 Correct the placement of c-cpp-delimiters when there're #s not at
11511 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11512 place a submatch around the #.
11513 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11514 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11517 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11519 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11520 (advice--member-p): New arg `name'.
11521 (advice--add-function, advice-member-p): Use it (bug#14202).
11523 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11525 Reformulate java imenu-generic-expression.
11526 The old expression contained ill formed regexps.
11528 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11529 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11530 (cc-imenu-java-method-arg-regexp): New defconsts.
11531 (cc-imenu-java-build-type-args-regex): New defun.
11532 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11533 handling of spaces in the regexp.
11535 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11537 * textmodes/ispell.el (ispell-command-loop): Remove
11538 flyspell highlight of a word when ispell accepts it (bug #14178).
11540 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11542 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11543 uses code from the previous `ange-ftp-run-real-handler'.
11544 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11545 only in case that function exist. This is needed for proper
11546 unloading of Tramp.
11548 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11550 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11552 * textmodes/reftex.el (reftex-compile-variables): Use it.
11554 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11556 * files.el (normal-mode): Only use default major-mode if no other mode
11559 * emacs-lisp/trace.el (trace-values): New function.
11561 * files.el: Allow : in local variables (bug#14089).
11562 (hack-local-variable-regexp): New var.
11563 (hack-local-variables-prop-line, hack-local-variables): Use it.
11565 2013-04-13 Roland Winkler <winkler@gnu.org>
11567 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11568 data before it gets modified by bibtex-beginning-of-entry.
11570 2013-04-13 Roland Winkler <winkler@gnu.org>
11572 * textmodes/bibtex.el (bibtex-url): Doc fix.
11574 2013-04-13 Roland Winkler <winkler@gnu.org>
11576 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11577 does not visit a BibTeX file, exclude it from the list of buffers
11578 returned by bibtex-initialize.
11580 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11582 * window.el (split-window): Remove interactive form, since as a
11583 command this function is a special case of split-window-below.
11584 Correct doc string.
11586 2013-04-12 Roland Winkler <winkler@gnu.org>
11588 * faces.el (read-face-name): Do not override value of arg default.
11589 Allow single faces and strings as default values. Remove those
11590 elements from return value that are not faces.
11591 (describe-face): Simplify.
11592 (face-at-point): New optional args thing and multiple so that this
11593 function can provide the same functionality previously provided by
11595 (make-face-bold, make-face-unbold, make-face-italic)
11596 (make-face-unitalic, make-face-bold-italic, invert-face)
11597 (modify-face, read-face-and-attribute): Use face-at-point.
11599 * cus-edit.el (customize-face, customize-face-other-window)
11600 * cus-theme.el (custom-theme-add-face)
11601 * face-remap.el (buffer-face-set)
11602 * facemenu.el (facemenu-set-face): Use face-at-point.
11604 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11606 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11608 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11610 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11611 off leading { and trailing } from field values.
11613 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11615 * emacs-lisp/timer.el (timer--check): New function.
11616 (timer--time, timer-set-function, timer-event-handler): Use it.
11617 (timer-set-idle-time): Simplify.
11618 (timer--activate): CSE.
11619 (timer-event-handler): Give more info in error message.
11620 (internal-timer-start-idle): New function, moved from C.
11622 * mpc.el (mpc-proc): Add `restart' argument.
11623 (mpc-proc-cmd): Use it.
11624 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11625 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11628 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11630 * progmodes/sh-script.el: Implement `sh-mode' own
11631 `add-log-current-defun-function' (bug#14112).
11632 (sh-current-defun-name): New function.
11633 (sh-mode): Use the function.
11635 2013-04-09 Bastien Guerry <bzg@gnu.org>
11637 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11639 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11641 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11643 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11646 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11648 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11651 2013-04-07 Leo Liu <sdl.web@gmail.com>
11653 * pcmpl-x.el: New file.
11655 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11657 Do not set x-display-name until X connection is established.
11658 This is needed to prevent from weird situation described at
11659 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11660 * frame.el (make-frame): Set x-display-name after call to
11661 window system initialization function, not before.
11662 * term/x-win.el (x-initialize-window-system): Add optional
11663 display argument and use it.
11664 * term/w32-win.el (w32-initialize-window-system):
11665 * term/ns-win.el (ns-initialize-window-system):
11666 * term/pc-win.el (msdos-initialize-window-system):
11667 Add compatible optional display argument.
11669 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11671 * files.el (normal-backup-enable-predicate): On MS-Windows and
11672 MS-DOS compare truenames of temporary-file-directory and of the
11673 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11674 don't fail comparison by compare-strings. Also, compare file
11675 names case-insensitively on MS-Windows and MS-DOS.
11677 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11679 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11680 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11682 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11684 * whitespace.el (whitespace-color-on, whitespace-color-off):
11685 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11687 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11689 * ispell.el (ispell-set-spellchecker-params):
11690 Really set `ispell-args' for all equivs.
11692 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11694 * ido.el (ido-completions): Use extra elements of ido-decorations
11696 (ido-decorations): Update docstring.
11698 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11700 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11701 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11702 nil during initialization, in order not to miss changes since the
11703 file was opened. (Bug#14140)
11705 2013-04-05 Leo Liu <sdl.web@gmail.com>
11707 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11709 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11711 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11713 2013-04-04 Glenn Morris <rgm@gnu.org>
11715 * electric.el (electric-pair-inhibit-predicate): Add :version.
11717 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11719 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11720 when a package is required several times (bug#14082).
11722 2013-04-04 Roland Winkler <winkler@gnu.org>
11724 * faces.el (read-face-name): Behave as promised by the docstring.
11725 Assume that arg default is a list of faces.
11726 (describe-face): Call read-face-name with list of default faces.
11728 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11730 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11731 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11732 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11734 (bookmark-exit-hook-internal): Save even if list is empty.
11736 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11738 * emacs-lisp/package.el (package-pinned-packages): New var.
11739 (package--add-to-archive-contents): Obey it (bug#14118).
11741 2013-04-03 Alan Mackenzie <acm@muc.de>
11743 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11744 Also adapt to the new values of element 7 of a parse state.
11746 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11747 parameter `not-in-delimiter'. Handle being inside comment opener.
11748 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11749 character in case we're typing a '*' after a '/'.
11750 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11751 instead by passing the parameter to c-state-pp-to-literal.
11753 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11754 for elt. 7 of a parse state.
11756 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11758 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11759 * international/latin1-disp.el, international/mule-util.el:
11760 * language/cyril-util.el, language/european.el, language/ind-util.el:
11761 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11762 * language/tibetan.el, language/viet-util.el:
11763 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11765 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11767 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11768 (electric-pair-post-self-insert-function): Use it.
11769 (electric-pair-default-inhibit): New function, extracted from
11770 electric-pair-post-self-insert-function.
11772 2013-03-31 Roland Winkler <winkler@gnu.org>
11774 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11776 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11778 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11780 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11782 Un-indent after "pass" and "return" statements (Bug#13888)
11783 * progmodes/python.el (python-indent-block-enders): New var.
11784 (python-indent-calculate-indentation): Use it.
11786 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11788 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11789 defun. Defining it as defalias could introduce too eager
11790 byte-compiler optimization. (Bug#14030)
11792 2013-03-30 Chong Yidong <cyd@gnu.org>
11794 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11796 2013-03-30 Leo Liu <sdl.web@gmail.com>
11798 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11799 (kmacro-execute-from-register): Pass the keyboard macro to
11800 kmacro-call-macro or repeating won't work correctly.
11802 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11804 * progmodes/subword.el: Back to using `forward-symbol'.
11806 * subr.el (forward-whitespace, forward-symbol)
11807 (forward-same-syntax): Move from thingatpt.el.
11809 2013-03-29 Leo Liu <sdl.web@gmail.com>
11811 * kmacro.el (kmacro-to-register): New command.
11812 (kmacro-execute-from-register): New function.
11813 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11815 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11817 * mpc.el: Use defvar-local and setq-local.
11818 (mpc--proc-connect): Connection failures are not bugs.
11819 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11820 (mpc-volume-map): Bind to the up-events.
11822 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11824 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11825 instead of `forward-symbol'.
11827 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11829 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11830 (edebug--recursive-edit): Use it.
11831 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11832 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11834 2013-03-28 Leo Liu <sdl.web@gmail.com>
11836 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11838 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11840 * facemenu.el (list-colors-callback): New defvar.
11841 (list-colors-redisplay): New function.
11842 (list-colors-display): Install list-colors-redisplay as the
11843 revert-buffer-function. (Bug#14063)
11845 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11847 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11848 and suffixes don't overlap (bug#14061).
11850 * case-table.el: Use lexical-binding.
11851 (case-table-get-table): New function.
11852 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11854 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11856 * progmodes/subword.el: Add `superword-mode' to do word motion
11857 over symbol_words (parallels and leverages `subword-mode' which
11858 does word motion inside MixedCaseWords).
11860 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11862 * eshell/em-unix.el: Move su and sudo to...
11863 * eshell/em-tramp.el: ...Eshell tramp module.
11865 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11867 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11868 Change return value to be a sexp. Delay `get-buffer' to after
11869 restoring the desktop (bug#13951).
11871 2013-03-26 Leo Liu <sdl.web@gmail.com>
11873 * register.el: Move semantic tag handling back to
11874 cedet/semantic/senator.el. (Bug#14052)
11876 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11878 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11879 into the prompt either (bug#13963).
11881 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11883 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11884 part of "(error-foo)".
11886 2013-03-24 Juri Linkov <juri@jurta.org>
11888 * replace.el (list-matching-lines-prefix-face): New defcustom.
11889 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11890 `occur-engine' if `face-differs-from-default-p' returns t.
11891 (occur-engine): Add `,' inside backquote construct to evaluate
11892 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11893 Pass `prefix-face' to the functions `occur-context-lines' and
11894 `occur-engine-add-prefix'.
11895 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11896 `prefix-face' and propertize the prefix with `prefix-face'.
11899 2013-03-24 Leo Liu <sdl.web@gmail.com>
11901 * nxml/rng-valid.el (rng-validate-while-idle)
11902 (rng-validate-quick-while-idle): Guard against deleted buffer.
11905 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11906 is the last entry in kill-buffer-hook.
11908 * files.el (kill-buffer-hook): Doc fix.
11910 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11912 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11913 Make it safe-local.
11915 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11917 2013-03-23 Leo Liu <sdl.web@gmail.com>
11919 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11922 * nxml/rng-valid.el (rng-validate-mode)
11923 (rng-after-change-function, rng-do-some-validation):
11924 * nxml/rng-maint.el (rng-validate-buffer):
11925 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11926 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11927 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11928 (nxml-extend-after-change-region): Use with-silent-modifications.
11930 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11933 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11934 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11935 timer-idle-list. (Bug#13999)
11937 2013-03-23 Juri Linkov <juri@jurta.org>
11939 * info.el (info-index-match): New face.
11940 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11941 main pattern and add text properties with the new face to matches
11942 in index entries relative to the beginning of the index entry.
11945 2013-03-21 Eric Ludlam <zappo@gnu.org>
11947 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11948 Inhibit read only while inserting objects.
11950 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11952 * progmodes/cfengine.el: Update docs to mention
11953 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11954 symbol motion. Remove "_" from the word syntax.
11956 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11958 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11959 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11961 2013-03-20 Juri Linkov <juri@jurta.org>
11963 * info.el (Info-next-reference-or-link)
11964 (Info-prev-reference-or-link): New functions.
11965 (Info-next-reference, Info-prev-reference): Use them.
11966 (Info-try-follow-nearest-node): Handle footnote navigation.
11967 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11969 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11971 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11972 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11974 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11976 Suppress unnecessary non-ASCII chatter during build process.
11977 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11978 (batch-skkdic-convert): Suppress most of the chatter.
11979 It's not needed so much now that machines are faster,
11980 and its non-ASCII component was confusing; see Dmitry Gutov in
11981 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11983 2013-03-20 Leo Liu <sdl.web@gmail.com>
11985 * ido.el (ido-chop): Fix bug#10994.
11987 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11989 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11991 (whitespace-color-on, whitespace-color-off):
11992 Use `font-lock-fontify-buffer' (Bug#13817).
11994 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11996 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11997 remapping in mode-line.
11998 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12000 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12002 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12003 value for `whitespace-line' face (Bug#13875).
12004 (whitespace-font-lock-keywords): Change description.
12005 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12006 the constructed keywords instead.
12007 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12009 2013-03-19 Leo Liu <sdl.web@gmail.com>
12011 * progmodes/compile.el (compilation-display-error): New command.
12012 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12015 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12017 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12019 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12021 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12023 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12025 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12027 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12028 * net/tramp-gvfs.el (top):
12029 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12030 (tramp-handle-shell-command): Use it.
12031 (tramp-dissect-file-name): Raise an error when hostname is a
12032 method name, and neither method nor user is specified.
12034 * net/trampver.el: Update release number.
12036 2013-03-18 Leo Liu <sdl.web@gmail.com>
12038 Make sure eldoc can be turned off properly.
12039 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12041 (eldoc-display-message-p): Revert last change.
12042 (eldoc-display-message-no-interference-p)
12043 (eldoc-print-current-symbol-info): Tweak.
12045 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12047 * doc-view.el (doc-view-new-window-function): Check the new window
12048 overlay's display property instead the char property of the
12049 buffer's first char. Use `with-selected-window' instead of
12050 `save-window-excursion' with `select-window'.
12051 (doc-view-document->bitmap): Check the current doc-view overlay's
12052 display property instead the char property of the buffer's first char.
12054 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12056 Automate the build of ja-dic.el (Bug#13984).
12057 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12058 from the input, rather than assume that it's been done for us by the
12059 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12060 the current date into a ja-dic.el comment, as that complicates
12061 regression testing.
12063 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12065 * whitespace.el: Fix double evaluation.
12066 (whitespace-space, whitespace-hspace, whitespace-tab)
12067 (whitespace-newline, whitespace-trailing, whitespace-line)
12068 (whitespace-space-before-tab, whitespace-indentation)
12069 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12071 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12072 (whitespace-color-on): Use a single font-lock-add-keywords call.
12073 Fix double-evaluation of face variables.
12075 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12077 * net/tramp-adb.el (tramp-adb-parse-device-names):
12078 Use `start-process' instead of `call-process'. Otherwise, the
12079 function might be blocked under MS Windows. (Bug#13299)
12081 2013-03-17 Leo Liu <sdl.web@gmail.com>
12083 Extend eldoc to display info in the mode-line. (Bug#13978)
12084 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12085 (eldoc-mode-line-string): New variable.
12086 (eldoc-minibuffer-message): New function.
12087 (eldoc-message-function): New variable.
12088 (eldoc-message): Use it.
12089 (eldoc-display-message-p)
12090 (eldoc-display-message-no-interference-p):
12091 Support eldoc-post-insert-mode.
12093 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12094 (eval-expression): Run it.
12096 2013-03-17 Roland Winkler <winkler@gnu.org>
12098 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12099 strings in the list of return values.
12101 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12103 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12104 radix before checking for HMS forms.
12106 2013-03-16 Leo Liu <sdl.web@gmail.com>
12108 * progmodes/scheme.el: Add indentation and font-locking for λ.
12111 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12113 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12114 token before point (bug#13942).
12116 2013-03-16 Leo Liu <sdl.web@gmail.com>
12118 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12120 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12122 * startup.el (command-line-normalize-file-name): Fix handling of
12123 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12124 <xfq.free@gmail.com> in
12125 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12127 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12129 Sync with Tramp 2.2.7.
12131 * net/trampver.el: Update release number.
12133 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12135 * doc-view.el: Fix bug#13887.
12136 (doc-view-insert-image): Don't modify overlay associated to
12137 non-live windows, and implement horizontal centering of image in
12138 case it's smaller than the window.
12139 (doc-view-new-window-function): Force redisplay of new windows on
12142 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12144 * saveplace.el (save-place-alist-to-file): Don't sort
12145 `save-place-alist', just pretty-print it (bug#13882).
12147 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12149 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12150 Check whether `default-file-name-coding-system' is bound.
12151 It isn't in XEmacs.
12153 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12155 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12156 backquotes for `obsolete' (bug#13929).
12158 * international/mule.el (find-auto-coding): Include file name in
12159 obsolescence warning (bug#13922).
12161 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12163 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12164 for CFEngine 3-specific indentation.
12165 (cfengine3-indent-line): Use it. Fix up category regex.
12166 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12168 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12170 * type-break.el (type-break-file-name):
12171 * textmodes/remember.el (remember-data-file):
12172 * strokes.el (strokes-file):
12173 * shadowfile.el (shadow-initialize):
12174 * saveplace.el (save-place-file):
12175 * ps-bdf.el (bdf-cache-file):
12176 * progmodes/idlwave.el (idlwave-config-directory):
12177 * net/quickurl.el (quickurl-url-file):
12178 * international/kkc.el (kkc-init-file-name):
12179 * ido.el (ido-save-directory-list-file):
12180 * emulation/viper.el (viper-custom-file-name):
12181 * emulation/vip.el (vip-startup-file):
12182 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12183 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12185 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12187 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12188 * language/thai-word.el: Switch to UTF-8.
12190 See ChangeLog.16 for earlier changes.
12192 ;; Local Variables:
12196 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12198 This file is part of GNU Emacs.
12200 GNU Emacs is free software: you can redistribute it and/or modify
12201 it under the terms of the GNU General Public License as published by
12202 the Free Software Foundation, either version 3 of the License, or
12203 (at your option) any later version.
12205 GNU Emacs is distributed in the hope that it will be useful,
12206 but WITHOUT ANY WARRANTY; without even the implied warranty of
12207 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12208 GNU General Public License for more details.
12210 You should have received a copy of the GNU General Public License
12211 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.