1 2014-01-17 Chong Yidong <cyd@gnu.org>
3 * simple.el (password-word-equivalents): New defcustom.
4 * comint.el (comint-password-prompt-regexp): Use it. Bump version
6 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
9 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
11 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
12 (ruby-align-to-stmt-keywords): Change the default value. Use
13 `ruby-alignable-keywords' to generate the possible customization
15 (ruby-smie-rules): Instead of using a hardcoded list of alignable
16 keywords, check against the value of `ruby-alignable-keywords'
17 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
19 2014-01-17 Glenn Morris <rgm@gnu.org>
21 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
23 Make M-x authors return zero *Authors Errors* from current logs.
24 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
25 (authors-ignored-files): Add some entries, remove others.
26 (authors-ambiguous-files, authors-valid-file-names):
28 (authors-renamed-files-alist): Add, remove, and adjust entries.
29 (authors-renamed-files-regexps): Add some entries.
30 Remove some very broad ones. Make some entries `lax'.
31 (authors-lax-changelogs): New constant.
32 (authors-disambiguate-file-name): Treat top-level specially.
33 (authors-lax-changelog-p): New function.
34 (authors-canonical-file-name): Check file as written against
35 authors-valid-file-names. Do not special-case etc/.
36 Handle `lax' logs and authors-renamed-files-regexps elements.
38 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
40 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
41 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
44 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
46 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
47 Assume we're already in the proper buffer.
48 Inspired by Anders Lindgren <andlind@gmail.com>.
49 (follow-post-command-hook): Call it from the right buffer.
50 (follow-comint-scroll-to-bottom): Adjust call.
51 (follow-all-followers): Use get-buffer-window-list.
53 2014-01-15 Daniel Colascione <dancol@dancol.org>
55 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
56 `buffer-file-name' in interactive-form so that we don't leave
57 pathless file names in `file-name-history'.
59 2014-01-15 Juri Linkov <juri@jurta.org>
61 * indent.el (indent-rigidly): Set deactivate-mark to nil
62 in transient indentation mode. (Bug#16438)
64 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
66 * emacs-lisp/package.el (package-desc-keywords): New function
68 (describe-package-1, package-all-keywords)
69 (package--has-keyword-p): Use it.
71 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
73 * simple.el (define-alternatives): When creating the
74 COMMAND-alternatives variable, assign COMMAND as its definition
75 name so that `describe-variable' can relocate it.
77 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
79 * font-lock.el (font-lock-keywords): Fix typo in docstring
82 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
84 * ispell.el (ispell-region): Reset `in-comment' for new line
85 instead of wrongly reset `add-coment' (bug#13577).
87 2014-01-14 Daiki Ueno <ueno@gnu.org>
89 * epa-file.el (epa-file-write-region): Encode the region according
90 to `buffer-file-format'. Problem reported at:
91 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
93 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
95 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
96 so it applies in the right buffer (bug#16410).
98 2014-01-13 Daniel Colascione <dancol@dancol.org>
100 * textmodes/rst.el (rst-define-key): Provide deprecated
101 keybindings through named functions instead of anonymous ones so
102 that "??" doesn't appear in describe-mode output.
104 2014-01-13 Bastien Guerry <bzg@gnu.org>
106 * simple.el (define-alternatives): Call the selected command
107 interactively. When setting `COMMAND--implementation' for the
108 first time, tell the user how to chose another implementation.
109 Enhance the docstring.
111 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
113 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
114 (log-edit--match-first-line): New function.
115 (log-edit-font-lock-keywords): Use it.
116 (log-edit-mode): Make jit-lock-defer-multiline work.
118 2014-01-13 Bastien Guerry <bzg@gnu.org>
120 * rect.el (rectangle-mark-mode): When the region is not active,
121 display a message saying that the mark as been set and that
122 rectangle mode is in use.
123 (rectangle--highlight-for-redisplay): Only put an overlay with a
124 visible vertical bar when (display-graphic-p) is non-nil.
125 This partially fixes Bug#16403.
127 2014-01-13 Juri Linkov <juri@jurta.org>
129 * info.el (Info-find-file): Go to DIR before displaying the error
130 about a nonexistent file if no previous Info file is visited.
131 Use `user-error' instead of `error' for "Info file %s does not exist".
132 (Info-find-node-2): In case of a nonexistent node in unwind forms
133 go to the Top node if there is no previous node to revert to.
136 2014-01-13 Martin Rudalics <rudalics@gmx.at>
138 fit-frame/window-to-buffer code fixes including one for Bug#14096.
139 * window.el (fit-frame-to-buffer): Fix doc-string.
140 Respect window-min-height/-width. Fit pixelwise when
141 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
142 when avoiding that frame goes partially off-screen.
143 (fit-window-to-buffer): Respect window-min-height/-width
146 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
148 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
151 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
153 * net/shr.el (shr-render-region): Autoload.
155 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
157 * net/eww.el (eww-download-directory): Rename from
158 `eww-download-path' (Bug#16419).
160 2014-01-12 Leo Liu <sdl.web@gmail.com>
162 * dired-x.el (dired-mode-map): Fix last change.
164 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
166 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
169 * emacs-lisp/generic.el (generic--normalize-comments):
170 Rename from generic--normalise-comments. All uses changed.
171 * play/bubbles.el (bubbles--neighborhood-score):
172 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
173 (bubbles--neighborhood-available)
174 (bubbles--update-neighborhood-score):
175 Rename from names with 'neighbourhood'. All uses changed.
177 2014-01-12 Leo Liu <sdl.web@gmail.com>
179 Re-implement the feature of showing eldoc info after editing.
180 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
181 (eldoc-edit-message-commands): New function.
182 (eldoc-print-after-edit): New variable.
183 (eldoc-pre-command-refresh-echo-area): Emit message only by
184 eldoc-message-commands.
185 (eldoc-mode): Restrict eldoc-message-commands to editing commands
186 if eldoc-print-after-edit is set. (Bug#16346)
188 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
190 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
192 * version.el (emacs-repository-get-version): Enhance so the
193 function works correctly in either a Bazaar or Git repo.
195 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
196 Goes with removal of the joke manpages from /etc.
198 2014-01-10 K. Handa <handa@gnu.org>
200 * mail/rmail.el (rmail-get-coding-system):
201 Check rmail-get-coding-function before "funcall"ing it.
203 2014-01-10 Glenn Morris <rgm@gnu.org>
205 * emacs-lisp/authors.el (authors-fixed-entries):
206 Update for files that no longer exist.
208 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
210 * version.el (emacs-bzr-get-version): Restore compatibilty with
213 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
215 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
218 2014-01-10 Eli Zaretskii <eliz@gnu.org>
220 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
222 2014-01-10 Chong Yidong <cyd@gnu.org>
224 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
226 2014-01-10 Anders Lindgren <andlind@gmail.com>
228 * follow.el (follow-cache-command-list): Include right-char and
231 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
234 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
235 * woman.el (woman-mark-horizontal-position):
236 Rename from woman-mark-horizonal-position. Use changed.
238 2014-01-10 Glenn Morris <rgm@gnu.org>
240 * info.el (info-initialize): If running uninstalled, ensure our
241 own info files are always found first, even if INFOPATH is set.
243 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
245 2014-01-09 David Engster <deng@randomsample.de>
247 * emacs-lisp/eieio-custom.el:
248 * emacs-lisp/eieio-opt.el: Set generated autoload file to
249 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
250 * emacs-lisp/eieio.el: Regenerate autoloads.
252 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
254 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
255 following renames. (Bug#8756)
257 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
259 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
261 (activate-mark): Add `no-tmm' argument.
262 (set-mark, push-mark-command): Use it instead of running
263 activate-mark-hook by hand.
265 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
267 In preparation for the move to git, sanitize out some
268 Bazaar-specific names.
270 * version.el (emacs-bzr-version): Name changed to
271 emacs-repository-version. Obsolete-variable alias made.
272 * loadup.el: Follow through on this name change.
273 * mail/emacsbug.el (report-emacs-bug): Factor out any
274 assumption about the version control system in use.
276 2014-01-08 David Engster <deng@randomsample.de>
278 * help-fns.el (help-fns-describe-function-functions):
279 New variable to call functions for augmenting help buffers.
280 (describe-function-1): Remove explicit calls to
281 `help-fns--compiler-macro', `help-fns--parent-mode' and
282 `help-fns--obsolete'. Put them in above new variable instead, and
283 call them through `run-hook-with-args'.
284 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
285 `eieio-describe-class'. Not meant for interactive use anymore,
286 but to augment existing help buffers. Remove optional second
287 argument. Create proper button for file location.
288 Rewrite function to use `insert' instead of `princ' and `prin1' where
290 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
291 (eieio-method-def, eieio-class-def): Move further up.
292 (describe-method, describe-generic, eieio-describe-method):
294 (eieio-help-constructor, eieio-help-generic): Rename from
295 `eieio-describe-constructor' and `eieio-describe-generic', resp.
296 Rewrite to use `insert' in the current buffer and use proper help
298 (eieio-help-find-method-definition)
299 (eieio-help-find-class-definition): Also accept symbols as
301 (eieio-help-mode-augmentation-maybee): Remove.
302 (eieio-describe-class-sb): Use `describe-function'.
303 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
304 Add `eieio-help-generic' and `eieio-help-constructor'.
306 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
309 * language/china-util.el (hz-ascii-designation):
310 Rename from hz-ascii-designnation.
311 (hz-ascii-designation): Rename from hz-ascii-designnation.
314 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
316 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
319 2014-01-08 Bastien Guerry <bzg@gnu.org>
321 * emacs-lisp/package.el (package-delete):
322 Correctly delete the package from package-alist.
324 2014-01-08 Daiki Ueno <ueno@gnu.org>
326 * emacs-lisp/package.el (url-recreate-url): Declare.
327 (url-http-target-url): Declare.
328 (package-handle-response): Include requested URL in the error message.
329 (package--check-signature): Don't re-signal errors from
330 package--with-work-buffer. Suggested by Stefan Monnier.
332 2014-01-07 Bastien Guerry <bzg@gnu.org>
334 * minibuffer.el (completion--try-word-completion): When both a
335 hyphen and a space are possible candidates for the character
336 following a word, display both candidates. (Bug#15980)
338 2014-01-07 Martin Rudalics <rudalics@gmx.at>
340 * window.el (balance-windows-2): While rounding don't give a
341 window more than the remainder. Bug#16351, Bug#16383.
343 2014-01-07 Glenn Morris <rgm@gnu.org>
345 * menu-bar.el (menu-bar-help-extra-packages): Remove.
346 (menu-bar-help-menu): Use view-external-packages instead.
348 2014-01-07 Bastien Guerry <bzg@gnu.org>
350 * emacs-lisp/package.el (package-delete): Also delete the package
351 name from `package-alist', not its description only.
353 2014-01-07 Glenn Morris <rgm@gnu.org>
355 * help.el (view-external-packages):
356 * menu-bar.el (menu-bar-help-extra-packages):
357 Visit efaq.info rather than etc/MORE.STUFF.
359 2014-01-07 Juri Linkov <juri@jurta.org>
361 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
362 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
364 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
365 that shadows RET. (Bug#16342)
367 2014-01-07 Chong Yidong <cyd@gnu.org>
369 * isearch.el (isearch-yank-char, isearch-yank-word)
370 (isearch-yank-line): Doc fix.
372 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
374 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
375 * emacs-lisp/elint.el (elint-find-builtins):
376 * emacs-lisp/eldoc.el (eldoc-symbol-function):
377 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
378 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
379 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
380 * apropos.el (apropos-safe-documentation):
381 * subr.el (symbol-file): Remove redundant fboundp.
382 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
384 2014-01-06 Bastien Guerry <bzg@gnu.org>
386 * hl-line.el (global-hl-line-overlay): Make a local variable.
387 (global-hl-line-overlays): New variable to store all overlays.
388 (global-hl-line-mode): Don't delete overlays from the current
389 buffer when `global-hl-line-sticky-flag' is non-nil.
390 (global-hl-line-highlight): Add new overlays to
391 `global-hl-line-overlays'.
392 (global-hl-line-unhighlight-all): New function to delete all
393 overlays when turning off `global-hl-line-mode'.
394 This fixes Bug#16183.
396 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
398 * subr.el (set-transient-map): Fix nested case and docstring.
400 2014-01-06 Tassilo Horn <tsdh@gnu.org>
402 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
405 2014-01-06 Daniel Colascione <dancol@dancol.org>
407 Fix defun navigation in vc log view.
409 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
410 like `beginning-of-defun'.
411 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
412 log-view-end-of-defun to log-view-end-of-defun-1. Replace
413 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
414 (log-view-extract-comment): Call `log-view-current-entry' directly
415 instead of relying on broken `log-view-beginning-of-defun' behavior.
417 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
420 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
421 * emacs-lisp/debug.el (cancel-debug-on-entry):
422 * epg.el (epg-error-to-string):
423 * files.el (recover-file):
424 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
425 * mail/emacsbug.el (report-emacs-bug-hook):
426 * mail/sendmail.el (mail-recover):
427 * ses.el (ses-yank-resize):
428 * term/ns-win.el (ns-print-buffer):
429 Spelling fixes in diagnostics, mostly for "canceled" with one L.
430 * epg.el (epg-key-capability-alist): Rename from misspelled version.
432 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
434 2014-01-06 Leo Liu <sdl.web@gmail.com>
436 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
437 to avoid shadowing global key. (Bug#16354)
439 2014-01-06 Daniel Colascione <dancol@dancol.org>
441 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
444 2014-01-05 Martin Rudalics <rudalics@gmx.at>
446 * window.el (balance-windows): Add mising t to fix Bug#16351.
448 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
450 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
452 (shr-insert): If we have a word that's longer than `shr-width',
453 break after it anyway. Otherwise we'll do no breaking once we get
456 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
458 * net/eww.el (eww): Support single/double quote for search.
459 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
460 (eww-history-quit): Delete and use quit-window.
461 (eww-history-kill): Delete, because it doesn't work well and
463 (eww-history-mode-map): Delete some keys and add easy-menu.
465 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
467 Fix misspelling of 'chinese' in rx (Bug#16237).
468 * emacs-lisp/rx.el (rx-categories): Correct spelling of
471 Change subword regexps back to vars (Bug#16296).
472 * progmodes/subword.el (subword-forward-regexp)
473 (subword-backward-regexp): Change these back to variables.
475 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
477 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
478 syntax-begin-function (bug#16247).
480 2014-01-03 Chong Yidong <cyd@gnu.org>
482 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
483 (advice--docstring): Delete variable.
484 (advice--make-1): Leave the docstring empty.
485 (advice-add): Use function-documentation for advised docstring.
487 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
488 Ignore function-documentation property when getting documentation.
489 (ad-activate-advised-definition): Use function-documentation
490 generate the docstring.
491 (ad-make-advised-definition): Don't call
492 ad-make-advised-definition-docstring.
493 (ad-make-advised-definition-docstring, ad-advised-definition-p):
496 * progmodes/sql.el (sql-help): Use function-documentation instead
497 of dynamic-docstring-function property. No need to autoload now.
498 (sql--help-docstring): New variable.
499 (sql--make-help-docstring): Use it.
501 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
503 * ielm.el (ielm-tab): Retarget.
504 (ielm-map): Use ielm-tab for tab.
505 (ielm-complete-filename): Use comint-filename-completion.
506 (ielm-complete-symbol): Remove.
507 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
508 remove ielm-tab from completion-at-point-functions (bug#16224).
510 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
511 Beware signals raised by predicates (bug#16201).
513 2014-01-02 Richard Stallman <rms@gnu.org>
515 * dired-aux.el (dired-do-print): Handle printer-name.
517 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
518 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
519 (rmail-epa-decrypt): Turn off mime processing.
521 * mail/rmail.el (rmail-make-in-reply-to-field):
522 Add parens in message-id.
524 * mail/rmail.el (rmail-get-coding-function): Variable.
525 (rmail-get-coding-system): Use it.
527 2013-12-31 Eli Zaretskii <eliz@gnu.org>
529 * international/mule-conf.el: Unify the charset indian-is13194.
530 (indian-is13194): Specify unify-map.
532 2013-12-31 Leo Liu <sdl.web@gmail.com>
534 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
536 2013-12-30 Daniel Colascione <dancol@dancol.org>
538 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
539 of printing a useless when we resume from sleep.
541 * progmodes/sh-script.el
542 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
543 in indentation code. (Bug#16233)
545 2013-12-28 João Távora <joaotavora@gmail.com>
547 * elec-pair.el (electric-pair-post-self-insert-function):
548 Don't open extra newlines at beginning of buffer. (Bug#16272)
550 2013-12-28 Eli Zaretskii <eliz@gnu.org>
552 * frame.el (window-system-for-display): Don't allow to create a
553 GUI frame from a -nw session on MS-Windows. (Bug#14739)
555 2013-12-28 Glenn Morris <rgm@gnu.org>
557 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
560 * apropos.el (apropos-match-face):
561 * calculator.el (calculator-displayer):
562 * dabbrev.el (dabbrev-search-these-buffers-only):
563 * face-remap.el (buffer-face-mode-face):
564 * simple.el (yank-handled-properties):
565 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
566 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
567 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
568 (hashcash-double-spend-database):
569 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
570 (ruby-deep-indent-paren-style):
571 * textmodes/flyspell.el (flyspell-auto-correct-binding):
572 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
573 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
574 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
575 Specify custom types.
577 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
578 * bookmark.el (bookmark-bmenu-use-header-line):
579 * doc-view.el (doc-view-scale-internally):
580 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
581 * register.el (register-preview-delay):
582 * net/shr.el (shr-bullet):
583 * progmodes/cfengine.el (cfengine-cf-promises)
584 (cfengine-parameters-indent):
585 * progmodes/octave.el (inferior-octave-error-regexp-alist):
586 * textmodes/reftex-vars.el (reftex-label-regexps):
587 * vc/log-edit.el (log-edit-setup-add-author): Add version.
589 * net/tls.el (tls-certtool-program): Fix default value.
591 * desktop.el (desktop-restore-in-current-display):
592 * newcomment.el (comment-empty-lines):
593 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
594 (idlwave-pad-keyword):
595 * progmodes/tcl.el (tcl-tab-always-indent):
596 * textmodes/reftex-vars.el (reftex-index-default-tag):
597 * elec-pair.el (electric-pair-skip-whitespace):
598 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
600 * emacs-lisp/authors.el (authors-ignored-files)
601 (authors-valid-file-names, authors-renamed-files-alist): Additions.
603 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
605 * shell.el (shell-dynamic-complete-command): Doc fix.
606 (shell--command-completion-data): Shell completion now matches
607 executable filenames from the current buffer's directory, on
608 systems in which this behavior is the default (windows-nt, ms-dos).
610 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
612 * net/shr.el (shr-insert): Don't infloop if the width is zero.
614 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
616 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
619 * electric.el: Move all electric-pair-* to elec-pair.el.
620 * elec-pair.el: New file, split from electric.el.
622 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
624 * net/shr.el (shr-find-fill-point): Don't try to fill if the
625 indentation level is larger than the width, because that will
627 (shr-insert): Fill repeatedly long texts, so that Japanese is
628 formatted correctly (bug#16263).
629 (shr-find-fill-point): Off by one error in comparison with the
632 2013-12-26 João Távora <joaotavora@gmail.com>
634 * electric.el (electric-pair-mode): More flexible engine for skip-
635 and inhibit predicates, new options for pairing-related functionality.
636 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
637 if that keeps or improves their balance in buffers.
638 (electric-pair-delete-adjacent-pairs): Delete the pair when
639 backspacing over adjacent matched delimiters.
640 (electric-pair-open-extra-newline): Open extra newline when
641 inserting newlines between adjacent matched delimiters.
642 (electric--sort-post-self-insertion-hook):
643 Sort post-self-insert-hook according to priority values when
644 minor-modes are activated.
645 * simple.el (newline-and-indent): Call newline with interactive
647 (blink-paren-post-self-insert-function): Set priority to 100.
648 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
649 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
650 comments. Locally set electric-pair-skip-whitespace to 'chomp and
651 electric-pair-open-newline-between-pairs to nil.
653 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
655 * progmodes/python.el: Use lexical-binding.
656 (python-nav-beginning-of-defun): Stop searching ASAP.
658 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
660 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
661 Fix interactive spec. Doc fix. (Bug#15754)
663 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
665 * emacs-lisp/byte-run.el (eval-when-compile):
666 * progmodes/cc-defs.el (cc-eval-when-compile):
667 Fix edebug spec (bug#16184).
669 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
671 * net/shr.el (shr-visit-file): Remove debugging function.
672 (shr-insert): Don't infloop if we can't find a good place to break
673 the line (bug#16256).
675 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
677 * progmodes/python.el:
678 (python-nav--lisp-forward-sexp): New function.
679 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
680 python-nav-lisp-forward-sexp-safe.
681 (python-nav--forward-sexp): New argument SAFE allows switching
682 forward sexp movement behavior for parens.
683 (python-nav-forward-sexp): Throw errors on unterminated parens
685 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
686 (python-nav-backward-sexp-safe): New functions.
687 (python-shell-buffer-substring):
688 Use `python-nav-forward-sexp-safe'.
690 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
692 * net/shr.el (shr-find-fill-point): Don't break lines before a
694 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
695 (shr-find-fill-point): Remove the special checks for the quotation
696 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
698 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
700 * net/eww.el (eww-form-textarea): Use a different face for
701 textareas than text input since they have different keymaps
704 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
706 * progmodes/python.el (python-nav-beginning-of-statement):
707 Speed up (Bug#15295).
709 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
711 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
712 the window configuration.
714 2013-12-24 Eli Zaretskii <eliz@gnu.org>
716 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
717 we run on MS-Windows or MS-DOS.
719 2013-12-24 Martin Rudalics <rudalics@gmx.at>
721 * window.el (balance-windows-area): Call window-size instead of
722 window-height and window-width. Bug#16241.
724 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
726 * net/eww.el (eww-bookmark-quit): Remove.
727 (eww-bookmark-browse): Restore the window configuration when you
728 choose a bookmark (bug#16144).
730 2013-12-24 Daniel Colascione <dancol@dancol.org>
732 * icomplete.el: Remove redundant :group arguments to `defcustom'
734 (icomplete-show-matches-on-no-input): New customizable variable.
735 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
736 we have something to show.
737 (icomplete-exhibit): Compute completions even if we have no user input.
739 2013-12-23 Daniel Colascione <dancol@dancol.org>
741 * icomplete.el: Move `provide' to end of file.
743 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
745 * net/gnutls.el (gnutls-verify-error): Add version tag.
747 2013-12-23 Chong Yidong <cyd@gnu.org>
749 * subr.el (set-transient-map): Rename from
750 set-temporary-overlay-map. Doc fix.
752 * face-remap.el (text-scale-adjust):
753 * indent.el (indent-rigidly):
754 * kmacro.el (kmacro-call-macro):
755 * minibuffer.el (minibuffer-force-complete):
756 * repeat.el (repeat):
757 * simple.el (universal-argument--mode):
758 * calendar/todo-mode.el (todo-insert-item--next-param):
759 * progmodes/f90.el (f90-abbrev-start): Callers changed.
761 * indent.el (indent-rigidly): Use substitute-command-keys.
763 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
765 * net/eww.el (eww-tag-select): Add text-property to jump to next
767 (eww): Add non-supported ftp error.
769 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
771 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
772 comments. Handle electric indent after typing `?' and `!'.
774 2013-12-22 Chong Yidong <cyd@gnu.org>
776 * faces.el (face-spec-recalc): If the theme specs are not
777 applicable to a frame, fall back on the defface spec.
778 This prevents themes from obliterating faces on low-color terminals.
780 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
782 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
783 after `{'. We need it after block openers, and it doesn't seem
784 to hurt after hash openers.
786 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
788 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
789 extracted from `ruby-smie-rules'.
790 (ruby--electric-indent-chars): New variable.
791 (ruby--electric-indent-p): New function.
792 (ruby-mode): Use `electric-indent-functions' instead of
793 `electric-indent-chars'.
795 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
797 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
799 (ruby-smie-rules): Indent plus one level after `=>'.
801 2013-12-21 Richard Stallman <rms@gnu.org>
803 * simple.el (newline): Doc fix.
805 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
807 * net/eww.el (eww-list-histories, eww-list-histories)
808 (eww-history-browse, eww-history-quit, eww-history-kill)
809 (eww-history-mode-map, eww-history-mode): New command and
810 functions to list browser histories.
811 (eww-form-text): Support text form with disabled
812 and readonly attributes.
813 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
815 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
817 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
818 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
819 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
820 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
822 (eww-bookmark-mode-map): Add menu.
823 (eww-render, eww-mode): Use `setq-local'.
824 (eww-tool-bar-map): New variable.
825 (eww-mode): Set `tool-bar-map'.
826 (eww-view-source): Check for `html-mode' with `fboundp'.
828 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
830 * net/shr.el (shr--extract-best-source): Don't bug out on audio
831 elements with text inside. Also remove debugging.
833 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
835 * cus-start.el (all): Add ns-use-srgb-colorspace.
837 2013-12-21 Chong Yidong <cyd@gnu.org>
839 * custom.el (custom-theme-recalc-face): Do nothing if the face is
840 undefined. Thus, theme settings for undefined faces do not take
841 effect until the faces are defined with defface, the same as with
844 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
845 (face-spec-reset-face): Don't assign extra properties in temacs.
846 (face-spec-recalc): Apply X resources too.
848 2013-12-21 Chong Yidong <cyd@gnu.org>
850 * faces.el (face-spec-set):
851 * cus-face.el (custom-theme-set-faces, custom-set-faces):
852 * custom.el (defface): Doc fixes (Bug#16203).
854 * indent.el (indent-rigidly-map): Add docstring, and move commands
855 into named functions.
856 (indent-rigidly-left, indent-rigidly-right)
857 (indent-rigidly-left-to-tab-stop)
858 (indent-rigidly-right-to-tab-stop): New functions. Decide on
859 indentation direction based on bidi direction, and accumulate
860 sequential commands in a single undo boundary.
861 (indent-rigidly--pop-undo): New utility function.
863 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
865 * faces.el (read-face-name): Require crm.el when using crm-separator.
867 2013-12-20 Daniel Colascione <dancol@dancol.org>
869 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
870 so that we don't reflow comments into the shebang line.
872 2013-12-20 Juri Linkov <juri@jurta.org>
874 * saveplace.el (save-place-to-alist): Add `dired-filename' as
875 a position when `dired-directory' is non-nil. Check integer
876 positions with `integerp'.
877 (toggle-save-place, save-places-to-alist): Add check for
879 (save-place-find-file-hook): Check integer positions with
881 (save-place-dired-hook): Use `dired-goto-file' when
882 `dired-filename' is found in the assoc list. Check integer
883 positions with `integerp'.
884 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
886 * dired.el (dired-initial-position-hook): Rename back from
887 `dired-initial-point-hook'.
888 (dired-initial-position): Rename `dired-initial-point-hook' to
889 `dired-initial-position-hook'.
890 (dired-file-name-at-point): Doc fix. (Bug#15329)
892 2013-12-20 Juri Linkov <juri@jurta.org>
894 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
895 (read-regexp-suggestions): New function.
896 (read-regexp): Use `read-regexp-defaults-function' to get default values.
897 Use `read-regexp-suggestions'. Add non-empty default to history
899 (occur-read-regexp-defaults-function): Remove function.
900 (occur-read-primary-args): Use `regexp-history-last' instead of
901 `occur-read-regexp-defaults-function'.
903 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
904 (hi-lock-line-face-buffer, hi-lock-face-buffer)
905 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
906 `hi-lock-read-regexp-defaults-function'. Doc fix.
907 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
908 with `find-tag-default-as-symbol-regexp'. Doc fix.
909 (hi-lock-read-regexp-defaults): Remove function.
910 (hi-lock-regexp-okay): Add check for null.
912 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
913 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
915 * subr.el (find-tag-default-as-symbol-regexp): New function.
916 (find-tag-default-as-regexp): Move symbol regexp formatting to
917 `find-tag-default-as-symbol-regexp'.
919 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
921 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
924 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
926 * calendar/todo-mode.el: New implementation of item insertion
927 commands and key bindings.
928 (todo-key-prompt): New face.
929 (todo-insert-item): New command.
930 (todo-insert-item--parameters): New defconst, replacing defvar
931 todo-insertion-commands-args-genlist.
932 (todo-insert-item--param-key-alist): New defconst, replacing
933 defvar todo-insertion-commands-arg-key-list.
934 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
935 (todo-insert-item--argsleft, todo-insert-item--apply-args)
936 (todo-insert-item--next-param): New functions.
937 (todo-insert-item--args, todo-insert-item--argleft)
938 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
940 (todo-key-bindings-t): Change binding of "i" from
941 todo-insertion-map to todo-insert-item.
942 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
943 (todo-insertion-command-name, todo-insertion-commands-names)
944 (todo-define-insertion-command, todo-insertion-commands)
945 (todo-insertion-key-bindings, todo-insertion-map): Remove.
947 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
949 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
950 (todo-toggle-item-highlighting): Use eval-and-compile instead of
952 (todo-move-category): Allow choosing a non-existing todo file to
953 move the category to, and create that file.
954 (todo-default-priority): New user option.
955 (todo-set-item-priority): Use it.
956 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
957 (desktop-restore-file-buffer): Declare.
958 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
959 (todo-modes-set-2): Locally set desktop-save-buffer to
960 todo-desktop-save-buffer.
961 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
962 (auto-mode-alist): Add autoload cookie.
964 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
966 * emacs-lisp/subr-x.el: Renamed from helpers.el.
967 helpers.el was a poor choice of name.
968 (string-remove-prefix): New function.
969 (string-remove-suffix): New function.
971 2013-12-20 Martin Rudalics <rudalics@gmx.at>
973 Fix assignment for new window total sizes.
974 * window.el (window--pixel-to-size): Remove function.
975 (window--pixel-to-total-1, window--pixel-to-total):
976 Fix calculation of new total sizes.
978 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
980 * comint.el (comint-output-filter): Fix rear-nonsticky property
981 placement (Bug#16010).
983 2013-12-20 Chong Yidong <cyd@gnu.org>
985 * faces.el (read-color): Minor fix for completion function.
987 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
989 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
990 New option. (Bug#16182)
991 (ruby-smie--indent-to-stmt-p): Use it.
992 (ruby-smie-rules): Revert the logic in the handling of `when'.
993 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
994 (ruby-deep-arglist, ruby-deep-indent-paren)
995 (ruby-deep-indent-paren-style): Update docstrings to note that the
996 vars don't have any effect with SMIE.
998 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1000 * calc/calc.el (calc-enter, calc-pop): Use the variable
1001 `calc-context-sensitive-enter'.
1003 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1005 * net/shr.el (shr-insert): Protect against infloops in degenerate
1008 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1010 * progmodes/octave.el (octave): Add link to manual and octave
1012 (octave-mode-menu): Link to octave-mode manual.
1014 2013-12-20 Leo Liu <sdl.web@gmail.com>
1016 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1017 insertion using skeleton-end-newline. (Bug#16138)
1019 2013-12-20 Juri Linkov <juri@jurta.org>
1021 * replace.el (occur-engine): Use `add-face-text-property'
1022 to add the face property to matches and titles. (Bug#14645)
1024 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1025 the palette of other hi-lock colors.
1026 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1028 2013-12-19 Juri Linkov <juri@jurta.org>
1030 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1031 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1032 (minibuffer-history-symbol): Move variable declaration closer to
1035 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1038 2013-12-19 Juri Linkov <juri@jurta.org>
1040 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1042 (log-edit-hook): Add it to :options. (Bug#16170)
1044 2013-12-19 Juri Linkov <juri@jurta.org>
1046 * simple.el (eval-expression-print-format): Don't check for
1047 command names and the last command. Always display additional
1048 formats of the integer result in the echo area, and insert them
1049 to the current buffer only with a zero prefix arg.
1050 Display character when char-displayable-p is non-nil.
1051 (eval-expression): With a zero prefix arg, set `print-length' and
1052 `print-level' to nil, and insert the integer values from
1053 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1055 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1056 `eval-last-sexp-arg-internal'. Doc fix.
1057 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1058 `eval-last-sexp-print-value'. Doc fix.
1059 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1060 Set `print-length' and `print-level' to nil when arg is zero.
1061 (eval-last-sexp): Doc fix.
1062 (eval-defun-2): Print the integer values from
1063 `eval-expression-print-format' at the end.
1065 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1066 values from `eval-expression-print-format' at the end.
1068 * ielm.el (ielm-eval-input): Print the integer
1069 values from `eval-expression-print-format' at the end.
1071 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1073 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1074 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1076 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1078 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1079 (hl-line-highlight, global-hl-line-highlight): Use it.
1080 (hl-line-overlay): Use defvar-local.
1082 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1084 * term/ns-win.el: Require dnd.
1085 (global-map): Remove drag items.
1086 (ns-insert-text, ns-set-foreground-at-mouse)
1087 (ns-set-background-at-mouse):
1088 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1089 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1092 2013-12-19 Glenn Morris <rgm@gnu.org>
1094 * emacs-lisp/ert.el (ert-select-tests):
1095 Fix string/symbol mixup. (Bug#16121)
1097 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1099 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1100 keywords to their parent.
1102 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1104 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1105 first arg to be a string (fixed dead code), or an operator symbol.
1106 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1108 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1109 did nothing. Don't respond to `(:after ".")', it will be called
1110 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1111 change anything. Only return indentation for binary operators
1112 when they are hanging. De-dent opening paren when its parent is
1113 `.', otherwise it looks bad when the dot is not at bol or eol
1116 2013-12-19 Juri Linkov <juri@jurta.org>
1118 * replace.el (query-replace-read-args): Split a non-negative arg
1119 and a negative arg into separate elements.
1120 (query-replace, query-replace-regexp, replace-string)
1121 (replace-regexp): Add arg `backward'. Doc fix.
1122 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1123 move point to the beginning of the match.
1124 (replace-search, replace-highlight): Use new arg `backward'
1125 to set the value of `isearch-forward'.
1126 (perform-replace): Add arg `backward' and use it to perform
1127 replacement backward. (Bug#14979)
1129 * isearch.el (isearch-query-replace): Use a negative prefix arg
1130 to call `perform-replace' with a non-nil arg `backward'.
1132 2013-12-18 Juri Linkov <juri@jurta.org>
1134 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1135 to the default list. Move `log-edit-show-files' to the end.
1136 Add more available functions to options.
1137 (log-edit): Move default specific settings to
1138 `log-edit-insert-message-template'. Don't move point.
1139 (log-edit-insert-message-template): New function.
1140 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1143 2013-12-18 Juri Linkov <juri@jurta.org>
1145 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1146 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1148 2013-12-18 Leo Liu <sdl.web@gmail.com>
1150 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1153 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1155 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1156 formats for displaying file sizes when the -s switch is given.
1157 Instead, compute a separate format for displaying the size in
1158 blocks, which is displayed in addition to the "regular" size.
1159 When -h is given in addition to -s, produce size in blocks in
1160 human-readable form as well. (Bug#16179)
1162 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1164 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1165 Reference tables with ~\ref{...} instead of only \ref{...}.
1167 2013-12-18 Chong Yidong <cyd@gnu.org>
1169 * cus-edit.el (custom-magic-alist): Fix "themed" description
1172 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1173 is non-nil, do not create a new entry in the symbol's theme-value
1174 or theme-face property; update theme-settings only (Bug#14664).
1175 (custom-available-themes): Doc fix.
1177 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1180 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1182 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1184 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1187 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1189 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1191 2013-12-18 Glenn Morris <rgm@gnu.org>
1193 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1194 * cus-start.el (load-prefer-newer): New option.
1196 2013-12-18 Le Wang <l26wang@gmail.com>
1198 * comint.el (comint-previous-matching-input-from-input):
1199 Retain point (Bug#13404).
1201 2013-12-18 Chong Yidong <cyd@gnu.org>
1203 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1205 2013-12-18 Glenn Morris <rgm@gnu.org>
1207 * mail/emacsbug.el (report-emacs-bug):
1208 Only mention enable-multibyte-characters if non-standard.
1210 2013-12-17 Juri Linkov <juri@jurta.org>
1212 * arc-mode.el (archive-extract-by-file): Check if directory exists
1213 before deletion to not show irrelevant errors if it doesn't exist.
1215 2013-12-17 Juri Linkov <juri@jurta.org>
1217 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1220 * net/eww.el (browse-web): Add alias to `eww'.
1221 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1222 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1224 * net/browse-url.el (browse-url-browser-function): Move `eww'
1225 closer to similar functions.
1227 * startup.el (fancy-startup-screen, fancy-about-screen):
1228 Set browse-url-browser-function to eww-browse-url locally.
1231 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1233 * window.el (window--pixel-to-total): Remove unused `mini' var.
1234 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1235 (split-window): Remove unused `new' var.
1236 (window--display-buffer): Remove unused `frame' and `delta' vars.
1237 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1240 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1242 * dired.el (dired-mark-pop-up):
1243 * register.el (register-preview): Don't bind
1244 split-height-threshold here since it's now done in
1245 display-buffer-below-selected.
1247 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1249 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1250 xterm-rgb-convert-to-16bit.
1251 (rxvt-register-default-colors): Standardize with
1252 xterm-register-default-colors (Bug#14078).
1254 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1256 * simple.el (kill-region): Pass mark first, then point, so that
1257 kill-append works right (Bug#12819).
1258 (copy-region-as-kill, kill-ring-save): Likewise.
1260 2013-12-17 Leo Liu <sdl.web@gmail.com>
1262 * net/rcirc.el (rcirc-add-face):
1263 * eshell/em-prompt.el (eshell-emit-prompt):
1264 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1267 2013-12-17 Chong Yidong <cyd@gnu.org>
1269 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1270 Suggested by Xue Fuqiao.
1272 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1274 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1276 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1278 * net/shr.el (shr-insert-document): Remove unused var
1279 `shr-preliminary-table-render'.
1280 (shr-rescale-image): Remove unused arg `force'.
1281 (shr-put-image): Update calls accordingly.
1282 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1284 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1286 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1287 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1288 :close-all, to see which indentation method to use (Bug#16116).
1289 (smie-rules-function): Document the method :close-all.
1291 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1293 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1295 * net/eww.el (eww-display-html): If we can't find the anchor we're
1296 looking for, then go to point-min.
1298 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1300 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1301 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1302 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1303 Expand dir too, in case it's relative.
1305 2013-12-16 Juri Linkov <juri@jurta.org>
1307 * desktop.el (desktop-auto-save-timeout): Change default to
1308 `auto-save-timeout'. Doc fix.
1309 (desktop-save): Skip the timestamp in desktop-saved-frameset
1310 when checking for auto-save changes.
1311 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1312 `desktop-auto-save' is called repeatedly by the idle timer.
1313 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1314 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1317 2013-12-16 Juri Linkov <juri@jurta.org>
1319 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1321 (isearch-pre-command-hook): Check `this-command' for symbolp.
1323 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1325 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1327 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1329 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1330 (cfengine3--current-function): Bring in the current-function
1331 functionality from `cfengine3--current-word'.
1332 (cfengine3-completion-function): Bring in the
1333 bounds-of-current-word functionality from
1334 `cfengine3--current-word'.
1336 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1338 * window.el (display-buffer-below-selected):
1339 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1341 2013-12-16 Leo Liu <sdl.web@gmail.com>
1343 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1344 Remove NOMSG arg and all uses changed.
1346 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1348 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1349 (cua--deactivate-rectangle): Don't deactivate the mark.
1350 (cua-set-rectangle-mark): Don't set mark-active since
1351 cua--activate-rectangle already does it for us.
1352 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1353 non-rectangular region.
1355 * emulation/cua-base.el (cua-repeat-replace-region):
1356 Use with-current-buffer.
1358 * net/gnutls.el: Use cl-lib.
1359 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1361 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1363 * emacs-lisp/package.el (package-built-in-p): Support both
1364 built-in and the package.el converted package descriptions.
1365 (package-show-package-list): Allow keywords.
1366 (package-keyword-button-action): Use it instead of
1367 `finder-list-matches'.
1368 (package-menu-filter-interactive): Interactive filtering (by
1370 (package-menu--generate): Support keywords and change keymappings
1371 and headers when they are given.
1372 (package--has-keyword-p): Helper function.
1373 (package-menu--refresh): Use it.
1374 (package--mapc): Helper function.
1375 (package-all-keywords): Use it.
1376 (package-menu-mode-map): Set up menu items and keybindings to
1377 provide a filtering UI.
1379 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1381 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1382 the behavior when a certificate fails validation. Defaults to
1383 old behavior: never abort, just warn.
1384 (gnutls-negotiate): Use it.
1386 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1388 * window.el (display-buffer-below-selected): Never split window
1389 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1391 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1393 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1394 (package-buffer-info): Use it (bug#15108).
1396 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1398 * icomplete.el (icomplete-completions): Make sure the prefix is already
1399 displayed elsewhere before hiding it (bug#16219).
1401 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1403 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1404 open-paren tokens when preceded by a open-paren, too.
1405 (ruby-smie-rules): Handle virtual indentation after open-paren
1406 tokens specially. If there is code between it and eol, return the
1407 column where is starts (Bug#16118).
1409 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1411 * progmodes/cfengine.el: Fix `add-hook' doc.
1412 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1413 (cfengine3--current-word): Fix parameters.
1414 (cfengine3-make-syntax-cache): Simplify further.
1415 (cfengine3-completion-function, cfengine3--current-function):
1416 Use `assq' for symbols.
1417 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1419 2013-12-13 Glenn Morris <rgm@gnu.org>
1421 * loadup.el (load-path): Warn if site-load or site-init changes it.
1422 No more need to reset it when bootstrapping.
1424 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1426 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1427 locations for cf-promises.
1428 (cfengine-mode-syntax-functions-regex): New caching variable.
1429 (cfengine3-fallback-syntax): Fallback syntax for cases where
1430 cf-promises doesn't run.
1431 (cfengine3--current-word): Reimplement using
1432 `cfengine-mode-syntax-functions-regex'.
1433 (cfengine3-completion-function, cfengine3--current-function):
1434 Use `cfengine3-make-syntax-cache' directly.
1435 (cfengine3-clear-syntax-cache): New function.
1436 (cfengine3-make-syntax-cache): Simplify and create
1437 `cfengine-mode-syntax-functions-regex' on demand.
1438 (cfengine3-format-function-docstring): Don't call
1439 `cfengine3-make-syntax-cache' explicitly.
1441 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1443 Fix windmove-find-other-window broken after pixelwise resizing
1445 * windmove.el (windmove-other-window-loc): Revert change from
1447 (windmove-find-other-window): Call window-in-direction.
1448 * window.el (window-in-direction): New arguments SIGN, WRAP and
1449 MINI to emulate original windmove-find-other-window behavior.
1451 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1453 * simple.el (blink-matching--overlay): New variable.
1454 (blink-matching-open): Instead of moving point, highlight the
1455 matching paren with an overlay
1456 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1458 * faces.el (paren-showing-faces, show-paren-match)
1459 (show-paren-mismatch): Move from paren.el.
1461 2013-12-13 Leo Liu <sdl.web@gmail.com>
1463 * indent.el (indent-region): Disable progress reporter in
1464 minibuffer. (Bug#16108)
1466 * bindings.el (visual-order-cursor-movement): Fix version.
1468 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1470 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1471 Also match after beginning of line.
1472 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1473 files. Thanks to Russell Sim. (Bug#15378)
1475 2013-12-13 Juri Linkov <juri@jurta.org>
1477 * simple.el <Keypad support>: Remove key bindings duplicated
1478 with bindings.el. (Bug#14397)
1480 2013-12-13 Juri Linkov <juri@jurta.org>
1482 * comint.el (comint-mode-map): Replace `delete-char' with
1483 `delete-forward-char'. (Bug#16109)
1485 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1487 * progmodes/python.el (python-indent-calculate-indentation):
1488 Fix de-denters cornercase. (Bug#15731)
1490 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1492 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1493 (advice--make): Pay attention to `depth'.
1494 (advice--make-1): Don't autoload commands eagerly.
1495 * emacs-lisp/elp.el (elp-instrument-function):
1496 * emacs-lisp/trace.el (trace-function-internal):
1497 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1499 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1501 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1503 * term/w32-win.el (w32-handle-dropped-file):
1504 * startup.el (normal-top-level):
1505 * net/browse-url.el (browse-url-file-url):
1506 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1507 decode file names using 'utf-8' rather than
1508 file-name-coding-system.
1510 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1512 * progmodes/python.el (python-indent-context)
1513 (python-indent-calculate-indentation): Fix auto-identation
1514 behavior for comment blocks. (Bug#15916)
1516 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1518 * progmodes/python.el (python-indent-calculate-indentation):
1519 When determining indentation, don't treat "return", "pass", etc., as
1520 operators when they are just string constituents. (Bug#15812)
1522 2013-12-12 Juri Linkov <juri@jurta.org>
1524 * uniquify.el (uniquify-buffer-name-style): Change default to
1525 `post-forward-angle-brackets'.
1527 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1528 `uniquify'. Change default to `post-forward-angle-brackets'.
1530 2013-12-11 Glenn Morris <rgm@gnu.org>
1532 * emacs-lisp/package.el (finder-list-matches):
1533 Autoload rather than falsely declaring.
1535 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1537 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1538 (eww-mode-map): Use them.
1540 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1542 * window.el (display-buffer-in-side-window): Fix doc-string
1545 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1547 * vc/vc-git.el: Silence byte-compiler warnings.
1548 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1549 (log-edit-set-header): Declare.
1551 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1553 * Makefile.in (custom-deps, finder-data): Run output file names
1554 through unmsys--file-name. (Bug#16099)
1556 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1558 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1559 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1561 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1562 instead of deleting the selection "by hand" (bug#16098).
1563 Rely on insert-for-yank to yank rectangles.
1564 (cua-highlight-region-shift-only): Mark obsolete.
1565 (cua-mode): Don't enable/disable transient-mark-mode,
1566 shift-select-mode (cua-mode works both with and without them), and
1567 pc-selection-mode (obsolete).
1568 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1569 (cua--deactivate-rectangle): Deactivate it.
1571 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1572 (delete-selection-helper): Make sure yank starts at the top of the
1574 (minibuffer-keyboard-quit): Use region-active-p.
1576 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1578 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1579 to `delete' (bug#16109).
1581 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1583 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1584 info manual and show keybindings and set `:group' keyword.
1586 2013-12-11 Juri Linkov <juri@jurta.org>
1588 * delsel.el (delete-active-region): Let-bind `this-command'
1589 to prevent `kill-region' from changing its original value.
1590 (delete-selection-helper): Handle `overwrite-mode' for the type
1591 `kill' exactly the same way as for the type `t'.
1592 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1593 Support more commands. (Bug#13312)
1595 2013-12-11 Juri Linkov <juri@jurta.org>
1597 * bindings.el: Map kp keys to non-kp keys systematically
1598 with basic modifiers control, meta and shift. (Bug#14397)
1600 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1602 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1603 "Close browser" menu items. Fix wrong function of "List
1606 2013-12-11 Juri Linkov <juri@jurta.org>
1608 * misearch.el (multi-isearch-buffers): Set the value of
1609 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1610 arg of isearch-forward to t.
1611 (multi-isearch-buffers-regexp): Set the value of
1612 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1613 arg of isearch-forward-regexp to t.
1614 (multi-isearch-files): Set the value of
1615 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1616 arg of isearch-forward to t.
1617 (multi-isearch-files-regexp): Set the value of
1618 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1619 arg of isearch-forward-regexp to t. (Bug#16035)
1621 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1622 arg of isearch-forward to t.
1623 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1624 arg of isearch-forward-regexp to t.
1625 (dired-isearch-filter-filenames): Remove unnecessary check for
1626 `dired-isearch-filenames'.
1628 * comint.el (comint-history-isearch-backward):
1629 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1630 (comint-history-isearch-backward-regexp):
1631 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1633 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1635 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1636 unmsys--file-name. (Bug#16099)
1638 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1640 * emacs-lisp/package.el (package-keyword-button-action):
1641 Remove finder.el require dependency.
1643 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1645 * emacs-lisp/package.el: Require finder.el.
1646 (describe-package-1): Add keyword buttons.
1647 (package-make-button): New convenience function.
1648 (package-keyword-button-action): Keyword button action using
1649 `finder-list-matches'.
1651 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1653 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1656 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1658 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1661 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1663 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1664 after the end of a percent literal.
1666 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1668 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1669 Handle caret-delimited strings (Bug#16079).
1671 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1673 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1674 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1675 `ruby-parse-partial' (Bug#16078).
1677 2013-12-09 Leo Liu <sdl.web@gmail.com>
1679 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1681 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1683 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1684 (js-switch-indent-offset): New option.
1685 (js--proper-indentation): Use it. And handle the case when
1686 "default" is actually a key in an object literal.
1687 (js--same-line): New function.
1688 (js--multi-line-declaration-indentation): Use it.
1689 (js--indent-in-array-comp, js--array-comp-indentation):
1691 (js--proper-indentation): Use them, to handle array comprehension
1694 2013-12-08 Leo Liu <sdl.web@gmail.com>
1696 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1697 (flymake-make-overlay): Remove arg MOUSE-FACE.
1698 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1700 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1702 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1704 (redisplay-highlight-region-function): Use it.
1706 * emulation/cua-base.el (cua--explicit-region-start)
1707 (cua--last-region-shifted): Remove.
1708 (cua--deactivate): Use deactivate-mark.
1709 (cua--pre-command-handler-1): Don't handle shift-selection.
1710 (cua--post-command-handler-1): Don't change transient-mark-mode.
1711 (cua--select-keymaps): Use region-active-p rather than
1712 cua--explicit-region-start or cua--last-region-shifted.
1713 (cua-mode): Enable shift-select-mode.
1715 2013-12-08 Leo Liu <sdl.web@gmail.com>
1717 * progmodes/flymake.el (flymake-popup-current-error-menu):
1718 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1719 (flymake-posn-at-point-as-event, flymake-popup-menu)
1720 (flymake-make-emacs-menu): Remove. (Bug#16077)
1722 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1724 * rect.el (rectangle-mark-mode): Activate mark even if
1725 transient-mark-mode is off (bug#16066).
1726 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1727 is > mark and at bolp.
1729 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1730 (region-extract-function): Use it.
1731 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1732 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1734 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1735 kill-ring-save, kill-region, delete-char, delete-forward-char.
1736 Ignore self-insert-iso.
1738 * emulation/cua-gmrk.el (cua--init-global-mark):
1739 Ignore `self-insert-iso'.
1741 * emulation/cua-base.el (cua--prefix-copy-handler)
1742 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1743 checking cua--rectangle.
1744 (cua-delete-region): Use region-extract-function.
1745 (cua-replace-region): Delete function.
1746 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1747 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1748 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1749 (cua--init-keymaps): Don't remap delete-selection commands.
1750 (cua-mode): Use delete-selection-mode instead of rolling our own
1753 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1754 Obey region-extract-function.
1756 Make registers and delete-selection-mode work on rectangles.
1757 * register.el (describe-register-1): Don't modify the register's value.
1758 (copy-to-register): Obey region-extract-function.
1759 * delsel.el (delete-active-region): Obey region-extract-function.
1761 2013-12-08 Leo Liu <sdl.web@gmail.com>
1763 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1764 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1765 (flymake-compilation-prevents-syntax-check)
1766 (flymake-start-syntax-check-on-newline)
1767 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1768 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1769 (flymake-xml-program, flymake-master-file-dirs)
1770 (flymake-master-file-count-limit)
1771 (flymake-allowed-file-name-masks): Relocate.
1772 (flymake-makehash, flymake-float-time)
1773 (flymake-replace-regexp-in-string, flymake-split-string)
1774 (flymake-get-temp-dir): Remove.
1775 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1776 (flymake-current-row, flymake-selected-frame)
1777 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1778 related functions. (Bug#16077)
1780 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1782 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1784 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1786 * help-fns.el (describe-function-1): Use new advice-* functions
1787 rather than old ad-* functions. Fix function type description and
1788 source links for advised functions and subrs.
1790 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1792 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1794 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1796 * progmodes/compile.el (compilation-start):
1797 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1799 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1800 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1802 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1804 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1805 Touch up the last change.
1807 2013-12-06 Leo Liu <sdl.web@gmail.com>
1809 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1810 (inferior-octave-startup): Always use "octave> " for prompt.
1811 (octave-goto-function-definition)
1812 (octave-sync-function-file-names)
1813 (octave-find-definition-default-filename): Remove redundant backquotes.
1815 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1817 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1819 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1820 where appropriate already.
1821 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1822 end of method names (Bug#15874).
1824 2013-12-06 Juri Linkov <juri@jurta.org>
1826 * isearch.el (isearch--saved-overriding-local-map):
1827 New internal variable.
1828 (isearch-mode): Set it to the initial value of
1829 `overriding-terminal-local-map'.
1830 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1831 with `isearch--saved-overriding-local-map'. (Bug#16035)
1833 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1835 * progmodes/octave.el (inferior-octave-completion-table):
1836 Turn back into function, use `completion-table-with-cache'
1837 (Bug#11906). Update all references.
1839 * minibuffer.el (completion-table-with-cache): New function.
1841 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1843 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1845 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1847 * net/eww.el (eww-current-source): New variable to store page
1849 (eww-display-html, eww-mode, eww-save-history)
1850 (eww-restore-history): Use it.
1851 (eww-view-source): New command to view page source.
1852 Opportunistically uses `html-mode' to highlight the buffer.
1853 (eww-mode-map): Install it.
1855 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1857 * net/dbus.el (dbus-unregister-service)
1858 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1860 (dbus-unregister-service): Skip :serial entries in
1861 `dbus-registered-objects-table'.
1862 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1864 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1866 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1867 around keywords with extra `split-string' argument.
1869 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1871 * windmove.el (windmove-other-window-loc): Handle navigation
1872 between windows (excluding the minibuffer window - Bug#16017).
1874 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1876 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1877 in D-Bus type syntax.
1878 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1879 preserve unibyte strings. (Bug#16048)
1881 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1883 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1884 Call force-mode-line-update is the proper buffer (bug#16042).
1886 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1888 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1889 `log-edit-remember-comment', make argument optional. Adjust all
1891 (log-edit-mode): Add `log-edit-remember-comment' to
1892 `kill-buffer-hook' locally.
1893 (log-edit-kill-buffer): Don't remember comment explicitly since
1894 the buffer is killed anyway.
1896 2013-12-04 Juri Linkov <juri@jurta.org>
1898 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1899 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1901 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1903 * notifications.el (notifications-close-notification): Call the
1904 D-Bus method with ID being a `:uint32'. (Bug#16030)
1906 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1908 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1910 2013-12-03 Juri Linkov <juri@jurta.org>
1912 * progmodes/compile.el (compilation-start): Rename window alist
1913 entry `no-display-ok' to `allow-no-window'.
1915 * simple.el (shell-command): Add window alist entry
1916 `allow-no-window' to `display-buffer'.
1917 (async-shell-command): Doc fix.
1919 * window.el (display-buffer-no-window): New action function.
1920 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1922 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1924 * vc/log-edit.el (log-edit-set-header): Extract from
1925 `log-edit-toggle-header'.
1926 (log-edit-extract-headers): Separate the summary, when extracted
1927 from header, from the rest of the message with an empty line.
1929 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1930 line, if present, to the Summary header.
1932 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1934 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1935 in current-buffer (bug#16029).
1937 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1939 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1940 (debugger-mode-map): Bind it.
1941 (debugger--backtrace-base): New function.
1942 (debugger-eval-expression): Use it.
1943 (debugger-frame-number): Skip local vars when present.
1944 (debugger--locals-visible-p, debugger--insert-locals)
1945 (debugger--show-locals, debugger--hide-locals): New functions.
1947 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1949 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1951 (tramp-get-remote-locale): New defun.
1952 (tramp-open-connection-setup-interactive-shell): Use it.
1954 2013-12-02 Leo Liu <sdl.web@gmail.com>
1956 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1958 * progmodes/sh-script.el (sh-shell-process):
1959 * progmodes/octave.el (inferior-octave-process-live-p):
1960 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1961 (gdb-inferior-io-sentinel):
1962 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1964 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1966 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1967 `save-selected-window' to `log-edit-hide-buf'. This makes
1968 `log-edit-show-files' idempotent.
1969 (log-edit-show-files): Mark the new window as dedicated.
1971 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1973 * vc/log-edit.el (log-edit-mode-map): Add binding for
1974 `log-edit-kill-biffer'.
1975 (log-edit-hide-buf): Add a FIXME comment.
1976 (log-edit-add-new-comment): New function, extracted from
1978 (log-edit-done, log-edit-add-to-changelog): Use it.
1979 (log-edit-kill-buffer): New command.
1981 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1983 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1984 instead of killing the buffer.
1986 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1988 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1990 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1992 * net/eww.el (eww-form-checkbox-selected-symbol)
1993 (eww-form-checkbox-symbol): New customizable variable.
1994 (eww-form-checkbox, eww-toggle-checkbox):
1995 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1997 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1998 (shr--get-media-pref, shr--extract-best-source): New function.
1999 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2000 no :src tag was specified.
2002 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2003 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2004 Use \\` to match beginning of string instead of ^.
2005 (eww-browse-with-external-browser): Provide optional URL parameter.
2006 (eww-render): Set `eww-current-title' back to "".
2008 * net/shr.el (shr-tag-video): Display content for video if no
2009 poster is available.
2010 (shr-tag-audio): Add support for <audio> tag.
2012 * net/eww.el (eww-text-input-types): New const.
2013 (eww-process-text-input): Treat input types in
2014 `eww-text-input-types' as text.
2016 * net/shr.el (shr-tag-table): Fix comment typo.
2018 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2020 * net/eww.el (eww-follow-link): New command to avoid reloading
2021 pages when we follow #target links (bug#15243).
2022 (eww-quit): Special mode buffers shouldn't query before exiting.
2024 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2026 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2029 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2031 * net/eww.el (eww-restore-history): Update the window title after
2032 moving in the history.
2033 (eww-current-dom): New variable used to save the current DOM.
2035 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2037 * vc/log-edit.el (log-edit-mode-map): Add binding for
2038 `log-edit-beginning-of-line'.
2039 (log-edit-setup-add-author): New user option.
2040 (log-edit-beginning-of-line): New command.
2041 (log-edit): Move major mode call above the contents setup so that
2042 the local variable values are already applied.
2043 (log-edit): Only insert "Author: " when
2044 `log-edit-setup-add-author' is non-nil.
2045 (log-edit): When SETUP is non-nil, position point after ": "
2046 instead of point-min.
2048 2013-12-01 Glenn Morris <rgm@gnu.org>
2050 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2052 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2054 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2055 redisplay to make sure the initial frame gets a chance to become
2056 visible. (Bug#16014)
2058 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2060 Support resizing frames and windows pixelwise.
2061 * cus-start.el (frame-resize-pixelwise)
2062 (window-resize-pixelwise): New entries.
2063 * emacs-lisp/debug.el (debug): Use window-total-height instead
2064 of window-total-size.
2065 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2066 * help.el (describe-bindings-internal): Call help-buffer
2067 (temp-buffer-max-width): New option.
2068 (resize-temp-buffer-window, help-window-setup)
2069 (with-help-window): Rewrite.
2070 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2072 * window.el (frame-char-size, window-min-pixel-height)
2073 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2074 (window-min-pixel-width, window-safe-min-pixel-size)
2075 (window-combination-p, window-safe-min-size)
2076 (window-resizable-p, window--size-to-pixel)
2077 (window--pixel-to-size, window--resize-apply-p): New functions.
2078 (window-safe-min-height): Fix doc-string.
2079 (window-size, window-min-size, window--min-size-1)
2080 (window-sizable, window-sizable-p, window--min-delta-1)
2081 (window-min-delta, window--max-delta-1, window-max-delta)
2082 (window--resizable, window--resizable-p, window-resizable)
2083 (window-full-height-p, window-full-width-p, window-at-side-p)
2084 (window--in-direction-2, window-in-direction)
2085 (window--resize-reset-1, window--resize-mini-window)
2086 (window-resize, window-resize-no-error)
2087 (window--resize-child-windows-normal)
2088 (window--resize-child-windows, window--resize-siblings)
2089 (window--resize-this-window, window--resize-root-window)
2090 (window--resize-root-window-vertically)
2091 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2092 (maximize-window, minimize-window, delete-window)
2093 (quit-restore-window, window-split-min-size, split-window)
2094 (balance-windows-2, balance-windows)
2095 (balance-windows-area-adjust, balance-windows-area)
2096 (window--state-get-1, window-state-get, window--state-put-1)
2097 (window--state-put-2, window-state-put)
2098 (display-buffer-record-window, window--display-buffer):
2099 Make functions handle pixelwise sizing of windows.
2100 (display-buffer--action-function-custom-type)
2101 (display-buffer-fallback-action):
2102 Add display-buffer-in-previous-window.
2103 (display-buffer-use-some-window): Resize window to height it had
2105 (fit-window-to-buffer-horizontally): New option.
2106 (fit-frame-to-buffer): Describe new values.
2107 (fit-frame-to-buffer-bottom-margin): Replace with
2108 fit-frame-to-buffer-margins.
2109 (window--sanitize-margin): New function.
2110 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2111 using window-text-pixel-size.
2113 2013-11-30 Glenn Morris <rgm@gnu.org>
2115 * emacs-lisp/bytecomp.el (byte-compile-form):
2116 Make the `interactive-only' warning like the `obsolete' one.
2117 * comint.el (comint-run):
2118 * files.el (insert-file-literally, insert-file):
2119 * replace.el (replace-string, replace-regexp):
2120 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2121 (goto-line, insert-buffer, next-line, previous-line):
2122 Tweak `interactive-only' spec.
2124 Stop keeping (most) generated cedet grammar files in the repository.
2125 * Makefile.in (semantic): New.
2126 (compile-main): Depend on semantic.
2128 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2130 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2131 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2133 * uniquify.el (uniquify-buffer-name-style): Change default.
2135 * loadup.el: Preload "uniquify".
2137 * time.el (display-time-update): Update all mode lines (bug#15999).
2139 * electric.el (electric-indent-mode): Enable by default.
2140 * loadup.el: Preload "electric".
2142 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2144 * emacs-lisp/helpers.el (string-empty-p): New function.
2145 (string-blank-p): New function.
2147 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2149 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2152 2013-11-29 Andreas Politz <politza@fh-trier.de>
2153 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2154 allow non-lambda lists as functions.
2155 (imenu--in-alist): Don't recurse into non-subalists.
2156 (imenu): Don't pass function itself as an argument (Bug#14029).
2158 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2160 * progmodes/python.el (python-mode-map): Remove binding for ":".
2161 (python-indent-electric-colon): Remove command.
2162 (python-indent-post-self-insert-function): Integrate the previous code
2163 of python-indent-electric-colon. Make it conditional on
2164 electric-indent-mode.
2165 (python-mode): Add ?: to electric-indent-chars.
2166 Move python-indent-post-self-insert-function to the end of
2167 post-self-insert-hook.
2169 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2171 * doc-view.el (doc-view-goto-page): Update mode-line.
2173 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2175 2013-11-27 Glenn Morris <rgm@gnu.org>
2177 * international/charprop.el, international/uni-bidi.el:
2178 * international/uni-category.el, international/uni-combining.el:
2179 * international/uni-comment.el, international/uni-decimal.el:
2180 * international/uni-decomposition.el, international/uni-digit.el:
2181 * international/uni-lowercase.el, international/uni-mirrored.el:
2182 * international/uni-name.el, international/uni-numeric.el:
2183 * international/uni-old-name.el, international/uni-titlecase.el:
2184 * international/uni-uppercase.el:
2185 Remove generated files from VCS repository.
2187 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2189 * filenotify.el (file-notify-add-watch): Don't special-case
2190 w32notify when computing the directory to watch.
2192 2013-11-27 Glenn Morris <rgm@gnu.org>
2194 Make bootstrap without generated uni-*.el files possible again.
2195 * loadup.el: Update command-line-args checking for unidata-gen.
2196 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2197 * composite.el, international/characters.el:
2198 Handle unicode tables being undefined.
2200 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2201 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2202 (compile-main): Depend on leim rule.
2204 * loadup.el: Move leim-list.el to leim/ subdirectory.
2205 * startup.el (normal-top-level): No more leim directory.
2206 * international/ja-dic-cnv.el (skkdic-convert):
2207 Disable version-control and autoloads in output files.
2208 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2209 Disable version-control and autoloads in output files.
2210 * leim/quail: Move here from ../leim.
2211 * leim/quail/hangul.el (hangul-input-method-activate):
2212 Add autoload cookie.
2213 (generated-autoload-load-name): Set file-local value.
2214 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2215 (generated-autoload-load-name): Set file-local value.
2217 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2219 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2220 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2221 (eww-quit): Ask confirmation before quitting eww.
2223 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2225 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2226 reading output from Diff on MS-Windows and MS-DOS.
2228 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2230 * emacs-lisp/helpers.el (string-reverse): New function.
2232 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2234 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2235 names on MS Windows, like "/[::1]:".
2237 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2240 2013-11-26 Glenn Morris <rgm@gnu.org>
2242 * progmodes/python.el (python-indent-guess-indent-offset):
2243 Avoid corner-case error. (Bug#15975)
2245 Preload leim-list.el. (Bug#4789)
2246 * loadup.el: Load leim-list.el when found.
2247 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2249 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2251 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2253 * emacs-lisp/helpers.el (string-join): New function.
2255 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2257 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2258 Mark as obsolete and replace it with a symbol property.
2259 (byte-compile-form): Use new 'interactive-only property.
2260 * comint.el, files.el, replace.el, simple.el:
2261 Apply new 'interactive-only properly.
2263 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2265 * window.el (display-buffer-at-bottom): Make sure that
2266 split-window-sensibly creates the new window on bottom
2269 2013-11-23 David Kastrup <dak@gnu.org>
2271 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2272 on the conflict markers when available.
2273 (smerge--get-marker): New function.
2274 (smerge-end-re, smerge-base-re): Add subgroup.
2276 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2278 * frame.el (handle-focus-in, handle-focus-out): Add missing
2281 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2283 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2284 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2286 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2288 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2289 (gomoku--last-pos): New var.
2290 (gomoku--intangible-chars): New const.
2291 (gomoku--intangible): New function.
2292 (gomoku-mode): Use it. Derive from special-mode.
2293 (gomoku-move-up): Adjust line count.
2294 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2295 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2296 Simplify accordingly.
2298 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2299 Remove blink-cursor code.
2300 (blink-cursor-timer-function, blink-cursor-suspend):
2301 Don't special-case GUIs.
2302 (blink-cursor-mode): Use focus-in/out-hook.
2304 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2306 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2307 work when annotation is invisible (Bug#13886).
2309 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2311 * json.el (json-alist-p): Only return non-nil if the alist has
2312 simple keys (Bug#13518).
2314 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2316 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2317 when control-statement is the first statement in a buffer (Bug#15956).
2319 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2321 * imenu.el (imenu-generic-skip-comments-and-strings):
2322 New option (Bug#15560).
2323 (imenu--generic-function): Use it.
2325 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2327 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2330 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2332 * emacs-lisp/helpers.el: Add some string helpers.
2333 (string-trim-left): Removes leading whitespace.
2334 (string-trim-right): Removes trailing whitespace.
2335 (string-trim): Removes leading and trailing whitespace.
2337 * subr.el (string-suffix-p): New function.
2339 2013-11-23 Glenn Morris <rgm@gnu.org>
2341 * progmodes/python.el (python-shell-send-file):
2342 Add option to delete file when done. (Bug#15647)
2343 (python-shell-send-string, python-shell-send-region): Use it.
2345 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2347 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2348 to set buffer-read-only to t, never to nil. (Bug#15938)
2350 * textmodes/tex-mode.el (latex-noindent-environments):
2351 Add safe-local-variable property. (Bug#15936)
2353 2013-11-23 Glenn Morris <rgm@gnu.org>
2355 * textmodes/enriched.el (enriched-mode): Doc fix.
2356 * emacs-lisp/authors.el (authors-renamed-files-alist):
2357 Add enriched.doc -> enriched.txt.
2359 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2361 2013-11-22 Leo Liu <sdl.web@gmail.com>
2363 * progmodes/octave.el (inferior-octave-startup): Spit out error
2366 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2368 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2371 (ruby-encoding-magic-comment-style): Add :version.
2373 2013-11-22 Leo Liu <sdl.web@gmail.com>
2375 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2377 (octave-help-mode): Adapt to change to help-mode-finish to use
2378 derived-mode-p on 2013-09-17.
2379 (inferior-octave-prompt): Also match octave-gui.
2380 (octave-kill-process): Don't ask twice. (Bug#10564)
2382 2013-11-22 Leo Liu <sdl.web@gmail.com>
2384 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2385 (inferior-octave-startup, inferior-octave-check-process)
2386 (inferior-octave-track-window-width-change)
2387 (octave-completion-at-point, octave-eldoc-function): Use it.
2388 (octave-kill-process): Provide confirmation. (Bug#10564)
2390 2013-11-21 Leo Liu <sdl.web@gmail.com>
2392 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2393 Fix obsolete variable comment-use-global-state.
2395 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2397 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2398 Add `octave-source-file'.
2399 (octave-source-file): New function. (Bug#15935)
2401 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2403 * net/eww.el (eww-local-regex): New variable.
2404 (eww): Use it to detect localhost and similar.
2406 2013-11-21 Leo Liu <sdl.web@gmail.com>
2408 Add completion for command `ag'.
2409 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2410 (pcomplete/ag): New function.
2411 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2413 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2415 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2417 (make-obsolete): Remove interactive spec.
2419 2013-11-21 Glenn Morris <rgm@gnu.org>
2421 * startup.el (command-line-1): Use path-separator with -L.
2423 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2425 * emacs-lisp/package.el (describe-package-1): Add package archive
2428 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2430 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2431 Change default to "# encoding: %s" to differentiate it from the
2432 default Ruby encoding comment template.
2434 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2436 * ses.el (ses-mode): Doc fix. (Bug#14748)
2438 2013-11-20 Leo Liu <sdl.web@gmail.com>
2440 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2442 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2444 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2445 when rebase or bisect are in progress.
2447 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2449 * filenotify.el (file-notify-add-watch): Doc fix.
2451 2013-11-19 Leo Liu <sdl.web@gmail.com>
2453 * obsolete/rcompile.el: Mark obsolete.
2455 * progmodes/compile.el (compilation-start)
2456 (compilation-goto-locus, compilation-find-file):
2457 Pass no-display-ok and handle nil value from display-buffer.
2460 * window.el (display-buffer-alist, display-buffer): Document the
2461 new parameter no-display-ok. Return either a window or nil
2462 but never a non-window value.
2464 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2466 * electric.el (electric-indent-mode-map): Remove.
2467 (electric-indent-mode): Change the global-map instead (bug#15915).
2469 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2472 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2474 * emacs-lisp/nadvice.el (remove-function): Align with
2475 add-function's behavior.
2477 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2478 (gdb--string-regexp): New constant.
2479 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2480 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2481 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2483 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2484 Adjust use accordingly.
2485 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2487 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2489 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2490 interpolation curlies (Bug#15914).
2492 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2494 * calc/calc.el (calc-context-sensitive-enter): New variable.
2495 (calc-enter): Use `calc-context-sensitive-enter'.
2497 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2499 * progmodes/cfengine.el: Version bump.
2500 (cfengine-cf-promises): New defcustom to locate cf-promises.
2501 (cfengine3-vartypes): Add new "data" type.
2502 (cfengine3--current-word): New function to get current name-like
2504 (cfengine3--current-function): New function to look up a CFEngine
2505 function's definition.
2506 (cfengine3-format-function-docstring): New function.
2507 (cfengine3-make-syntax-cache): New function.
2508 (cfengine3-documentation-function): New function: ElDoc glue.
2509 (cfengine3-completion-function): New function: completion glue.
2510 (cfengine3-mode): Set `compile-command',
2511 `eldoc-documentation-function', and add to
2512 `completion-at-point-functions'.
2514 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2516 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2517 `tramp-current-connection'.
2519 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2521 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2522 nil/self/true/false with "end of symbol".
2524 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2526 * subr.el (version-regexp-alist): Fix a typo.
2528 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2530 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2531 "en_US.utf8" and "LC_CTYPE" to "".
2532 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2533 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2535 2013-11-15 Leo Liu <sdl.web@gmail.com>
2537 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2539 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2541 * progmodes/gud.el (ctl-x-map):
2542 Remove C-x SPC binding. (Bug#12342)
2543 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2545 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2547 * subr.el (version-regexp-alist):
2548 Recognize hg, svn and darcs versions as snapshot versions.
2550 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2551 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2552 (ruby--encoding-comment-required-p): Extract from
2553 `ruby-mode-set-encoding'.
2554 (ruby-mode-set-encoding): Add the ability to always insert an
2555 utf-8 encoding comment. Fix and simplify coding comment update
2558 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2560 * net/tramp-gvfs.el (top): Run init code only when
2561 `tramp-gvfs-enabled' is not nil.
2562 (tramp-gvfs-enabled): Check also :system bus.
2564 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2566 Sync with upstream verilog-mode revision 78e66ba.
2567 * progmodes/verilog-mode.el (verilog-end-of-defun)
2568 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2569 (verilog-get-end-of-defun): Remove unused argument.
2570 (verilog-comment-depth): Remove unused local `e'.
2571 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2572 Don't pass arg to verilog-get-end-of-defun.
2574 2013-11-14 Glenn Morris <rgm@gnu.org>
2576 * obsolete/assoc.el (aget): Prefix dynamic variable.
2578 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2580 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2582 * widget.el, hfy-cmap.el: Remove bogus package version number.
2584 2013-11-13 Glenn Morris <rgm@gnu.org>
2586 * replace.el (replace-eval-replacement):
2587 Try to give more helpful error message. (Bug#15836)
2589 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2590 (archive-7z-update): Avoid custom type mismatches.
2592 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2594 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2596 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2597 address can be empty.
2599 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2600 Accept nil SWITCHES.
2601 (tramp-gvfs-handle-write-region): Implement APPEND.
2603 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2605 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2606 binary "|" operator and closing block args delimiter.
2607 Remove FIXME comment referring to Ruby 1.8-only syntax.
2608 (ruby-smie--implicit-semi-p): Not after "|" operator.
2609 (ruby-smie--closing-pipe-p): New function.
2610 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2611 (ruby-smie-rules): Indent after "|".
2613 2013-11-12 Glenn Morris <rgm@gnu.org>
2615 * ps-print.el (ps-face-attribute-list):
2616 Handle anonymous faces. (Bug#15827)
2618 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2620 * window.el (display-buffer-other-frame): Fix doc-string.
2623 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2625 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2627 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2629 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2630 (tramp-sh-handle-file-local-copy): Don't write a message when
2631 saving temporary files.
2633 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2634 both directories are remote.
2635 (tramp-smb-handle-directory-files): Do not return double entries.
2636 Do not expand full file names.
2637 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2638 (tramp-smb-handle-write-region): Implement APPEND.
2639 (tramp-smb-get-stat-capability): Fix a stupid bug.
2641 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2643 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2645 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2647 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2648 throwing error over malformed let/let* (bug#15814).
2650 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2652 * iswitchb.el (iswitchb-mode): Mark obsolete.
2654 2013-11-11 Glenn Morris <rgm@gnu.org>
2656 * international/uni-bidi.el, international/uni-category.el:
2657 * international/uni-name.el, international/uni-numeric.el:
2658 Regenerate for Unicode 6.3.0.
2660 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2662 * net/tramp.el (tramp-methods):
2663 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2664 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2666 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2668 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2669 Force highlighting text after Summary keyword in doc face for rpm.
2671 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2673 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2674 available and the word has no wildcards, append one to the grep pattern.
2675 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2676 (ispell-complete-word): Call `ispell-lookup-words' with the value
2677 independent of `ispell-look-p'.
2679 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2681 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2683 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2686 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2688 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2689 (ruby-font-lock-keywords): Use backquote.
2691 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2693 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2694 (ruby-smie--backward-token): Only consider full-string matches.
2696 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2698 * faces.el (describe-face): Add distant-foreground.
2700 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2702 * progmodes/ruby-mode.el: Improve encoding comment handling.
2703 (ruby-encoding-magic-comment-style): New option.
2704 (ruby-custom-encoding-magic-comment-template): New option.
2705 (ruby--insert-coding-comment, ruby--detect-encoding):
2706 New functions extracted from `ruby-mode-set-encoding'.
2707 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2708 to control the style of the auto-inserted encoding comment.
2710 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2712 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2713 Use `smie-backward-sexp' with token argument.
2715 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2717 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2718 Remove instrumentation code.
2720 2013-11-08 Glenn Morris <rgm@gnu.org>
2722 * progmodes/autoconf.el (autoconf-mode):
2723 Tweak comment-start-skip. (Bug#15822)
2725 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2727 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2728 at bobp (bug#15826).
2729 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2731 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2733 * man.el (Man-start-calling): New macro, extracted from
2734 Man-getpage-in-background.
2735 (Man-getpage-in-background): Use it.
2736 (Man-update-manpage): New command.
2737 (Man-mode-map): Bind it.
2739 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2741 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2742 of "and", "or", "&&" and "||".
2743 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2744 argument. Prohibit opening curly brace because it could only be a
2745 block opener in that position.
2746 (ruby-smie--forward-token, ruby-smie--backward-token):
2747 Separate "|" from "&" or "*" going after it. That can happen in block
2749 (ruby-smie--indent-to-stmt): New function, seeks the end of
2750 previous statement or beginning of buffer.
2751 (ruby-smie-rules): Use it.
2752 (ruby-smie-rules): Check if there's a ":" before a curly block
2753 opener candidate; if there is, it's a hash.
2755 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2757 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2758 (cl--block-wrapper): Fix last accidental change.
2760 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2762 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2763 Instrument, in order to hunt failure on hydra.
2765 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2767 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2768 malformed bindings form (bug#15814).
2770 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2772 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2773 "." compared to " @ ". This incidentally fixes some indentation
2775 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2776 (ruby-smie-grammar): New tokens: "and" and "or".
2777 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2778 Exclude "and" and "or". Remove "do" in order to work around token
2780 (ruby-smie-rules): Add all infix tokens. Handle the case of
2781 beginning-of-buffer.
2783 2013-11-06 Glenn Morris <rgm@gnu.org>
2785 * Makefile.in (setwins_almost, setwins_for_subdirs):
2786 Avoid accidental matches.
2788 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2790 * menu-bar.el (popup-menu): Use key-binding.
2792 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2794 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2795 menus, support also the menus produced by minor modes.
2798 2013-11-06 Leo Liu <sdl.web@gmail.com>
2800 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2801 DISTANCE to bound the search. All uses changed. (Bug#15808)
2803 2013-11-06 Glenn Morris <rgm@gnu.org>
2805 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2806 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2807 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2809 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2811 * electric.el (electric-indent-just-newline): New command.
2812 (electric-indent-mode-map): New keymap.
2813 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2814 Re-add :group which weren't redundant.
2816 * electric.el (electric-indent-local-mode): New minor mode.
2817 (electric-indent-functions-without-reindent): New var.
2818 (electric-indent-post-self-insert-function): Use it.
2819 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2821 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2823 * international/quail.el (quail-help): Be more explicit about the
2824 meaning of the labels shown on the keys. (Bug#15800)
2826 * startup.el (normal-top-level): Load the subdirs.el files before
2827 setting the locale environment. (Bug#15805)
2829 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2831 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2832 via arguments so as to get the right ones (bug#15418).
2834 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2836 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2838 Fix problems found while writing a test suite.
2840 * net/tramp-compat.el (tramp-compat-load): New defun.
2841 * net/tramp.el (tramp-handle-load): Use it.
2843 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2844 "(numberp ok-if-already-exists)" correctly.
2846 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2848 * international/characters.el (glyphless-char-display-control):
2851 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2853 * progmodes/python.el (python-mode):
2854 * progmodes/scheme.el (scheme-mode):
2855 * progmodes/prolog.el (prolog-mode):
2856 * progmodes/ruby-mode.el (ruby-mode):
2857 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2858 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2860 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2862 * rect.el (rectangle--highlight-for-redisplay):
2863 * emacs-lisp/smie.el (smie--next-indent-change):
2864 Use buffer-chars-modified-tick.
2866 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2868 * electric.el (electric-indent-post-self-insert-function):
2869 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2871 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2873 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2875 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2877 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2880 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2882 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2884 * progmodes/python.el: Fix up last change.
2885 (python-shell--save-temp-file): New function.
2886 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2887 `string' comes from the current buffer.
2888 (python-shell-send-string-no-output): Remove `msg' arg.
2889 (python--use-fake-loc): New var.
2890 (python-shell-buffer-substring): Obey it. Try to compensate for the
2891 extra coding line added by python-shell--save-temp-file.
2892 (python-shell-send-region): Use python-shell--save-temp-file and
2893 python-shell-send-file directly. Add `nomain' argument.
2894 (python-shell-send-buffer): Use python-shell-send-region.
2895 (python-electric-pair-string-delimiter): New function.
2896 (python-mode): Use it.
2898 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2900 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2901 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2902 environment and decoding all of the default-directory's to here
2904 (command-line): Decode also argv[0].
2906 * loadup.el: Error out if default-directory is a multibyte string
2907 when we are dumping.
2909 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2911 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2913 * emacs-lisp/package.el (package-menu-mode)
2914 (package-menu--print-info, package-menu--archive-predicate):
2915 Add Archive column to package list.
2917 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2919 Fix problems found while writing a test suite.
2921 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2922 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2923 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2924 to nil when running original file name handler. Otherwise,
2925 there are problems with constructs like "$$FOO".
2927 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2930 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2932 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2934 * subr.el (version<, version<=, version=):
2935 Update docstrings with information for snapshot versions.
2937 * helpers.el: New library for misc helper functions.
2938 (hash-table-keys): New function returning a list of hash keys.
2939 (hash-table-values): New function returning a list of hash values.
2941 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2943 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2944 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2946 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2948 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2949 checking whether point is after a 1-letter word.
2951 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2953 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2954 Don't infloop when expanding region over `multiline' syntax-type that
2955 begins a line (bug#15778).
2957 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2959 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2960 Make it into a proper minor mode.
2961 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2962 (rectangle-mark-mode-map): New keymap.
2963 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2965 2013-11-04 Glenn Morris <rgm@gnu.org>
2967 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2969 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2971 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2972 (ruby-smie-rules): Use smie-rule-parent instead.
2974 * emacs-lisp/smie.el (smie-rule-parent): Always call
2975 smie-indent-virtual rather than only for hanging tokens.
2976 (smie--next-indent-change): New helper command.
2978 2013-11-03 Glenn Morris <rgm@gnu.org>
2980 * Makefile.in (abs_srcdir): Remove.
2981 (emacs): Unset EMACSLOADPATH.
2983 2013-11-02 Glenn Morris <rgm@gnu.org>
2985 * Makefile.in (EMACS): Use a relative filename.
2986 (abs_top_builddir): Remove.
2987 (custom-deps, finder-data, autoloads): Use --chdir.
2989 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2991 Use relative filenames in TAGS files.
2992 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2993 (lisptagsfiles4, TAGS): Use relative file names.
2994 (TAGS-LISP): Remove.
2995 (maintainer-clean): No more TAGS-LISP file.
2997 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2998 (lisptagsfiles4): Use absolute filenames again.
2999 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3000 Remove all *loaddefs files, not just the first. Remove esh-groups.
3001 (maintainer-clean): Delete TAGS, TAGS-LISP.
3003 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3005 * emacs-lisp/package.el (package-version-join):
3006 Recognize snapshot versions.
3008 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3010 * subr.el (version-regexp-alist): Add support for snapshot versions.
3012 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3014 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3015 New function, replacement for `smie-rule-parent' for when we want to
3016 skip over our direct parent if it's an assignment token..
3017 (ruby-smie-rules): Use it.
3019 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3021 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3022 unconditionally. Remove now unnecessary forward declarations.
3023 Remove XEmacs-specific setup.
3024 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3025 (ruby-font-lock-syntactic-keywords)
3026 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3027 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3028 (ruby-here-doc-end-syntax): Remove.
3029 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3030 defined as function.
3032 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3034 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3036 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3038 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3039 table and abbrev table, `define-derived-mode' does that for us
3042 2013-11-01 Glenn Morris <rgm@gnu.org>
3044 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3045 files is atomic for some time, so no parallel compilation issues).
3047 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3049 * faces.el (face-x-resources): Add :distant-foreground.
3050 (region): Use :distant-foreground for gtk and ns.
3052 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3054 Allow multiple bibliographies when BibLaTeX is used rather than
3056 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3057 (reftex-locate-bibliography-files): Us it.
3059 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3061 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3062 allow comments in pbm files.
3064 * term/w32-win.el (dynamic-library-alist): Support newer versions
3065 of libjpeg starting with v7: look only for the DLL from the
3066 version against which Emacs was built.
3067 Support versions of libpng beyond 1.4.x.
3068 Support libtiff v4.x.
3070 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3072 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3073 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3075 (ruby-deep-arglist): Add property :type.
3077 2013-10-31 Glenn Morris <rgm@gnu.org>
3079 * Makefile.in (custom-deps, finder-data): No need to setq the target
3080 variables, we are in the right directory and the defaults work fine.
3082 2013-10-30 Glenn Morris <rgm@gnu.org>
3084 * Makefile.in (autoloads): Do not use abs_lisp.
3086 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3087 `newline' does not respect `standard-output', so use `princ'.
3089 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3091 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3092 * buff-menu.el (Buffer-menu--unmark): New function.
3093 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3095 2013-10-30 Glenn Morris <rgm@gnu.org>
3097 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3099 * emacs-lisp/package.el (lm-homepage): Declare.
3101 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3104 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3106 * Makefile.in (finder-data, autoloads, update-subdirs)
3107 (compile-main, compile-clean, compile-always, bootstrap-clean):
3108 Check return value of cd.
3109 (compile-calc): Remove.
3111 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3113 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3115 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3116 (byte-compile-and-folded): New function.
3117 (=, <, >, <=, >=): Use it.
3119 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3120 (path-separator, null-device, buffer-file-coding-system)
3121 (lpr-headers-switches): Check system-type before modifying them.
3122 (find-buffer-file-type-coding-system): Mark obsolete.
3123 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3124 find-file-not-found-set-buffer-file-coding-system.
3125 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3126 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3127 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3128 (w32-direct-print-region-helper, w32-direct-print-region-function)
3129 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3130 * startup.el (normal-top-level-add-subdirs-to-load-path):
3131 * ps-print.el (ps-print-region-function):
3132 * lpr.el (print-region-function): Use new name.
3134 * subr.el (custom-declare-variable-early): Remove function.
3135 (custom-declare-variable-list): Remove var.
3136 (error, user-error): Remove `while' loop.
3137 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3138 (user-emacs-directory-warning, locate-user-emacs-file):
3140 * simple.el (read-quoted-char-radix, read-quoted-char):
3141 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3143 * custom.el (custom-declare-variable-list): Don't process
3144 custom-declare-variable-list.
3146 * progmodes/python.el (python-shell-get-buffer): New function.
3147 (python-shell-get-process): Use it.
3148 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3149 Python which encoding was used. Don't split-string since we only care
3150 about the first line. Return the temp-file, if applicable.
3151 (python-shell-send-region): Tell compile.el how to turn locations in
3152 the temp-file into locations in the source buffer.
3154 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3156 * subr.el (undefined): Add missing behavior from the C code for
3159 * rect.el: Use lexical-binding. Add new rectangular region support.
3160 (rectangle-mark): New command.
3161 (rectangle--region): New var.
3162 (deactivate-mark-hook): Reset rectangle--region.
3163 (rectangle--extract-region, rectangle--insert-for-yank)
3164 (rectangle--highlight-for-redisplay)
3165 (rectangle--unhighlight-for-redisplay): New functions.
3166 (region-extract-function, redisplay-unhighlight-region-function)
3167 (redisplay-highlight-region-function): Use them to handle
3169 * simple.el (region-extract-function): New var.
3170 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3171 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3172 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3173 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3174 (redisplay-unhighlight-region-function)
3175 (redisplay-highlight-region-function): New vars.
3176 (redisplay--update-region-highlight): New function.
3177 (pre-redisplay-function): Use it.
3178 (exchange-point-and-mark): Don't deactivate the mark before
3179 reactivate-it anyway.
3180 * comint.el (comint-kill-region): Remove yank-handler argument.
3181 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3182 (delete-char): Remove property, since it's now part of their
3184 (self-insert-iso): Remove property since this command doesn't exist.
3186 * emacs-lisp/package.el (package--download-one-archive)
3187 (describe-package-1): Don't query the user about final newline.
3189 2013-10-29 Daniel Colascione <dancol@dancol.org>
3191 * net/tramp.el (tramp-methods): Document new functionality.
3192 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3193 tramp-hostname-checker if method provides one instead of scanning
3194 argument list for "%h" to decide hostname acceptability.
3196 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3198 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3199 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3200 Handle COPY-CONTENTS. (Bug#15737)
3202 2013-10-28 Daiki Ueno <ueno@gnu.org>
3205 (epa-file-cache-passphrase-for-symmetric-encryption):
3206 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3208 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3210 * image.el (defimage):
3211 (image-load-path): Doc fixes.
3213 2013-10-27 Alan Mackenzie <acm@muc.de>
3215 Indent statements in macros following "##" correctly.
3216 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3217 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3219 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3221 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3223 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3225 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3226 after `=' is probably a new expression.
3228 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3230 * man.el (man-imenu-title): New option.
3231 (Man-mode-map): Add menu. (Bug#15722)
3232 (Man-mode): Add imenu to menu.
3234 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3236 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3237 specific in what the first arg can be: a non-keyword word,
3238 string/regexp/percent literal opener, opening paren, or unary
3239 operator followed directly by word.
3241 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3243 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3244 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3245 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3246 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3247 Remove vars, they do not apply any more.
3248 (prolog-mode-abbrev-table): Remove redundant declaration.
3249 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3250 (prolog-use-smie): Remove.
3251 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3252 supported by prolog-electric-if-then-else-flag.
3253 (prolog-mode-variables, prolog-menu): Use setq-local.
3254 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3255 Remove binding to `Backspace' since this key doesn't exist anyway.
3256 Remove bindings for electric self-inserting keys.
3257 (prog-mode): Assume it's defined.
3258 (prolog-post-self-insert): New function.
3259 (prolog-mode): Use it.
3260 (prolog-indent-line, prolog-indent-level)
3261 (prolog-find-indent-of-matching-paren)
3262 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3263 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3264 (prolog-goto-next-paren, prolog-in-string-or-comment)
3265 (prolog-tokenize, prolog-inside-mline-comment)
3266 (prolog-find-start-of-mline-comment): Remove functions.
3267 (prolog-find-unmatched-paren, prolog-clause-end)
3268 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3269 (prolog-electric--if-then-else): Rename from
3270 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3271 (prolog-tokenize-searchkey): Remove const.
3272 (prolog-clause-info): Use forward-sexp.
3273 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3274 (prolog-electric-if-then-else): Remove commands.
3275 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3276 for use in post-self-insert-hook.
3277 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3278 for use in post-self-insert-hook.
3279 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3280 for use in post-self-insert-hook.
3281 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3282 adapt it for use in post-self-insert-hook.
3284 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3286 * emacs-lisp/ert.el (ert-run-tests-interactively):
3287 Use `completing-read'. (Bug#9756)
3289 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3291 * simple.el (line-move): Call line-move-1 instead of
3292 line-move-visual when the current window hscroll is zero, but
3293 temporary-goal-column indicates we will need to hscroll as result
3294 of the movement. (Bug#15712)
3296 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3298 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3299 capitalization. Use :visible instead of :active.
3300 Fix `ruby-indent-exp' reference. Add menu items for the generic
3301 commands that are used with SMIE.
3302 (ruby-do-end-to-brace): Insert space after `{'.
3304 2013-10-25 John Anthony <john@jo.hnanthony.com>
3306 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3308 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3310 2013-10-25 Glenn Morris <rgm@gnu.org>
3312 * vc/vc.el (vc-print-log): Don't use a working revision unless
3313 one was explicitly specified. (Bug#15322)
3315 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3317 * subr.el (add-to-list): Preserve return value in compiler-macro
3320 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3322 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3323 result. Ask user to retry using '-all' flag. (Bug#15701)
3325 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3327 * emacs-lisp/smie.el: New smie-config system.
3328 (smie-config): New defcustom.
3329 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3330 (smie-config-guess, smie-config-save): New commands.
3331 (smie-config--mode-local, smie-config--buffer-local)
3332 (smie-config--trace, smie-config--modefuns): New vars.
3333 (smie-config--advice, smie-config--mode-hook)
3334 (smie-config--setter, smie-config-local, smie-config--get-trace)
3335 (smie-config--guess-value, smie-config--guess): New functions.
3336 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3337 text properties. Treat "string fence" syntax like string syntax.
3339 * progmodes/sh-script.el (sh-use-smie): Change default.
3340 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3341 (sh-var-value): Simplify by CSE.
3342 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3343 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3345 (sh-guess-basic-offset): Use cl-incf.
3346 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3348 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3350 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3353 2013-10-24 Glenn Morris <rgm@gnu.org>
3355 * Makefile.in (abs_top_srcdir): Remove.
3356 (update-subdirs): Use relative path to update-subdirs.
3358 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3360 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3361 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3362 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3363 Call unmsys--file-name before expand-file-name, not after it.
3365 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3367 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3368 (ert-test-skipped): New error.
3369 (ert-skip, ert-stats-skipped): New defuns.
3370 (ert--skip-unless): New macro.
3371 (ert-test-skipped): New struct.
3372 (ert--run-test-debugger, ert-test-result-type-p)
3373 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3374 (ert--stats-set-test-and-result, ert-char-for-test-result)
3375 (ert-string-for-test-result, ert-run-tests-batch)
3376 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3377 Handle skipped tests. (Bug#9803)
3379 2013-10-24 Glenn Morris <rgm@gnu.org>
3381 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3383 * Makefile.in (abs_top_srcdir): New, set by configure.
3384 (update-subdirs): Correct build-aux location.
3386 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3388 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3389 value, whether we could auto-deduce `backend', or not.
3391 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3392 with parameters" example. Simplify the "is it block or is it
3393 hash" check, but also make it more thorough.
3395 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3397 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3399 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3401 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3404 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3407 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3409 * progmodes/compile.el (compilation-directory-matcher)
3410 (compilation-page-delimiter):
3411 Support GNU Make-4.0 directory quoting. (Bug#15678)
3413 2013-10-23 Leo Liu <sdl.web@gmail.com>
3415 * ido.el (ido-tidy): Handle read-only text.
3417 2013-10-23 Glenn Morris <rgm@gnu.org>
3419 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3420 (emacs, compile, compile-always):
3421 Quote entities that might contain whitespace.
3422 (custom-deps, finder-data, autoloads): Use abs_lisp.
3423 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3424 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3425 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3427 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3429 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3430 Use `following-char'.
3432 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3434 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3435 * progmodes/ruby-mode.el (ruby-smie-rules):
3436 Remove corresponding workaround. Fix indentation rule of ";" so it
3437 also applies when ";" is the parent.
3439 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3441 * frame.el (display-screens, display-pixel-height)
3442 (display-pixel-width, display-mm-width, display-backing-store)
3443 (display-save-under, display-planes, display-color-cells)
3444 (display-visual-class, display-monitor-attributes-list):
3445 Mention the optional ‘display’ argument in doc strings.
3447 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3449 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3450 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3452 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3454 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3455 TODO. Add "." after " @ ".
3456 (ruby-smie--at-dot-call): New function. Checks if point at method
3457 call with explicit target.
3458 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3459 to the method name tokens when it precedes them.
3460 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3461 (ruby-smie-rules): Add rule for indentation before and after "."
3464 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3466 * textmodes/remember.el (remember-diary-extract-entries):
3469 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3472 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3474 * progmodes/ruby-mode.el (ruby-smie-grammar):
3475 Add (almost) all infix operators.
3476 (ruby-smie--implicit-semi-p): Add new operator chars.
3478 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3480 (ruby-smie--args-separator-p): Check that there's no newline
3481 between method call and its arguments.
3483 2013-10-20 Alan Mackenzie <acm@muc.de>
3485 Allow comma separated lists after Java "implements".
3487 * progmodes/cc-engine.el (c-backward-over-enum-header):
3489 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3490 from a "disallowed" list in enum fontification.
3492 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3494 * startup.el (default-frame-background-mode): Remove unused defvar.
3496 * progmodes/verilog-mode.el (verilog-mode): Don't set
3497 comment-indent-function globally.
3499 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3501 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3502 Move Info menu item creation to ns-win.el.
3504 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3507 * menu-bar.el: Move GNUStep specific menus...
3509 * term/ns-win.el (ns-initialize-window-system): ... to here.
3511 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3513 * simple.el (newline): Only run post-self-insert-hook when
3514 called interactively.
3516 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3518 * icomplete.el (icomplete-with-completion-tables): Add :version.
3520 2013-10-19 Alan Mackenzie <acm@muc.de>
3522 Fix fontification bugs with constructors and const.
3524 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3525 CASE 2) Remove the check for the absence of a suffix construct
3526 after a function declaration with only types (no identifiers) in
3527 the parentheses. Also, accept a function declaration with just a
3528 type inside the parentheses, if this type can be positively
3529 recognised as such, or if a prefix keyword like "explicit" nails
3530 down the construct as a declaration.
3532 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3534 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3535 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3536 the problem whereby selecting a menu item that leads to a
3537 minibuffer prompt moves the cursor out of the minibuffer window,
3538 making it hard to type at the prompt. Suggested by Stefan Monnier
3539 <monnier@iro.umontreal.ca>.
3541 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3543 * menu-bar.el: Don't make Services menu.
3545 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3547 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3548 (ffap-alist): Use ffap-c++-mode for c++-mode.
3549 (ffap-c++-path): New variable.
3550 (ffap-c++-mode): New function.
3552 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3554 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3556 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3558 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3559 introduced on 2013-09-08, which results in an infinite loop
3560 requesting a password.
3562 2013-10-18 Glenn Morris <rgm@gnu.org>
3564 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3566 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3568 Sync with upstream verilog-mode revision 1a6ecec7.
3569 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3570 (verilog-mode-release-date): Remove.
3571 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3572 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3573 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3574 (verilog-auto-tieoff-ignore-regexp)
3575 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3576 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3577 (verilog-signals-with, verilog-dir-cache-preserving)
3578 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3580 (verilog-case-fold): New option, to control case folding in
3581 regexp searches, bug597.
3582 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3583 (verilog-string-match-fold, verilog-in-paren-count)
3584 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3585 (verilog-at-close-struct-p): New functions.
3586 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3587 (verilog-forward-sexp, verilog-set-auto-endcomments):
3588 (verilog-leap-to-case-head): Handle "unique0" case.
3589 (verilog-in-constraint-re): New constant.
3590 (verilog-keywords, verilog-type-font-keywords):
3591 Add some SystemVerilog 1800-2012 keywords.
3592 (verilog-label-be): Remove unimplemented argument, bug669.
3593 (verilog-batch-execute-func): When batch expanding clear
3594 create-lockfiles to prevent spurious user locks when a file ends
3596 (verilog-calculate-indent, verilog-calc-1)
3597 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3598 (verilog-do-indent): Fix indentation of nested constraints
3600 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3601 (verilog-auto-inst-param): Use verilog-string-match-fold.
3602 (verilog-read-inst-module-matcher):
3603 Fix AUTOINST on gate primitives with #1.
3604 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3605 Reads all user-defined typed variables.
3606 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3607 (verilog-signals-matching-regexp)
3608 (verilog-signals-not-matching-regexp, verilog-auto):
3609 Respect verilog-case-fold.
3610 (verilog-diff-report): Fix line count.
3611 (verilog-auto-assign-modport): Remove unused local `modi'.
3612 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3613 better handle multidimensional arrays.
3614 Fix packed array ports misadding bit index in AUTOINST, bug637.
3615 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3616 to not double-declare existing outputs and inputs, respectively.
3617 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3618 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3619 (verilog-sk-uvm-component): New skeleton.
3620 (verilog-submit-bug-report): Add verilog-case-fold,
3621 remove verilog-mode-release-date.
3623 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3625 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3628 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3630 * textmodes/remember.el (remember): Set buffer-offer-save in
3631 remember buffers (bug#13566).
3633 2013-10-18 Daniel Colascione <dancol@dancol.org>
3635 When evaluating forms in ielm, direct standard output to ielm
3636 buffer. Add new ielm-return-for-effect command. Remove trailing
3637 whitespace throughout.
3639 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3640 (ielm-return-for-effect): New command.
3641 (ielm-send-input): Accept optional `for-effect' parameter.
3642 (ielm-eval-input): Accept optional `for-effect' parameter.
3643 Bind `standard-output' to stream we create using
3644 `ielm-standard-output-impl'. Suppress printing result when
3646 (ielm-standard-output-impl): New function.
3647 (inferior-emacs-lisp-mode): Explain new features in documentation.
3649 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3653 * net/tramp.el (tramp-debug-message): Do not check for connection
3655 (tramp-message): Use "vector" connection property.
3657 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3658 (tramp-equal-remote, tramp-eshell-directory-change)
3659 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3660 (tramp-adb-handle-rename-file)
3661 * net/tramp-cmds.el (tramp-list-remote-buffers)
3662 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3663 * net/tramp-compat.el (tramp-compat-process-running-p)
3664 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3665 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3666 (tramp-gvfs-handle-rename-file)
3667 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3668 (tramp-set-file-uid-gid)
3669 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3670 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3673 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3674 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3675 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3676 (tramp-gw-open-network-stream): Suppress unrelated traces.
3678 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3679 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3680 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3681 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3682 connection property.
3684 * net/tramp-cache.el (top): Suppress traces when reading
3687 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3688 Refactor common code. Improve debug message.
3689 (tramp-maybe-open-connection)
3690 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3691 connection buffer too early.
3693 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3694 from `tramp-smb-actions-with-acl'.
3695 (tramp-smb-actions-set-acl): New defconst.
3696 (tramp-smb-handle-copy-directory)
3697 (tramp-smb-action-get-acl): New defun, renamed from
3698 `tramp-smb-action-with-acl'.
3699 (tramp-smb-action-set-acl): New defun.
3700 (tramp-smb-handle-set-file-acl): Rewrite.
3702 2013-10-17 Glenn Morris <rgm@gnu.org>
3704 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3706 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3708 * skeleton.el (skeleton-newline): Remove.
3709 (skeleton-internal-1): Use (insert "\n") instead.
3711 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3714 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3715 forward-sexp-function while we redo its job (bug#15613).
3717 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3719 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3720 represented by lists.
3722 2013-10-16 Glenn Morris <rgm@gnu.org>
3724 * tmm.el (tmm--history): New dynamic variable.
3725 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3727 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3729 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3730 (tramp-smb-errors): Add error messages.
3731 (tramp-smb-actions-with-acl): New defconst.
3732 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3733 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3734 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3735 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3736 (tramp-smb-get-stat-capability): Fix tests.
3738 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3740 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3743 2013-10-16 Glenn Morris <rgm@gnu.org>
3745 * ansi-color.el (ansi-color-drop-regexp):
3746 Add 1J, 1K, 2K. (Bug#15617)
3748 * files.el (hack-local-variables--warned-lexical): New.
3749 (hack-local-variables):
3750 Warn about misplaced lexical-binding. (Bug#15616)
3752 * net/eww.el (eww-render): Always set eww-current-url,
3753 and update header line. (Bug#15622)
3754 (eww-display-html): ... Rather than just doing it here.
3756 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3758 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3759 menu navigations commands.
3761 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3763 * progmodes/subword.el (subword-capitalize): Be careful when
3764 the search for [[:alpha:]] fails (bug#15580).
3766 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3768 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3769 to commands that scroll the menu.
3771 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3773 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3774 Handle methods ending with `?' and `!'.
3776 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3778 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3779 `japanese-cp932' to `cp932' to fix the problem where saving a
3780 source file written in Shift_JIS twice would end up having
3781 `coding: japanese-cp932' which Ruby could not recognize.
3782 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3783 in `ruby-encoding-map'.
3784 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3785 doesn't need to be explicitly declared in magic comment.
3786 (ruby-encoding-map): Add type declaration for better customize UI.
3788 2013-10-13 Glenn Morris <rgm@gnu.org>
3790 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3791 Occur buffers are read-only. http://bugs.debian.org/720775
3793 * emacs-lisp/authors.el (authors-fixed-entries):
3794 Comment out old alpha stuff.
3796 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3798 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3799 to `after-save-hook' instead of `before-save-hook'.
3800 (ruby-mode-set-encoding): Use the value of coding system used to
3801 write the file. Call `basic-save-buffer-1' after modifying the
3804 2013-10-13 Alan Mackenzie <acm@muc.de>
3806 Fix indentation/fontification of Java enum with
3807 "implements"/generic.
3809 * progmodes/cc-engine.el (c-backward-over-enum-header):
3810 Extracted from the three other places and enhanced to handle generics.
3811 (c-inside-bracelist-p): Uses new function above.
3812 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3814 (c-font-lock-enum-tail): Uses new function above.
3816 2013-10-13 Kenichi Handa <handa@gnu.org>
3818 * international/mule-cmds.el (select-safe-coding-system): Remove a
3819 superfluous condition in chekcing whether a coding system is safe
3822 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3824 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3826 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3828 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3830 2013-10-13 Glenn Morris <rgm@gnu.org>
3832 * menu-bar.el (menu-bar-update-buffers):
3833 Unify Buffers menu prompt string. (Bug#15576)
3835 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3837 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3839 (authors-fixed-entries): Use accented form of name.
3841 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3843 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3844 method calls (bug#15594).
3845 (ruby-smie--args-separator-p): New function.
3846 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3847 recognize paren-free method calls.
3849 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3850 internals of universal-argument.
3852 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3854 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3855 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3856 dropped menu on second mouse click on the menu bar.
3858 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3860 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3861 (explicit-shell-file-name): Declare.
3862 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3863 (sh-completion-at-point-function): New function.
3865 (sh-smie--keyword-p): Remove unused argument.
3866 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3868 (sh-set-shell): Always setup SMIE, even if we use the
3869 old indentation code.
3871 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3873 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3875 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3876 predicate would return nil are almost non-existent.
3877 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3879 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3880 cache also after commands that modify the buffer but don't move
3883 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3885 * env.el (substitute-env-in-file-name): New function.
3886 (substitute-env-vars): Extend the meaning of the optional arg.
3888 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3890 * term/w32-win.el (dynamic-library-alist): Define separate lists
3891 of GIF DLLs for versions before and after 5.0.0 of giflib.
3894 2013-10-10 João Távora <joaotavora@gmail.com>
3896 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3897 not locked, use last revision and current source as
3898 defaults. (Bug#15569)
3900 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3902 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3905 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3907 * window.el (pop-to-buffer-same-window): Fix doc-string.
3910 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3912 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3914 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3916 * calendar/icalendar.el (icalendar-import-file):
3917 Fix interactive spec. (Bug#15482)
3919 2013-10-10 Glenn Morris <rgm@gnu.org>
3921 * desktop.el (desktop-save): Default to saving in .emacs.d,
3922 since PWD is no longer in desktop-path by default. (Bug#15319)
3924 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3925 now that text mode has a menu with the same entry.
3926 (menu-bar-text-mode-auto-fill): Remove now unused func.
3927 * textmodes/text-mode.el (text-mode-map):
3928 Use auto-fill help text from menu-bar.el.
3930 2013-10-10 John Anthony <john@jo.hnanthony.com>
3932 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3934 2013-10-09 Juri Linkov <juri@jurta.org>
3936 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3937 instead of this-command-keys. Add universal-argument-more and
3938 universal-argument-minus to the list of prefix commands. (Bug#15568)
3940 2013-10-09 Glenn Morris <rgm@gnu.org>
3942 * vc/vc-svn.el (vc-svn-create-repo):
3943 Expand paths in file://... url. (Bug#15446)
3945 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3947 (authors): Remove unused local variables.
3949 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3951 * profiler.el: Create a more coherent calltree from partial backtraces.
3952 (profiler-format): Hide the tail with `invisible' so that C-s can still
3953 find the hidden elements.
3954 (profiler-calltree-depth): Don't recurse so enthusiastically.
3955 (profiler-function-equal): New hash-table-test.
3956 (profiler-calltree-build-unified): New function.
3957 (profiler-calltree-build): Use it.
3958 (profiler-report-make-name-part): Indent the calltree less.
3959 (profiler-report-mode): Add visibility specs for profiler-format.
3960 (profiler-report-expand-entry, profiler-report-toggle-entry):
3961 Expand the whole subtree when provided with a prefix arg.
3963 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3965 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3967 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3968 hanging iuwu-mod token.
3969 (ruby-smie--forward-token): Do not include a dot after a token in
3971 (ruby-smie--backward-token): Likewise.
3973 2013-10-08 Juri Linkov <juri@jurta.org>
3975 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3976 to isearch-other-control-char.
3977 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3978 and isearch-post-command-hook to post-command-hook.
3979 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3980 and isearch-post-command-hook from post-command-hook.
3981 (isearch-unread-key-sequence)
3982 (isearch-reread-key-sequence-naturally)
3983 (isearch-lookup-scroll-key, isearch-other-control-char)
3984 (isearch-other-meta-char): Remove functions.
3985 (isearch-pre-command-hook, isearch-post-command-hook):
3986 New functions based on isearch-other-meta-char rewritten
3987 relying on the new behavior of overriding-terminal-local-map
3988 that does not replace the local keymaps any more. (Bug#15200)
3990 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3992 Support menus on text-mode terminals.
3993 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3996 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3998 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3999 Move here from mouse.el.
4000 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4002 (tty-menu-navigation-map): New map for TTY menu navigation.
4004 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4006 * frame.el (display-mouse-p): Report text-mode mouse as available
4008 (display-popup-menus-p): Report availability if mouse is
4009 available; don't condition on window-system.
4011 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4012 (tty-menu-selected-face): New faces.
4014 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4016 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4017 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4018 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4019 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4021 (lisp-mode-variables): New `elisp' argument.
4022 (emacs-lisp-mode): Use it.
4023 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4024 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4026 * indent.el: Use lexical-binding.
4027 (indent-region): Add progress reporter.
4028 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4030 (indent--next-tab-stop): New function to implement this behavior.
4031 (tab-to-tab-stop, move-to-tab-stop): Use it.
4033 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4035 * indent.el (indent-rigidly--current-indentation): New function.
4036 (indent-rigidly-map): New var.
4037 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4039 2013-10-08 Bastien Guerry <bzg@gnu.org>
4041 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4043 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4045 * progmodes/perl-mode.el: Use lexical-binding.
4046 Remove redundant :group args.
4047 (perl-nochange): Change default to be closer to other major modes's
4049 (perl-indent-line): Don't consider text on current line as a
4050 valid beginning of function from which to indent.
4052 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4053 with more than one argument (bug#15538).
4055 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4057 * vc/pcvs.el: Use lexical-binding.
4058 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4059 environment of `eval'.
4060 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4061 than a list of expressions. Adjust callers.
4062 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4064 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4066 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4067 case of the dot in a chained method call being on the following line.
4069 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4071 * electric.el (electric-indent-inhibit): New var.
4072 (electric-indent-post-self-insert-function): Use it.
4073 * progmodes/python.el (python-mode): Set it.
4075 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4078 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4080 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4081 (css-mode): Use electric-indent-chars.
4083 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4084 (font-lock-beg, font-lock-end): Move before first use.
4085 (nxml-mode): Use syntax-propertize-function.
4086 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4087 (nxml-extend-after-change-region): Remove.
4088 * nxml/xmltok.el: Use lexical-binding.
4089 (xmltok-save): Use `declare'.
4090 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4091 * nxml/nxml-util.el: Use lexical-binding.
4092 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4094 * nxml/nxml-ns.el: Use lexical-binding.
4095 (nxml-ns-save): Use `declare'.
4096 (nxml-ns-prefixes-for): Avoid add-to-list.
4097 * nxml/rng-match.el: Use lexical-binding.
4098 (rng--ipattern): Use cl-defstruct.
4099 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4100 (rng-cons-group-after, rng-subst-group-after)
4101 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4102 Use closures instead of `(lambda...).
4104 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4106 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4109 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4110 Use `tramp-handle-insert-file-contents'.
4111 (tramp-gvfs-handle-insert-file-contents): Remove function.
4113 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4114 Use `save-restriction' in order to keep markers.
4116 * net/trampver.el: Update release number.
4118 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4120 * progmodes/compile.el (compilation-parse-errors):
4121 Use compilation--put-prop.
4122 (compilation--ensure-parse): Check compilation-multiline.
4124 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4126 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4129 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4131 * progmodes/ruby-mode.el: Fix recently added tests.
4132 (ruby-smie-grammar): Add - and +.
4133 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4134 (ruby-smie--backward-id): New functions.
4135 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4136 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4139 2013-10-07 Leo Liu <sdl.web@gmail.com>
4141 * register.el (register-preview-delay)
4142 (register-preview-functions): New variables.
4143 (register-read-with-preview, register-preview)
4144 (register-describe-oneline): New functions.
4145 (point-to-register, window-configuration-to-register)
4146 (frame-configuration-to-register, jump-to-register)
4147 (number-to-register, view-register, insert-register)
4148 (copy-to-register, append-to-register, prepend-to-register)
4149 (copy-rectangle-to-register): Use register-read-with-preview to
4150 read register. (Bug#15525)
4152 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4154 * net/network-stream.el (network-stream-open-starttls): Don't add
4155 --insecure if it's already present, because that gnutls-cli
4156 rejects getting that parameter twice.
4158 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4160 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4163 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4165 * newcomment.el (comment-use-global-state): Change default value
4166 to t, mark obsolete (Bug#15251).
4167 (comment-beginning): In addition to `comment-to-syntax', check the
4168 value of `comment-use-global-state'.
4170 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4172 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4173 (ruby-comment-column): Follow the global default, by default.
4174 (ruby-smie-grammar): Add assignment syntax.
4175 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4176 open-paren, a comma, or a \.
4177 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4178 and line continuations.
4179 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4180 followed by implicit semi-colons. Add rule for string concatenation
4181 and for indentation at BOB.
4182 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4184 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4185 calling next-sexp, since next-token may have skipped chars which
4186 next-sexp doesn't know should be skipped!
4188 2013-10-05 Leo Liu <sdl.web@gmail.com>
4190 * progmodes/octave.el (octave-send-region):
4191 Call compilation-forget-errors.
4193 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4195 * vc/vc-svn.el (vc-svn-find-admin-dir):
4196 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4197 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4198 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4199 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4201 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4203 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4205 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4207 * subr.el (read-passwd): Hide chars even when called within a context
4208 where after-change-functions is disabled (bug#15501).
4209 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4210 until we removed ourself from overriding-terminal-local-map.
4212 2013-10-04 Leo Liu <sdl.web@gmail.com>
4214 * progmodes/octave.el (inferior-octave-mode):
4215 Call compilation-forget-errors.
4217 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4219 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4221 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4223 * net/secrets.el (secrets-create-collection): Add optional
4224 argument ALIAS. Use proper Label keyword. Append ALIAS as
4225 dbus-call-method argument. (Bug#15516)
4227 2013-10-04 Leo Liu <sdl.web@gmail.com>
4229 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4230 (inferior-octave-compilation-font-lock-keywords): New variables.
4231 (compilation-error-regexp-alist)
4232 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4233 (inferior-octave-mode): Use compilation-shell-minor-mode.
4235 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4237 * minibuffer.el (completion--replace): Be careful that `end' might be
4240 2013-10-03 Daiki Ueno <ueno@gnu.org>
4242 Add support for package signature checking.
4243 * emacs-lisp/package.el (url-http-file-exists-p)
4244 (epg-make-context, epg-context-set-home-directory)
4245 (epg-verify-string, epg-context-result-for)
4246 (epg-signature-status, epg-signature-to-string)
4247 (epg-check-configuration, epg-configuration)
4248 (epg-import-keys-from-file): Declare.
4249 (package-check-signature): New user option.
4250 (package-unsigned-archives): New user option.
4251 (package-desc): Add `signed' field.
4252 (package-load-descriptor): Set `signed' field if .signed file exists.
4253 (package--archive-file-exists-p): New function.
4254 (package--check-signature): New function.
4255 (package-install-from-archive): Check package signature.
4256 (package--download-one-archive): Check archive signature.
4257 (package-delete): Remove .signed file.
4258 (package-import-keyring): New command.
4259 (package-refresh-contents): Import default keyring.
4260 (package-desc-status): Add "unsigned" status.
4261 (describe-package-1, package-menu--print-info)
4262 (package-menu-mark-delete, package-menu--find-upgrades)
4263 (package-menu--status-predicate): Support "unsigned" status.
4265 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4267 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4268 the new compilation scheme using the new byte-codes.
4270 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4271 (byte-pophandler): New byte codes.
4272 (byte-goto-ops): Adjust accordingly.
4273 (byte-compile--use-old-handlers): New var.
4274 (byte-compile-catch): Use new byte codes depending on
4275 byte-compile--use-old-handlers.
4276 (byte-compile-condition-case--old): Rename from
4277 byte-compile-condition-case.
4278 (byte-compile-condition-case--new): New function.
4279 (byte-compile-condition-case): New function that dispatches depending
4280 on byte-compile--use-old-handlers.
4281 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4284 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4285 Optimize under `condition-case' and `catch' if
4286 byte-compile--use-old-handlers is nil.
4287 (disassemble-offset): Handle new bytecodes.
4289 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4291 * subr.el (error): Use `declare'.
4292 (decode-char, encode-char): Use advertised-calling-convention instead
4293 of the docstring to discourage use of the `restriction' arg.
4295 2013-10-03 Daiki Ueno <ueno@gnu.org>
4297 * epg.el (epg-verify-file): Add a comment saying that it does not
4298 notify verification error as a return value nor a signal.
4299 (epg-verify-string): Ditto.
4301 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4303 * progmodes/compile.el (compilation-start): Try globbing the arg to
4306 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4308 Sync with Tramp 2.2.8.
4310 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4311 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4312 * net/trampver.el: Update release number.
4314 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4316 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4317 and default-process-coding-system for darwin only.
4319 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4321 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4323 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4325 * vc/vc-git.el (vc-git-grep): Disable pager.
4327 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4329 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4330 Use :url instead of :homepage, as per
4331 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4333 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4334 non-nil, use `syntax-ppss' (Bug#15251).
4336 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4338 * progmodes/octave.el (inferior-octave-startup-file):
4339 Prefer ~/.emacs.d/init_octave.m.
4341 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4343 * emacs-lisp/package.el (package-desc-from-define):
4344 Accept additional arguments as plist, convert them to an alist and store
4345 them in the `extras' slot.
4346 (package-generate-description-file): Convert extras alist back to
4347 plist and append to the `define-package' form arguments.
4348 (package--alist-to-plist): New function.
4349 (package--ac-desc): Add `extras' slot.
4350 (package--add-to-archive-contents): Check if the archive-contents
4351 vector is long enough, and if it is, pass its `extras' slot value
4352 to `package-desc-create'.
4353 (package-buffer-info): Call `lm-homepage', pass the returned value
4354 to `package-desc-from-define'.
4355 (describe-package-1): Render the homepage button (Bug#13291).
4357 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4358 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4360 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4362 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4363 and default-process-coding-system to utf-8-unix (Bug#15402).
4365 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4367 * subr.el (looking-back): Do not recommend using looking-back.
4369 2013-09-28 Alan Mackenzie <acm@muc.de>
4371 Fix indentation/fontification of Java enum with "implements".
4373 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4374 regexp which matches "implements", etc., in Java.
4375 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4376 specifier clauses coming after "enum".
4377 * progmodes/cc-fonts.el (c-font-lock-declarations)
4378 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4381 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4383 * faces.el (region): Change ns_selection_color to
4384 ns_selection_fg_color, add ns_selection_bg_color.
4386 2013-09-28 Leo Liu <sdl.web@gmail.com>
4388 * progmodes/octave.el (inferior-octave-completion-table)
4389 (inferior-octave-completion-at-point): Minor tweaks.
4391 * textmodes/ispell.el (ispell-lookup-words): Rename from
4392 lookup-words. (Bug#15460)
4393 (lookup-words): Obsolete.
4394 (ispell-complete-word, ispell-command-loop): All uses changed.
4396 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4398 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4399 (octave-mode-menu): Add octave-send-buffer.
4400 (octave-send-buffer): New function.
4402 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4404 * progmodes/octave.el (octave-mode-map): Add key binding for
4406 (octave-mode-menu): Add octave-lookfor.
4407 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4409 (octave-lookfor): New function.
4411 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4413 * emacs-lisp/cl-macs.el:
4414 (cl--loop-destr-temps): Remove.
4415 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4417 (cl--loop-set-iterator-function): New function.
4418 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4419 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4420 Bind `it' with `let' instead of substituting it with `cl-subst'.
4421 (cl--unused-var-p): New function.
4422 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4423 Eliminate some unused variable warnings (bug#15326).
4425 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4427 * doc-view.el (doc-view-scale-reset): Rename from
4428 `doc-view-reset-zoom-level'.
4429 (doc-view-scale-adjust): New command.
4430 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4431 `doc-view-scale-adjust'.
4433 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4435 * doc-view.el (doc-view-reset-zoom-level): New command.
4436 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4437 zoom commands (bug#15466).
4439 2013-09-26 Kenichi Handa <handa@gnu.org>
4441 * international/quail.el (quail-help): Make it not a command.
4443 2013-09-26 Leo Liu <sdl.web@gmail.com>
4445 * minibuffer.el (completion-all-sorted-completions): Make args
4446 optional as they are.
4448 2013-09-25 Daniel Colascione <dancol@dancol.org>
4450 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4451 specs are and that they're not evaluated.
4453 2013-09-24 Sam Steingold <sds@gnu.org>
4455 * midnight.el (clean-buffer-list-kill-regexps)
4456 (clean-buffer-list-kill-buffer-names): Update for the new Man
4457 buffer naming which includes the object name.
4459 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4461 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4462 (eshell-parse-command, eshell-parse-pipeline): Use it since
4463 eshell-separate-commands requires a dynamic scoped var.
4464 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4466 2013-09-23 Leo Liu <sdl.web@gmail.com>
4468 * autoinsert.el (auto-insert-alist): Make the value of
4469 lexical-binding match its file setting.
4471 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4473 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4475 * autoarg.el (autoarg-kp-digit-argument):
4476 * electric.el (Electric-command-loop):
4477 * kmacro.el (kmacro-step-edit-insert):
4478 Do not set universal-argument-num-events.
4480 2013-09-22 Leo Liu <sdl.web@gmail.com>
4482 * files.el (interpreter-mode-alist): Add octave.
4484 2013-09-21 Alan Mackenzie <acm@muc.de>
4486 C++: fontify identifier in declaration following "public:" correctly.
4487 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4488 to match "public", etc.
4489 (c-decl-prefix-re): Add ":" into the C++ value.
4490 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4491 bit. Add a check for a ":" preceded by "public", etc.
4493 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4495 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4496 recognized by GDB 7.5 and later.
4498 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4500 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4502 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4504 * subr.el (internal--call-interactively): New const.
4505 (called-interactively-p): Use it (bug#3984).
4507 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4509 * vc/pcvs.el (cvs-mode-ignore):
4510 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4511 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4513 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4515 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4516 (eshell-ls-orig-insert-directory): Remove.
4517 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4518 (eshell-ls-use-in-dired): Use advice-add/remove.
4519 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4520 Add `orig-fun' arg for use in :around advice.
4521 Make it check (redundantly) eshell-ls-use-in-dired.
4523 2013-09-19 Glenn Morris <rgm@gnu.org>
4525 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4527 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4529 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4531 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4533 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4534 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4535 (tramp-get-remote-python): New defuns.
4536 (tramp-get-remote-uid-with-perl)
4537 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4538 contributed by yary <not.com@gmail.com> (tiny change).
4539 (tramp-get-remote-uid-with-python)
4540 (tramp-get-remote-gid-with-python): New defuns. Python code
4541 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4542 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4544 2013-09-19 Glenn Morris <rgm@gnu.org>
4546 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4548 * eshell/em-unix.el (eshell-remove-entries):
4549 Rename argument to avoid name-clash with global `top-level'.
4551 * eshell/esh-proc.el (eshell-kill-process-function):
4552 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4553 (eshell-reset-after-proc): Remove unused arg `proc'.
4555 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4556 (directory-files-and-attributes): Mark unused arg.
4558 * eshell/em-unix.el (eshell-remove-entries):
4559 Remove unused arg `path'. Update callers.
4561 * eshell/em-hist.el (eshell-hist-parse-arguments):
4562 Remove unused arg `silent'. Update callers.
4564 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4565 Fix (f)boundp mix-up.
4567 * eshell/em-smart.el (eshell-smart-scroll-window)
4568 (eshell-disable-after-change):
4569 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4571 2013-09-18 Alan Mackenzie <acm@muc.de>
4573 Fix fontification of type when followed by "const".
4574 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4575 "known" types from fontification.
4577 2013-09-18 Glenn Morris <rgm@gnu.org>
4579 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4580 (chart-face-list): Drop Emacsen without display-color-p.
4582 * net/eww.el (libxml-parse-html-region): Declare.
4583 (eww-display-html): Explicit error if no libxml2 support.
4585 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4587 * image.el (image-type-from-buffer, image-multi-frame-p):
4588 Remove --without-x warning/error.
4590 * mouse.el (mouse-yank-primary):
4591 * term.el (term-mouse-paste):
4592 Reorder to silence --without-x compilation.
4594 * mpc.el (doc-view-mode): Silence --without-x compilation.
4596 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4597 Silence --without-x compilation.
4599 * progmodes/gud.el (gud-find-file, gud-mode):
4600 Silence --without-x compilation.
4601 (tooltip-mode): Declare.
4603 * wdired.el (dired-backup-overwrite): Remove declaration.
4604 (wdired-mode-map): Add doc string.
4606 * custom.el (x-get-resource): Declare.
4608 * eshell/em-glob.el (ange-cache):
4609 * eshell/em-unix.el (ange-cache): Declare.
4611 * faces.el (x-display-list, x-open-connection, x-get-resource):
4614 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4615 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4618 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4620 * net/gnutls.el (gnutls-log-level): Declare.
4622 * net/shr.el (image-size, image-animate): Declare.
4624 * simple.el (font-info): Declare.
4626 * subr.el (x-popup-dialog): Declare.
4628 * term/common-win.el (x-select-enable-primary)
4629 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4632 * term/ns-win.el (x-handle-args): Declare.
4634 * term/x-win.el (x-select-enable-clipboard): Declare.
4636 * term/w32-win.el (create-default-fontset): Declare.
4638 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4641 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4642 (fit-frame-to-buffer): Explicit error if --without-x.
4643 (mouse-autoselect-window-select): Silence compiler.
4645 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4647 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4648 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4649 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4650 * eshell/esh-util.el (eshell-sublist):
4651 Remove unused local variables.
4653 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4655 * textmodes/two-column.el: Make 2C-split work for --without-x.
4656 (scroll-bar-columns): Autoload.
4657 (top-level): Require fringe when compiling.
4659 2013-09-18 Leo Liu <sdl.web@gmail.com>
4661 * subr.el (add-hook): Robustify to handle closure as well.
4663 2013-09-17 Glenn Morris <rgm@gnu.org>
4665 * simple.el (messages-buffer-mode-map): Unbind "g".
4667 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4669 * help-mode.el (help-mode-finish): Use derived-mode-p.
4670 Remove obsolete highlighting.
4672 * play/life.el (life-mode): Use define-derived-mode. Derive from
4674 (life): Let-bind inhibit-read-only.
4675 (life-setup): Avoid `setq'. Use `life-mode'.
4677 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4678 which should not be needed any more.
4679 (package-menu-refresh, package-menu-describe-package): Use user-error.
4681 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4682 (eshell-post-rewrite-command-hook): Make obsolete.
4683 (eshell-parse-command): Simplify.
4684 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4685 (eshell--cmd): Declare.
4686 (eshell-parse-pipeline): Remove unused var `final-p'.
4687 Pass a dynvar to eshell-post-rewrite-command-hook.
4688 Implement the new eshell-post-rewrite-command-function.
4689 (eshell-invoke-directly): Remove unused arg `input'.
4690 * eshell/esh-io.el (eshell-io-initialize):
4691 Use eshell-post-rewrite-command-function (bug#15399).
4692 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4693 adjust to new calling convention.
4694 (eshell-create-handles): Rename args to avoid clashing with dynvar
4697 2013-09-17 Glenn Morris <rgm@gnu.org>
4699 * simple.el (messages-buffer-mode): New major mode.
4700 (messages-buffer): New function.
4701 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4702 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4703 (ert-run-test): Use `messages-buffer' function.
4704 (ert--force-message-log-buffer-truncation): Ignore read-only.
4705 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4706 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4708 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4710 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4712 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4714 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4716 * icomplete.el (icomplete-in-buffer): New var.
4717 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4718 vars and replace them with functions.
4719 (icomplete-minibuffer-setup): Adjust accordingly.
4720 (icomplete--completion-table, icomplete--completion-predicate)
4721 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4723 (icomplete-forward-completions, icomplete-backward-completions)
4724 (icomplete-simple-completing-p, icomplete-exhibit)
4725 (icomplete-completions): Use them.
4726 (icomplete--in-region-buffer): New var.
4727 (icomplete--in-region-setup): New function.
4728 (icomplete-mode): Use it.
4730 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4732 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4733 return args and options.
4734 (eshell-eval-using-options): Use the new return value of
4735 eshell--do-opts to set the options's vars in their scope.
4736 (eshell--set-option): Rename from eshell-set-option.
4738 (eshell--process-option): Rename from eshell-process-option.
4740 (eshell--process-args): Use an `opt-vals' alist to store the options's
4741 values during their processing and return them additionally to the
4744 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4746 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4747 continuation character an operator, as far as indentation is
4748 concerned (Bug#15369).
4750 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4752 * window.el (window--state-put-2): Don't process buffer state
4753 when buffer doesn't exist any more (Bug#15382).
4755 2013-09-15 Glenn Morris <rgm@gnu.org>
4757 * eshell/em-unix.el (eshell/rm):
4758 Make -f ignore missing files. (Bug#15373)
4760 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4761 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4762 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4764 2013-09-14 Glenn Morris <rgm@gnu.org>
4766 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4768 2013-09-13 Glenn Morris <rgm@gnu.org>
4770 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4771 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4773 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4775 * frame.el (x-focus-frame): Mark as declared in frame.c.
4777 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4779 * ls-lisp.el: Use advice-add.
4780 (original-insert-directory): Remove.
4781 (ls-lisp--insert-directory): Rename from insert-directory; add
4782 `orig-fun' argument.
4783 (insert-directory): Advise.
4785 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4787 * term.el (term-emulate-terminal): Decode the command string
4788 before passing it to term-command-hook. (Bug#15337)
4790 2013-09-13 Glenn Morris <rgm@gnu.org>
4792 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4794 * eshell/esh-ext.el (eshell-search-path): Declare.
4796 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4797 Otherwise an error occurs if eshell-dirs module not loaded.
4799 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4801 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4803 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4804 `tramp-check-proper-host'. Check for a valid method name.
4806 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4807 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4808 * net/tramp-sh.el (tramp-maybe-open-connection):
4809 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4811 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4812 also for hash values.
4814 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4816 * term/ns-win.el (parameters): Don't declare as dynamic.
4817 (before-make-frame-hook): Don't add ineffective function.
4819 * eshell/*.el: Use lexical-binding (bug#15231).
4821 2013-09-12 Kenichi Handa <handa@gnu.org>
4823 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4825 2013-09-12 Glenn Morris <rgm@gnu.org>
4827 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4828 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4830 * subr.el (do-after-load-evaluation): Also give compiler warnings
4831 when obsolete files are used (except by obsolete files).
4833 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4834 in the status output, assume `filename' is the first. (Bug#15322)
4836 * vc/vc.el (vc-deduce-fileset): Doc fix.
4838 * calc/calc-help.el (Info-goto-node):
4839 * progmodes/cperl-mode.el (Info-find-node):
4840 * vc/ediff.el (Info-goto-node): Update declarations.
4842 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4844 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4845 (vc-bzr-pull): Require vc-dispatcher.
4846 * vc/vc-git.el (vc-compilation-mode): Declare.
4847 (vc-git-pull): Require vc-dispatcher.
4849 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4851 * progmodes/octave.el (help-button-action): Declare.
4853 * shell.el (shell-directory-tracker): Output error as a message
4854 rather than just returning it as a string.
4855 (shell-process-pushd): Remove useless use of message.
4857 * dframe.el (dframe-timer-fn):
4858 * files.el (dir-locals-read-from-file):
4859 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4861 * reveal.el (reveal-post-command):
4862 * saveplace.el (load-save-place-alist-from-file):
4863 * shell.el (shell-resync-dirs):
4864 * w32-common-fns.el (x-get-selection-value):
4865 * emacs-lisp/copyright.el (copyright-find-copyright):
4866 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4867 * emulation/tpu-edt.el (tpu-copy-keyfile):
4868 * play/bubbles.el (bubbles--mark-neighbourhood):
4869 * progmodes/executable.el
4870 (executable-make-buffer-file-executable-if-script-p):
4871 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4873 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4875 Cleanup Eshell to rely less on dynamic scoping.
4876 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4877 last-value, and ext-command here. Bind `args' closer to `body'.
4878 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4879 (eshell--args): Declare new dynamic var.
4880 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4881 last-value, and ext-command. Pass `args' to `body'.
4882 (eshell-process-args): Bind eshell--args.
4883 (eshell-set-option): Use eshell--args.
4884 * eshell/eshell.el (eshell): Use derived-mode-p.
4885 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4886 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4887 (eshell-glob-function): Declare.
4888 * eshell/esh-util.el: Require cl-lib.
4889 (eshell-read-hosts-file): Avoid add-to-list.
4890 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4892 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4894 (eshell/diff): Remove unused var `err'.
4895 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4897 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4898 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4900 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4901 Move declaration before first use.
4902 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4903 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4906 2013-09-12 Glenn Morris <rgm@gnu.org>
4908 * term/ns-win.el (global-map): Remove binding for ispell-next,
4909 deleted 1999-05-29. (Bug#15357)
4911 2013-09-11 Glenn Morris <rgm@gnu.org>
4913 * echistory.el (electric-command-history): Remove call to deleted func.
4915 * play/landmark.el (landmark-mode): Fix typos.
4917 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4918 Check cvs-sort-ignore-file is bound.
4920 * savehist.el: No need for cl when compiling on Emacs.
4922 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4924 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4926 (eshell-self-insert-command, eshell-send-invisible):
4927 Remove unused argument.
4928 (eshell-handle-control-codes): Remove unused var `orig'.
4929 Avoid delete-backward-char.
4931 * files.el (set-auto-mode): Simplify a bit further.
4933 2013-09-11 Glenn Morris <rgm@gnu.org>
4935 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4936 (set-auto-mode): Don't regexp-quote elements.
4937 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4938 * progmodes/cc-mode.el (interpreter-mode-alist):
4939 * progmodes/ruby-mode.el (interpreter-mode-alist):
4940 Revert previous change.
4942 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4944 * play/snake.el (snake-mode):
4945 * play/mpuz.el (mpuz-mode):
4946 * play/landmark.el (lm-mode):
4947 * play/blackbox.el (blackbox-mode):
4948 * play/5x5.el (5x5-mode):
4949 * obsolete/options.el (Edit-options-mode):
4950 * net/quickurl.el (quickurl-list-mode):
4951 * net/newst-treeview.el (newsticker-treeview-mode):
4952 * mail/rmailsum.el (rmail-summary-mode):
4953 * mail/mspools.el (mspools-mode):
4954 * locate.el (locate-mode):
4955 * ibuffer.el (ibuffer-mode):
4956 * emulation/ws-mode.el (wordstar-mode):
4957 * emacs-lisp/debug.el (debugger-mode):
4958 * array.el (array-mode):
4959 * net/eudc.el (eudc-mode): Use define-derived-mode.
4960 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4961 Move initialization into declaration.
4962 (mairix-searches-mode): Use define-derived-mode.
4963 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4964 (eudc-edit-hotlist): Use dolist.
4965 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4966 (Man-mode): Use define-derived-mode.
4967 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4968 (Info-edit-mode): Use define-derived-mode.
4969 (Info-cease-edit): Use Info-mode.
4970 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4972 (eshell-mode): Use define-derived-mode.
4973 * chistory.el (command-history-mode-map): Rename from
4974 command-history-map.
4975 (command-history-mode): Use define-derived-mode.
4976 (Command-history-setup): Remove function.
4977 * calc/calc.el (calc-trail-mode-map): New var.
4978 (calc-trail-mode): Use define-derived-mode.
4979 (calc-trail-buffer): Set calc-main-buffer manually.
4980 * bookmark.el (bookmark-insert-annotation): New function.
4981 (bookmark-edit-annotation): Use it.
4982 (bookmark-edit-annotation-mode): Make it a proper major mode.
4983 (bookmark-send-edited-annotation): Use derived-mode-p.
4984 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4985 closer to its ideal place. Use \' to match EOS.
4987 * profiler.el (profiler-calltree-find): Use function-equal.
4989 2013-09-10 Glenn Morris <rgm@gnu.org>
4991 * files.el (interpreter-mode-alist): Convert to regexps.
4992 (set-auto-mode): Adapt for this. (Bug#15306)
4993 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4994 Comment out unused variable.
4995 * progmodes/cc-mode.el (interpreter-mode-alist):
4996 * progmodes/python.el (interpreter-mode-alist):
4997 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4998 * progmodes/sh-script.el (sh-set-shell):
4999 No longer use interpreter-mode-alist to get list of shells.
5001 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5003 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5005 * simple.el: Use set-temporary-overlay-map for universal-argument.
5006 (universal-argument-map): Don't use default-bindings (bug#15317).
5007 Bind switch-frame explicitly. Replace universal-argument-minus with
5008 a conditional binding.
5009 (universal-argument-num-events, saved-overriding-map): Remove.
5010 (restore-overriding-map): Remove.
5011 (universal-argument--mode): Rename from save&set-overriding-map,
5013 (universal-argument, universal-argument-more, negative-argument)
5014 (digit-argument): Adjust accordingly.
5015 (universal-argument-minus): Remove.
5016 (universal-argument-other-key): Remove.
5018 * subr.el (with-demoted-errors): Add `format' argument.
5020 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5022 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5023 `tramp-cleanup-connection'.
5025 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5026 parameters KEEP-DEBUG and KEEP-PASSWORD.
5028 * net/tramp.el (tramp-file-name-handler):
5029 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5030 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5031 (tramp-maybe-open-connection):
5032 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5033 Use `tramp-cleanup-connection'.
5035 * net/tramp-sh.el (tramp-maybe-open-connection):
5036 Catch 'uname-changed inside the progress reporter.
5038 2013-09-10 Glenn Morris <rgm@gnu.org>
5040 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5042 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5043 returns "alternate access method" in mode (eg "-rw-r--r--.").
5045 2013-09-08 Glenn Morris <rgm@gnu.org>
5047 * saveplace.el (load-save-place-alist-from-file):
5048 Demote errors. (Bug#15305)
5050 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5052 Improve compatibility with older Emacsen, and XEmacs.
5054 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5055 only if it is bound. It isn't for XEmacs.
5056 (with-tramp-progress-reporter): Do not let-bind `result'.
5057 This yields to scoping errors in XEmacs.
5058 (tramp-handle-make-auto-save-file-name): New function, moved from
5061 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5062 for `make-auto-save-file-name'.
5063 (tramp-adb--gnu-switches-to-ash):
5064 Use `tramp-compat-replace-regexp-in-string'.
5066 * net/tramp-cache.el (tramp-cache-print): Call
5067 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5069 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5070 bound. It isn't for XEmacs.
5072 * net/tramp-compat.el (tramp-compat-copy-file):
5073 Catch `wrong-number-of-arguments' error.
5074 (tramp-compat-replace-regexp-in-string): New defun.
5076 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5077 for `make-auto-save-file-name'.
5078 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5080 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5081 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5082 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5084 * net/tramp-gw.el (tramp-gw-open-network-stream):
5085 Use `tramp-compat-replace-regexp-in-string'.
5087 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5088 Call `tramp-handle-make-auto-save-file-name'.
5089 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5090 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5091 (tramp-sh-file-inotifywait-process-filter):
5092 Use `tramp-compat-replace-regexp-in-string'.
5093 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5095 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5096 for `make-auto-save-file-name'.
5097 (tramp-smb-handle-copy-directory):
5098 Call `tramp-compat-replace-regexp-in-string'.
5099 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5100 (tramp-smb-handle-copy-file): Improve error message.
5101 (tramp-smb-handle-rename-file): Rename directly only in case
5102 `newname' does not exist yet. This is a restriction of smbclient.
5103 (tramp-smb-maybe-open-connection): Rerun the function only when
5104 `auth-sources' is non-nil.
5106 2013-09-08 Kenichi Handa <handa@gnu.org>
5108 * international/characters.el: Set category "^" (Combining) for
5111 2013-09-07 Alan Mackenzie <acm@muc.de>
5113 Correctly fontify Java class constructors.
5114 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5116 (c-recognize-typeless-decls): Set the Java value to t.
5117 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5118 While handling a "(", add a check for, effectively, Java, and handle a
5119 "typeless" declaration there.
5121 2013-09-07 Roland Winkler <winkler@gnu.org>
5123 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5124 field subtitle for entry type book.
5126 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5128 * minibuffer.el: Make minibuffer-complete call completion-in-region
5129 rather than other way around.
5130 (completion--some, completion-pcm--find-all-completions):
5131 Don't delay signals when debugging.
5132 (minibuffer-completion-contents): Beware fields within the
5133 minibuffer contents.
5134 (completion-all-sorted-completions): Use defvar-local.
5135 (completion--do-completion, completion--cache-all-sorted-completions)
5136 (completion-all-sorted-completions, minibuffer-force-complete):
5137 Add args `beg' and `end'.
5138 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5139 (minibuffer-complete): Use completion-in-region.
5140 (completion-complete-and-exit): New fun, extracted from
5141 minibuffer-complete-and-exit.
5142 (minibuffer-complete-and-exit): Use it.
5143 (completion--complete-and-exit): Rename from
5144 minibuffer--complete-and-exit.
5145 (completion-in-region--single-word): New function, extracted from
5146 minibuffer-complete-word.
5147 (minibuffer-complete-word): Use it.
5148 (display-completion-list): Make `common-substring' argument obsolete.
5149 (completion--in-region): Call completion--in-region-1 instead of
5150 minibuffer-complete.
5151 (completion-help-at-point): Pass boundaries to
5152 minibuffer-completion-help as args rather than via an overlay.
5153 (completion-pcm--string->pattern): Use `any-delim'.
5154 (completion-pcm--optimize-pattern): New function.
5155 (completion-pcm--pattern->regex): Handle `any-delim'.
5156 * icomplete.el (icomplete-forward-completions)
5157 (icomplete-backward-completions, icomplete-completions):
5158 Adjust calls to completion-all-sorted-completions and
5159 completion--cache-all-sorted-completions.
5160 (icomplete-with-completion-tables): Default to t.
5161 * emacs-lisp/crm.el (crm--current-element): Rename from
5162 crm--select-current-element. Don't put an overlay but return the
5164 (crm--completion-command): Take two new args to bind to the boundaries.
5165 (crm-completion-help): Adjust accordingly.
5166 (crm-complete): Use completion-in-region.
5167 (crm-complete-word): Use completion-in-region--single-word.
5168 (crm-complete-and-exit): Use completion-complete-and-exit.
5170 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5172 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5175 2013-09-06 Juri Linkov <juri@jurta.org>
5177 * info.el (Info-display-images-node): When image file doesn't exist
5178 display text version of the image if it's provided in the Info file.
5179 Otherwise, display the location of missing image from SRC attribute.
5180 Add help-echo text property from ALT attribute. (Bug#15279)
5182 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5184 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5185 (edit-abbrevs-mode): Use define-derived-mode.
5187 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5188 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5190 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5191 Use define-derived-mode.
5193 * epg.el (epg-start-encrypt): Minor CSE simplification.
5195 2013-09-06 William Xu <william.xwl@gmail.com>
5197 * arc-mode.el: Add support for 7za (bug#15264).
5198 (archive-7z-program): New var.
5199 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5200 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5201 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5203 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5207 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5208 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5209 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5210 (tramp-postfix-host-format, tramp-file-name-regexp)
5211 (tramp-completion-file-name-regexp)
5212 (tramp-completion-dissect-file-name)
5213 (tramp-handle-substitute-in-file-name): Remove 'url case.
5214 (tramp-file-name-regexp-url)
5215 (tramp-completion-file-name-regexp-url): Remove constants.
5217 2013-09-06 Glenn Morris <rgm@gnu.org>
5219 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5221 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5223 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5224 keywords" below "here-doc beginnings" (Bug#15270).
5226 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5228 * subr.el (pop): Use `car-safe'.
5229 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5230 to detect unused `pop' return value.
5232 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5234 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5235 (python-fill-string): Remove unused var `marker'.
5236 (python-skeleton-add-menu-items): Remove unused var `items'.
5238 * international/mule-cmds.el: Require CL.
5239 (find-coding-systems-for-charsets): Avoid add-to-list.
5240 (sanitize-coding-system-list): New function, extracted from
5241 select-safe-coding-system-interactively.
5242 (select-safe-coding-system-interactively): Use it.
5243 (read-input-method-name): Accept symbols for `default'.
5245 * emacs-lisp/advice.el (defadvice): Add indent rule.
5247 2013-09-05 Daniel Hackney <dan@haxney.org>
5251 * net/browse-url.el:
5254 * net/eudcb-ldap.el:
5267 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5268 byte compiler. Remove some unused let-bound variables.
5270 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5272 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5273 a "ref-cell", since it gets better optimized (bug#14883).
5275 2013-09-05 Glenn Morris <rgm@gnu.org>
5277 * progmodes/cc-awk.el (c-forward-sws): Declare.
5279 2013-09-04 Glenn Morris <rgm@gnu.org>
5281 * generic-x.el [rul-generic-mode]: Require cc-mode.
5282 (c++-mode-syntax-table): Declare.
5283 (rul-generic-mode-syntax-table): Init in the defvar.
5285 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5287 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5288 (vc-do-command, vc-set-async-update):
5289 * vc/vc-mtn.el (vc-mtn-dir-status):
5290 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5291 (vc-hg-pull, vc-hg-merge-branch):
5292 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5293 (vc-git-merge-branch):
5294 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5295 (vc-cvs-dir-status-files):
5296 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5297 (vc-bzr-dir-status-files):
5298 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5299 * vc/vc-annotate.el: Use lexical-binding.
5300 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5301 (vc-sentinel-movepoint): Declare.
5302 (vc-annotate): Don't use `goto-line'.
5303 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5304 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5305 (vc-sentinel-movepoint): Declare.
5306 * vc/vc-svn.el: Use lexical-binding.
5307 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5309 * vc/vc-rcs.el: Use lexical-binding.
5311 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5312 `deleted'. Don't drop errors silently.
5314 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5316 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5318 * vc/vc.el (vc-ignore): Rewrite.
5319 (vc-default-ignore): New function.
5320 (vc-default-ignore-completion-table): Use find-ignore-file.
5322 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5323 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5324 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5325 Remove. Most code moved to vc.el.
5327 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5329 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5330 * net/tramp-smb.el (tramp-smb-get-file-entries):
5331 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5332 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5334 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5336 (eww-change-select): Remove unused var `properties'.
5337 (eww-make-unique-file-name): Remove unused var `base'.
5339 * finder.el (finder-compile-keywords): Don't mess with windows.
5341 * calculator.el (calculator-funcall): Fix typo in last change.
5343 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5345 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5346 <pkg>-autoloads.el file stop us.
5348 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5349 warnings, and factor out common code.
5351 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5353 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5354 two-character operators and whether the character preceding them
5355 changes their meaning (Bug#15208).
5357 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5359 Format code sent to Python shell for robustness.
5360 * progmodes/python.el (python-shell-buffer-substring):
5362 (python-shell-send-region, python-shell-send-buffer): Use it.
5364 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5366 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5367 * net/tramp.el (tramp-user-error): ... here.
5368 (tramp-find-method, tramp-check-proper-host)
5369 (tramp-dissect-file-name, tramp-debug-message)
5370 (tramp-handle-shell-command):
5371 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5372 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5374 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5376 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5378 * avoid.el (mouse-avoidance-point-position)
5379 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5382 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5384 * progmodes/python.el (python-shell-completion-get-completions):
5385 Drop use of deleted `comint-last-prompt-overlay'.
5386 (python-nav-if-name-main): New command.
5388 2013-09-01 Glenn Morris <rgm@gnu.org>
5390 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5391 Avoid leading space in $wins. Otherwise the sed command used by
5392 eg compile-main ends up containing "/*.el". (Bug#15170)
5394 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5396 2013-08-30 Glenn Morris <rgm@gnu.org>
5398 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5399 Fix is-this-a-directory logic. (Bug#15220)
5401 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5403 * textmodes/css-mode.el: Use SMIE.
5404 (css-smie-grammar): New var.
5405 (css-smie--forward-token, css-smie--backward-token)
5406 (css-smie-rules): New functions.
5407 (css-mode): Use them.
5408 (css-navigation-syntax-table): Remove var.
5409 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5410 (css-indent-calculate, css-indent-line): Remove functions.
5412 Misc changes to reduce use of `(lambda...); and other cleanups.
5413 * cus-edit.el: Use lexical-binding.
5414 (customize-push-and-save, customize-apropos)
5415 (custom-buffer-create-internal): Use closures.
5416 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5417 * progmodes/ada-xref.el: Use setq.
5418 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5419 * dframe.el: Use lexical-binding.
5420 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5421 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5422 * descr-text.el: Use lexical-binding.
5423 (describe-text-widget, describe-text-sexp, describe-property-list):
5425 * comint.el (comint-history-isearch-push-state): Use a closure.
5426 * calculator.el: Use lexical-binding.
5427 (calculator-number-to-string): Make it work with lexical-binding.
5428 (calculator-funcall): Same and use cl-letf.
5430 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5431 (lisp--company-doc-string, lisp--company-location): New functions.
5432 (lisp-completion-at-point): Use them to improve Company support.
5434 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5435 params of lambda expressions.
5436 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5437 (ruby-smie--opening-pipe-p): New function.
5438 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5439 symbols and matched |...| for formal params.
5440 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5441 from being treated as hanging. Handle "rescue".
5443 2013-08-29 Glenn Morris <rgm@gnu.org>
5445 * progmodes/cc-engine.el (c-pull-open-brace):
5446 Move definition before use.
5448 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5450 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5451 are immutable. Don't use `unsafe' any more.
5452 (cl--defsubst-expand): Don't substitute at the same time as keeping
5453 a residual unused let-binding. Don't use `unsafe' any more.
5455 2013-08-29 Glenn Morris <rgm@gnu.org>
5457 * calendar/cal-china.el (calendar-chinese-year-cache):
5460 * nxml/nxml-util.el (nxml-debug-clear-inside):
5461 Use cl-loop rather than loop.
5463 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5465 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5467 2013-08-28 Glenn Morris <rgm@gnu.org>
5469 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5471 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5473 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5475 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5477 * simple.el (repeat-complex-command--called-interactively-skip):
5479 (repeat-complex-command): Use it (bug#14136).
5481 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5482 (c-define-abbrev-table): Add `doc' argument.
5483 (c-mode-abbrev-table, c++-mode-abbrev-table)
5484 (objc-mode-abbrev-table, java-mode-abbrev-table)
5485 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5486 (awk-mode-abbrev-table): Use it.
5487 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5488 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5489 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5490 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5491 Move initialization into the declaration; and remove any
5494 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5495 and dynamic let binding.
5497 * vc/smerge-mode.el: Remove redundant :group args.
5499 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5502 2013-08-28 Juri Linkov <juri@jurta.org>
5504 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5505 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5506 (isearch-other-meta-char): Handle an undefined shifted printing
5507 character by downshifting it. (Bug#15200)
5509 2013-08-28 Juri Linkov <juri@jurta.org>
5511 * isearch.el (isearch-search): Change regexp error message for
5512 non-regexp searches. (Bug#15166)
5514 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5516 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5517 for portability to hosts where /bin/sh has problems.
5519 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5521 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5523 2013-08-27 Juri Linkov <juri@jurta.org>
5525 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5526 in the keyboard macro. (Bug#15126)
5528 2013-08-27 Juri Linkov <juri@jurta.org>
5530 * isearch.el (isearch-quote-char): Comment out converting unibyte
5531 to multibyte, thus syncing with its `quoted-insert' counterpart.
5534 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5536 * window.el (display-buffer-use-some-window): Add missing
5537 argument in call of get-largest-window (Bug#15185).
5538 Reported by Stephen Leake.
5540 2013-08-27 Glenn Morris <rgm@gnu.org>
5542 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5544 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5546 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5547 from a matcher-function unless there's no more matches (bug#15161).
5549 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5551 * minibuffer.el: Revert change from 2013-08-20.
5553 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5554 with text property `tramp-default', if appropriate.
5555 (tramp-check-proper-host): New defun.
5556 (tramp-dissect-file-name): Do not check hostname. Revert change
5558 (tramp-backtrace): Make VEC-OR-PROC optional.
5560 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5561 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5562 * net/tramp-sh.el (tramp-maybe-open-connection):
5563 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5564 Apply `tramp-check-proper-host'.
5566 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5568 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5569 lambda expression in order to have `describe-variable' display it.
5571 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5573 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5574 BUF can be optional. (Bug#15186)
5576 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5578 * progmodes/flymake.el (flymake-get-real-file-name-function):
5579 Fix broken customization. (Bug#15184)
5581 2013-08-25 Alan Mackenzie <acm@muc.de>
5583 Improve indentation of bracelists defined by macros (without "=").
5585 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5586 expansion begins with "{", regard it as bracelist when it doesn't
5589 Parse C++ inher-intro when there's a template split over 2 lines.
5591 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5592 rigorously the search for "class" etc. followed by ":".
5594 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5595 random languages a regexp which never matches rather than nil.
5597 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5599 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5600 (c-awk-regexp-one-line-possibly-open-char-list-re)
5601 (c-awk-one-line-possibly-open-regexp-re)
5602 (c-awk-one-line-non-syn-ws*-re): Remove.
5603 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5604 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5605 (c-awk-space*-unclosed-regexp-/-re): New constants.
5606 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5607 aren't regexp delimiters.
5609 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5610 handling for a rare situation in AWK Mode involving unterminated
5613 2013-08-23 Glenn Morris <rgm@gnu.org>
5615 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5617 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5619 * files.el (create-file-buffer): If the result would begin with
5620 spaces, prepend a "|" instead of removing them. (Bug#15162)
5622 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5624 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5625 text-properties (bug#15155).
5627 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5629 (calc-keypad-redraw): Remove unused var `pad'.
5630 (calc-keypad-press): Remove unused var `menu'.
5632 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5634 * window.el (display-buffer-pop-up-frame):
5635 Call pop-up-frame-function with BUFFER current so `make-frame' will
5636 use it as the new frame's buffer (Bug#15133).
5638 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5640 * calendar/timeclock.el: Minor cleanups.
5641 (timeclock-ask-before-exiting, timeclock-use-display-time):
5643 (timeclock-modeline-display): Define as alias before the
5645 (timeclock-mode-line-display): Use define-minor-mode.
5646 (timeclock-day-list-template): Make it a function, add an argument.
5647 (timeclock-day-list-required, timeclock-day-list-length)
5648 (timeclock-day-list-debt, timeclock-day-list-span)
5649 (timeclock-day-list-break): Adjust calls accordingly.
5651 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5653 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5654 Use read--expression so that completion works again.
5656 2013-08-21 Sam Steingold <sds@gnu.org>
5658 Add rudimentary inferior shell interaction
5659 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5660 (sh-set-shell): Reset it.
5661 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5662 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5664 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5666 * align.el: Use lexical-binding.
5667 (align-region): Simplify accordingly.
5669 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5671 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5673 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5676 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5680 * net/tramp-cmds.el:
5682 * net/tramp-gvfs.el:
5684 * net/tramp-sh.el: Don't wrap external variable declarations by
5685 `eval-when-compile'.
5687 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5689 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5690 now that Emacs supports ImageMagick animations.
5692 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5694 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5695 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5697 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5699 * window.el (mouse-autoselect-window-select): Do autoselect when
5700 mouse pointer is on margin.
5702 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5704 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5706 2013-08-16 Glenn Morris <rgm@gnu.org>
5708 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5709 Handle "Remote Directory" response of some clients. (Bug#15058)
5711 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5712 Tweak warning. (Bug#14926)
5714 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5715 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5717 * image-mode.el (image-mode-map): Add menu items to reverse,
5718 increase, decrease, reset animation speed.
5719 (image--set-speed, image-increase-speed, image-decrease-speed)
5720 (image-reverse-speed, image-reset-speed): New functions.
5721 (image-mode-map): Add bindings for speed commands.
5723 * image.el (image-animate-get-speed, image-animate-set-speed):
5725 (image-animate-timeout): Respect image :speed property.
5727 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5729 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5730 previous line (bug#15101).
5731 (debugger-eval-expression, debugger-record-expression):
5732 Use read--expression (bug#15102).
5734 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5736 Remove byte compiler warnings, visible when compiling with
5737 `byte-compile-force-lexical-warnings' set to t.
5739 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5740 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5741 (tramp-handle-unhandled-file-name-directory)
5742 (tramp-handle-file-notify-add-watch, tramp-action-login)
5743 (tramp-action-succeed, tramp-action-permission-denied)
5744 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5747 * net/tramp-adb.el (tramp-adb-parse-device-names)
5748 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5749 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5750 (tramp-adb-handle-file-truename): Remove unused arguments.
5752 * net/tramp-cache.el (tramp-flush-directory-property)
5753 (tramp-flush-connection-property, tramp-list-connections)
5754 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5756 * net/tramp-compat.el (tramp-compat-make-temp-file):
5757 Rename FILENAME to F.
5759 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5760 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5761 (tramp-zeroconf-parse-workstation-device-names)
5762 (tramp-zeroconf-parse-webdav-device-names)
5763 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5765 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5766 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5768 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5770 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5771 (tramp-sh-handle-insert-file-contents-literally)
5772 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5774 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5775 Remove unused variables.
5777 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5778 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5779 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5781 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5782 Make them a defconst.
5783 (tramp-uuencode-region): Remove unused variable.
5785 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5787 * frameset.el (frameset--prop-setter): New function.
5788 (frameset-prop): Add gv-setter declaration.
5789 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5790 parameter was already set in FILTERED. Doc fix.
5791 (frameset--record-minibuffer-relationships): Allow saving a
5792 minibufferless frame without its corresponding minibuffer frame.
5793 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5794 frame, if the frame id matches.
5795 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5796 frames before orphaned ones.
5797 (frameset-restore): Warn about orphaned windows, instead of error out.
5799 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5801 * window.el (window-make-atom): Don't overwrite parameter
5803 (display-buffer-in-atom-window): Handle special case where we
5804 split an already atomic window.
5805 (window--major-non-side-window, display-buffer-in-side-window)
5806 (window--side-check): Ignore minibuffer window when walking
5808 (window-deletable-p): Return 'frame only if no other frame uses
5809 our minibuffer window.
5810 (record-window-buffer): Run buffer-list-update-hook.
5811 (split-window): Make sure window--check-frame won't destroy an
5812 existing atomic window in case the new window gets nested
5814 (display-buffer-at-bottom): Ignore minibuffer window when
5815 walking window tree. Don't split a side window.
5816 (pop-to-buffer): Don't set-buffer here, the select-window call
5818 (mouse-autoselect-window-select): Autoselect only if we are in the
5819 text portion of the window.
5821 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5823 * net/shr.el (shr-parse-image-data): New function to grab both the
5824 data itself and the Content-Type.
5825 (shr-put-image): Use it.
5827 * net/eww.el (eww-display-image): Ditto.
5829 * image.el (image-content-type-suffixes): New variable.
5831 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5833 * progmodes/python.el (python-imenu--build-tree)
5834 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5836 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5838 * simple.el (backward-word): Mention the optional argument.
5840 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5842 * frameset.el (frameset--make): Rename constructor from make-frameset.
5843 (frameset-p, frameset-valid-p): Don't autoload.
5844 (frameset-valid-p): Use normal accessors.
5846 2013-08-13 Glenn Morris <rgm@gnu.org>
5848 * progmodes/compile.el (compile-command): Tweak example in doc.
5849 * obsolete/scribe.el (scribe-mode):
5850 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5852 * mail/feedmail.el (feedmail-confirm-outgoing)
5853 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5855 * cus-start.el (truncate-partial-width-windows): Fix type.
5857 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5859 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5861 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5863 * emacs-lisp/timer.el (timer--time-setter): New function.
5864 (timer--time): Use it as gv-setter.
5866 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5867 setter is not a symbol.
5869 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5871 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5872 if sending fails. This makes debugging easier.
5874 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5876 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5877 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5878 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5880 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5882 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5884 2013-08-12 Glenn Morris <rgm@gnu.org>
5886 * format.el (format-annotate-function):
5887 Handle read-only text properties in the source. (Bug#14887)
5889 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5891 * net/eww.el (eww-display-html): Ignore coding system errors.
5892 One web site uses "utf-8lias" as the coding system.
5894 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5896 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5898 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5900 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5901 (tutorial--detailed-help): Remove unused local variables.
5902 (tutorial--save-tutorial-to): Use ignore-errors.
5903 (help-with-tutorial): Use looking-at-p.
5905 * view.el (view-buffer-other-window, view-buffer-other-frame):
5906 Mark unused arguments.
5908 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5909 (woman-select-symbol-fonts, woman, woman-find-file)
5910 (woman-insert-file-contents, woman-non-underline-faces):
5912 (woman1-unquote): Move declaration.
5914 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5915 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5916 argument. Remove unused local variable.
5917 (xml-parse-elem-type): Use string-match-p.
5918 (xml-substitute-numeric-entities): Use ignore-errors.
5920 * calculator.el (calculator): Mark unused argument.
5921 (calculator-paste, calculator-quit, calculator-integer-p):
5923 (calculator-string-to-number, calculator-decimal, calculator-exp)
5924 (calculator-op-or-exp): Use string-match-p.
5926 * dired.el (dired-buffer-more-recently-used-p): Declare.
5927 (dired-insert-set-properties, dired-insert-old-subdirs):
5930 * dired-aux.el (dired-compress): Use ignore-errors.
5931 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5932 (dired-do-async-shell-command, dired-do-shell-command)
5933 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5934 (dired-insert-subdir-validate): Use string-match-p.
5935 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5936 (dired-add-entry): Use string-match-p, looking-at-p.
5937 (dired-insert-subdir-newpos): Remove unused local variable.
5939 * filenotify.el (file-notify-callback): Remove unused local variable.
5941 * filesets.el (filesets-error): Mark unused argument.
5942 (filesets-which-command-p, filesets-filter-dir-names)
5943 (filesets-directory-files, filesets-get-external-viewer)
5944 (filesets-ingroup-get-data): Use string-match-p.
5946 * find-file.el (ff-other-file-name, ff-other-file-name)
5947 (ff-find-the-other-file, ff-cc-hh-converter):
5948 Remove unused local variables.
5949 (ff-get-file-name): Use string-match-p.
5950 (ff-all-dirs-under): Use ignore-errors.
5952 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5953 (follow-select-if-visible): Remove unused local variable.
5955 * forms.el (read-file-filter): Move declaration.
5956 (forms--make-format, forms--make-parser, forms-insert-record):
5957 Quote function with #'.
5958 (forms--update): Use string-match-p. Quote function with #'.
5960 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5961 (help-make-xrefs): Use looking-at-p.
5962 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5964 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5965 (ibuffer-confirm-operation-on): Use string-match-p.
5967 * msb.el (msb-item-handler, msb-dired-item-handler):
5968 Mark unused arguments.
5970 * ses.el (ses-decode-cell-symbol)
5971 (ses-kill-override): Remove unused local variable.
5972 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5973 (ses-load): Use ignore-errors, looking-at-p.
5974 (ses-jump-safe): Use ignore-errors.
5975 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5977 * tabify.el (untabify, tabify): Mark unused arguments.
5979 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5980 Mark unused argument.
5981 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5982 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5984 * emacs-lisp/timer.el (timer--time): Define setter with
5985 gv-define-setter to avoid deprecation warning.
5987 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5988 (*record-cmpl-statistics-p*): Remove (was commented out).
5989 (cmpl-statistics-block): Remove (body was commented out).
5990 All callers changed.
5991 (add-completions-from-buffer, load-completions-from-file):
5992 Remove unused variables.
5994 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5996 * filecache.el (file-cache-delete-file-list):
5997 Print message only when told so.
5998 (file-cache-files-matching): Use #' in mapconcat argument.
6000 * ffap.el (ffap-url-at-point): Fix reference to variable
6001 thing-at-point-default-mail-uri-scheme.
6003 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6005 * subr.el (define-error): New function.
6006 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6007 error-file-not-found and define with define-error.
6008 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6009 and define with define-error.
6010 * userlock.el (file-locked, file-supersession):
6011 * simple.el (mark-inactive):
6012 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6013 * progmodes/ada-mode.el (ada-mode-errors):
6014 * play/life.el (life-extinct):
6015 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6016 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6017 * nxml/rng-util.el (rng-error):
6018 * nxml/rng-uri.el (rng-uri-error):
6019 * nxml/rng-match.el (rng-compile-error):
6020 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6021 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6022 * nxml/nxml-rap.el (nxml-scan-error):
6023 * nxml/nxml-outln.el (nxml-outline-error):
6024 * net/soap-client.el (soap-error):
6025 * net/gnutls.el (gnutls-error):
6026 * net/ange-ftp.el (ftp-error):
6027 * mpc.el (mpc-proc-error):
6028 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6029 (json-number-format, json-string-escape, json-string-format)
6030 (json-key-format, json-object-format):
6031 * jka-compr.el (compression-error):
6032 * international/quail.el (quail-error):
6033 * international/kkc.el (kkc-error):
6034 * emacs-lisp/ert.el (ert-test-failed):
6035 * calc/calc.el (calc-error, inexact-result, math-overflow)
6037 * bookmark.el (bookmark-error-no-filename):
6038 * epg.el (epg-error): Define with define-error.
6040 * time.el (display-time-event-handler)
6041 (display-time-next-load-average): Don't call sit-for since it seems
6042 unnecessary (bug#15045).
6044 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6045 Use #' instead of ' to quote functions.
6046 (checkdoc-output-mode): Use setq-local.
6047 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6048 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6049 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6050 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6051 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6052 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6053 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6054 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6056 * ido.el (ido-completion-help): Fix up compiler warning.
6058 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6060 * frameset.el (frameset-p): Add autoload cookie.
6061 (frameset--jump-to-register): New function, based on code moved from
6063 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6065 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6066 (frameset-restore, frameset-save, frameset-session-filter-alist):
6067 Remove declarations.
6068 (register-alist): Doc fix.
6069 (frameset-to-register): Move to frameset.el.
6070 (jump-to-register, describe-register-1): Remove frameset-specific code.
6072 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6074 * allout-widgets.el (allout-widgets-pre-command-business)
6075 (allout-widgets-post-command-business)
6076 (allout-widgets-after-change-handler)
6077 (allout-decorate-item-and-context, allout-set-boundary-marker)
6078 (allout-body-modification-handler)
6079 (allout-graphics-modification-handler): Mark ignored arguments.
6080 (allout-widgets-post-command-business)
6081 (allout-widgets-exposure-change-processor)
6082 (allout-widgets-exposure-undo-processor)
6083 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6084 (allout-parse-item-at-point, allout-decorate-item-guides)
6085 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6086 * allout.el (epa-passphrase-callback-function): Declare.
6087 (allout-overlay-insert-in-front-handler)
6088 (allout-overlay-interior-modification-handler)
6089 (allout-isearch-end-handler, allout-chart-siblings)
6090 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6091 (allout-yank-processing, allout-process-exposed)
6092 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6093 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6094 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6095 (lisp-indent-defform): Mark ignored arguments.
6096 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6097 (calculate-lisp-indent): Remove unused variables.
6098 * international/characters.el (indian-2-column, arabic-2-column)
6099 (tibetan): Mark ignored arguments.
6100 (use-cjk-char-width-table): Mark ignored arguments.
6101 Remove unused variables.
6102 * international/fontset.el (build-default-fontset-data)
6103 (x-compose-font-name, create-fontset-from-fontset-spec):
6104 Mark ignored arguments.
6105 (fontset-plain-name): Remove unused variables.
6106 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6107 (keyboard-coding-system): Mark ignored arguments.
6108 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6109 * help.el (resize-temp-buffer-window):
6110 * window.el (display-buffer-in-major-side-window)
6111 (display-buffer-in-side-window, display-buffer-in-previous-window):
6112 Remove unused variables.
6113 * isearch.el (isearch-forward-symbol):
6114 * version.el (emacs-bzr-version-bzr):
6115 * international/mule-cmds.el (current-language-environment):
6116 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6118 * term/pc-win.el (x-list-fonts, x-display-planes)
6119 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6120 (x-server-version, x-display-screens, x-display-mm-height)
6121 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6122 (x-selection-owner-p, x-own-selection-internal)
6123 (x-disown-selection-internal, x-get-selection-internal)
6124 (msdos-initialize-window-system):
6125 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6126 * term/x-win.el (x-handle-no-bitmap-icon):
6127 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6128 (vc-default-find-file-hook, vc-default-extra-menu):
6129 Mark ignored arguments.
6131 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6133 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6134 break-condition in the context of the debugged code (bug#12685).
6136 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6139 Do not use an overlay to highlight the last prompt. (Bug#14744)
6140 (comint-mode): Make comint-last-prompt buffer local.
6141 (comint-last-prompt): New variable.
6142 (comint-last-prompt-overlay): Remove. Superseded by
6144 (comint-snapshot-last-prompt, comint-output-filter):
6145 Use comint-last-prompt.
6147 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6149 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6150 (frameset-save): Check validity of the resulting frameset.
6152 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6154 * ido.el (ido-record-command): Add doc string.
6156 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6158 * frameset.el (frameset): Do not disable creation of the default
6159 frameset-p predicate. Doc fix.
6160 (frameset-valid-p): New function, copied from the old predicate-p.
6161 Add additional checks.
6162 (frameset-restore): Check with frameset-valid-p.
6163 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6164 (frameset-name, frameset-description, frameset-properties)
6165 (frameset-states): Add docstring.
6166 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6167 (frameset-filter-alist): Doc fixes.
6169 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6171 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6173 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6175 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6176 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6177 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6178 (byte-compile-normal-call): Remove obsolescence check.
6180 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6182 * frameset.el (frameset-restore): Doc fix.
6184 * register.el (frameset-frame-id, frameset-frame-with-id)
6185 (frameset-p, frameset-restore, frameset-save): Declare.
6186 (register-alist): Document framesets.
6187 (frameset-session-filter-alist): Declare.
6188 (frameset-to-register): New function.
6189 (jump-to-register): Implement jumping to framesets. Doc fix.
6190 (describe-register-1): Describe framesets.
6192 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6194 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6196 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6197 Use lexical-binding.
6199 * frameset.el (frameset): Use type vector, not list (incompatible
6200 change). Do not declare a new constructor, use the default one.
6201 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6202 `name' and `description', respectively, and add read-only slot
6203 `timestamp'. Doc fixes.
6204 (frameset-copy, frameset-persistent-filter-alist)
6205 (frameset-filter-alist, frameset-switch-to-gui-p)
6206 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6207 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6208 (frameset-filter-iconified, frameset-keep-original-display-p):
6210 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6211 Rename from frameset-filter-(save|restore)-param. All callers changed.
6213 (frameset-p): Adapt to change to vector and be more thorough.
6214 Change arg name to OBJECT. Doc fix.
6215 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6216 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6217 All callers changed.
6218 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6219 All callers changed.
6220 (frameset--record-minibuffer-relationships): Rename from
6221 frameset--process-minibuffer-frames. All callers changed.
6222 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6223 Use new default constructor (again). Doc fix.
6224 (frameset--find-frame-if): Rename from `frameset--find-frame.
6225 All callers changed.
6226 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6227 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6229 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6230 PARAMETERS and WINDOW-STATE, respectively.
6231 (frameset-restore): Add new keyword argument PREDICATE.
6232 Reset frameset--target-display to nil. Doc fix.
6234 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6236 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6238 (bat-mode-syntax-table): Mark \n as end-of-comment.
6239 (bat-font-lock-keywords): Remove comment rule.
6241 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6242 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6244 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6245 (byte-compile-callargs-warn): Use `push'.
6246 (byte-compile-arglist-warn): Ignore higher-order "calls".
6247 (byte-compile-file-form-autoload): Use `pcase'.
6248 (byte-compile-function-form): If quoting a symbol, check that it exists.
6250 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6252 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6253 and add a few popular commands found in batch files.
6254 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6255 (dos-mode): Doc fixes.
6257 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6259 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6260 (dos-mode): Use setq-local. Add space after "rem".
6261 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6262 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6264 2013-08-07 Arni Magnusson <arnima@hafro.is>
6266 * progmodes/dos.el: New file.
6267 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6270 2013-08-06 Glenn Morris <rgm@gnu.org>
6272 * calendar/calendar.el: Add new faces, and day-header-array.
6273 (calendar-weekday-header, calendar-weekend-header)
6274 (calendar-month-header): New faces.
6275 (calendar-day-header-construct): New function.
6276 (calendar-day-header-width): Also :set calendar-day-header-array.
6277 (calendar-american-month-header, calendar-european-month-header)
6278 (calendar-iso-month-header): Use calendar- faces.
6279 (calendar-generate-month):
6280 Use calendar-day-header-array for day headers; apply faces to them.
6281 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6282 (calendar-abbrev-construct): Add optional maxlen argument.
6283 (calendar-day-name-array): Doc fix.
6284 (calendar-day-name-array, calendar-abbrev-length)
6285 (calendar-day-abbrev-array):
6286 Also :set calendar-day-header-array, and maybe redraw.
6287 (calendar-day-header-array): New option. (Bug#15007)
6288 (calendar-font-lock-keywords): Set to nil and make obsolete.
6289 (calendar-day-name): Add option to use header array.
6291 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6293 * net/shr.el (shr-render-td): Remove debugging.
6294 (shr-render-td): Make width computation consistent by defaulting
6295 all zero-width columns to 10 characters. This may not be optimal,
6296 but it's at least consistent.
6297 (shr-make-table-1): Redo last change to fix the real problem in
6300 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6302 * files.el (cache-long-line-scans):
6303 Make obsolete alias to `cache-long-scans'.
6305 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6307 * frameset.el (frameset, frameset-filter-alist)
6308 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6309 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6310 (frameset-compute-pos): Rename from frameset--compute-pos,
6312 (frameset-move-onscreen): Use frameset-compute-pos.
6313 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6315 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6316 Fix typos in docstrings.
6318 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6320 * frame.el (get-other-frame): Tiny cleanup.
6322 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6324 * vc/vc.el (vc-default-ignore-completion-table):
6325 Silence byte-compiler warning.
6327 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6328 slot , which can indeed be nil.
6329 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6330 Move entry for `left' from persistent to live filter alist.
6331 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6333 (frameset-filter-params): When restoring a frame, copy items added to
6334 `filtered', to avoid unwittingly modifying the original parameters.
6335 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6336 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6338 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6339 to use looking-at-p instead of looking-at. (Bug#15028)
6341 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6343 Revert introduction of isearch-filter-predicates (bug#14714).
6344 Rely on add-function instead.
6345 * isearch.el (isearch-filter-predicates): Rename it back to
6346 isearch-filter-predicate.
6347 (isearch-message-prefix): Use advice-function-mapc and advice
6348 properties to get the isearch-message-prefix.
6349 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6350 instead of run-hook-with-args-until-failure.
6351 (isearch-filter-visible): Not obsolete any more.
6352 * loadup.el: Preload nadvice.
6353 * replace.el (perform-replace): Revert to funcall
6354 instead of run-hook-with-args-until-failure.
6355 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6356 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6357 dired-isearch-filenames-toggle; make it into a proper minor mode.
6358 Use add/remove-function.
6359 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6360 Call the minor-mode rather than add/remove-hook.
6361 (dired-isearch-filter-filenames):
6362 Remove isearch-message-prefix property.
6363 * info.el (Info--search-loop): New function, extracted from Info-search.
6364 Funcall isearch-filter-predicate instead of
6365 run-hook-with-args-until-failure isearch-filter-predicates.
6366 (Info-search): Use it.
6367 (Info-mode): Use isearch-filter-predicate instead of
6368 isearch-filter-predicates.
6370 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6372 Do not call to `selected-window' where it is assumed by default.
6373 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6374 `window-hscroll', `window-width', `window-height', `window-buffer',
6375 `window-frame', `window-start', `window-point', `next-window'
6376 and `window-display-table'.
6377 * abbrev.el (abbrev--default-expand):
6378 * bs.el (bs--show-with-configuration):
6379 * buff-menu.el (Buffer-menu-mouse-select):
6380 * calc/calc.el (calc):
6381 * calendar/calendar.el (calendar-generate-window):
6382 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6384 * comint.el (send-invisible, comint-dynamic-complete-filename)
6385 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6386 * completion.el (complete):
6387 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6388 * disp-table.el (describe-current-display-table):
6389 * doc-view.el (doc-view-insert-image):
6390 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6391 * ehelp.el (with-electric-help):
6392 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6393 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6394 * emacs-lisp/helper.el (Helper-help-scroller):
6395 * emulation/cua-base.el (cua--post-command-handler-1):
6396 * eshell/esh-mode.el (eshell-output-filter):
6397 * ffap.el (ffap-gnus-wrapper):
6398 * help-macro.el (make-help-screen):
6399 * hilit-chg.el (highlight-compare-buffers):
6400 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6401 * hl-line.el (global-hl-line-highlight):
6402 * icomplete.el (icomplete-simple-completing-p):
6403 * isearch.el (isearch-done):
6404 * jit-lock.el (jit-lock-stealth-fontify):
6405 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6406 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6407 * mpc.el (mpc-tagbrowser, mpc):
6408 * net/rcirc.el (rcirc-any-buffer):
6409 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6410 * play/landmark.el (landmark-max-width, landmark-max-height):
6411 * play/zone.el (zone):
6412 * progmodes/compile.el (compilation-goto-locus):
6413 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6414 * progmodes/etags.el (find-tag-other-window):
6415 * progmodes/fortran.el (fortran-column-ruler):
6416 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6417 * progmodes/verilog-mode.el (verilog-point-text):
6418 * reposition.el (reposition-window):
6419 * rot13.el (toggle-rot13-mode):
6420 * server.el (server-switch-buffer):
6421 * shell.el (shell-dynamic-complete-command)
6422 (shell-dynamic-complete-environment-variable):
6423 * simple.el (insert-buffer, set-selective-display)
6424 (delete-completion-window):
6425 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6426 (speedbar-recenter):
6427 * startup.el (fancy-splash-head):
6428 * textmodes/ispell.el (ispell-command-loop):
6429 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6430 * tutorial.el (help-with-tutorial):
6431 * vc/add-log.el (add-change-log-entry):
6432 * vc/compare-w.el (compare-windows):
6433 * vc/ediff-help.el (ediff-indent-help-message):
6434 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6435 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6436 (ediff-setup-control-frame):
6437 * vc/emerge.el (emerge-position-region):
6438 * vc/pcvs-util.el (cvs-bury-buffer):
6439 * window.el (walk-windows, mouse-autoselect-window-select):
6440 * winner.el (winner-set-conf, winner-undo): Related users changed.
6442 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6444 * frameset.el (frameset--set-id): Doc fix.
6445 (frameset-frame-id, frameset-frame-id-equal-p)
6446 (frameset-locate-frame-id): New functions.
6447 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6448 (frameset-restore): Use them.
6450 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6452 Do not call to `selected-frame' where it is assumed by default.
6453 Affected functions are `raise-frame', `redraw-frame',
6454 `frame-first-window', `frame-terminal' and `delete-frame'.
6455 * calendar/appt.el (appt-disp-window):
6456 * epg.el (epg-wait-for-completion):
6457 * follow.el (follow-delete-other-windows-and-split)
6458 (follow-avoid-tail-recenter):
6459 * international/mule.el (set-terminal-coding-system):
6460 * mail/rmail.el (rmail-mail-return):
6461 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6462 * progmodes/f90.el (f90-add-imenu-menu):
6463 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6464 * server.el (server-switch-buffer):
6465 * simple.el (delete-completion-window):
6467 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6468 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6469 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6470 * vc/ediff.el (ediff-documentation): Related users changed.
6471 * frame.el (selected-terminal): Remove the leftover.
6473 2013-08-05 Glenn Morris <rgm@gnu.org>
6475 * calendar/calendar.el (calendar-generate-month):
6476 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6477 (calendar-generate-month, calendar-font-lock-keywords):
6478 Fix for calendar-day-header-width > length of any day name.
6480 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6482 * desktop.el (desktop-clear): Use new name of sort predicate.
6484 * frameset.el (frameset): Add docstring. Move :version property to its
6486 (frameset-copy): Rename from copy-frameset.
6487 (frameset-p): Check more thoroughly.
6488 (frameset-prop): Do not check for :version, which is no longer a prop.
6489 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6490 Use new :never value instead of t.
6491 (frameset-filter-alist): Expand and clarify docstring.
6492 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6493 (frameset-filter-minibuffer, frameset-filter-save-param)
6494 (frameset-filter-restore-param, frameset-filter-iconified):
6495 Add pointer to docstring of frameset-filter-alist.
6496 (frameset-filter-params): Rename filter values to be more meaningful:
6497 :never instead of t, and reverse the meanings of :save and :restore.
6498 (frameset--process-minibuffer-frames): Clarify error message.
6499 (frameset-save): Avoid unnecessary and confusing call to framep.
6500 Use new BOA constructor for framesets.
6501 (frameset--reuse-list): Doc fix.
6502 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6503 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6504 (frameset-minibufferless-first-p): Doc fix.
6505 Rename from frameset-sort-frames-for-deletion.
6506 (frameset-restore): Doc fixes. Use new function names.
6507 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6509 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6511 * desktop.el (desktop-restore-forces-onscreen)
6512 (desktop-restore-reuses-frames): Document :keyword constant values.
6513 (desktop-filter-parameters-alist): Remove, now identical to
6514 frameset-filter-alist.
6515 (desktop--filter-tty*): Remove, moved to frameset.el.
6516 (desktop-save-frameset, desktop-restore-frameset):
6517 Do not pass :filters argument.
6519 * frameset.el (frameset-live-filter-alist)
6520 (frameset-persistent-filter-alist): New variables.
6521 (frameset-filter-alist): Use them. Add autoload cookie.
6522 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6523 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6524 `frameset--id' (it's supposed to be internal to frameset.el).
6525 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6526 (frameset--initial-params): New function.
6527 (frameset--get-frame): Use it. Doc fix.
6528 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6529 Accept :all, not 'all.
6530 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6531 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6532 with fbound symbols. Fix frame id matching, and remove matching ids if
6533 the frame being restored is deleted. Obey :delete.
6535 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6537 * subr.el (macrop): New function.
6538 (text-clone--maintaining): New var.
6539 (text-clone--maintain): Rename from text-clone-maintain. Use it
6540 instead of inhibit-modification-hooks.
6542 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6543 a proxy, so as handle autoloads and redefinitions of the target.
6544 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6546 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6547 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6548 (pcase--mutually-exclusive-p): New function.
6549 (pcase--split-consp): Use it.
6550 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6551 mutually exclusive with the current predicate.
6553 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6554 (edebug-macrop): Remove. Use `macrop' instead.
6555 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6557 * eshell/esh-cmd.el (eshell-macrop):
6558 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6560 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6562 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6563 (advice-mapc): New function, using it.
6564 (advice-function-member-p): New function.
6565 (advice--normalize): Store the cdr in advice--saved-rewrite since
6566 that's the part that will be changed.
6567 (advice--symbol-function): New function.
6568 (advice-remove): Handle removal before the function is defined.
6569 Adjust to new advice--saved-rewrite.
6570 (advice-member-p): Use advice-function-member-p and
6571 advice--symbol-function.
6573 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6575 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6576 (frameset-filter-minibuffer): Doc fix.
6577 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6578 (frameset--set-id, frameset--process-minibuffer-frames)
6579 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6580 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6582 * desktop.el (desktop-clear): Only delete frames when called
6583 interactively and desktop-restore-frames is non-nil. Doc fix.
6584 (desktop-read): Set desktop-saved-frameset to nil.
6586 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6588 * vc/vc.el (vc-ignore): Rewrite.
6589 (vc-default-ignore-completion-table):
6591 (vc--add-line, vc--remove-regexp): New functions.
6593 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6594 (vc-svn-ignore-completion-table): New function.
6596 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6597 (vc-hg-ignore-completion-table):
6598 (vc-hg-find-ignore-file): New functions.
6600 * vc/vc-git.el (vc-git-ignore): Rewrite.
6601 (vc-git-ignore-completion-table):
6602 (vc-git-find-ignore-file): New functions.
6604 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6606 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6607 (vc-bzr-ignore-completion-table):
6608 (vc-bzr-find-ignore-file): New functions.
6610 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6612 * frameset.el (frameset-prop): New function and setter.
6613 (frameset-save): Do not modify frame list passed by the caller.
6615 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6617 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6619 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6621 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6622 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6624 * custom.el (custom-initialize-default, custom-initialize-set)
6625 (custom-initialize-reset, custom-initialize-changed): Affect the
6626 toplevel-default-value (bug#6275, bug#14586).
6627 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6630 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6632 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6633 Add cl-def* expressions.
6635 * frameset.el (frameset-filter-params): Fix order of arguments.
6637 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6639 Move code related to saving frames to frameset.el.
6640 * desktop.el: Require frameset.
6641 (desktop-restore-frames): Doc fix.
6642 (desktop-restore-reuses-frames): Rename from
6643 desktop-restoring-reuses-frames.
6644 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6645 (desktop-clear): Clear frames too.
6646 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6647 (desktop--filter-tty*, desktop-save, desktop-read):
6648 Use frameset functions.
6649 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6650 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6651 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6652 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6653 (desktop--process-minibuffer-frames, desktop-save-frames)
6654 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6655 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6656 (desktop--sort-states, desktop-restoring-frames-p)
6657 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6658 (desktop-restoring-frameset-p, desktop-restore-frameset)
6659 (desktop--check-dont-save, desktop-save-frameset): New functions.
6660 (desktop--app-id): New constant.
6661 (desktop-first-buffer, desktop-buffer-ok-count)
6662 (desktop-buffer-fail-count): Move before first use.
6663 * frameset.el: New file.
6665 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6667 * files.el: Use lexical-binding.
6668 (dir-locals-read-from-file): Remove unused `err' variable.
6669 (hack-dir-local-variables--warned-coding): New var.
6670 (hack-dir-local-variables): Use it to avoid repeated warnings.
6671 (make-backup-file-name--default-function): New function.
6672 (make-backup-file-name-function): Use it as default.
6673 (buffer-stale--default-function): New function.
6674 (buffer-stale-function): Use it as default.
6675 (revert-buffer-insert-file-contents--default-function): New function.
6676 (revert-buffer-insert-file-contents-function): Use it as default.
6677 (insert-directory): Avoid add-to-list.
6679 * autorevert.el (auto-revert-handler): Simplify.
6680 Use buffer-stale--default-function.
6682 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6684 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6686 * whitespace.el (whitespace-ensure-local-variables): New function.
6687 (whitespace-cleanup-region): Call it.
6688 (whitespace-turn-on): Call it.
6690 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6692 Complete file name handlers.
6694 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6695 (tramp-handle-verify-visited-file-modtime)
6696 (tramp-handle-file-notify-rm-watch): New functions.
6697 (tramp-call-process): Do not bind `default-directory'.
6699 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6700 Order alphabetically.
6701 [access-file, add-name-to-file, dired-call-process]:
6702 [dired-compress-file, file-acl, file-notify-rm-watch]:
6703 [file-ownership-preserved-p, file-selinux-context]:
6704 [make-directory-internal, make-symbolic-link, set-file-acl]:
6705 [set-file-selinux-context, set-visited-file-modtime]:
6706 [verify-visited-file-modtime]: Add handler.
6707 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6709 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6710 [file-notify-add-watch, file-notify-rm-watch]:
6711 [set-file-times, set-visited-file-modtime]:
6712 [verify-visited-file-modtime]: Add handler.
6713 (with-tramp-gvfs-error-message)
6714 (tramp-gvfs-handle-set-visited-file-modtime)
6715 (tramp-gvfs-fuse-file-name): Remove.
6716 (tramp-gvfs-handle-file-notify-add-watch)
6717 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6718 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6720 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6721 Order alphabetically.
6722 [file-notify-rm-watch ]: Use default Tramp handler.
6723 [executable-find]: Remove private handler.
6724 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6725 `default-directory'.
6726 (tramp-sh-handle-executable-find)
6727 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6728 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6729 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6730 Do not use `format' in `tramp-message'.
6732 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6733 [file-notify-rm-watch, set-visited-file-modtime]:
6734 [verify-visited-file-modtime]: Add handler.
6735 (tramp-smb-call-winexe): Do not bind `default-directory'.
6737 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6739 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6741 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6743 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6745 (log-view-diff-changeset): Same.
6746 (log-view-diff-common): Call backend command `previous-revision'
6747 to find out the previous revision, in both cases. Swap the
6748 variables `to' and `fr', so that `fr' usually refers to the
6749 earlier revision (Bug#14989).
6751 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6753 * ibuf-ext.el (ibuffer-filter-by-filename):
6754 Make it work with dired buffers too.
6756 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6758 * emacs-lisp/re-builder.el (reb-color-display-p):
6759 * files.el (save-buffers-kill-terminal):
6760 * net/browse-url.el (browse-url):
6761 * server.el (server-save-buffers-kill-terminal):
6762 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6763 Prefer nil to selected-frame for the first arg of frame-parameter.
6765 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6767 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6769 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6771 * minibuffer.el (completion--twq-all): Try and preserve each
6772 completion's case choice (bug#14907).
6774 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6776 * net/network-stream.el (open-network-stream): Mention the new
6777 :nogreeting parameter.
6778 (network-stream-open-starttls): Use the :nogreeting parameter
6781 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6783 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6784 more natural than popping.
6786 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6787 (shr-urlify): Highlight under mouse.
6789 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6791 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6793 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6795 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6798 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6799 point-min==1. Fix search string. Fix parentheses missing.
6801 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6802 assume point-min==1. Fix search string. Fix parentheses missing.
6804 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6806 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6809 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6811 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6812 initial frame is minibuffer-less. (Bug#14841)
6814 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6816 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6819 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6820 (tramp-maybe-open-connection): Use it.
6822 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6824 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6825 minimal set of parameters passed when creating a frame, because
6826 the minibuffer status of a frame cannot be changed later.
6828 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6830 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6831 replace-regexp-in-string and inadvertent omissions in previous change.
6832 (todo-filter-items): Ensure only file names are comma-separated in
6833 name of filtered items buffer.
6835 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6837 * desktop.el: Optionally force offscreen frames back onscreen.
6838 (desktop-restoring-reuses-frames): New option.
6839 (desktop--compute-pos, desktop--move-onscreen): New functions.
6840 (desktop--make-frame): Use desktop--move-onscreen.
6842 2013-07-27 Alan Mackenzie <acm@muc.de>
6844 Fontify a Java generic method as a function.
6845 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6848 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6850 * calendar/todo-mode.el: Add command to rename todo files.
6851 (todo-rename-file): New command.
6852 (todo-key-bindings-t): Add key binding for it. Change the
6853 bindings of todo-filter-regexp-items(-multifile) to use `x'
6854 instead of `r', since the latter is better suited to the new
6857 2013-07-27 Alan Mackenzie <acm@muc.de>
6859 Make Java try-with-resources statement parse properly.
6860 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6861 (c-block-stmt-1-2-key): New language constants/variables.
6862 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6863 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6864 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6865 with c-block-stmt-1-2-key.
6867 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6869 * desktop.el (desktop--make-frame): Apply most frame parameters after
6870 creating the frame to force (partially or totally) offscreen frames to
6871 be restored as such.
6873 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6875 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6878 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6880 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6881 `base' arg of backtrace-frame.
6883 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6885 * simple.el (list-processes): Doc fix.
6887 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6889 * desktop.el (desktop--select-frame):
6890 Try harder to reuse existing frames.
6892 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6894 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6895 (edebug-eval): Use backtrace-eval.
6896 (edebug--display, edebug--recursive-edit): Don't let-bind the
6897 edebug-outer-* vars that keep track of variables we locally let-bind.
6898 (edebug-outside-excursion): Don't restore outside values of locally
6900 (edebug--display): Use user-error.
6901 (cl-lexical-debug, cl-debug-env): Remove.
6903 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6905 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6906 are restored to be sure that they are visible before deleting any
6909 2013-07-26 Matthias Meulien <orontee@gmail.com>
6911 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6912 vc-print-root-log. (Bug#14948)
6914 2013-07-26 Richard Stallman <rms@gnu.org>
6916 Add aliases for encrypting mail.
6917 * epa.el (epa-mail-aliases): New option.
6918 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6919 Bind inhibit-read-only so read-only text doesn't ruin everything.
6920 (epa-mail-default-recipients): New subroutine broken out.
6921 Handle epa-mail-aliases.
6923 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6925 Add support for lexical variables to the debugger's `e' command.
6926 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6927 vars, except for debugger-outer-match-data.
6928 (debugger-frame-number): Move check for "on a function call" from
6929 callers into it. Add `skip-base' argument.
6930 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6931 (debugger-env-macro): Only reset the state stored in non-variables,
6932 i.e. current-buffer and match-data.
6933 (debugger-eval-expression): Rewrite using backtrace-eval.
6934 * subr.el (internal--called-interactively-p--get-frame): Remove.
6935 (called-interactively-p):
6936 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6937 `base' arg of backtrace-frame instead.
6939 2013-07-26 Glenn Morris <rgm@gnu.org>
6941 * align.el (align-regexp): Doc fix. (Bug#14857)
6942 (align-region): Explicit error if subexpression missing/does not match.
6944 * simple.el (global-visual-line-mode):
6945 Do not duplicate the mode lighter. (Bug#14858)
6947 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6949 * window.el (display-buffer): In display-buffer bind
6950 split-window-keep-point to t, bug#14829.
6952 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6954 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6955 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6956 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6957 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6959 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6960 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6962 2013-07-25 Glenn Morris <rgm@gnu.org>
6964 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6966 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6968 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6969 parameter to modify-frame-parameters if the value has not changed;
6970 this is a workaround for bug#14949.
6971 (desktop--make-frame): On cl-delete-if call, check parameter name,
6974 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6976 * vc/vc.el (vc-ignore): New function.
6978 * vc/vc-svn.el (vc-svn-ignore): New function.
6980 * vc/vc-hg.el (vc-hg-ignore): New function.
6982 * vc/vc-git.el (vc-git-ignore): New function.
6984 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6985 (vc-dir-ignore): New function.
6987 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6988 (cvs-append-to-ignore): Move here from pcvs.el.
6990 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6992 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6994 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6996 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6997 (desktop-restore-frames): Warn when deleting an existing frame failed.
6999 2013-07-24 Glenn Morris <rgm@gnu.org>
7001 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7003 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7005 * filenotify.el (file-notify-supported-p):
7006 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7009 * autorevert.el (auto-revert-use-notify):
7010 (auto-revert-notify-add-watch):
7011 * net/tramp.el (tramp-file-name-for-operation):
7012 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7013 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7014 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7015 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7016 Remove `file-notify-supported-p' entry.
7018 2013-07-24 Glenn Morris <rgm@gnu.org>
7020 * printing.el: Replace all uses of deleted ps-windows-system,
7021 ps-lp-system, ps-flatten-list with lpr- versions.
7023 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7025 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7026 checked with memq (bug#14935).
7028 * files.el (revert-buffer-function): Use a non-nil default.
7029 (revert-buffer-preserve-modes): Declare var to
7030 provide access to the `preserve-modes' argument.
7031 (revert-buffer): Let-bind it.
7032 (revert-buffer--default): New function, extracted from revert-buffer.
7034 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7036 * lpr.el: Signal print errors more prominently.
7037 (print-region-function): Don't default to nil.
7038 (lpr-print-region): New function, extracted from print-region-1.
7039 Check lpr's return value and signal an error in case of problem.
7040 (print-region-1): Use it.
7041 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7043 (ps-printer-name): Default to nil.
7044 (ps-printer-name-option): Default to lpr-printer-switch.
7045 (ps-print-region-function): Don't default to nil.
7046 (ps-postscript-code-directory): Simplify default.
7047 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7048 (ps-string-list, ps-eval-switch, ps-flatten-list)
7049 (ps-flatten-list-1): Remove.
7050 (ps-multibyte-buffer): Avoid setq.
7051 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7052 (print-region-function, ps-print-region-function): Don't set them here.
7054 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7056 * ido.el (ido-fractionp):
7057 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7058 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7059 (ido-max-directory-size, ido-max-dir-file-cache)
7060 (ido-decorations): Doc fix.
7062 * ansi-color.el: Fix old URL.
7064 2013-07-23 Michael R. Mauger <michael@mauger.com>
7066 * progmodes/sql.el: Version 3.3
7067 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7068 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7069 (sql-interactive-remove-continuation-prompt): Rewrite, use
7070 functions above. Fix continuation prompt and complete output line
7072 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7073 redirected output buffer.
7074 (sql-mode): Restore deleted code (Bug#13591).
7076 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7078 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7080 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7082 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7084 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7085 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7086 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7088 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7090 * desktop.el (desktop-clear): Simplify; remove useless checks
7091 against invalid buffer names.
7092 (desktop-list*): Use cl-list*.
7093 (desktop-buffer-info, desktop-create-buffer): Simplify.
7095 2013-07-23 Leo Liu <sdl.web@gmail.com>
7097 * bookmark.el (bookmark-make-record): Restore NAME as a default
7100 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7102 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7103 extracted from autoload--insert-text.
7104 (autoload--insert-text): Remove.
7105 (autoload--print-cookie-text): New function, extracted from
7106 autoload--insert-cookie-text.
7107 (autoload--insert-cookie-text): Remove.
7108 (autoload-generate-file-autoloads): Adjust calls accordingly.
7110 * winner.el (winner-hook-installed-p): Remove.
7111 (winner-mode): Simplify accordingly.
7113 * subr.el (add-to-list): Fix compiler-macro when `append' is
7114 not constant. Don't use `cl-member' for the base case.
7116 * progmodes/subword.el: Fix boundary case (bug#13758).
7117 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7119 (subword-backward-regexp): Make it a constant.
7120 (subword-forward-internal): Don't treat a trailing capital as the
7121 beginning of a word.
7123 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7125 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7126 global value of tabulated-list-revert-hook (bug#14930).
7128 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7130 * desktop.el: Require 'cl-lib.
7131 (desktop-before-saving-frames-functions): New hook.
7132 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7133 for frames being saved. Rename from desktop--save-minibuffer-frames.
7134 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7135 Do not save frames with non-nil `desktop-dont-save' parameter.
7136 Filter out deleted frames.
7137 (desktop--find-frame): Use cl-find-if.
7138 (desktop--select-frame): Use cl-(first|second|third) to access values
7140 (desktop--make-frame): Use cl-delete-if.
7141 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7142 (desktop-restore-frames): Use cl-(first|second|third) to access values
7143 of desktop-mini. Look for visible frame at the end, not while
7146 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7147 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7148 Use string-match-p, looking-at-p (bug#14927).
7150 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7152 * desktop.el (desktop-saved-frame-states):
7153 Rename from desktop--saved-states; all users changed.
7154 (desktop-save-frames): Rename from desktop--save-frames.
7155 Do not save state to desktop file.
7156 (desktop-save): Save desktop-saved-frame-states to desktop file
7158 (desktop-restoring-frames-p): New function.
7159 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7160 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7161 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7163 * desktop.el: Correctly restore iconified frames.
7164 (desktop--filter-iconified-position): New function.
7165 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7167 2013-07-20 Glenn Morris <rgm@gnu.org>
7169 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7170 Let `message' do the formatting.
7171 (def-gdb-preempt-display-buffer): Add explicit format.
7173 * image-dired.el (image-dired-track-original-file):
7174 Use with-current-buffer.
7175 (image-dired-track-thumbnail): Use with-current-buffer.
7176 Avoid changing point of wrong window.
7178 * image-dired.el (image-dired-track-original-file):
7179 Avoid changing point of wrong window. (Bug#14909)
7181 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7183 * progmodes/gdb-mi.el (gdb-done-or-error):
7184 Guard against "%" in gdb output. (Bug#14127)
7186 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7188 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7191 * international/mule.el (coding-system-iso-2022-flags): Fix last
7194 2013-07-20 Kenichi Handa <handa@gnu.org>
7196 * international/mule.el (coding-system-iso-2022-flags):
7197 Add `8-bit-level-4'. (Bug#8522)
7199 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7201 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7204 * net/eww.el (eww-process-text-input): Allow inputting when the
7205 point is at the start of the line, as the properties aren't
7208 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7211 2013-07-19 Richard Stallman <rms@gnu.org>
7213 * epa.el (epa-popup-info-window): Doc fix.
7215 * subr.el (split-string): New arg TRIM.
7217 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7219 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7220 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7222 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7224 * filenotify.el (file-notify--library): Rename from
7225 `file-notify-support'. Do not autoload. Adapt all uses.
7226 (file-notify-supported-p): New defun.
7228 * autorevert.el (auto-revert-use-notify):
7229 Use `file-notify-supported-p' instead of `file-notify-support'.
7231 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7233 * net/tramp.el (tramp-file-name-for-operation):
7234 Add `file-notify-supported-p'.
7236 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7238 (tramp-sh-file-name-handler-alist): Add it as handler for
7239 `file-notify-supported-p '.
7241 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7242 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7243 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7244 Add `ignore' as handler for `file-notify-*' functions.
7246 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7248 * simple.el (line-move-partial, line-move): Don't start vscroll or
7249 scroll-up if the current line is not taller than the window.
7252 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7254 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7255 highlight question marks in the method names as strings.
7256 (ruby-block-beg-keywords): Inline.
7257 (ruby-font-lock-keyword-beg-re): Extract from
7258 `ruby-font-lock-keywords'.
7260 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7262 * frame.el (blink-cursor-blinks): New defcustom.
7263 (blink-cursor-blinks-done): New defvar.
7264 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7265 (blink-cursor-timer-function): Check if number of blinks has been
7267 (blink-cursor-suspend, blink-cursor-check): New defuns.
7269 2013-07-15 Glenn Morris <rgm@gnu.org>
7271 * edmacro.el (edmacro-format-keys): Fix previous change.
7273 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7275 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7276 The hack didn't work outside English locales anyway.
7278 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7280 * simple.el (define-alternatives): Rename from alternatives-define,
7281 per RMS' suggestion.
7283 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7285 * desktop.el (desktop-restore-frames): Change default to t.
7286 (desktop-restore-in-current-display): Now offer more options.
7287 (desktop-restoring-reuses-frames): New customization option.
7288 (desktop--saved-states): Doc fix.
7289 (desktop-filter-parameters-alist): New variable, renamed and expanded
7290 from desktop--excluded-frame-parameters.
7291 (desktop--target-display): New variable.
7292 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7293 (desktop--filter-tty*, desktop--filter-*-color)
7294 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7295 (desktop--filter-save-desktop-parm)
7296 (desktop-restore-in-original-display-p): New functions.
7297 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7298 (desktop--save-minibuffer-frames): New function, inspired by a similar
7299 function from Martin Rudalics.
7300 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7301 (desktop--restore-in-this-display-p): Remove.
7302 (desktop--find-frame): Rename from desktop--find-frame-in-display
7303 and add predicate argument.
7304 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7305 (desktop--reuse-list): New variable.
7306 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7308 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7310 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7312 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7314 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7316 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7317 Highlight conversion methods on Kernel.
7319 2013-07-13 Alan Mackenzie <acm@muc.de>
7321 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7322 and comment it out. This out-commenting enables certain C++
7323 declarations to be parsed correctly.
7325 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7327 * international/mule.el (define-coding-system): Doc fix.
7329 * simple.el (default-font-height): Don't call font-info if the
7330 frame's default font didn't change since the frame was created.
7333 2013-07-13 Leo Liu <sdl.web@gmail.com>
7335 * ido.el (ido-read-file-name): Guard against non-symbol value.
7337 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7339 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7342 2013-07-13 Leo Liu <sdl.web@gmail.com>
7344 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7345 ido-set-matches call. (Bug#6852)
7347 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7349 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7350 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7352 (ruby-font-lock-keywords): Distinguish calls to functions with
7353 module-like names from module references. Highlight character
7356 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7358 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7359 (gdb-send): Handle continued commands. (Bug#14847)
7361 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7363 * desktop.el (desktop--v2s): Remove unused local variable.
7364 (desktop-save-buffer): Make defvar-local; adjust docstring.
7365 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7366 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7368 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7370 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7372 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7374 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7377 2013-07-12 Glenn Morris <rgm@gnu.org>
7379 * doc-view.el: Require cl-lib at runtime too.
7380 (doc-view-remove-if): Remove.
7381 (doc-view-search-next-match, doc-view-search-previous-match):
7384 * edmacro.el: Require cl-lib at runtime too.
7385 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7386 (edmacro-mismatch, edmacro-subseq): Remove.
7388 * shadowfile.el: Require cl-lib.
7389 (shadow-remove-if): Remove.
7390 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7393 * wid-edit.el: Require cl-lib.
7394 (widget-choose): Use cl-remove-if.
7395 (widget-remove-if): Remove.
7397 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7398 (ebrowse-delete-if-not): Remove.
7399 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7400 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7401 Use cl-delete-if-not.
7403 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7405 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7406 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7408 2013-07-12 Leo Liu <sdl.web@gmail.com>
7410 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7412 2013-07-11 Glenn Morris <rgm@gnu.org>
7414 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7415 (edebug-gensym-index, edebug-gensym):
7416 Remove reimplementation of cl-gensym.
7417 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7419 * thumbs.el: Require cl-lib at run-time too.
7420 (thumbs-gensym-counter, thumbs-gensym):
7421 Remove reimplementation of cl-gensym.
7422 (thumbs-temp-file): Use cl-gensym.
7424 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7425 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7426 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7427 (ert--union, ert--gensym-counter, ert--gensym-counter)
7428 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7429 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7430 (ert-make-test-unbound, ert--expand-should-1)
7431 (ert--expand-should, ert--should-error-handle-error)
7432 (should-error, ert--explain-equal-rec)
7433 (ert--plist-difference-explanation, ert-select-tests)
7434 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7435 Use cl-lib functions rather than reimplementations.
7437 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7439 * net/tramp.el (tramp-methods): Extend docstring.
7440 (tramp-connection-timeout): New defcustom.
7441 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7442 (with-tramp-progress-reporter): Simplify.
7443 (tramp-process-actions): Improve messages.
7445 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7446 * net/tramp-sh.el (tramp-maybe-open-connection):
7447 Use `tramp-connection-timeout'.
7448 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7451 2013-07-11 Leo Liu <sdl.web@gmail.com>
7453 * ido.el (ido-read-file-name): Conform to the requirements of
7454 read-file-name. (Bug#11861)
7455 (ido-read-directory-name): Conform to the requirements of
7456 read-directory-name.
7458 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7460 * subr.el (delay-warning): New function.
7462 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7464 * simple.el (default-line-height): New function.
7465 (line-move-partial, line-move): Use it instead of computing the
7467 (line-move-partial): Always compute ROWH. If the last line is
7468 partially-visible, but its text is completely visible, allow
7469 cursor to enter such a partially-visible line.
7471 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7473 Improve error messages. (Bug#14808)
7475 * net/tramp.el (tramp-current-connection): New defvar, moved from
7477 (tramp-message-show-progress-reporter-message): Remove, not
7479 (tramp-error-with-buffer): Show message in minibuffer.
7480 Discard input before waiting. Reset connection timestamp.
7481 (with-tramp-progress-reporter): Improve messages.
7482 (tramp-process-actions): Use progress reporter. Delete process in
7483 case of error. Improve messages.
7485 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7486 Call `tramp-error-with-buffer' with vector and buffer.
7487 (tramp-current-connection): Remove.
7488 (tramp-maybe-open-connection): The car of
7489 `tramp-current-connection' are the first 3 slots of the vector.
7491 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7493 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7494 inside continued strings.
7496 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7498 Timestamp fixes for undo (Bug#14824).
7499 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7501 2013-07-10 Leo Liu <sdl.web@gmail.com>
7503 * files.el (require-final-newline): Allow safe local value.
7506 2013-07-09 Leo Liu <sdl.web@gmail.com>
7508 * ido.el (ido-read-directory-name): Handle fallback.
7509 (ido-read-file-name): Update DIR to ido-current-directory.
7511 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7513 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7515 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7516 "autoload". Remove "warn lower camel case" section, previously
7517 commented out. Highlight negation char. Do not highlight the
7518 target in singleton method definitions.
7520 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7522 * faces.el (tty-setup-hook): Declare the hook.
7524 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7525 and detect when a guard/pred depends on local vars (bug#14773).
7526 (pcase--u1): Adjust caller.
7528 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7530 * simple.el (line-move-partial, line-move): Account for
7532 (line-move-partial): Avoid setting vscroll when the last
7533 partially-visible line in window is of default height.
7535 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7537 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7540 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7542 * subr.el (read-quoted-char): Remove unused local variable `char'.
7544 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7546 * ediff.el (ediff-version): Version update.
7547 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7548 (ediff-merge-with-ancestor-command, ediff-directories-command)
7549 (ediff-directories3-command, ediff-merge-directories-command)
7550 (ediff-merge-directories-with-ancestor-command): New functions.
7551 All are command-line interfaces to ediff: to facilitate calling
7552 Emacs with the appropriate ediff functions invoked.
7554 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7555 (viper-save-kill-buffer): Check if buffer is modified.
7557 * viper.el (viper-version): Version update.
7558 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7560 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7562 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7563 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7564 (viper-intercept-ESC-key): Simplify.
7565 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7566 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7567 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7568 (viper-setup-ESC-to-escape): New functions.
7569 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7570 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7572 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7574 * simple.el (default-font-height, window-screen-lines):
7576 (line-move, line-move-partial): Use them instead of
7577 frame-char-height and window-text-height. This makes scrolling
7578 text smoother when the buffer's default face uses a font that is
7579 different from the frame's default font.
7581 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7583 * files.el (write-file): Do not display confirm dialog for NS,
7584 it does its own dialog, which can't be canceled (Bug#14578).
7586 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7588 * simple.el (line-move-partial): Adjust the row returned by
7589 posn-at-point for the current window-vscroll. (Bug#14567)
7591 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7593 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7594 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7597 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7599 * window.el (window-state-put-stale-windows): New variable.
7600 (window--state-put-2): Save list of windows without matching buffer.
7601 (window-state-put): Remove "bufferless" windows if possible.
7603 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7605 * simple.el (alternatives-define): Remove leftover :group keyword.
7608 2013-07-06 Leo Liu <sdl.web@gmail.com>
7610 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7611 (ido-enable-virtual-buffers): New variable.
7612 (ido-buffer-internal, ido-toggle-virtual-buffers)
7613 (ido-make-buffer-list): Use it.
7614 (ido-exhibit): Support turning on and off virtual buffers
7617 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7619 * simple.el (alternatives-define): New macro.
7621 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7623 * subr.el (read-quoted-char): Use read-key.
7624 (sit-for): Let read-event decode tty input (bug#14782).
7626 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7628 * calendar/todo-mode.el: Add handling of file deletion, both by
7629 mode command and externally. Fix various related bugs.
7630 Clarify Commentary and improve some documentation strings and code.
7631 (todo-delete-file): New command.
7632 (todo-check-file): New function.
7633 (todo-show): Handle external deletion of the file we're trying to
7634 show (bug#14688). Replace called-interactively-p by an optional
7635 prefix argument to avoid problematic interaction with catch form
7636 when byte compiled (bug#14702).
7637 (todo-quit): Handle external deletion of the archive's todo file.
7638 Make sure the buffer that was visiting the archive file is still
7639 live before trying to bury it.
7640 (todo-category-completions): Handle external deletion of any
7641 category completion files.
7642 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7643 of todo files, in case of external deletion.
7644 (todo-add-file): Replace unnecessary setq by let-binding.
7645 (todo-find-archive): Check whether there are any archives.
7646 Replace unnecessary setq by let-binding.
7647 (todo-archive-done-item): Use find-file-noselect to get the
7648 archive buffer whether or not the archive already exists.
7649 Remove superfluous code. Use file size instead of buffer-file-name to
7650 check if the archive is new; if it is, update list of archives.
7651 (todo-default-todo-file): Allow nil to be a valid value for when
7652 there are no todo files.
7653 (todo-reevaluate-default-file-defcustom): Use corrected definition
7654 of todo-default-todo-file.
7655 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7656 (todo-delete-category, todo-show-categories-table)
7657 (todo-category-number): Clarify comment.
7658 (todo-filter-items): Clarify documentation string.
7659 (todo-show-current-file, todo-display-as-todo-file)
7660 (todo-reset-and-enable-done-separator): Tweak documentation string.
7661 (todo-done-separator): Make separator length window-width, since
7662 bug#2749 is now fixed.
7664 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7666 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7667 Support both "gvfs-monitor-dir" and "inotifywait".
7668 (tramp-sh-file-inotifywait-process-filter): Rename from
7669 `tramp-sh-file-notify-process-filter'.
7670 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7671 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7673 2013-07-05 Leo Liu <sdl.web@gmail.com>
7675 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7677 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7679 * frame.el (display-pixel-height, display-pixel-width)
7680 (display-mm-height, display-mm-width): Mention behavior on
7681 multi-monitor setups in docstrings.
7682 (w32-display-monitor-attributes-list): Declare function.
7683 (display-monitor-attributes-list): Use it.
7685 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7687 * filenotify.el: New package.
7689 * autorevert.el (top): Require filenotify.el.
7690 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7692 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7693 (auto-revert-notify-handler): Use `file-notify-*' functions.
7695 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7697 * net/tramp.el (tramp-file-name-for-operation):
7698 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7700 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7701 for `file-notify-add-watch' and `file-notify-rm-watch'.
7702 (tramp-process-sentinel): Improve trace.
7703 (tramp-sh-handle-file-notify-add-watch)
7704 (tramp-sh-file-notify-process-filter)
7705 (tramp-sh-handle-file-notify-rm-watch)
7706 (tramp-get-remote-inotifywait): New defuns.
7708 2013-07-03 Juri Linkov <juri@jurta.org>
7710 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7711 call of `occur-read-primary-args' to interactive spec.
7713 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7714 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7716 2013-07-03 Matthias Meulien <orontee@gmail.com>
7718 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7719 `Buffer-menu-multi-occur'. Add it to the menu.
7720 (Buffer-menu-mode): Document it in docstring.
7721 (Buffer-menu-multi-occur): New command. (Bug#14673)
7723 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7725 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7726 keywords and built-ins.
7728 2013-07-03 Glenn Morris <rgm@gnu.org>
7730 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7732 Make info-xref checks case-sensitive by default
7733 * info.el (Info-find-node, Info-find-in-tag-table)
7734 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7735 Add option for exact case matching of nodes.
7736 * info-xref.el (info-xref): New custom group.
7737 (info-xref-case-fold): New option.
7738 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7740 2013-07-03 Leo Liu <sdl.web@gmail.com>
7742 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7744 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7746 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7747 middle of block statement initially, lower the depth. Remove
7748 FIXME comment, not longer valid. Remove middle of block statement
7749 detection, no need to do that anymore since we've been using
7750 `ruby-parse-region' here.
7752 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7754 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7756 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7758 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7760 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7762 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7763 (desktop-restore-in-current-display): New customization option.
7764 (desktop--excluded-frame-parameters): Add `font'.
7765 (desktop--save-frames): Rename from desktop--save-windows.
7766 (desktop--restore-in-this-display-p): New function.
7767 (desktop--make-full-frame): Remove unwanted width/height from
7768 full(width|height) frames.
7769 (desktop--restore-frames): Rename from desktop--restore-windows.
7770 Obey desktop-restore-current-display. Do not delete old frames or
7771 select a new frame unless we were able to restore at least one frame.
7773 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7775 * files.el (find-file-noselect): Simplify conditional expression.
7777 * textmodes/remember.el (remember-append-to-file):
7778 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7780 Add `remember-notes' function to store random notes across Emacs
7782 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7783 notes buffer (if any).
7784 (remember-notes): New command.
7785 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7786 New defcustoms for the `remember-notes' function.
7787 (remember-notes-save-and-bury-buffer): New command.
7788 (remember-notes-mode-map): New variable.
7789 (remember-mode): New minor mode.
7790 (remember-notes--kill-buffer-query): New function.
7791 * startup.el (initial-buffer-choice): Add notes to custom type.
7793 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7795 * bindings.el (right-char, left-char): Don't call sit-for, this is
7796 no longer needed. Use arithmetic comparison only for numerical
7799 * international/mule-cmds.el (select-safe-coding-system):
7800 Handle the case of FROM being a string correctly. (Bug#14755)
7802 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7804 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7805 progression on degenerate tables.
7806 (shr-rescale-image): ImageMagick animated images currently don't work.
7808 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7810 Some fixes and improvements for desktop frame restoration.
7811 It is still experimental and disabled by default.
7812 * desktop.el (desktop--save-windows): Put the selected frame at
7813 the head of the list.
7814 (desktop--make-full-frame): New function.
7815 (desktop--restore-windows): Try to re-select the frame that was
7816 selected upon saving. Do not abort if some frames fail to restore,
7817 just show an error message and continue. Set up maximized frames
7818 so they have default non-maximized dimensions.
7820 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7822 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7823 Don't start heredoc inside a string or comment.
7825 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7827 * bindings.el (visual-order-cursor-movement): New defcustom.
7828 (right-char, left-char): Provide visual-order cursor motion by
7829 calling move-point-visually. Update the doc strings.
7831 2013-06-28 Kenichi Handa <handa@gnu.org>
7833 * international/mule.el (define-coding-system): New coding system
7834 properties :inhibit-null-byte-detection,
7835 :inhibit-iso-escape-detection, and :prefer-utf-8.
7836 (set-buffer-file-coding-system): If :charset-list property of
7837 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7838 appropriate for setting.
7840 * international/mule-cmds.el (select-safe-coding-system):
7841 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7842 multibyte characters, return utf-8 (or one of its siblings).
7844 * international/mule-conf.el (prefer-utf-8): New coding system.
7845 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7848 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7850 * net/shr.el (shr-render-region): New function.
7852 * net/eww.el: Autoload `eww-browse-url'.
7854 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7856 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7857 Adapt to `package-desc-version' being a list.
7858 Use `package--ac-desc-version' to retrieve version from a package
7861 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7863 New experimental feature to save&restore window and frame setup.
7864 * desktop.el (desktop-save-windows): New defcustom.
7865 (desktop--saved-states): New var.
7866 (desktop--excluded-frame-parameters): New defconst.
7867 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7868 (desktop--restore-windows, desktop--save-windows): New functions.
7869 (desktop-save): Call `desktop--save-windows'.
7870 (desktop-read): Call `desktop--restore-windows'.
7872 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7874 * net/shr.el (add-face-text-property): Remove compat definition.
7876 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7878 * info.el (Info-try-follow-nearest-node): Move search for footnote
7879 above search for node name to prevent missing a footnote (bug#14717).
7881 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7883 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7885 2013-06-27 Leo Liu <sdl.web@gmail.com>
7887 * net/eww.el (eww-read-bookmarks): Check file size.
7889 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7891 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7892 advice--pending if newdef is nil or an autoload (bug#13820).
7893 (advice-mapc): New function.
7895 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7897 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7899 (eww-mode-map): Add a menu bar.
7900 (eww-add-bookmark): New command.
7901 (eww-bookmark-mode): New mode and commands.
7902 (eww-add-bookmark): Remove newlines from the title.
7903 (eww-bookmark-browse): Don't bug out if it's the only window.
7905 2013-06-26 Glenn Morris <rgm@gnu.org>
7907 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7908 (hfy-size): Handle ttys. (Bug#14668)
7910 * info-xref.el: Update for Texinfo 5 change in *note format.
7911 (info-xref-node-re, info-xref-note-re): New constants.
7912 (info-xref-check-buffer): Use info-xref-note-re.
7914 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7916 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7918 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7919 nil terminate the loop (bug#14718).
7921 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7923 * net/eww.el: Rework history traversal. When going forward/back,
7924 put these actions into the history, too, so that they can be
7926 (eww-render): Move the history reset to the correct buffer.
7928 2013-06-25 Juri Linkov <juri@jurta.org>
7930 * files-x.el (modify-dir-local-variable): Change the header comment
7931 in the file with directory local variables. (Bug#14692)
7933 * files-x.el (read-file-local-variable-value): Add `default'.
7936 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7938 * net/eww.el (eww-make-unique-file-name): Create a unique file
7939 name before saving to entering `y' accidentally asynchronously.
7941 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7943 * net/eww.el (eww-download): New command and keystroke.
7945 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7947 * net/eww.el (eww-copy-page-url): Change name of command.
7949 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7950 be more consistent with Info and dired.
7952 * net/eww.el (eww-mode-map): Ditto.
7954 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7956 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7957 packages from archives.
7958 (package-archive-contents): Change format; include obsolete packages.
7959 (package-desc): Use `dir' to mark builtin packages.
7960 (package--from-builtin): Set the `dir' field to `builtin'.
7961 (generated-autoload-file, version-control): Declare.
7962 (package-compute-transaction): Change first arg and return value to be
7963 lists of package-descs. Adjust to new package-archive-contents format.
7964 (package--add-to-archive-contents): Adjust to new
7965 package-archive-contents format.
7966 (package-download-transaction): Arg is now a list of package-descs.
7967 (package-install): If `pkg' is a package name, pass it as
7968 a requirement, so it is subject to the usual (e.g. disabled) checks.
7969 (describe-package): Accept package-desc as well.
7970 (describe-package-1): Describe a specific package-desc. Add links to
7971 other package-descs for the same package name.
7972 (package-menu-describe-package): Pass the actual package-desc.
7973 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7975 (package-desc-status): New function.
7976 (package-menu--refresh): New function, extracted
7977 from package-menu--generate.
7978 (package-menu--generate): Use it.
7979 (package-delete): Update package-alist.
7980 (package-menu-execute): Don't call package-initialize.
7982 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7983 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7984 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7985 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7986 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7987 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7989 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7991 * window.el (window--state-get-1): Workaround for bug#14527.
7992 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7994 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7996 * net/eww.el (eww-back-url): Implement the history by stashing all
7997 the data into a list.
7998 (eww-forward-url): Allow going forward in the history, too.
8000 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8002 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8003 for values and use read--expression for expressions (bug#14710).
8004 (read-file-local-variable): Avoid setq.
8005 (read-file-local-variable-mode): Use minor-mode-list.
8007 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8009 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8012 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8014 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8015 Update imenu-support when dialect changes.
8017 2013-06-25 Leo Liu <sdl.web@gmail.com>
8019 * ido.el (ido-read-internal): Allow forward slash on windows.
8021 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8023 * net/eww.el (eww): Start of strings is \\`, not ^.
8025 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8027 * net/shr.el (shr-browse-url): Fix interactive spec.
8029 * net/eww.el (eww): Add a trailing slash to domain names.
8031 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8033 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8035 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8037 * net/shr.el (shr-browse-url): Use an external browser if given a
8040 * net/eww.el (eww-external-browser): Move to shr.
8042 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8044 * net/eww.el (eww): Work more correctly for file: URLs.
8045 (eww-detect-charset): Allow quoted charsets.
8046 (eww-yank-page-url): New command and keystroke.
8048 2013-06-24 Daiki Ueno <ueno@gnu.org>
8050 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8051 file name of gpg executable.
8052 (epg-context-program): New function.
8053 (epg-context-home-directory): New function.
8054 (epg-context-set-program): New function.
8055 (epg-context-set-home-directory): New function.
8056 (epg--start): Use `epg-context-program' instead of
8058 (epg--list-keys-1): Likewise.
8060 2013-06-24 Leo Liu <sdl.web@gmail.com>
8062 * ido.el (ido-read-internal): Fix bug#14620.
8064 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8066 * faces.el (face-documentation): Simplify.
8067 (read-face-attribute, tty-find-type, x-resolve-font-name):
8068 Use `string-match-p'.
8069 (list-faces-display): Use `string-match-p'. Simplify.
8070 (face-spec-recalc): Check face to avoid face alias loops.
8071 (read-color): Use `string-match-p' and non-capturing parenthesis.
8073 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8075 * net/shr.el (shr-rescale-image): Use the new
8076 :max-width/:max-height functionality.
8078 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8080 * net/eww.el (eww-search-prefix): New variable.
8082 (eww-external-browser): New variable.
8083 (eww-mode-map): New keystroke.
8084 (eww-browse-with-external-browser): New command.
8086 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8088 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8090 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8091 Don't skip aligning the next header field when padding is 0;
8092 otherwise, field width is not respected unless the title is as
8095 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8097 * emacs-lisp/package.el (package-el-version): Remove.
8098 (package-process-define-package): Fix inf-loop.
8099 (package-install): Allow symbols as arguments again.
8101 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8103 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8104 add some more keyword-like methods.
8105 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8107 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8109 * bs.el (bs-buffer-show-mark): Make defvar-local.
8110 (bs-mode): Use setq-local.
8112 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8113 (emacs-lock--try-unlocking): Make defvar-local.
8115 2013-06-22 Glenn Morris <rgm@gnu.org>
8117 * play/cookie1.el (cookie-apropos): Minor simplification.
8119 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8121 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8123 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8124 `regexp-opt', it breaks the build during dumping.
8126 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8128 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8129 Highlight keyword-like methods on Kernel and Module with
8130 font-lock-builtin-face.
8131 (auto-mode-alist): Consolidate different entries into one regexp
8132 and add more *file-s.
8134 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8136 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8138 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8139 (diary-entry): Use it in the action of this button type instead of
8142 * calendar/todo-mode.el: New version.
8143 (todo-add-category): Append new category to end of file and give
8144 it the highest number, instead of putting it at the beginning and
8145 giving it 0. Incorporate noninteractive functionality.
8146 (todo-forward-category): Adapt to 1-based category numbering.
8147 Allow skipping over archived categories.
8148 (todo-backward-category): Derive from todo-forward-category.
8149 (todo-backward-item, todo-forward-item): Make noninteractive and
8150 delegate interactive part to new commands. Make sensitive to done items.
8151 (todo-categories): Make value an alist of category names and
8152 vectors of item counts.
8153 (todo-category-beg): Make a defconst.
8154 (todo-category-number): Use 1 instead of 0 as initial value.
8155 (todo-category-select): Make sensitive to overlays, optional item
8156 highlighting and done items.
8157 (todo-delete-item): Make sensitive to overlays and marked and done items.
8158 (todo-edit-item): Make sensitive to overlays and editing of
8159 date/time header optional. Add format checks.
8160 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8161 no-op if point is not on an item. Advertise using todo-edit-quit.
8162 (todo-edit-mode): Make sensitive to new format, font-locking, and
8163 multiple todo files.
8164 (todo-insert-item, todo-insert-item-here): Derive from
8165 todo-basic-insert-item and extend functionality.
8166 (todo-item-end, todo-item-start): Make sensitive to done items.
8167 (todo-item-string): Don't return text properties. Restore point.
8168 (todo-jump-to-category): Make sensitive to multiple todo files and
8169 todo archives. Use extended category completion.
8170 (todo-lower-item, todo-raise-item): Rename to *-priority and
8171 derive from todo-set-item-priority.
8172 (todo-mode): Derive from special-mode. Make sensitive to new
8173 format, font-locking and multiple todo files. Make read-only.
8174 (todo-mode-map): Don't suppress digit keys, so they can supply
8175 prefix arguments. Add many new key bindings.
8176 (todo-prefix): Insert as an overlay instead of file text.
8177 Change semantics from diary date expression to purely visual mark.
8178 (todo-print): Rename to todo-print-buffer. Make buffer display
8179 features printable. Remove option to restrict number of items
8180 printed. Add option to print to file.
8181 (todo-print-function): Rename to todo-print-buffer-function.
8182 (todo-quit): Extend to handle exiting new todo modes.
8183 (todo-remove-item): Make sensitive to overlays.
8184 (todo-save): Extend to buffers of filtered items.
8185 (todo-show): Make sensitive to done items, multiple todo files and
8186 new todo modes. Offer to convert legacy todo file before creating
8187 first new todo file.
8188 (todo-show-priorities): Rename to todo-top-priorities.
8189 Change semantics of value 0.
8190 (todo-top-priorities): Rename to todo-filter-top-priorities,
8191 derive from todo-filter-items and extend functionality.
8192 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8193 and extend functionality to other types of filtered items.
8194 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8195 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8196 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8197 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8198 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8199 (todo-edit-mode-hook, todo-entry-prefix-function)
8200 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8201 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8202 (todo-initials, todo-insert-threshold, todo-item-string-start)
8203 (todo-line-string, todo-menu, todo-mode-hook)
8204 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8205 (todo-print-priorities, todo-remove-separator)
8206 (todo-save-top-priorities-too, todo-string-count-lines)
8207 (todo-string-multiline-p, todo-time-string-format)
8208 (todo-tmp-buffer-name): Remove.
8209 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8210 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8211 (todo-edit-category-diary-inclusion)
8212 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8213 (todo-edit-file, todo-edit-item-date-day)
8214 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8215 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8216 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8217 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8218 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8219 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8220 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8221 (todo-filter-top-priorities-multifile, todo-find-archive)
8222 (todo-find-filtered-items-file, todo-go-to-source-item)
8223 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8224 (todo-jump-to-archive-category, todo-lower-category)
8225 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8226 (todo-move-category, todo-move-item, todo-next-button)
8227 (todo-next-item, todo-padded-string, todo-powerset)
8228 (todo-previous-button, todo-previous-item)
8229 (todo-print-buffer-to-file, todo-raise-category)
8230 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8231 (todo-set-category-number, todo-set-item-priority)
8232 (todo-set-top-priorities-in-category)
8233 (todo-set-top-priorities-in-file, todo-show-categories-table)
8234 (todo-sort-categories-alphabetically-or-numerically)
8235 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8236 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8237 (todo-toggle-item-header, todo-toggle-item-highlighting)
8238 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8239 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8240 (todo-unarchive-items, todo-unmark-category): New commands.
8241 (todo-absolute-file-name, todo-add-to-buffer-list)
8242 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8243 (todo-basic-insert-item, todo-category-completions)
8244 (todo-category-number, todo-category-string-matcher-1)
8245 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8246 (todo-check-format, todo-clear-matches)
8247 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8248 (todo-current-category, todo-date-string-matcher)
8249 (todo-define-insertion-command, todo-diary-expired-matcher)
8250 (todo-diary-goto-entry, todo-diary-item-p)
8251 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8252 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8253 (todo-done-item-section-p, todo-done-separator)
8254 (todo-done-string-matcher, todo-files, todo-filter-items)
8255 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8256 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8257 (todo-insert-category-line, todo-insert-item-from-calendar)
8258 (todo-insert-sort-button, todo-insert-with-overlays)
8259 (todo-insertion-command-name, todo-insertion-key-bindings)
8260 (todo-label-to-key, todo-longest-category-name-length)
8261 (todo-make-categories-list, todo-mode-external-set)
8262 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8263 (todo-modes-set-3, todo-multiple-filter-files)
8264 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8265 (todo-read-category, todo-read-date, todo-read-dayname)
8266 (todo-read-file-name, todo-read-time)
8267 (todo-reevaluate-category-completions-files-defcustom)
8268 (todo-reevaluate-default-file-defcustom)
8269 (todo-reevaluate-filelist-defcustoms)
8270 (todo-reevaluate-filter-files-defcustom)
8271 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8272 (todo-reset-done-separator, todo-reset-done-separator-string)
8273 (todo-reset-done-string, todo-reset-global-current-todo-file)
8274 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8275 (todo-reset-prefix, todo-set-categories)
8276 (todo-set-date-from-calendar, todo-set-show-current-file)
8277 (todo-set-top-priorities, todo-short-file-name)
8278 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8279 (todo-total-item-counts, todo-update-buffer-list)
8280 (todo-update-categories-display, todo-update-categories-sexp)
8281 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8283 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8285 (todo-categories, todo-display, todo-edit, todo-faces)
8286 (todo-filtered): New defgroups.
8287 (todo-archived-only, todo-button, todo-category-string, todo-date)
8288 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8289 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8290 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8291 (todo-add-item-if-new-category, todo-always-add-time-string)
8292 (todo-categories-align, todo-categories-archived-label)
8293 (todo-categories-category-label, todo-categories-diary-label)
8294 (todo-categories-done-label, todo-categories-number-separator)
8295 (todo-categories-todo-label, todo-categories-totals-label)
8296 (todo-category-completions-files, todo-completion-ignore-case)
8297 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8298 (todo-done-separator-string, todo-done-string)
8299 (todo-files-function, todo-filter-done-items, todo-filter-files)
8300 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8301 (todo-initial-category, todo-initial-file, todo-item-mark)
8302 (todo-legacy-date-time-regexp, todo-mode-line-function)
8303 (todo-nondiary-marker, todo-number-prefix)
8304 (todo-print-buffer-function, todo-show-current-file)
8305 (todo-show-done-only, todo-show-first, todo-show-with-done)
8306 (todo-skip-archived-categories, todo-top-priorities-overrides)
8307 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8308 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8310 (todo-category-done, todo-date-pattern, todo-date-string-start)
8311 (todo-diary-items-buffer, todo-done-string-start)
8312 (todo-filtered-items-buffer, todo-item-start)
8313 (todo-month-abbrev-array, todo-month-name-array)
8314 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8315 (todo-top-priorities-buffer): New defconsts.
8316 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8317 (todo-categories-with-marks, todo-category-string-face)
8318 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8319 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8320 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8321 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8322 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8323 (todo-font-lock-keywords, todo-global-current-todo-file)
8324 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8325 (todo-insertion-commands-args)
8326 (todo-insertion-commands-args-genlist)
8327 (todo-insertion-commands-names, todo-insertion-map)
8328 (todo-key-bindings-t, todo-key-bindings-t+a)
8329 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8330 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8331 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8332 (todo-visited): New variables.
8334 2013-06-21 Glenn Morris <rgm@gnu.org>
8336 * play/cookie1.el (cookie-apropos): Add optional display argument.
8337 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8338 (psychoanalyze-pinhead): Use cookie-doctor.
8340 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8342 * emacs-lisp/package.el (tar-get-file-descriptor)
8343 (tar--extract): Declare.
8345 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8347 Extend flymake's warning predicate to be a function (bug#14217).
8348 * progmodes/flymake.el (flymake-warning-predicate): New.
8349 (flymake-parse-line): Use it.
8350 (flymake-warning-re): Make obsolete alias to
8351 `flymake-warning-predicate'.
8353 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8355 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8356 (package-obsolete-list): Remove.
8357 (package-activate): Remove min-version argument. Add `force' argument.
8358 Adjust to new package-alist format.
8359 (package-mark-obsolete): Remove.
8360 (package-unpack): Force reload of the package's autoloads.
8361 (package-installed-p): Check builtins if the installed package is not
8363 (package-initialize): Don't reset package-obsolete-list.
8364 Don't specify which package version to activate.
8365 (package-process-define-package, describe-package-1)
8366 (package-menu--generate): Adjust to new package-alist format.
8368 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8370 * allout-widgets.el (allout-widgets-mode-off)
8371 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8372 (allout-widgets-post-command-business)
8373 (allout-widgets-after-copy-or-kill-function)
8374 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8375 (allout-decorate-item-and-context)
8376 (allout-graphics-modification-handler): Fix typos in docstrings.
8377 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8379 * cmuscheme.el (scheme-start-file): Doc fix.
8380 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8381 (scheme-input-filter): Use `string-match-p'.
8383 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8385 * dired-x.el: Use Dired consistently in docstrings.
8387 * dired.el: Use Dired consistently in docstrings.
8388 (dired-readin, dired-mode): Use `setq-local'.
8389 (dired-switches-alist): Make defvar-local.
8390 (dired-buffers-for-dir): Use `zerop'.
8391 (dired-safe-switches-p, dired-switches-escape-p)
8392 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8393 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8394 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8395 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8396 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8397 (dired-toggle-marks, dired-mark-files-containing-regexp)
8398 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8399 (dired-flag-auto-save-files, dired-flag-backup-files):
8401 (dired-mark-files-regexp, dired-build-subdir-alist):
8402 Use `string-match-p', `looking-at-p'.
8404 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8405 (direct-print-region-helper): Use `string-match-p'.
8407 2013-06-21 Leo Liu <sdl.web@gmail.com>
8409 * comint.el (comint-redirect-results-list-from-process):
8412 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8414 * net/eww.el (eww-update-header-line-format): Quote % characters.
8416 2013-06-21 Glenn Morris <rgm@gnu.org>
8418 * play/cookie1.el (cookie): New custom group.
8419 (cookie-file): New option.
8420 (cookie-check-file): New function.
8421 (cookie): Make it interactive. Make start and end messages optional.
8422 Interactively, display the result. Default to cookie-file.
8423 (cookie-insert): Default to cookie-file.
8424 (cookie-snarf): Make start and end messages optional.
8425 Default to cookie-file. Use with-temp-buffer.
8426 (cookie-read): Rename from read-cookie.
8427 Make start and end messages optional. Default to cookie-file.
8428 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8430 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8431 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8433 2013-06-21 Leo Liu <sdl.web@gmail.com>
8435 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8437 2013-06-21 Glenn Morris <rgm@gnu.org>
8439 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8441 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8442 Daniel Hackney <dan@haxney.org>
8444 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8445 Consolidate the single-file vs tarball code.
8446 (package-desc-suffix): New function.
8447 (package-desc-full-name): Don't bother inlining it.
8448 (package-load-descriptor): Return the new package-desc.
8449 (package-mark-obsolete): Remove unused arg `package'.
8450 (package-unpack): Make it work for single files as well.
8451 Make it update package-alist.
8452 (package--make-autoloads-and-stuff): Rename from
8453 package--make-autoloads-and-compile. Don't compile any more.
8454 (package--compile): New function.
8455 (package-generate-description-file): New function, extracted from
8456 package-unpack-single.
8457 (package-unpack-single): Remove.
8458 (package--with-work-buffer): Add indentation and debugging info.
8459 (package-download-single): Remove.
8460 (package-install-from-archive): Rename from package-download-tar, make
8461 it take a pkg-desc, and make it work for single files as well.
8462 (package-download-transaction): Simplify.
8463 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8464 external tar program.
8465 (package-install-from-buffer): Remove `pkg-desc' argument.
8466 Use package-tar-file-info for tar-mode buffers.
8467 (package-install-file): Simplify accordingly.
8468 (package-archive-base): Change to take a pkg-desc.
8469 * tar-mode.el (tar--check-descriptor): New function, extracted from
8471 (tar-get-descriptor): Use it.
8472 (tar-get-file-descriptor): New function.
8473 (tar--extract): New function, extracted from tar-extract.
8474 (tar--extract): Use it.
8475 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8476 case the summary uses non-ascii. Adjust to new calling convention of
8477 package-tar-file-info.
8479 2013-06-21 Leo Liu <sdl.web@gmail.com>
8481 * comint.el (comint-redirect-results-list-from-process):
8482 Fix random delay. (Bug#14681)
8484 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8486 * profiler.el (profiler-format-number): Use log, not log10.
8488 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8490 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8492 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8494 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8495 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8497 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8498 (AUTOGENEL): ... here.
8499 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8500 (cl--defsubst-expand): Use it.
8502 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8504 * subr.el (log10): Move here from C code, and declare as obsolete.
8505 All uses of (log10 X) replaced with (log X 10).
8507 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8509 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8510 Declare with `defvar-local'.
8511 (tabulated-list-use-header-line, tabulated-list-entries)
8512 (tabulated-list-padding, tabulated-list-printer)
8513 (tabulated-list-sort-key): Declare with `defvar-local'.
8514 (tabulated-list-init-header, tabulated-list-print-fake-header):
8517 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8519 * arc-mode.el (archive-mode): Add `archive-write-file' to
8520 `write-contents-functions' also for remote files. (Bug#14652)
8522 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8524 * cus-edit.el (custom-commands): Fix typos.
8525 (custom-display): Fix tooltip text.
8526 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8527 Fix typos in docstrings.
8528 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8529 (custom-unlispify-menu-entry, custom-magic-value-create)
8530 (custom-add-see-also, custom-group-value-create): Use ?\s.
8531 (custom-guess-type, customize-apropos, editable-field)
8532 (custom-face-value-create): Use `string-match-p'.
8533 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8535 * custom.el (custom-load-symbol): Use `string-match-p'.
8537 * ansi-color.el: Convert to lexical binding.
8538 (ansi-colors): Fix URL.
8539 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8540 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8541 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8543 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8545 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8547 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8549 2013-06-19 Tom Tromey <tromey@redhat.com>
8551 * net/eww.el (eww-top-url): Remove.
8552 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8553 (eww-render): Set new variables. Don't set eww-top-url.
8554 (eww-handle-link): Handle "prev", "home", and "contents".
8555 Downcase the rel text.
8556 (eww-top-url): Choose best top URL.
8558 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8560 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8561 relying in widget.el. Using widget.el leads to too many
8562 user interface inconsistencies.
8563 (eww-self-insert): Implement entering commands in text fields.
8564 (eww-process-text-input): New function to make text input field editing
8566 (eww-submit): Rewrite to use the new-style form methods.
8567 (eww-select-display): Display the correct selected item.
8568 (eww-change-select): Implement changing the select value.
8569 (eww-toggle-checkbox): Implement radio/checkboxes.
8570 (eww-update-field): Fix compilation error.
8571 (eww-tag-textarea): Implement <textarea>.
8573 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8574 we don't shadow mode-specific bindings.
8576 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8579 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8581 2013-06-19 Glenn Morris <rgm@gnu.org>
8583 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8585 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8587 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8590 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8592 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8594 * net/browse-url.el (browse-url-browser-function):
8595 `eww-browse-url' has the right calling signature, `eww' does not.
8597 2013-06-19 Glenn Morris <rgm@gnu.org>
8599 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8600 Only eval autoloaded macros.
8601 (byte-compile-autoload): Only give the macro warning for macros.
8603 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8604 (ps-underlined-faces): Declare.
8606 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8607 (speedbar-add-supported-extension): Declare.
8609 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8610 Don't include a date stamp in the header of the generated file;
8611 it leads to needless differences between output files.
8613 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8615 * net/secrets.el (secrets-struct-secret-content-type):
8616 Replace check of introspection data by a test call of "CreateItem".
8617 Some servers do not offer introspection.
8619 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8621 * electric.el (electric-pair-mode): Improve interaction with
8622 electric-layout-mode.
8623 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8624 (electric-pair-syntax): Use text-mode-syntax-table in comments
8626 (electric-pair--insert): New function.
8627 (electric-pair-post-self-insert-function): Use it and
8628 electric--after-char-pos.
8630 2013-06-19 Leo Liu <sdl.web@gmail.com>
8632 * progmodes/octave.el (octave-help): Fix regexp.
8634 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8636 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8637 (shr-table-horizontal-line): Allow nil as a value, and change the
8639 (shr-insert-table-ruler): Respect the nil value.
8641 2013-06-18 Tom Tromey <tromey@barimba>
8643 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8645 (eww-open-file): New defun.
8646 (eww-render): Initialize new variables.
8647 (eww-display-html): Handle "link" and "a".
8648 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8649 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8650 (eww-back-url): Rename from eww-previous-url.
8651 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8654 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8656 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8657 Distinguish ternary operator tokens from slash symbol and slash
8660 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8662 Convert symbol prettification into minor mode and global minor mode.
8664 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8665 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8666 (prettify-symbols--keywords): Rename from
8667 `prog-prettify-symbols-alist' and make a local defvar.
8668 (prettify-symbols--compose-symbol): Rename from
8669 `prog--prettify-font-lock-compose-symbol'.
8670 (prettify-symbols--make-keywords): Rename from
8671 `prog-prettify-font-lock-symbols-keywords' and simplify.
8672 (prog-prettify-install): Remove.
8673 (prettify-symbols-mode): New minor mode, based on
8674 `prog-prettify-install'.
8675 (turn-on-prettify-symbols-mode): New function.
8676 (global-prettify-symbols-mode): New globalized minor mode.
8678 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8679 * progmodes/cfengine.el (cfengine3-mode):
8680 * progmodes/perl-mode.el (perl-mode): Don't call
8681 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8683 2013-06-18 Juri Linkov <juri@jurta.org>
8685 * files-x.el (modify-file-local-variable-message): New function.
8686 (modify-file-local-variable)
8687 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8688 and call `modify-file-local-variable-message' when it's non-nil.
8689 (add-file-local-variable, delete-file-local-variable)
8690 (add-file-local-variable-prop-line)
8691 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8692 and use it. (Bug#9820)
8694 2013-06-18 Juri Linkov <juri@jurta.org>
8696 * emulation/vi.el (vi-shell-op):
8697 * emulation/vip.el (vip-execute-com, ex-command):
8698 * emulation/viper-cmd.el (viper-exec-bang):
8699 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8700 the call of `shell-command-on-region'. (Bug#14637)
8702 * simple.el (shell-command-on-region): Doc fix.
8704 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8706 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8709 2013-06-18 Glenn Morris <rgm@gnu.org>
8711 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8713 * newcomment.el (comment-search-forward, comment-search-backward):
8714 Doc fix. (Bug#14376)
8716 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8718 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8719 (buffer-face-mode-invoke): Doc fix.
8721 2013-06-18 Matthias Meulien <orontee@gmail.com>
8723 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8724 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8726 2013-06-18 Glenn Morris <rgm@gnu.org>
8728 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8729 Replace obsolete function generic-make-keywords with its expansion.
8731 * progmodes/python.el (ffap-alist): Declare.
8733 * textmodes/reftex.el (bibtex-mode-map): Declare.
8735 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8737 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8738 (package-unpack, package-unpack-single): Return the pkg-dir.
8739 (package-download-transaction): Use it to update package-alist.
8741 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8743 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8746 2013-06-17 Juri Linkov <juri@jurta.org>
8748 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8750 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8752 * emacs-lisp/package.el (package-load-descriptor):
8753 Remove `with-syntax-table' call, `read' doesn't need it.
8754 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8756 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8758 * startup.el (command-line): Expand package name returned by
8759 `package--description-file' (bug#14639).
8761 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8763 * emacs-lisp/package.el (package-load-descriptor): Do not call
8764 `emacs-lisp-mode', just use its syntax table.
8766 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8768 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8769 `font-lock-extra-managed-props' if any prettifying keyword is added.
8770 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8771 (prog-mode): Use `setq-local'.
8773 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8775 * international/characters.el (standard-case-table): Set syntax of ?»
8776 and ?« to punctuation.
8778 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8780 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8781 Save relevant match data before calling `syntax-ppss' (bug#14595).
8783 2013-06-15 Juri Linkov <juri@jurta.org>
8785 * files-x.el (modify-file-local-variable-prop-line): Add local
8786 variables to the end of the existing comment on the first line.
8787 Use `file-auto-mode-skip' to skip interpreter magic line,
8788 and also skip XML declaration.
8790 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8792 * startup.el (package--builtin-versions): New var.
8793 (package-subdirectory-regexp): Remove.
8794 (package--description-file): Hard code its value instead.
8796 * emacs-lisp/package.el: Don't activate packages older than builtin.
8797 (package-obsolete-list): Rename from package-obsolete-alist, and make
8798 it into a simple list of package-desc.
8799 (package-strip-version): Remove.
8800 (package-built-in-p): Use package--builtin-versions.
8801 (package-mark-obsolete): Simplify.
8802 (package-process-define-package): Mark it obsolete if older than the
8804 (package-handle-response): Use line-end-position.
8805 (package-read-archive-contents, package--download-one-archive):
8807 (package--add-to-archive-contents): Skip if older than the builtin or
8809 (package-menu-describe-package): Fix last change.
8810 (package-list-unversioned): New var.
8811 (package-menu--generate): Use it.
8813 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8814 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8815 (autoload-builtin-package-versions): New variable.
8816 (autoload-generate-file-autoloads): Use them.
8817 Remove the list of autoloaded functions/macros from the
8818 (autoload...) comments.
8820 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8822 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8824 * simple.el (line-move-partial): Don't jump to the next screen
8825 line as soon as it becomes visible. Instead, continue enlarging
8826 the vscroll until the portion of a tall screen line that's left on
8827 display is about the height of the frame's default font.
8830 2013-06-15 Glenn Morris <rgm@gnu.org>
8832 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8833 compilation-error-regexp-alist void, or local while let-bound.
8835 * progmodes/make-mode.el (makefile-mode-syntax-table):
8836 Treat "=" as punctuation. (Bug#14614)
8838 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8840 * help-fns.el (describe-variable):
8841 Add extra line for permanent-local variables.
8843 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8845 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8846 Add export, import, library. (Bug#9164)
8847 (library): Set indent function.
8849 2013-06-14 Glenn Morris <rgm@gnu.org>
8851 * term/xterm.el (xterm--query):
8852 Stop after first matching handler. (Bug#14615)
8854 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8856 Add support for dired in saveplace.
8857 * dired.el (dired-initial-position-hook): New variable.
8858 (dired-initial-position): Call hook to place cursor position.
8859 * saveplace.el (save-place-to-alist): Add dired position.
8860 (save-place-dired-hook): New function.
8862 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8864 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8865 through a symbol rather than letrec.
8867 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8868 (package-desc): Add `dir' field.
8869 (package-desc-full-name): New function.
8870 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8871 (package-maybe-load-descriptor): Remove.
8872 (package-load-all-descriptors): Just call package-load-descriptor.
8873 (package--disabled-p): New function.
8874 (package-desc-vers, package-desc-doc): Remove aliases.
8875 (package--dir): Remove function.
8876 (package-activate): Check if a package is disabled.
8877 (package-process-define-package): New function, extracted from
8879 (define-package): Turn into a place holder.
8880 (package-unpack-single, package-tar-file-info):
8881 Use package--description-file.
8882 (package-compute-transaction): Use package--disabled-p.
8883 (package-download-transaction): Don't call
8884 package-maybe-load-descriptor since they're all loaded anyway.
8885 (package-install): Change argument to be a pkg-desc.
8886 (package-delete): Use a single pkg-desc argument.
8887 (describe-package-1): Use package-desc-dir instead of package--dir.
8888 Use package-desc property instead of package-symbol.
8889 (package-install-button-action): Adjust accordingly.
8890 (package--push): Rewrite.
8891 (package-menu--print-info): Adjust accordingly. Change the ID format
8893 (package-menu-describe-package, package-menu-get-status)
8894 (package-menu--find-upgrades, package-menu-mark-upgrades)
8895 (package-menu-execute, package-menu--name-predicate):
8897 * startup.el (package--description-file): New function.
8898 (command-line): Use it.
8899 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8900 Use package-desc-version.
8902 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8903 (byte-compile-preprocess): Use it.
8904 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8905 can't quite recognize.
8906 (byte-compile-add-to-list): Remove.
8907 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8908 (cconv-closure-convert): Add assertion.
8910 * emacs-lisp/map-ynp.el: Use lexical-binding.
8911 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8912 Factor out some repeated code.
8914 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8916 * subr.el (with-eval-after-load): New macro.
8917 (eval-after-load): Allow form to be a function.
8918 take advantage of lexical-binding.
8919 (do-after-load-evaluation): Use dolist and adjust to new format.
8920 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8922 2013-06-13 Juri Linkov <juri@jurta.org>
8924 * replace.el (perform-replace): Display "symbol " and other search
8925 modes from `isearch-message-prefix' in the *Help* buffer.
8927 * isearch.el (isearch-query-replace): Add " symbol" and other
8928 possible search modes from `isearch-message-prefix' to the prompt.
8929 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8930 when reading a regexp to collect.
8932 2013-06-13 Juri Linkov <juri@jurta.org>
8934 * isearch.el (word-search-regexp): Match whitespace if the search
8935 string begins or ends in whitespace. The LAX arg is applied to
8936 both ends of the search string. Use `regexp-quote' and explicit
8937 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8938 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8939 boundaries are replaced with symbol boundaries, and characters
8940 between symbols match non-word non-symbol syntax. (Bug#14602)
8942 2013-06-13 Juri Linkov <juri@jurta.org>
8944 * isearch.el (isearch-del-char): Don't exceed the length of
8945 `isearch-string' by the prefix arg. (Bug#14563)
8947 2013-06-13 Juri Linkov <juri@jurta.org>
8949 * isearch.el (isearch-yank-word, isearch-yank-line)
8950 (isearch-char-by-name, isearch-quote-char)
8951 (isearch-printing-char, isearch-process-search-char):
8952 Add optional count prefix arg. (Bug#14563)
8954 * international/isearch-x.el
8955 (isearch-process-search-multibyte-characters):
8956 Add optional count prefix arg.
8958 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8960 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8961 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8964 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8966 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8968 2013-06-13 Glenn Morris <rgm@gnu.org>
8970 * startup.el (tty-handle-args):
8971 Don't just discard "--" and anything after. (Bug#14608)
8973 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8975 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8977 Implement changes in Secret Service API. Make it backward compatible.
8978 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8979 (secrets-create-item): Use it. Prefix properties with interface.
8981 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8983 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8984 (term-emulate-terminal): Respect term-suppress-hard-newline.
8986 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8988 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8989 Only remove a `thumb-file' overlay. (Bug#14548)
8991 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8993 * mail/reporter.el (reporter-submit-bug-report):
8994 Handle missing package-name. (Bug#14600)
8996 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8998 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8999 (reftex-citation-prompt, reftex-default-bibliography)
9000 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9001 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9002 (reftex-bib-sort-author, reftex-bib-sort-year)
9003 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9004 (reftex-extract-bib-entries-from-thebibliography)
9005 (reftex-get-bibkey-default, reftex-get-bib-names)
9006 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9007 (reftex-format-bib-entry, reftex-parse-bibitem)
9008 (reftex-format-bibitem, reftex-do-citation)
9009 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9010 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9011 (reftex-insert-bib-matches, reftex-format-citation)
9012 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9013 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9014 existing comments into docstrings.
9016 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9018 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9020 2013-06-12 Andreas Schwab <schwab@suse.de>
9022 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9023 for auto-save files.
9025 2013-06-12 Glenn Morris <rgm@gnu.org>
9027 * ido.el (ido-delete-ignored-files): Remove.
9028 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9029 Go back to calling ido-ignore-item-p directly.
9031 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9033 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9035 * ido.el (ido-delete-ignored-files): New function,
9036 split from ido-make-file-list-1.
9037 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9038 (ido-make-file-list-1): Use ido-delete-ignored-files.
9040 2013-06-12 Leo Liu <sdl.web@gmail.com>
9042 * progmodes/octave.el (inferior-octave-startup)
9043 (inferior-octave-completion-table)
9044 (inferior-octave-track-window-width-change)
9045 (octave-eldoc-function-signatures, octave-help)
9046 (octave-find-definition): Use single quoted strings.
9047 (inferior-octave-startup-args): Change default value.
9048 (inferior-octave-startup): Do not hard code "-i" and
9049 "--no-line-editing".
9050 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9051 (inferior-octave-directory-tracker): Use it.
9052 (octave-goto-function-definition): Robustify.
9053 (octave-help): Support highlighting operators in 'See also'.
9054 (octave-find-definition): Find subfunctions only in Octave mode.
9056 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9058 * help-fns.el (help-fns--compiler-macro): If the handler function is
9059 named, then put a link to it.
9060 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9061 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9063 (cl-eval-when): Simplify debug spec.
9064 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9065 compiler-macro function instead of setting `compiler-macro-file'.
9067 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9069 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9070 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9072 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9073 Daniel Hackney <dan@haxney.org>
9075 First part of Daniel Hackney's patch to package.el.
9076 * emacs-lisp/package.el: Use defstruct.
9077 (package-desc): New, main struct.
9078 (package--bi-desc, package--ac-desc): New structs, used to describe the
9079 format in external files.
9080 (package-desc-vers): Replace with package-desc-version accessor.
9081 (package-desc-doc): Replace with package-desc-summary accessor.
9082 (package-activate-1): Remove `package' arg since the pkg-vec now
9084 (define-package): Use package-desc-from-define.
9085 (package-unpack-single): Change file-name arg to be a symbol.
9086 (package--add-to-archive-contents): Use package-desc-create and new
9087 accessor functions to package--ac-desc.
9088 (package-buffer-info, package-tar-file-info): Return a package-desc.
9089 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9090 arg to be a package-desc.
9091 (package-install-file): Adjust accordingly. Use \' to match EOS.
9092 (package--from-builtin): New function.
9093 (describe-package-1, package-menu--generate): Use it.
9094 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9095 (package-generate-autoloads): Idem and return the name of the file.
9096 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9097 Change pkg-info arg to be a package-desc.
9098 Use package-make-ac-desc.
9099 (package-upload-file): Use \' to match EOS.
9100 * finder.el (finder-compile-keywords): Use package-make-builtin.
9102 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9104 * vc/vc.el (vc-deduce-fileset): Change error message.
9105 (vc-read-backend): New function.
9106 (vc-next-action): Use it.
9108 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9110 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9111 (prolog-font-lock-keywords): Use regexp-opt instead.
9112 Don't manually highlight strings.
9113 (prolog-mode-variables): Simplify comment-start-skip.
9114 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9116 * emacs-lisp/generic.el (generic--normalise-comments)
9117 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9118 (generic-mode-set-comments): Use them.
9119 (generic-bracket-support): Use setq-local.
9120 (generic-make-keywords-list): Declare obsolete.
9122 2013-06-11 Glenn Morris <rgm@gnu.org>
9124 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9125 Prettify after setting font-lock-defaults. (Bug#14574)
9127 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9129 * replace.el (query-replace, occur-read-regexp-defaults-function)
9131 * subr.el (declare-function, number-sequence, local-set-key)
9132 (substitute-key-definition, locate-user-emacs-file)
9133 (with-silent-modifications, split-string, eval-after-load):
9134 Fix typos, remove unneeded backslashes and reflow some docstrings.
9136 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9138 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9139 default for Elisp files.
9141 2013-06-11 Glenn Morris <rgm@gnu.org>
9143 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9144 although define-derived-mode was doing this anyway. (Bug#14583)
9146 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9148 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9149 Fix make-variable-buffer-local call to refer to the correct variable.
9151 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9153 * eshell/em-term.el (eshell-visual-commands)
9154 (eshell-visual-subcommands, eshell-visual-options):
9155 Add summary line to docstrings. Add cross-references.
9157 2013-06-10 Glenn Morris <rgm@gnu.org>
9159 * epa.el (epa-read-file-name): New function. (Bug#14510)
9160 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9162 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9164 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9165 output redirection to be ignored with visual commands.
9167 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9169 * eshell/em-term.el (eshell-visual-command-p): New function.
9170 (eshell-term-initialize): Move long lambda to separate function
9171 eshell-visual-command-p.
9172 * eshell/em-dirs.el (eshell-dirs-initialise):
9173 * eshell/em-script.el (eshell-script-initialize):
9174 Add missing #' to lambda.
9176 2013-06-08 Leo Liu <sdl.web@gmail.com>
9178 * progmodes/octave.el (octave-add-log-current-defun): New function.
9179 (octave-mode): Set add-log-current-defun-function.
9180 (octave-goto-function-definition): Do not move point if not found.
9181 (octave-find-definition): Enhance to try subfunctions first.
9183 2013-06-08 Glenn Morris <rgm@gnu.org>
9185 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9186 (byte-compile-backward-char, byte-compile-backward-word):
9187 Improve previous change, to handle non-explicit nil.
9189 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9191 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9192 (smie--opener/closer-at-point): New function.
9193 (smie--matching-block-data): Use it. Don't match from right after an
9194 opener or right before a closer. Obey smie-blink-matching-inners.
9195 Don't signal a mismatch for repeated inners like "switch..case..case".
9197 2013-06-07 Leo Liu <sdl.web@gmail.com>
9199 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9201 (octave-function-header-regexp): Fix. (Bug#14570)
9202 (octave-help-mode-finish-hook, octave-help-mode-finish):
9203 Remove. Just use temp-buffer-show-hook.
9205 * newcomment.el (comment-search-backward): Revert last change.
9208 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9210 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9212 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9213 through xargs, to avoid failure due to MS-Windows limitations on
9214 command-line length.
9216 2013-06-06 Glenn Morris <rgm@gnu.org>
9218 * font-lock.el (lisp-font-lock-keywords-2):
9219 Treat user-error like error.
9221 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9222 (byte-compile-backward-char, byte-compile-backward-word):
9223 Handle explicit nil arguments. (Bug#14565)
9225 2013-06-05 Alan Mackenzie <acm@muc.de>
9227 * isearch.el (isearch-allow-prefix): New user option.
9228 (isearch-other-meta-char): Don't exit isearch when a prefix
9229 argument is typed whilst `isearch-allow-prefix' is non-nil.
9232 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9234 * autorevert.el (auto-revert-notify-handler): Use memq.
9235 Hide assertion failure.
9237 * skeleton.el: Use cl-lib.
9238 (skeleton-further-elements): Use defvar-local.
9239 (skeleton-insert): Use cl-progv.
9241 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9243 * progmodes/prog-mode.el (prog-prettify-symbols)
9244 (prog-prettify-install): Update docstrings.
9246 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9248 * simple.el: Move all the prog-mode code to prog-mode.el.
9249 * progmodes/prog-mode.el: New file.
9250 * loadup.el: Add prog-mode.el.
9252 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9254 * simple.el (prog-prettify-symbols): Add version.
9255 (prog-prettify-install): Add convenience function to prettify symbols.
9257 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9258 (perl--augmented-font-lock-keywords-1)
9259 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9260 variables and use it.
9262 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9263 (cfengine3-mode): Remove unneeded variable and use it.
9265 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9266 (lisp--augmented-font-lock-keywords-1)
9267 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9268 Remove unneeded variables and use it.
9270 2013-06-05 João Távora <joaotavora@gmail.com>
9272 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9273 to point when opening the connection. (Bug#14380)
9275 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9277 * subr.el (load-history-regexp, load-history-filename-element)
9278 (eval-after-load, after-load-functions, do-after-load-evaluation)
9279 (eval-next-after-load, display-delayed-warnings)
9280 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9281 definition of save-match-data.
9282 (overriding-local-map): Remove accidental obsolescence declaration.
9284 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9286 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9288 Generalize symbol prettify support to prog-mode and implement it
9289 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9290 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9291 (prog--prettify-font-lock-compose-symbol)
9292 (prog-prettify-font-lock-symbols-keywords): New variables and
9293 functions to support symbol prettification.
9294 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9295 (lisp--augmented-font-lock-keywords-1)
9296 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9297 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9298 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9299 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9300 Implement prettify of -> => :: strings.
9301 * progmodes/perl-mode.el (perl-prettify-symbols)
9302 (perl--font-lock-compose-symbol)
9303 (perl--font-lock-symbols-keywords): Move to prog-mode.
9304 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9305 (perl-font-lock-keywords-1)
9306 (perl-font-lock-keywords-2): Remove explicit prettify support.
9307 (perl--augmented-font-lock-keywords)
9308 (perl--augmented-font-lock-keywords-1)
9309 (perl--augmented-font-lock-keywords-2, perl-mode):
9310 Implement prettify support.
9312 2013-06-05 Leo Liu <sdl.web@gmail.com>
9314 Re-implement smie matching block highlight using
9315 show-paren-data-function. (Bug#14395)
9316 * emacs-lisp/smie.el (smie-matching-block-highlight)
9317 (smie--highlight-matching-block-overlay)
9318 (smie--highlight-matching-block-lastpos)
9319 (smie-highlight-matching-block)
9320 (smie-highlight-matching-block-mode): Remove.
9321 (smie--matching-block-data-cache): New variable.
9322 (smie--matching-block-data): New function.
9323 (smie-setup): Use smie--matching-block-data for
9324 show-paren-data-function.
9326 * progmodes/octave.el (octave-mode-menu): Fix.
9327 (octave-find-definition): Skip garbage lines.
9329 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9331 Fix compilation error with simultaneous dynamic+lexical scoping.
9332 Add warning when a defvar appears after the first let-binding.
9333 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9334 (byte-compile-close-variables): Initialize it.
9335 (byte-compile--declare-var): New function.
9336 (byte-compile-file-form-defvar)
9337 (byte-compile-file-form-define-abbrev-table)
9338 (byte-compile-file-form-custom-declare-variable): Use it.
9339 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9340 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9341 (byte-compile-bind): Handle dynamic bindings that shadow
9343 (byte-compile-unbind): Make arg non-optional.
9344 (byte-compile-let): Simplify.
9345 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9346 (cconv--analyse-function, cconv-analyse-form): Populate it.
9347 Protect byte-compile-bound-variables to limit the scope of defvars.
9348 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9349 Remove unneeded rule for `declare'.
9351 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9352 so as to avoid depending on cl-adjoin at run-time.
9353 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9355 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9356 (macroexp--warn-and-return): Use it.
9358 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9360 * subr.el: Convert to lexical binding.
9361 (overriding-local-map): Make obsolete.
9362 (add-to-list): Doc fix. Add compiler macro.
9363 (read-key): Swap values of local maps.
9365 2013-06-05 Leo Liu <sdl.web@gmail.com>
9367 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9369 2013-06-04 Leo Liu <sdl.web@gmail.com>
9371 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9372 (compilation-auto-jump): Suppress the "Mark set" message to give
9373 way to exit message.
9375 2013-06-04 Alan Mackenzie <acm@muc.de>
9377 Remove faulty optimisation from indentation calculation.
9378 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9379 search limit based on 2000 characters back from indent-point.
9381 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9383 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9385 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9387 * emacs-lisp/lisp.el: Use lexical-binding.
9388 (lisp--local-variables-1, lisp--local-variables): New functions.
9389 (lisp--local-variables-completion-table): New var.
9390 (lisp-completion-at-point): Use it complete let-bound vars.
9392 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9393 eagerly (bug#14422).
9395 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9397 * autorevert.el (auto-revert-notify-enabled)
9398 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9399 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9400 (auto-revert-notify-handler): Handle also gfilenotify.
9402 * subr.el (file-notify-handle-event): New defun. Replacing ...
9403 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9406 2013-06-03 Juri Linkov <juri@jurta.org>
9408 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9409 `M-s h .'. (Bug#14427)
9411 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9412 command `hi-lock-face-symbol-at-point'.
9413 (hi-lock-face-symbol-at-point): New command.
9414 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9415 (hi-lock-menu): Add `highlight-symbol-at-point'.
9416 (hi-lock-mode): Doc fix.
9418 * isearch.el (isearch-forward-symbol-at-point): New command.
9419 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9420 (isearch-highlight-regexp): Add a regexp which matches
9421 words/symbols for word/symbol mode.
9423 * subr.el (find-tag-default-bounds): New function with the body
9424 mostly moved from `find-tag-default'.
9425 (find-tag-default): Move most code to `find-tag-default-bounds',
9426 call it and apply `buffer-substring-no-properties' afterwards.
9428 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9430 * eshell/em-term.el (eshell-term-initialize):
9431 Use `cl-intersection' rather than `intersection'.
9433 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9435 * vc/log-view.el: Doc fix.
9436 (log-view-mode-map): Copy keymap from `special-mode-map'.
9438 2013-06-02 Eric Ludlam <zappo@gnu.org>
9440 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9441 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9442 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9443 (eieio-unbound, eieio-default-superclass)
9444 (eieio--define-field-accessors, method-static, method-before)
9445 (method-primary, method-after, method-num-lists)
9446 (method-generic-before, method-generic-primary)
9447 (method-generic-after, method-num-slots)
9448 (eieio-specialized-key-to-generic-key)
9449 (eieio--check-type, class-v, class-p)
9450 (eieio-class-name, define-obsolete-function-alias)
9451 (eieio-class-parents-fast, eieio-class-children-fast)
9452 (same-class-fast-p, class-constructor, generic-p)
9453 (generic-primary-only-p, generic-primary-only-one-p)
9454 (class-option-assoc, class-option, eieio-object-p)
9455 (class-abstract-p, class-method-invocation-order)
9456 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9457 (eieio-class-un-autoload, eieio-defclass)
9458 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9459 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9460 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9461 (eieio-defgeneric-reset-generic-form)
9462 (eieio-defgeneric-form-primary-only)
9463 (eieio-defgeneric-reset-generic-form-primary-only)
9464 (eieio-defgeneric-form-primary-only-one)
9465 (eieio-defgeneric-reset-generic-form-primary-only-one)
9466 (eieio-unbind-method-implementations)
9467 (eieio--defmethod, eieio--typep)
9468 (eieio-perform-slot-validation, eieio-validate-slot-value)
9469 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9470 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9471 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9472 (eieio-slot-name-index, eieio-class-slot-name-index)
9473 (eieio-set-defaults, eieio-initarg-to-attribute)
9474 (eieio-attribute-to-initarg, eieio-c3-candidate)
9475 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9476 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9477 (eieio-class-precedence-list, eieio-generic-call-methodname)
9478 (eieio-generic-call-arglst, eieio-generic-call-key)
9479 (eieio-generic-call-next-method-list)
9480 (eieio-pre-method-execution-functions, eieio-generic-call)
9481 (eieio-generic-call-primary-only, eieiomt-method-list)
9482 (eieiomt-optimizing-obarray, eieiomt-install)
9483 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9484 (eieio-generic-form, eieio-defmethod, make-obsolete)
9485 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9486 (defclass): Remove `eval-and-compile' from macro.
9487 (call-next-method, shared-initialize): Instead of using
9488 `scoped-class' variable, use new eieio--scoped-class, and
9489 eieio--with-scoped-class.
9490 (initialize-instance): Rename local variable 'scoped-class' to
9491 'this-class' to remove ambiguitity from old global.
9493 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9495 (eieio--scoped-class-stack): New variable.
9496 (eieio--scoped-class): New fcn.
9497 (eieio--with-scoped-class): New scoping macro.
9498 (eieio-defclass): Use pushnew instead of add-to-list.
9499 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9500 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9501 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9502 `scoped-class' variable, use new eieio--scoped-class, and
9503 eieio--with-scoped-class.
9505 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9507 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9509 * eshell/esh-ext.el (eshell-external-command): Pass args to
9510 `eshell-find-interpreter'.
9511 (eshell-find-interpreter): Add new second parameter ARGS.
9513 * eshell/em-script.el (eshell-script-initialize): Add second arg
9514 to the function added as MATCH to `eshell-interpreter-alist'.
9516 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9517 the function added as MATCH to `eshell-interpreter-alist'.
9519 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9520 (eshell-visual-options): New defcustom.
9521 (eshell-escape-control-x): Adapt docstring.
9522 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9523 `eshell-visual-options' in addition to `eshell-visual-commands'.
9524 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9526 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9528 * progmodes/python.el (python-indent-block-enders): Add break,
9529 continue and raise keywords.
9531 2013-06-01 Glenn Morris <rgm@gnu.org>
9533 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9535 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9536 * progmodes/cc-cmds.el (delete-forward-p):
9537 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9538 * progmodes/cc-engine.el (buffer-syntactic-context):
9539 * progmodes/cc-fonts.el (face-property-instance):
9540 * progmodes/cc-mode.el (set-keymap-parents):
9541 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9542 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9543 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9544 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9545 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9547 * progmodes/cc-vars.el (other): Emacs has this widget since
9548 at least 21.1, so don't (re)define it.
9550 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9551 Replace the obsolete alias pcomplete-arg-quote-list.
9553 2013-06-01 Leo Liu <sdl.web@gmail.com>
9555 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9557 (inferior-octave-minimal-columns)
9558 (inferior-octave-last-column-width): New variables.
9559 (inferior-octave-track-window-width-change): New function.
9560 (inferior-octave-mode): Adjust column width so that Octave output,
9561 for example from 'ls', can fit into the window nicely.
9563 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9565 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9566 Highlight expansions inside regexp literals.
9568 2013-05-31 Glenn Morris <rgm@gnu.org>
9570 * obsolete/sym-comp.el (symbol-complete):
9571 Replace obsolete completion-annotate-function.
9573 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9575 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9577 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9578 New function, checks if point is inside a literal that allows
9579 expression expansion.
9580 (ruby-syntax-propertize-expansion): Use it.
9581 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9584 2013-05-30 Juri Linkov <juri@jurta.org>
9586 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9588 (isearch-invisible): New variable.
9589 (isearch-forward): Doc fix.
9590 (isearch-mode): Set `isearch-invisible'
9591 to the value of `search-invisible'.
9592 (isearch-toggle-case-fold): Doc fix.
9593 (isearch-toggle-invisible): New command.
9594 (isearch-query-replace): Let-bind `search-invisible'
9595 to the value of `isearch-invisible'.
9596 (isearch-search): Use `isearch-invisible' instead of
9597 `search-invisible'. Let-bind `search-invisible'
9598 to the value of `isearch-invisible'. (Bug#11378)
9600 2013-05-30 Juri Linkov <juri@jurta.org>
9602 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9603 call when `query-flag' is nil and `search-invisible' is non-nil.
9606 2013-05-30 Glenn Morris <rgm@gnu.org>
9608 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9610 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9611 (cc-require): Suppress spurious "noruntime" warnings.
9612 (cc-require-when-compile): Use fboundp, for sake of compiler.
9614 * progmodes/cc-mode.el: Move load of cc-vars before that of
9615 cc-langs (which in turn loads cc-vars), to quieten compiler.
9617 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9619 * paren.el: Simplify the code.
9620 (show-paren-mode): Always start the timer.
9621 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9622 (show-paren--overlay, show-paren--overlay-1): Rename from
9623 show-paren-overlay and show-paren-overlay-1, and initialize to an
9624 overlay rather than to nil.
9625 (show-paren-function): Misc cleanup and simplifications.
9627 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9629 * paren.el (show-paren-data-function): New hook.
9630 (show-paren--default): New function, extracted from show-paren-function.
9631 (show-paren-function): Use show-paren-data-function.
9633 2013-05-30 Glenn Morris <rgm@gnu.org>
9635 * ielm.el (ielm-map, ielm-complete-symbol):
9636 Use completion-at-point rather than obsolete functions.
9637 (inferior-emacs-lisp-mode): Doc fix.
9638 Set completion-at-point-functions, rather than
9639 comint-dynamic-complete-functions.
9641 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9642 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9643 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9645 * image.el (image-animated-p): Tweak definition.
9647 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9648 (rlogin-process-connection-type): Tweak default. Add set-after.
9649 (rlogin-host): Doc fix.
9650 (rlogin): Tweak prompt.
9651 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9653 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9654 * progmodes/tcl.el (inferior-tcl-mode-map):
9655 Use completion-at-point rather than obsolete alias.
9657 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9659 * minibuffer.el (read-file-name-completion-ignore-case):
9660 Move before completion--in-region, for eager macro expansion.
9662 2013-05-29 Juri Linkov <juri@jurta.org>
9664 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9665 for total count of matching lines. Add `global-matches' for total
9666 count of matches. Rename `matches' to `lines' for count of
9667 matching lines. Add `matches' for count of matches.
9668 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9669 to `prev-line' for line number of prev match endpt.
9670 Increment `matches' for every match. Print the number of
9671 matching lines in the header.
9672 (occur-context-lines): Rename `lines' to `curr-line'.
9673 Rename `prev-lines' to `prev-line'. (Bug#14017)
9675 2013-05-29 Juri Linkov <juri@jurta.org>
9677 * replace.el (perform-replace): Add `skip-read-only-count',
9678 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9679 Increment them for corresponding conditions and report the number
9680 of skipped occurrences in the final message. (Bug#11746)
9681 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9682 (replace-string, replace-regexp): Doc fix.
9684 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9686 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9688 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9689 prog-mode-map (bug#14504).
9691 2013-05-29 Leo Liu <sdl.web@gmail.com>
9693 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9694 (octave-help): Small simplification.
9696 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9697 off the highlight first.
9699 2013-05-29 Glenn Morris <rgm@gnu.org>
9701 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9702 Handle idlwave-last-system-routine-info-cons-cell being nil.
9704 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9705 (idlwave-write-paths): Simplify via with-temp-buffer.
9707 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9708 * emulation/cua-rect.el: Also load cua-base at run time.
9710 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9711 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9712 (cperl-imenu-on-info): Require imenu.
9714 2013-05-28 Alan Mackenzie <acm@muc.de>
9716 Handle "capitalised keywords" correctly.
9717 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9719 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9721 * eshell/em-unix.el: Add -r option to cp.
9723 2013-05-28 Glenn Morris <rgm@gnu.org>
9725 * vc/vc-arch.el (vc-exec-after): Declare.
9726 (vc-switches): Autoload.
9727 * vc/vc-bzr.el: No need to require vc when compiling.
9728 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9729 (vc-resynch-buffer, vc-dir-refresh): Declare.
9730 (vc-setup-buffer, vc-switches): Autoload.
9731 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9732 (vc-resynch-buffer): Declare.
9733 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9734 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9735 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9736 (grep-read-regexp, grep-read-files, grep-expand-template)
9737 (vc-dir-refresh): Declare.
9738 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9739 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9740 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9741 * vc/vc-mtn.el (vc-exec-after): Declare.
9742 (vc-switches): Autoload.
9743 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9744 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9745 (vc-file-tree-walk): Declare.
9746 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9747 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9748 (vc-tag-precondition, vc-rename-master): Autoload.
9749 * vc/vc-svn.el (vc-exec-after): Declare.
9750 (vc-switches, vc-setup-buffer): Autoload.
9751 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9753 (vc-resynch-buffer): Declare.
9755 * obsolete/fast-lock.el (byte-compile-warnings):
9756 Don't warn about obsolete features in this obsolete file.
9758 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9759 Move definition before use.
9761 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9762 (dun-unix-verbs): Remove dun-zippy.
9763 (dun-zippy): Remove function.
9765 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9767 2013-05-27 Juri Linkov <juri@jurta.org>
9769 * replace.el (replace-search): New function with code moved out
9770 from `perform-replace'.
9771 (replace-highlight, replace-dehighlight): Move function definitions
9772 up closer to `replace-search'. (Bug#11746)
9774 2013-05-27 Juri Linkov <juri@jurta.org>
9776 * replace.el (perform-replace): Ignore invisible matches.
9777 In addition to checking `query-replace-skip-read-only', also
9778 filter out matches by calling `run-hook-with-args-until-failure'
9779 on `isearch-filter-predicates', and also check `search-invisible'
9780 for t or call `isearch-range-invisible'.
9781 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9783 2013-05-27 Juri Linkov <juri@jurta.org>
9785 * isearch.el (isearch-filter-predicates): Rename from
9786 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9787 (isearch-message-prefix): Display text from the property
9788 `isearch-message-prefix' of the currently active filters.
9789 (isearch-search): Don't compare `isearch-filter-predicate' with
9790 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9791 on `isearch-filter-predicates'. Also check `search-invisible' for t
9792 or call `isearch-range-invisible'.
9793 (isearch-filter-visible): Make obsolete.
9794 (isearch-lazy-highlight-search):
9795 Call `run-hook-with-args-until-failure' on
9796 `isearch-filter-predicates' and use `isearch-range-invisible'.
9798 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9799 `isearch-filter-predicates' instead of `funcall'ing
9800 `isearch-filter-predicate'.
9801 (Info-mode): Set `Info-isearch-filter' to
9802 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9804 * dired-aux.el (dired-isearch-filter-predicate-orig):
9806 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9807 (dired-isearch-filenames-end): Add and remove
9808 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9809 instead of changing the value of `isearch-filter-predicate'.
9810 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9811 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9812 Put property `isearch-message-prefix' to "filename " on
9813 `dired-isearch-filter-filenames'.
9815 * wdired.el (wdired-change-to-wdired-mode):
9816 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9817 locally instead of changing `isearch-filter-predicate'.
9818 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9820 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9822 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9823 return the commit hash (Bug#14459). Also set the
9824 `vc-git-detached' property.
9825 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9826 (vc-git-mode-line-string): Use the same help-echo format whether
9827 in detached mode or not, because we know the actual revision now.
9828 When in detached mode, shorten the revision to 7 chars.
9830 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9832 * emacs-lisp/easy-mmode.el (define-minor-mode):
9833 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9834 mode hook and provide a docstring.
9836 2013-05-27 Alan Mackenzie <acm@muc.de>
9838 Remove spurious syntax-table text properties inserted by C-y.
9839 * progmodes/cc-mode.el (c-after-change): Also clear hard
9840 syntax-table property with value nil.
9842 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9844 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9845 when reading the events; the buffer layout shall not be changed.
9847 2013-05-27 Leo Liu <sdl.web@gmail.com>
9849 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9851 (inferior-octave-directory-tracker): Automatically re-sync
9853 (octave-help): Improve handling of 'See also'.
9855 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9857 * doc-view.el: Minor naming convention tweaks.
9858 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9860 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9861 even if there's no `display' property yet (bug#14435).
9863 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9865 * subr.el (unmsys--file-name): Rename from reveal-filename.
9867 * Makefile.in (custom-deps, finder-data, autoloads)
9868 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9869 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9870 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9872 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9874 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9875 error-completion on the first 2 args of condition-case (bug#14446).
9878 2013-05-25 Leo Liu <sdl.web@gmail.com>
9880 * comint.el (comint-previous-matching-input): Do not flood the
9881 *Messages* buffer with trivial messages.
9883 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9885 * progmodes/flymake.el (flymake-nop): Don't return a string.
9886 (flymake-set-at): Fix typo.
9888 * simple.el (read--expression): New function, extracted from
9889 eval-expression. Set completion-at-point-functions (bug#14465).
9890 (eval-expression, eval-minibuffer): Use it.
9892 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9894 * progmodes/flymake.el (flymake-save-buffer-in-file)
9895 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9896 (flymake-selected-frame, flymake-log, flymake-ins-after)
9897 (flymake-set-at, flymake-get-buildfile-from-cache)
9898 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9899 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9900 Refine the doc string.
9901 (flymake-get-file-name-mode-and-masks): Reformat.
9902 (flymake-get-real-file-name-function): Fix a minor bug.
9904 2013-05-24 Juri Linkov <juri@jurta.org>
9906 * progmodes/grep.el (grep-mode-font-lock-keywords):
9907 Support =linenumber= format used by git-grep for lines with
9908 function names. (Bug#13549)
9910 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9912 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9913 0 after a semi-colon; it works better for smie-auto-fill.
9914 (octave--indent-new-comment-line): New function.
9915 (octave-indent-new-comment-line): Use it (indirectly).
9916 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9917 modify comment-line-break-function.
9919 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9920 (smie-setup): Use add-function to set it.
9922 2013-05-24 Sam Steingold <sds@gnu.org>
9924 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9925 argument (before the `interactive' argument).
9927 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9929 * image-mode.el (image-mode-winprops): Add winprops to
9930 image-mode-winprops-alist before running
9931 image-mode-new-window-functions.
9932 * doc-view.el (doc-view-new-window-function): Don't delay
9933 doc-view-goto-page via timers (bug#14435).
9935 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9937 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9938 (doc-view-desktop-save-buffer): New function.
9939 (doc-view-restore-desktop-buffer): New function.
9940 (desktop-buffer-mode-handlers):
9941 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9943 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9944 `desktop-save-buffer' function.
9946 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9948 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9949 (tramp-gvfs-file-name-handler): Raise a user error when
9950 `tramp-gvfs-enabled' is nil.
9951 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9952 Do not raise a user error when loading package. (Bug#14447)
9954 * net/xesam.el: Move to obsolete/.
9956 2013-05-24 Glenn Morris <rgm@gnu.org>
9958 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9960 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9962 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9963 (Info-find-node, Man-getpage-in-background): Declare.
9965 * mail/unrmail.el (unrmail):
9966 Replace obsolete detect-coding-with-priority.
9968 * net/socks.el (socks-split-string): Use this rather than split-string.
9969 (socks-nslookup-host): Update for above change.
9970 (dynamic-choice, s5-dynamic-choice-match)
9971 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9972 Comment out unused code.
9974 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9975 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9976 (gud-tooltip-echo-area): Make obsolete.
9977 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9979 * progmodes/js.el (js--optimize-arglist): Declare.
9981 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9983 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9984 (ediff-window-C): Declare.
9986 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9987 Tweak requires to silence compiler.
9989 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9990 (he-search-string, he-tried-table, he-expand-list)
9991 (he-init-string, he-string-member, he-substitute-string)
9992 (he-reset-string): Declare.
9994 * obsolete/options.el (list-options): Use custom-variable-p,
9995 rather than obsolete alias.
9997 2013-05-23 Sam Steingold <sds@gnu.org>
9999 * simple.el (shell-command-on-region): Pass the `replace' argument
10000 down to `call-process-region' to comply with the doc as reported on
10001 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10003 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10005 * emacs-lisp/smie.el (smie-indent-forward-token)
10006 (smie-indent-backward-token): Handle string tokens (bug#14381).
10008 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10010 * ielm.el (ielm-menu): New menu.
10011 (inferior-emacs-lisp-mode): Set comment-start.
10013 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10015 * textmodes/reftex.el (reftex-ref-style-toggle):
10016 Fix deactivate action.
10018 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10019 Add cleveref macros.
10021 * textmodes/reftex-parse.el
10022 (reftex-locate-bibliography-files): Accept options for
10023 bibliography commands.
10024 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10025 Add addbibresource. Basic Biblatex support.
10027 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10029 * net/tramp-gvfs.el (top):
10030 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10031 when loading package. (Bug#14447)
10033 2013-05-23 Glenn Morris <rgm@gnu.org>
10035 * progmodes/js.el: No need to load comint when compiling.
10036 (ring-insert, comint-send-string, comint-send-input)
10037 (comint-last-input-end, ido-chop): Declare.
10039 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10040 * vc/ediff-mult.el: Adjust requires.
10041 (ediff-directories-internal, ediff-directory-revisions-internal)
10042 (ediff-patch-file-internal): Declare.
10043 * vc/ediff-ptch.el: Adjust requires.
10044 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10045 (ediff-find-file): Autoload.
10046 * vc/ediff-util.el: No need to load ediff when compiling.
10047 (ediff-regions-internal): Declare.
10048 * vc/ediff-wind.el: Adjust requires.
10049 (ediff-compute-toolbar-width): Define when compiling.
10050 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10051 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10052 (dired-get-filename, dired-get-marked-files)
10053 (ediff-last-dir-patch, ediff-patch-default-directory)
10054 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10055 (ediff-patch-buffer-internal): Declare.
10057 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10058 (ispell-process, ispell-buffer-local-words, lm-summary)
10059 (lm-section-start, lm-section-end): Declare.
10060 (checkdoc-ispell-init): Simplify.
10062 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10063 (he-string-member, he-reset-string, he-substitute-string): Declare.
10065 * eshell/em-ls.el: Adjust requires.
10066 (eshell-glob-regexp): Declare.
10067 * eshell/em-tramp.el: Adjust requires.
10068 (eshell-parse-command): Autoload.
10069 * eshell/em-xtra.el: Adjust requires.
10070 (eshell-parse-command): Autoload.
10071 * eshell/esh-ext.el: Adjust requires.
10072 (eshell-parse-command, eshell-close-handles): Autoload.
10073 * eshell/esh-io.el: Adjust requires.
10074 (eshell-output-filter): Autoload.
10075 * eshell/esh-util.el: No need to load tramp when compiling.
10076 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10078 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10079 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10080 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10081 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10082 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10083 * eshell/esh-opt.el, eshell/esh-proc.el:
10084 * eshell/esh-var.el: Adjust requires.
10085 * eshell/eshell.el: Do not require esh-util twice.
10086 (eshell-add-input-to-history): Declare.
10087 (eshell-command): Check history module is active before using it.
10089 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10091 2013-05-22 Leo Liu <sdl.web@gmail.com>
10093 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10095 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10097 * autorevert.el (auto-revert-notify-add-watch)
10098 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10099 it indicates changes in file modification time.
10101 2013-05-22 Glenn Morris <rgm@gnu.org>
10103 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10104 Always delete the autoloaded function from the noruntime and
10105 unresolved functions lists.
10107 * allout.el: No need to load epa, epg, overlay when compiling.
10108 (epg-context-set-passphrase-callback, epg-list-keys)
10109 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10110 (epg-key-user-id-list): Declare.
10112 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10113 (viper-set-parsing-style-toggling-macro)
10114 (viper-set-emacs-state-searchstyle-macros):
10115 Use called-interactively-p on Emacs.
10116 (viper-looking-back): Make it an obsolete alias. Update callers.
10117 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10118 Use looking-back rather than viper-looking-back.
10119 (viper-tmp-insert-at-eob, viper-enlarge-region)
10120 (viper-read-string-with-history, viper-register-to-point)
10121 (viper-append-to-register, viper-change-state-to-vi)
10122 (viper-backward-char-carefully, viper-forward-char-carefully)
10123 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10124 (viper-change-state-to-emacs): Declare.
10125 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10126 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10127 * emulation/viper-mous.el: Do not load viper-cmd.
10128 (viper-backward-char-carefully, viper-forward-char-carefully)
10129 (viper-forward-word, viper-adjust-window): Declare.
10131 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10133 * progmodes/idlw-help.el (idlwave-help-fontify):
10134 Use called-interactively-p.
10136 * term/w32console.el (w32-get-console-codepage)
10137 (w32-get-console-output-codepage): Declare.
10139 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10140 Remove unnecessary declarations.
10141 (dframe-message): Doc fix.
10143 * info.el (dframe-select-attached-frame, dframe-current-frame):
10146 * speedbar.el (speedbar-message): Make it an obsolete alias.
10147 Update all callers.
10148 (speedbar-with-attached-buffer)
10149 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10150 (speedbar-with-writable): Use backquote.
10151 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10152 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10153 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10154 rather than speedbar- aliases.
10155 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10156 (speedbar-make-specialized-keymap, speedbar-insert-button)
10157 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10158 (speedbar-do-function-pointer): Declare.
10159 (rmail-speedbar-button, rmail-speedbar-find-file)
10160 (rmail-speedbar-move-message):
10161 Use dframe-with-attached-buffer rather than speedbar- alias.
10162 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10163 (dframe-message, speedbar-make-specialized-keymap)
10164 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10165 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10166 (speedbar-insert-button, dframe-select-attached-frame)
10167 (dframe-maybee-jump-to-attached-frame)
10168 (speedbar-change-initial-expansion-list)
10169 (speedbar-previously-used-expansion-list-name): Declare.
10170 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10171 Use dframe-message, dframe-with-attached-buffer rather than
10173 (gud-sentinel): Silence compiler.
10174 * progmodes/vhdl-mode.el (speedbar-refresh)
10175 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10176 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10177 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10178 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10179 (speedbar-file-lists, speedbar-make-tag-line)
10180 (speedbar-line-directory, speedbar-goto-this-file)
10181 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10182 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10183 (speedbar-make-button, speedbar-reset-scanners)
10184 (speedbar-files-item-info, speedbar-line-text)
10185 (speedbar-find-file-in-frame, speedbar-set-timer)
10186 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10187 (speedbar-with-writable): Do not (re)define it.
10188 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10189 rather than speedbar- alias.
10191 2013-05-21 Leo Liu <sdl.web@gmail.com>
10193 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10195 (octave-mode): Tweak fill-nobreak-predicate.
10196 (inferior-octave-startup): Check process to avoid infinite loop.
10197 (inferior-octave): Pop to buffer first to show abornmal process
10200 2013-05-21 Glenn Morris <rgm@gnu.org>
10202 * printing.el (pr-menu-bar): Define when compiling.
10204 2013-05-21 Leo Liu <sdl.web@gmail.com>
10206 * progmodes/octave.el (octave-auto-fill): Remove.
10207 (octave-indent-new-comment-line): Improve.
10208 (octave-mode): Use auto fill mode through
10209 comment-line-break-function and fill-nobreak-predicate.
10210 (octave-goto-function-definition): Support DEFUN_DLD.
10211 (octave-beginning-of-defun): Small tweak.
10212 (octave-help): Show parent directory.
10214 2013-05-21 Glenn Morris <rgm@gnu.org>
10216 * files.el (dired-unmark):
10217 * progmodes/gud.el (gdb-input): Update declarations.
10219 * calculator.el (electric, ehelp): No need to load when compiling.
10220 (Electric-command-loop, electric-describe-mode): Declare.
10222 * doc-view.el (doc-view-current-converter-processes): Move before use.
10224 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10225 Move MODE-set-explicitly definition before use.
10227 * international/mule-diag.el (mule-diag):
10228 Don't use obsolete window-system-version.
10230 * mail/feedmail.el (smtpmail): No need to load when compiling.
10231 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10233 * mail/mail-utils.el (rfc822): No need to load when compiling.
10234 (rfc822-addresses): Autoload it.
10235 (mail-strip-quoted-names): Trivial simplification.
10237 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10238 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10240 * net/snmp-mode.el (tempo): Don't duplicate requires.
10242 * progmodes/prolog.el (info): No need to load when compiling.
10243 (comint): Require before shell requires it.
10244 (Info-goto-node): Autoload it.
10245 (Info-follow-nearest-node): Declare.
10246 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10248 * textmodes/artist.el (picture-mode-exit): Declare.
10250 * textmodes/reftex-parse.el (reftex-parse-from-file):
10251 Trivial rewrite so the compiler can parse it better.
10253 2013-05-20 Leo Liu <sdl.web@gmail.com>
10255 * progmodes/octave.el (octave-help-mode-map)
10256 (octave-help-mode-finish-hook): New variables.
10257 (octave-help-mode, octave-help-mode-finish): New functions.
10258 (octave-help): Use octave-help-mode.
10260 2013-05-20 Glenn Morris <rgm@gnu.org>
10262 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10264 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10266 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10267 start at point, so that expansion starting right after opening
10268 slash in a regexp is recognized.
10269 (ruby-syntax-before-regexp-re): New defvar, extracted from
10270 ruby-syntax-propertize-function. Since the value of this regexp
10271 is looked up at runtime now, we should be able to turn
10272 `ruby-syntax-methods-before-regexp' into a defcustom later.
10273 (ruby-syntax-propertize-function): Split regexp matching into two
10274 parts, for opening and closing slashes. That allows us to skip
10275 over string interpolations and support multiline regexps.
10276 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10277 for them, which calls `ruby-syntax-propertize-expansion'.
10278 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10279 call to `ruby-syntax-propertize-function'.
10280 (ruby-syntax-propertize-expansion): Extracted from
10281 `ruby-syntax-propertize-expansions'. Handles one expansion.
10282 (ruby-syntax-propertize-percent-literal): Leave point right after
10283 the percent symbol, so that the expression expansion rule can
10284 propertize the contents.
10285 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10287 (ruby-syntax-propertize-expansions): Remove.
10289 2013-05-18 Juri Linkov <juri@jurta.org>
10291 * man.el (Man-default-man-entry): Remove `-' from the end
10292 of the default value. (Bug#14400)
10294 2013-05-18 Glenn Morris <rgm@gnu.org>
10296 * comint.el (comint-password-prompt-regexp):
10297 Allow "password for XXX" where XXX contains colons (eg https://...).
10299 2013-05-18 Leo Liu <sdl.web@gmail.com>
10301 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10302 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10303 (octave-source-directories): Don't check process.
10304 (octave-source-directories, octave-find-definition): Doc fix.
10306 2013-05-18 Glenn Morris <rgm@gnu.org>
10308 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10309 Remove backspace/delete bindings. (Bug#14392)
10311 * cus-dep.el (custom-make-dependencies): Sort the output.
10312 (custom-versions-load-alist): Convert comment to doc.
10314 2013-05-17 Leo Liu <sdl.web@gmail.com>
10316 * newcomment.el (comment-search-backward): Stricter in finding
10317 comment start. (Bug#14303)
10319 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10320 (octave-comment-start-skip): Properly anchored.
10322 2013-05-17 Leo Liu <sdl.web@gmail.com>
10324 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10325 Clean up when turned off. (Bug#14395)
10326 (smie--highlight-matching-block-overlay): No longer buffer-local.
10327 (smie-highlight-matching-block): Adjust.
10329 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10331 Doc string fix for "nanoseconds" (Bug#14406).
10332 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10333 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10335 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10337 * calc/calc-units.el (math-extract-units): Preserve powers
10340 2013-05-17 Leo Liu <sdl.web@gmail.com>
10342 * subr.el (delete-consecutive-dups): New function.
10343 * ido.el (ido-set-matches-1): Use it.
10344 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10345 * ido.el (ido-remove-consecutive-dups): Remove.
10347 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10349 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10350 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10351 regexp-opt's `words'.
10353 2013-05-16 Leo Liu <sdl.web@gmail.com>
10355 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10356 (smie--highlight-matching-block-overlay)
10357 (smie--highlight-matching-block-lastpos)
10358 (smie--highlight-matching-block-timer): New variables.
10359 (smie-highlight-matching-block): New function.
10360 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10361 (smie-setup): Conditionally enable smie-blink-matching-open.
10363 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10365 Sync with upstream verilog-mode r840.
10366 * progmodes/verilog-mode.el (verilog-mode-version)
10367 (verilog-mode-release-date): Update.
10368 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10369 (verilog-sig-tieoff): Fix string error on
10370 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10371 (verilog-read-decls): Fix parameters confusing
10372 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10374 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10376 * subr.el (reveal-filename): New function.
10378 * loadup.el: Compute Emacs executable versions on MS-Windows,
10379 where executables have the .exe extension. Add a hard link
10380 emacs-XX.YY.ZZ.exe on MS-Windows.
10382 * Makefile.in (XARGS_LIMIT): New variable.
10383 (custom-deps, finder-data, autoloads)
10384 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10385 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10386 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10387 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10389 2013-05-16 Leo Liu <sdl.web@gmail.com>
10391 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10392 (octave-mode-menu, octave-mode-map): Remove its uses.
10394 2013-05-16 Reto Zimmermann <reto@gnu.org>
10396 Sync with upstream vhdl mode v3.34.2.
10397 * progmodes/vhdl-mode.el: Use `push' throughout.
10398 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10399 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10400 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10401 (vhdl-actual-generic-name): New option to derive actual generic name.
10402 (vhdl-port-paste-signals): Replace formal by actual generics.
10403 (vhdl-beautify): New name for old group vhdl-align. Update users.
10404 (vhdl-beautify-options): New option.
10405 (vhdl-last-input-event): New compat alias. Use throughout.
10406 (vhdl-goto-line): Replace user level function `goto-line'.
10407 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10408 vhdl-fix-statement-buffer.
10409 (vhdl-create-mode-menu): Add some entries.
10410 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10411 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10412 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10413 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10414 to force statements on one line.
10415 (vhdl-remove-trailing-spaces-region):
10416 New, split from vhdl-remove-trailing-spaces.
10417 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10418 Respect vhdl-beautify-options.
10419 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10420 (vhdl-update-sensitivity-list): Not add with index if exists without.
10421 Not include array index with signal. Ignore keywords in comments.
10422 (vhdl-get-visible-signals): Regexp tweaks.
10423 (vhdl-template-component-inst): Handle empty library.
10424 (vhdl-template-type): Add template for 'enum' type.
10425 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10426 Use vhdl-replace-string.
10427 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10428 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10429 (vhdl-speedbar-initialize): Update for above name change.
10430 (vhdl-compose-wire-components): Fix in handling of constants.
10431 (vhdl-error-regexp-emacs-alist): New variable.
10432 (vhdl-error-regexp-add-emacs): New function;
10433 adds support for new compile.el (Emacs 22+)
10434 (vhdl-generate-makefile-1): Change target order for single lib. units.
10435 Allow use of absolute file names.
10437 2013-05-16 Leo Liu <sdl.web@gmail.com>
10439 * simple.el (prog-indent-sexp): Indent enclosing defun.
10441 2013-05-15 Glenn Morris <rgm@gnu.org>
10443 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10444 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10445 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10446 (whitespace-highlight): Move to whitespace group.
10448 * comint.el (comint-source):
10449 * pcmpl-linux.el (pcmpl-linux):
10450 * shell.el (shell-faces):
10451 * eshell/esh-opt.el (eshell-opt):
10452 * international/ccl.el (ccl): Remove empty custom groups.
10454 * completion.el (dynamic-completion-mode):
10455 * jit-lock.el (jit-lock-debug-mode):
10456 * minibuffer.el (completion-in-region-mode):
10457 * type-break.el (type-break-mode-line-message-mode)
10458 (type-break-query-mode):
10459 * emulation/tpu-edt.el (tpu-edt-mode):
10460 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10461 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10462 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10464 * term/xterm.el (xterm): Change parent group to terminals.
10466 * master.el (master): Remove empty custom group.
10467 (master-mode): Remove unused :group argument.
10468 * textmodes/refill.el (refill): Remove empty custom group.
10469 (refill-mode): Remove unused :group argument.
10471 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10473 * cus-dep.el: Provide a feature.
10474 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10475 Don't mistakenly ignore files whose basenames match a basename
10476 from preloaded-file-list (eg cedet/ede/simple.el).
10477 Add a fallback method for getting :group.
10479 2013-05-15 Juri Linkov <juri@jurta.org>
10481 * isearch.el (isearch-char-by-name): Rename from
10482 `isearch-insert-char-by-name'. Doc fix.
10483 (isearch-forward): Mention `isearch-char-by-name' in
10484 the docstring. (Bug#13348)
10486 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10487 `exit-minibuffer' instead of
10488 `isearch-nonincremental-exit-minibuffer'.
10489 (isearch-edit-string): Remove mention of
10490 `isearch-nonincremental-exit-minibuffer' from docstring.
10491 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10492 (isearch-forward-exit-minibuffer)
10493 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10495 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10497 * loadup.el: Just use unversioned DOC.
10499 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10500 literals as extending to EOB.
10501 (nxml-last-fontify-end): Remove unused variable.
10502 (nxml-after-change1): Use with-silent-modifications.
10503 (nxml-extend-after-change-region): Simplify.
10504 (nxml-extend-after-change-region1): Remove function.
10505 (nxml-after-change1): Don't adjust for dependent regions.
10506 (nxml-fontify-matcher): Simplify.
10507 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10508 (xmltok-add-dependent): Remove function.
10509 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10510 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10511 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10512 unclosed <[[, <?, comment, and other literals as extending to EOB.
10513 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10514 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10516 (rng-do-some-validation-1): Don't mark dependent regions.
10517 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10518 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10519 (nxml-clear-dependent-regions): Remove functions.
10520 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10521 (nxml-ensure-scan-up-to-date):
10522 Don't clear&mark dependent regions.
10524 2013-05-15 Leo Liu <sdl.web@gmail.com>
10526 * progmodes/octave.el (octave-goto-function-definition):
10527 Improve and fix callers.
10529 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10531 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10532 the setter (bug#14387).
10534 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10535 surrounding group (bug#14402).
10537 2013-05-14 Juri Linkov <juri@jurta.org>
10539 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10542 2013-05-14 Glenn Morris <rgm@gnu.org>
10544 * progmodes/f90.el (f90-imenu-generic-expression):
10545 Fix typo in 2013-05-08 change. (Bug#14402)
10547 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10549 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10550 Remove signals for which replies are never received.
10552 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10554 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10555 (gdb-handler-alist, gdb-handler-number): Remove variables.
10556 (gdb-handler-list): New variable.
10557 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10558 (gdb-pending-handler-p, gdb-handle-reply)
10559 (gdb-remove-all-pending-triggers): New functions.
10560 (gdb-discard-unordered-replies): New defcustom.
10561 (gdb-handler): New defstruct.
10562 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10563 instead of gdb-pending-triggers. Update docstring.
10564 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10565 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10566 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10567 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10568 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10569 (gdb-frame-handler): Pending triggers are now automatically managed.
10570 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10572 (gdb-input): Automatically handles pending triggers. Update docstring.
10573 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10574 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10576 (gdb-done-or-error): Now use gdb-handle-reply.
10578 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10580 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10583 2013-05-14 Glenn Morris <rgm@gnu.org>
10585 * subr.el (user-emacs-directory-warning): New option.
10586 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10588 2013-05-14 Leo Liu <sdl.web@gmail.com>
10590 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10592 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10593 (octave-font-lock-texinfo-comment): Fix invalid search bound
10594 error: wrong side of point.
10596 2013-05-14 Glenn Morris <rgm@gnu.org>
10598 * progmodes/flymake.el (flymake-xml-program): New option.
10599 (flymake-xml-init): Use it.
10601 * term/xterm.el: Provide a feature.
10603 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10605 2013-05-13 Glenn Morris <rgm@gnu.org>
10607 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10608 Add compat aliases as a hack workaround. (Bug#14384)
10610 2013-05-13 Leo Liu <sdl.web@gmail.com>
10612 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10614 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10616 (octave-comment-start-skip): Include %!.
10617 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10619 2013-05-12 Leo Liu <sdl.web@gmail.com>
10621 * progmodes/octave.el (inferior-octave-startup): Store the value
10622 of __octave_srcdir__ for octave-source-directories.
10623 (inferior-octave-check-process): New function refactored out of
10624 inferior-octave-send-list-and-digest.
10625 (octave-source-directories)
10626 (octave-find-definition-filename-function): New variables.
10627 (octave-source-directories)
10628 (octave-find-definition-default-filename): New functions.
10629 (octave-find-definition): Improve to find functions implemented in C++.
10631 2013-05-12 Glenn Morris <rgm@gnu.org>
10633 * calendar/diary-lib.el (diary-outlook-format-1):
10634 Don't include dayname in the output. (Bug#14349)
10636 2013-05-11 Glenn Morris <rgm@gnu.org>
10638 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10640 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10641 Treat cc-provide like provide.
10643 2013-05-11 Kevin Ryde <user42@zip.com.au>
10645 * cus-dep.el (custom-make-dependencies):
10646 Use generated-autoload-load-name for the sake of files such
10647 such cedet/semantic/bovine/c.el, where the base file name
10648 is not in load-path. (Bug#5277)
10650 2013-05-11 Glenn Morris <rgm@gnu.org>
10652 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10655 2013-05-11 Leo Liu <sdl.web@gmail.com>
10657 * progmodes/octave.el (octave-indent-comment): Improve.
10658 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10659 (octave-eldoc-function-signatures, octave-eldoc-function):
10661 (octave-mode, inferior-octave-mode): Add eldoc support.
10663 2013-05-11 Richard Stallman <rms@gnu.org>
10665 * epa.el (epa-decrypt-file): Take output file name as argument
10666 and read it using `interactive'.
10668 2013-05-11 Leo Liu <sdl.web@gmail.com>
10670 * progmodes/octave.el (octave-beginning-of-line)
10671 (octave-end-of-line): Check before using up-list because it jumps
10672 out of more syntactic contructs since moving to smie.
10673 (octave-indent-comment): New function.
10674 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10675 (octave-begin-keywords, octave-end-keywords)
10676 (octave-reserved-words, octave-smie-bnf-table)
10677 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10679 2013-05-11 Glenn Morris <rgm@gnu.org>
10681 * faces.el (internal-face-x-get-resource):
10682 * frame.el (ns-display-monitor-attributes-list):
10683 * calc/calc-aent.el (math-to-radians-2):
10684 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10687 * calc/calc-menu.el: Make it loadable in isolation.
10689 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10690 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10691 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10692 (eudc-bbdb-query-internal): Require 'bbdb.
10694 * lpr.el (lpr-headers-switches):
10695 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10697 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10699 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10701 * term.el (term-set-escape-char): Make it idempotent.
10703 2013-05-10 Leo Liu <sdl.web@gmail.com>
10705 * progmodes/octave.el (inferior-octave-completion-table):
10706 No longer a function and all uses changed. Use cache to speed up
10707 completion due to bug#11906.
10708 (octave-beginning-of-defun): Re-write to be more general.
10710 2013-05-10 Glenn Morris <rgm@gnu.org>
10712 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10714 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10716 * comint.el (comint-redirect-send-command-to-process): Use :around
10717 rather than :override for comint-redirect-filter.
10718 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10719 Call it instead of comint-redirect-original-filter-function (which
10720 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10722 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10724 * frame.el (display-monitor-attributes-list): Add NS case.
10725 (ns-display-monitor-attributes-list): Declare.
10727 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10729 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10731 2013-05-09 Glenn Morris <rgm@gnu.org>
10733 * international/fontset.el (vertical-centering-font-regexp):
10734 Set standard-value.
10736 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10738 * bookmark.el (bookmark-search-delay):
10739 * cus-start.el (vertical-centering-font-regexp):
10740 * ps-mule.el (ps-mule-font-info-database-default):
10741 * ps-print.el (ps-default-fg, ps-default-bg):
10742 * type-break.el (type-break-good-break-interval):
10743 * whitespace.el (whitespace-indentation-regexp)
10744 (whitespace-space-after-tab-regexp):
10745 * emacs-lisp/testcover.el (testcover-1value-functions)
10746 (testcover-noreturn-functions, testcover-progn-functions)
10747 (testcover-prog1-functions):
10748 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10749 * eshell/em-glob.el (eshell-glob-translate-alist):
10750 * play/tetris.el (tetris-tty-colors):
10751 * progmodes/cpp.el (cpp-face-default-list):
10752 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10753 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10754 (idlwave-help-browser-generic-args):
10755 * progmodes/make-mode.el (makefile-special-targets-list):
10756 * progmodes/python.el (python-shell-virtualenv-path):
10757 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10758 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10759 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10760 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10761 * textmodes/reftex-vars.el (reftex-format-label-function):
10762 * textmodes/remember.el (remember-diary-file): Fix custom types.
10764 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10767 2013-05-09 Leo Liu <sdl.web@gmail.com>
10769 * progmodes/octave.el (inferior-octave-completion-at-point):
10770 Restore file completion. (Bug#14300)
10771 (inferior-octave-startup): Fix incorrect highlighting for the
10774 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10776 * progmodes/ruby-mode.el: First cut at SMIE support.
10777 (ruby-use-smie): New var.
10778 (ruby-smie-grammar): New constant.
10779 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10780 (ruby-smie--forward-token, ruby-smie--backward-token)
10781 (ruby-smie-rules): New functions.
10782 (ruby-mode-variables): Setup SMIE if applicable.
10784 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10786 * simple.el (line-move-visual): Signal beginning/end of buffer
10787 only if vertical-motion moved less than it was requested. Avoids
10788 silly incorrect error messages when there are display strings with
10789 multiple newlines at EOL.
10791 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10793 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10794 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10795 (prolog-char-quote-workaround):
10796 * progmodes/cperl-mode.el (cperl-under-as-char):
10797 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10799 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10801 (vhdl-mode-syntax-table-init): Remove.
10803 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10806 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10808 (ld-script-font-lock-keywords):
10809 Change regexps to use things like \_< and \_>.
10811 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10812 Change all regexps to use things like \_< and \_>.
10814 * progmodes/autoconf.el (autoconf-definition-regexp)
10815 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10816 Handle a _ with symbol syntax.
10817 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10819 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10820 Consolidate declaration.
10821 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10823 (ada-create-syntax-table): Remove.
10824 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10825 already has the right syntax nowadays.
10826 (ada-goto-next-word): Don't change the syntax of "_".
10828 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10831 2013-05-08 Sam Steingold <sds@gnu.org>
10833 * thingatpt.el (thing-at-point): Accept optional second argument
10834 NO-PROPERTIES to strip the text properties from the return value.
10835 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10836 to `thing-at-point' instead of stripping the properties ourselves.
10837 Also, when `thing-at-point' fails to find a url, prepend "http://"
10838 to the filename at point on the assumption that the user is
10839 pointing at something like gnu.org/gnu.
10841 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10843 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10844 * faces.el (crm-separator):
10845 Silence byte-compiler.
10847 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10848 (tool-bar-map): Remove unneeded defvars.
10850 2013-05-08 Leo Liu <sdl.web@gmail.com>
10852 Re-work a fix for bug#10994 based on Le Wang's patch.
10853 * ido.el (ido-remove-consecutive-dups): New helper.
10854 (ido-completing-read): Use it.
10855 (ido-chop): Revert fix for bug#10994.
10857 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10859 * cus-edit.el (custom-save-variables):
10860 Pretty-print long values. (Bug#14187)
10862 2013-05-08 Glenn Morris <rgm@gnu.org>
10864 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10865 (m4-mode-syntax-table): Init in the defvar.
10866 (m4-mode-abbrev-table): Let define-derived-mode define it.
10868 2013-05-08 Tom Tromey <tromey@redhat.com>
10870 * progmodes/m4-mode.el (m4-mode-syntax-table):
10871 Do not treat "_" as word constituent. (Bug#14167)
10873 2013-05-07 Glenn Morris <rgm@gnu.org>
10875 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10876 Remove explicit eshell-isearch-cancel-map.
10878 * progmodes/f90.el (f90-smart-end-names): New option.
10879 (f90-smart-end): Doc fix.
10880 (f90-end-block-optional-name): New constant.
10881 (f90-block-match): Respect f90-smart-end-names.
10883 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10885 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10886 about implicit semi-colons (bug#14218).
10888 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10890 * frame.el (display-monitor-attributes-list)
10891 (frame-monitor-attributes): New functions.
10893 2013-05-06 Leo Liu <sdl.web@gmail.com>
10895 * progmodes/octave.el (octave-syntax-propertize-function): Change
10896 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10897 (octave-font-lock-keywords): Use octave-operator-regexp.
10898 (octave-completion-at-point): Rename from
10899 octave-completion-at-point-function.
10900 (inferior-octave-directory-tracker): Robustify.
10901 (octave-text-functions): Remove and fix its uses. No such things
10904 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10906 * emacs-lisp/trace.el (trace--display-buffer): New function.
10907 (trace-make-advice): Use it.
10909 2013-05-06 Juri Linkov <juri@jurta.org>
10911 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10912 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10914 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10915 in the help string. (Bug#12985)
10917 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10919 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10921 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10923 * progmodes/perl-mode.el: Add support for here documents.
10924 (perl-syntax-propertize-function): Match here-doc markers.
10925 (perl-syntax-propertize-special-constructs): Find their end.
10926 (perl-imenu-generic-expression): Use [:alnum:].
10928 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10929 (advice--add-function): Refresh the advice if already present
10932 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10934 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10936 2013-05-06 Glenn Morris <rgm@gnu.org>
10938 * w32-fns.el (w32-charset-info-alist): Declare.
10940 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10941 of its defcustom properties.
10942 (eshell-cmpl-initialize): No need to load pcomplete.
10944 * generic-x.el: No need to require comint when compiling.
10946 * net/eudc-export.el: Make it loadable without bbdb.
10947 (top-level): Use require rather than load-library.
10948 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10949 (eudc-batch-export-records-to-bbdb)
10950 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10953 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10955 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10956 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10957 some tweaks, instead.
10959 2013-05-05 Leo Liu <sdl.web@gmail.com>
10961 * progmodes/octave.el (octave-font-lock-keywords)
10962 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10963 (inferior-octave-send-list-and-digest): Improve error message.
10964 (octave-mode, inferior-octave-mode): Use setq-local.
10965 (octave-help): Set info-lookup-mode.
10967 2013-05-05 Richard Stallman <rms@gnu.org>
10969 * vc/compare-w.el (compare-windows-whitespace):
10970 Treat no-break space as whitespace.
10972 * mail/rmailsum.el (rmail-summary-rmail-update):
10973 Detect empty summary and don't change selected message.
10974 (rmail-summary-goto-msg): Likewise.
10976 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10977 Doc fixes, rename args.
10979 2013-05-05 Alan Mackenzie <acm@muc.de>
10981 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10983 2013-05-05 Juri Linkov <juri@jurta.org>
10985 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10986 to not add the length of the summary segment to the return value.
10989 2013-05-05 Leo Liu <sdl.web@gmail.com>
10991 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10992 (inferior-octave-output-filter): Remove.
10993 (octave-send-region, inferior-octave-startup): Fix callers.
10994 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10995 (octave-binary-file-extensions): New user variable.
10996 (octave-find-definition): Confirm if opening binary files.
10997 (octave-help-file): Use octave-find-definition to get the binary
10999 (octave-help): Adjust for octave-help-file change.
11001 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11003 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11004 Merge the two entries that handle function definitions.
11005 (pascal--syntax-propertize): New const.
11006 (pascal-mode): Use it. Use setq-local.
11008 2013-05-04 Glenn Morris <rgm@gnu.org>
11010 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11011 (diary-from-outlook): Respect diary-from-outlook-function.
11013 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11015 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11016 Move the declaration from C.
11017 (read-minibuffer, eval-minibuffer): Move from C.
11018 (completion-setup-function): Avoid minibuffer-completion-contents.
11020 2013-05-03 Leo Liu <sdl.web@gmail.com>
11022 * progmodes/octave.el (octave-font-lock-keywords): Do not
11023 dehighlight 'end' in comments or strings.
11024 (octave-completing-read, octave-goto-function-definition):
11026 (octave-help-buffer): New user variable.
11027 (octave-help-file, octave-help-function): New button types.
11028 (octave-help): New command and bind it to C-h ;.
11029 (octave-find-definition): New command and bind it to M-.
11030 (user-error): Alias to error if not defined.
11032 2013-05-02 Leo Liu <sdl.web@gmail.com>
11034 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11036 (octave-font-lock-keywords): Include [ and {.
11038 2013-05-02 Leo Liu <sdl.web@gmail.com>
11040 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11041 (inferior-octave): Remove calling comint-mode and return the buffer.
11042 (inferior-octave-startup): Cosmetic changes.
11044 2013-05-02 Leo Liu <sdl.web@gmail.com>
11046 * progmodes/octave.el (octave-syntax-propertize-function):
11047 Include the case when ' is at line beginning. (Bug#14336)
11049 2013-05-02 Glenn Morris <rgm@gnu.org>
11051 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11052 * desktop.el (vc-dir-mode): Just autoload it here.
11054 2013-05-02 Alan Mackenzie <acm@muc.de>
11056 Eliminate variable c-standard-font-lock-fontify-region-function.
11057 * progmodes/cc-mode.el
11058 (c-standard-font-lock-fontify-region-function): Remove.
11059 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11061 2013-05-01 Leo Liu <sdl.web@gmail.com>
11063 * progmodes/octave.el: Compatible with older emacs-24 releases.
11064 (inferior-octave-has-built-in-variables): Remove. Built-in
11065 variables were removed from Octave in 2007.
11066 (inferior-octave-startup): Fix uses.
11067 (comint-line-beginning-position): Remove compatibility code for
11070 2013-05-01 Juri Linkov <juri@jurta.org>
11072 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11074 2013-05-01 Juri Linkov <juri@jurta.org>
11076 * comint.el (comint-previous-matching-input): Don't print message
11077 "History item: %d" when `isearch-mode' is active.
11078 (comint-history-isearch-message): Print message "History item: %d"
11079 when `comint-input-ring-index' is not empty and this function is
11080 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11082 2013-05-01 Leo Liu <sdl.web@gmail.com>
11084 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11085 definitions. Use completion-at-point to insert keywords.
11086 (octave-abbrev-start): Remove.
11087 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11089 2013-04-30 Leo Liu <sdl.web@gmail.com>
11091 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11094 2013-04-30 Alan Mackenzie <acm@muc.de>
11096 Handle arbitrarily long C++ member initialisation lists.
11097 * progmodes/cc-engine.el (c-back-over-member-initializers):
11099 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11100 (most) member init lists.
11102 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11104 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11107 2013-04-30 Leo Liu <sdl.web@gmail.com>
11109 * progmodes/octave.el (octave-variables): Remove. No builtin
11110 variables any more. All converted to functions.
11111 (octave-font-lock-keywords, octave-completion-at-point-function):
11113 (octave-font-lock-texinfo-comment): New user variable.
11114 (octave-texinfo-font-lock-keywords): New variable for texinfo
11116 (octave-function-comment-block): New face.
11117 (octave-font-lock-texinfo-comment): New function.
11118 (octave-mode): Font lock texinfo comment block.
11120 2013-04-29 Leo Liu <sdl.web@gmail.com>
11122 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11123 indexing expression.
11124 (octave-continuation-string): Do not use \.
11125 (inferior-octave-complete-impossible): Remove.
11126 (inferior-octave-completion-table)
11127 (inferior-octave-completion-at-point): Remove its uses.
11128 (inferior-octave-startup): completion_matches was introduced to
11129 Octave in 1996 so safe to assume it.
11130 (octave-function-file-comment): Improve to follow how Octave does it.
11131 (octave-update-function-file-comment): Tweak.
11133 2013-04-29 Leo Liu <sdl.web@gmail.com>
11135 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11136 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11137 (octave-function-file-comment): Fix typo.
11138 (octave-sync-function-file-names): Use read-char-choice.
11140 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11142 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11143 to t for the less important warnings.
11145 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11147 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11149 2013-04-27 Glenn Morris <rgm@gnu.org>
11151 * vc/log-view.el (log-view-current-entry):
11152 Treat "---" separator lines as part of the following rev. (Bug#14169)
11154 2013-04-27 Juri Linkov <juri@jurta.org>
11156 * subr.el (read-number): Doc fix about using it by interactive
11157 code letter `n'. (Bug#14254)
11159 2013-04-27 Juri Linkov <juri@jurta.org>
11161 * desktop.el (desktop-auto-save-timeout): New option.
11162 (desktop-file-checksum): New variable.
11163 (desktop-save): Add optional arg `auto-save' and don't auto-save
11164 if nothing changed.
11165 (desktop-auto-save-timer): New variable.
11166 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11167 (after-init-hook): Call `desktop-auto-save-set-timer'.
11168 Suggested by Reuben Thomas <rrt@sc3d.org> in
11169 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11171 2013-04-27 Leo Liu <sdl.web@gmail.com>
11173 * progmodes/octave.el (octave-function-file-p)
11174 (octave-skip-comment-forward, octave-function-file-comment)
11175 (octave-update-function-file-comment): New functions.
11176 (octave-mode-map): Bind C-c ; to
11177 octave-update-function-file-comment.
11178 (octave-mode-menu): Add octave-update-function-file-comment.
11179 (octave-mode, inferior-octave-mode): Fix doc-string.
11180 (octave-insert-defun): Conform to Octave's coding convention.
11183 * files.el (basic-save-buffer): Don't let errors in
11184 before-save-hook prevent saving buffer.
11186 2013-04-20 Roland Winkler <winkler@gnu.org>
11188 * faces.el (read-face-name): Use completing-read if arg multiple
11191 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11193 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11194 displayed, move point to after the totals line.
11195 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11198 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11200 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11201 Add current dir to the load-path.
11202 (package-generate-autoloads): Don't rely on
11203 autoload-ensure-default-file.
11205 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11207 * textmodes/remember.el (remember-store-in-files): Document that
11208 the file name format is passed to `format-time-string'.
11210 2013-04-26 Leo Liu <sdl.web@gmail.com>
11212 * progmodes/octave.el (octave-sync-function-file-names): New function.
11213 (octave-mode): Use it in before-save-hook.
11215 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11217 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11220 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11221 \n and comment, even if it's not an implicit ; (bug#14218).
11223 2013-04-26 Glenn Morris <rgm@gnu.org>
11225 * subr.el (read-number): Once more use `read' rather than
11226 `string-to-number', to trap non-numeric input. (Bug#14254)
11228 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11230 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11231 Use `syntax-multiline' text property consistently instead of
11232 `font-lock-multiline'. (Bug#14237)
11234 2013-04-26 Glenn Morris <rgm@gnu.org>
11236 * emacs-lisp/shadow.el (list-load-path-shadows):
11237 No longer necessary to check for duplicate simple.el, since
11238 2012-07-07 change to init_lread to not include installation lisp
11239 directories in load-path when running uninstalled. (Bug#14270)
11241 2013-04-26 Leo Liu <sdl.web@gmail.com>
11243 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11244 (octave-mode, inferior-octave-mode): Use setq-local.
11245 (octave-not-in-string-or-comment-p): Rename to
11246 octave-in-string-or-comment-p.
11247 (octave-in-comment-p, octave-in-string-p)
11248 (octave-in-string-or-comment-p): Replace defsubst with defun.
11250 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11252 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11254 2013-04-25 Bastien Guerry <bzg@gnu.org>
11256 * textmodes/remember.el (remember-data-directory)
11257 (remember-directory-file-name-format): Fix custom types.
11259 2013-04-25 Leo Liu <sdl.web@gmail.com>
11261 * progmodes/octave.el (octave-completion-at-point-function):
11262 Make use of inferior octave process.
11263 (octave-initialize-completions): Remove.
11264 (inferior-octave-completion-table): New function.
11265 (inferior-octave-completion-at-point): Use it.
11266 (octave-completion-alist): Remove.
11268 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11270 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11271 (opascal-mode-syntax-table): New var.
11272 (opascal-literal-kind, opascal-is-literal-end)
11273 (opascal-literal-token-at): Rewrite.
11274 (opascal--literal-start-re, opascal-font-lock-keywords)
11275 (opascal--syntax-propertize): New constants.
11276 (opascal-font-lock-defaults): Adjust.
11277 (opascal-mode): Use them. Set comment-<foo> variables as well.
11278 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11279 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11280 (delphi-other-face, opascal-other-face): Remove face variables.
11281 (opascal-save-state): Remove macro.
11282 (opascal-fontifying-progress-step): Remove constant.
11283 (opascal--ignore-changes): Remove var.
11284 (opascal-set-token-property, opascal-parse-next-literal)
11285 (opascal-is-stable-literal, opascal-complete-literal)
11286 (opascal-is-literal-start, opascal-face-of)
11287 (opascal-parse-region, opascal-parse-region-until-stable)
11288 (opascal-fontify-region, opascal-after-change)
11289 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11290 (opascal-debug-parse-region, opascal-debug-parse-window)
11291 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11292 (opascal-debug-fontify-buffer): Remove.
11293 (opascal-debug-mode-map): Adjust accordingly.
11295 2013-04-25 Leo Liu <sdl.web@gmail.com>
11297 Merge octave-mod.el and octave-inf.el into octave.el with some
11299 * progmodes/octave.el: New file renamed from octave-mod.el.
11300 * progmodes/octave-inf.el: Merged into octave.el.
11301 * progmodes/octave-mod.el: Renamed to octave.el.
11303 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11305 * textmodes/reftex-vars.el
11306 (reftex-label-ignored-macros-and-environments): New defcustom.
11308 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11310 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11312 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11313 (smie-indent-keyword): Improve the check to ensure that the next
11314 comment is really on the same line.
11315 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11317 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11318 semi-colons if the line is not otherwise empty (bug#14218).
11320 2013-04-25 Glenn Morris <rgm@gnu.org>
11322 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11324 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11326 * progmodes/opascal.el (opascal-set-token-property): Rename from
11327 opascal-set-text-properties and only set `token' (bug#14134).
11328 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11329 (opascal-literal-text-properties): Remove.
11330 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11333 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11335 * textmodes/remember.el (remember-handler-functions): Add an
11336 option for a new handler `remember-store-in-files'.
11337 (remember-data-directory, remember-directory-file-name-format):
11339 (remember-store-in-files): New function to store remember notes
11340 as separate files within a directory.
11342 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11344 * progmodes/compile.el (compilation-next-error-function):
11345 Pass "formats" to compilation-find-file (bug#11777).
11347 2013-04-24 Glenn Morris <rgm@gnu.org>
11349 * vc/vc-bzr.el (vc-bzr-print-log):
11350 * vc/vc-hg.el (vc-hg-print-log):
11351 * vc/vc-svn.el (vc-svn-print-log):
11352 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11354 * vc/vc-bzr.el (vc-bzr-print-log):
11355 * vc/vc-cvs.el (vc-cvs-print-log):
11356 * vc/vc-git.el (vc-git-print-log):
11357 * vc/vc-hg.el (vc-hg-print-log):
11358 * vc/vc-mtn.el (vc-mtn-print-log):
11359 * vc/vc-rcs.el (vc-rcs-print-log):
11360 * vc/vc-sccs.el (vc-sccs-print-log):
11361 * vc/vc-svn.el (vc-svn-print-log):
11362 * vc/vc.el (vc-print-log-internal): Doc fixes.
11364 2013-04-23 Glenn Morris <rgm@gnu.org>
11366 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11367 Remove venerable code attempting to avoid substitute-command-keys.
11369 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11371 * textmodes/reftex-vars.el (reftex-label-regexps):
11372 Call `reftex-compile-variables' after changes to this variable.
11374 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11376 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11377 Use lexical-binding.
11378 (jit-lock-force-redisplay): Use markers, check buffer's continued
11379 existence and beware narrowed buffers.
11380 (jit-lock-fontify-now): Adjust call accordingly.
11382 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11384 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11385 to avoid misleading the user.
11387 2013-04-22 Leo Liu <sdl.web@gmail.com>
11389 * info-look.el: Prefer latex2e.info. (Bug#14240)
11391 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11393 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11395 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11396 * net/tramp.el (tramp-call-process): ... here.
11397 (tramp-set-completion-function, tramp-parse-putty):
11398 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11399 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11400 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11401 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11402 (tramp-call-local-coding-command): Use `tramp-call-process'
11403 instead of `tramp-compat-call-process'.
11405 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11406 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11407 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11408 (tramp-find-inline-compress): Improve traces.
11409 (tramp-maybe-send-script): Check for Perl binary.
11410 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11412 2013-04-22 Daiki Ueno <ueno@gnu.org>
11414 * epg.el (epg-context-pinentry-mode): New function.
11415 (epg-context-set-pinentry-mode): New function.
11416 (epg--start): Pass --pinentry-mode option to gpg command.
11418 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11420 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11421 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11422 `completion-at-point'. (Bug#13774)
11424 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11425 default key binding for `describe-distribution' has been moved to
11426 `C-h C-o'. (Bug#13970)
11428 2013-04-21 Glenn Morris <rgm@gnu.org>
11430 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11432 (vc-print-log): Clarify interactive prompt.
11434 2013-04-20 Glenn Morris <rgm@gnu.org>
11436 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11437 No longer include timestamp etc information.
11439 2013-04-20 Roland Winkler <winkler@gnu.org>
11441 * faces.el (read-face-name): Bug fix, return just one face if arg
11442 multiple is nil. (Bug#14209)
11444 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11446 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11447 (remove-function): Autoload.
11449 * comint.el (comint-redirect-original-filter-function): Remove.
11450 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11451 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11452 (vc-cvs-annotate-command):
11453 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11454 * progmodes/prolog.el (prolog-consult-compile):
11455 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11456 Use add/remove-function instead.
11457 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11458 (gud-tooltip-process-output, gud-tooltip-tips):
11459 Use add/remove-function instead.
11460 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11461 (scheme-interaction-mode, exit-scheme-interaction-mode):
11462 Use add/remove-function instead.
11464 * vc/vc-dispatcher.el: Use lexical-binding.
11465 (vc--process-sentinel): Rename from vc-process-sentinel.
11466 Change last arg to be the code to run. Don't use vc-previous-sentinel
11467 and vc-sentinel-commands any more.
11468 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11469 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11471 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11473 * progmodes/sh-script.el (sh-imenu-generic-expression):
11474 Handle function names with a single character. (Bug#14111)
11476 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11478 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11479 for subroutines defined in an eval (bug#14182).
11481 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11483 * bookmark.el (bookmark-completing-read): Improve handling of empty
11484 string (bug#14176).
11486 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11488 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11490 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11492 New faster Imenu implementation (bug#14058).
11493 * progmodes/python.el:
11494 (python-imenu-prev-index-position):
11495 (python-imenu-format-item-label-function)
11496 (python-imenu-format-parent-item-label-function)
11497 (python-imenu-format-parent-item-jump-label-function):
11499 (python-imenu-format-item-label)
11500 (python-imenu-format-parent-item-label)
11501 (python-imenu-format-parent-item-jump-label)
11502 (python-imenu--put-parent, python-imenu--build-tree)
11503 (python-imenu-create-index, python-imenu-create-flat-index)
11504 (python-util-popn): New functions.
11505 (python-mode): Set imenu-create-index-function to
11506 python-imenu-create-index.
11508 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11510 * winner.el (winner-active-region): Use region-active-p, activate-mark
11511 and deactivate-mark (bug#14225).
11513 * simple.el (deactivate-mark): Don't inline it.
11515 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11517 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11519 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11521 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11522 file extensions from the archive-mode entry in order to prefer
11523 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11525 2013-04-18 Leo Liu <sdl.web@gmail.com>
11527 * bindings.el (help-event-list): Add ?\?.
11529 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11531 * subr.el (with-wrapper-hook): Declare obsolete.
11532 * simple.el (filter-buffer-substring-function): New hook.
11533 (filter-buffer-substring): Use it.
11534 (filter-buffer-substring-functions): Mark obsolete.
11535 * minibuffer.el (completion-in-region-function): New hook.
11536 (completion-in-region): Use it.
11537 (completion-in-region-functions): Mark obsolete.
11538 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11539 * abbrev.el (abbrev-expand-function): New hook.
11540 (expand-abbrev): Use it.
11541 (abbrev-expand-functions): Mark obsolete.
11542 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11543 and :filter-return.
11545 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11547 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11548 and do not care about match data.
11550 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11552 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11553 completion tables when completing error conditions and
11554 `declare' arguments.
11555 (lisp-complete-symbol, field-complete): Mark as obsolete.
11556 (check-parens): Unmatched parens are user errors.
11557 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11559 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11561 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11562 command changed buffer (ie. `flyspell-pre-buffer' is not current
11563 buffer), which prevents making decisions based on invalid value of
11564 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11565 cause an error when `flyspell-pre-point' was nil after switching
11567 (flyspell-post-command-hook): No longer needs to change buffers when
11568 checking pre-word. While at it remove unnecessary progn.
11570 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11572 * textmodes/ispell.el (ispell-add-per-file-word-list):
11573 Fix `flyspell-correct-word-before-point' error when accepting
11574 words and `coment-padding' is an integer by using
11575 `comment-normalize-vars' (Bug #14214).
11577 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11579 New defun movement commands.
11580 * progmodes/python.el (python-nav--syntactically)
11581 (python-nav--forward-defun, python-nav-backward-defun)
11582 (python-nav-forward-defun): New functions.
11584 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11586 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11587 (python-syntax-context): Use named compiler-macro for backwards
11588 compatibility with Emacs 24.x.
11590 2013-04-17 Leo Liu <sdl.web@gmail.com>
11592 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11593 octave-hide-process-buffer.
11595 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11597 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11600 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11602 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11603 Fix adjustment of offset when receiving incomplete responses from GDB
11606 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11608 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11609 python-mode-abbrev-table.
11610 (python-skeleton-define): Adjust accordingly.
11611 (python-mode-abbrev-table): New table that inherits from it so that
11612 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11614 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11615 (abbrev-symbol): Use it.
11616 (abbrev--before-point): Use it since we already handle inheritance.
11618 2013-04-16 Leo Liu <sdl.web@gmail.com>
11620 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11621 binding to info-lookup-symbol.
11623 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11625 * minibuffer.el (completion--twq-all):
11626 * term/ns-win.el (ns-initialize-window-system):
11627 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11629 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11631 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11634 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11636 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11638 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11639 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11641 (ruby-end-of-defun): Remove the unused arg, change the docstring
11642 to reflect that this function is only used as the value of
11643 `end-of-defun-function'.
11644 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11645 to reflect an earlier change that beginning/end-of-defun functions
11646 jump between methods in a class definition, as well as top-level
11649 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11651 * minibuffer.el (minibuffer-complete): Don't just scroll
11652 a *Completions* that's been iconified.
11653 (minibuffer-force-complete): Make sure repetitions do cycle when going
11654 through completion-in-region -> minibuffer-complete.
11656 2013-04-15 Alan Mackenzie <acm@muc.de>
11658 Correct the placement of c-cpp-delimiters when there're #s not at
11661 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11662 place a submatch around the #.
11663 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11664 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11667 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11669 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11670 (advice--member-p): New arg `name'.
11671 (advice--add-function, advice-member-p): Use it (bug#14202).
11673 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11675 Reformulate java imenu-generic-expression.
11676 The old expression contained ill formed regexps.
11678 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11679 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11680 (cc-imenu-java-method-arg-regexp): New defconsts.
11681 (cc-imenu-java-build-type-args-regex): New defun.
11682 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11683 handling of spaces in the regexp.
11685 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11687 * textmodes/ispell.el (ispell-command-loop): Remove
11688 flyspell highlight of a word when ispell accepts it (bug #14178).
11690 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11692 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11693 uses code from the previous `ange-ftp-run-real-handler'.
11694 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11695 only in case that function exist. This is needed for proper
11696 unloading of Tramp.
11698 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11700 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11702 * textmodes/reftex.el (reftex-compile-variables): Use it.
11704 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11706 * files.el (normal-mode): Only use default major-mode if no other mode
11709 * emacs-lisp/trace.el (trace-values): New function.
11711 * files.el: Allow : in local variables (bug#14089).
11712 (hack-local-variable-regexp): New var.
11713 (hack-local-variables-prop-line, hack-local-variables): Use it.
11715 2013-04-13 Roland Winkler <winkler@gnu.org>
11717 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11718 data before it gets modified by bibtex-beginning-of-entry.
11720 2013-04-13 Roland Winkler <winkler@gnu.org>
11722 * textmodes/bibtex.el (bibtex-url): Doc fix.
11724 2013-04-13 Roland Winkler <winkler@gnu.org>
11726 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11727 does not visit a BibTeX file, exclude it from the list of buffers
11728 returned by bibtex-initialize.
11730 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11732 * window.el (split-window): Remove interactive form, since as a
11733 command this function is a special case of split-window-below.
11734 Correct doc string.
11736 2013-04-12 Roland Winkler <winkler@gnu.org>
11738 * faces.el (read-face-name): Do not override value of arg default.
11739 Allow single faces and strings as default values. Remove those
11740 elements from return value that are not faces.
11741 (describe-face): Simplify.
11742 (face-at-point): New optional args thing and multiple so that this
11743 function can provide the same functionality previously provided by
11745 (make-face-bold, make-face-unbold, make-face-italic)
11746 (make-face-unitalic, make-face-bold-italic, invert-face)
11747 (modify-face, read-face-and-attribute): Use face-at-point.
11749 * cus-edit.el (customize-face, customize-face-other-window)
11750 * cus-theme.el (custom-theme-add-face)
11751 * face-remap.el (buffer-face-set)
11752 * facemenu.el (facemenu-set-face): Use face-at-point.
11754 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11756 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11758 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11760 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11761 off leading { and trailing } from field values.
11763 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11765 * emacs-lisp/timer.el (timer--check): New function.
11766 (timer--time, timer-set-function, timer-event-handler): Use it.
11767 (timer-set-idle-time): Simplify.
11768 (timer--activate): CSE.
11769 (timer-event-handler): Give more info in error message.
11770 (internal-timer-start-idle): New function, moved from C.
11772 * mpc.el (mpc-proc): Add `restart' argument.
11773 (mpc-proc-cmd): Use it.
11774 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11775 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11778 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11780 * progmodes/sh-script.el: Implement `sh-mode' own
11781 `add-log-current-defun-function' (bug#14112).
11782 (sh-current-defun-name): New function.
11783 (sh-mode): Use the function.
11785 2013-04-09 Bastien Guerry <bzg@gnu.org>
11787 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11789 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11791 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11793 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11796 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11798 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11801 2013-04-07 Leo Liu <sdl.web@gmail.com>
11803 * pcmpl-x.el: New file.
11805 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11807 Do not set x-display-name until X connection is established.
11808 This is needed to prevent from weird situation described at
11809 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11810 * frame.el (make-frame): Set x-display-name after call to
11811 window system initialization function, not before.
11812 * term/x-win.el (x-initialize-window-system): Add optional
11813 display argument and use it.
11814 * term/w32-win.el (w32-initialize-window-system):
11815 * term/ns-win.el (ns-initialize-window-system):
11816 * term/pc-win.el (msdos-initialize-window-system):
11817 Add compatible optional display argument.
11819 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11821 * files.el (normal-backup-enable-predicate): On MS-Windows and
11822 MS-DOS compare truenames of temporary-file-directory and of the
11823 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11824 don't fail comparison by compare-strings. Also, compare file
11825 names case-insensitively on MS-Windows and MS-DOS.
11827 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11829 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11830 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11832 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11834 * whitespace.el (whitespace-color-on, whitespace-color-off):
11835 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11837 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11839 * ispell.el (ispell-set-spellchecker-params):
11840 Really set `ispell-args' for all equivs.
11842 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11844 * ido.el (ido-completions): Use extra elements of ido-decorations
11846 (ido-decorations): Update docstring.
11848 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11850 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11851 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11852 nil during initialization, in order not to miss changes since the
11853 file was opened. (Bug#14140)
11855 2013-04-05 Leo Liu <sdl.web@gmail.com>
11857 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11859 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11861 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11863 2013-04-04 Glenn Morris <rgm@gnu.org>
11865 * electric.el (electric-pair-inhibit-predicate): Add :version.
11867 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11869 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11870 when a package is required several times (bug#14082).
11872 2013-04-04 Roland Winkler <winkler@gnu.org>
11874 * faces.el (read-face-name): Behave as promised by the docstring.
11875 Assume that arg default is a list of faces.
11876 (describe-face): Call read-face-name with list of default faces.
11878 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11880 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11881 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11882 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11884 (bookmark-exit-hook-internal): Save even if list is empty.
11886 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11888 * emacs-lisp/package.el (package-pinned-packages): New var.
11889 (package--add-to-archive-contents): Obey it (bug#14118).
11891 2013-04-03 Alan Mackenzie <acm@muc.de>
11893 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11894 Also adapt to the new values of element 7 of a parse state.
11896 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11897 parameter `not-in-delimiter'. Handle being inside comment opener.
11898 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11899 character in case we're typing a '*' after a '/'.
11900 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11901 instead by passing the parameter to c-state-pp-to-literal.
11903 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11904 for elt. 7 of a parse state.
11906 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11908 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11909 * international/latin1-disp.el, international/mule-util.el:
11910 * language/cyril-util.el, language/european.el, language/ind-util.el:
11911 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11912 * language/tibetan.el, language/viet-util.el:
11913 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11915 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11917 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11918 (electric-pair-post-self-insert-function): Use it.
11919 (electric-pair-default-inhibit): New function, extracted from
11920 electric-pair-post-self-insert-function.
11922 2013-03-31 Roland Winkler <winkler@gnu.org>
11924 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11926 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11928 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11930 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11932 Un-indent after "pass" and "return" statements (Bug#13888)
11933 * progmodes/python.el (python-indent-block-enders): New var.
11934 (python-indent-calculate-indentation): Use it.
11936 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11938 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11939 defun. Defining it as defalias could introduce too eager
11940 byte-compiler optimization. (Bug#14030)
11942 2013-03-30 Chong Yidong <cyd@gnu.org>
11944 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11946 2013-03-30 Leo Liu <sdl.web@gmail.com>
11948 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11949 (kmacro-execute-from-register): Pass the keyboard macro to
11950 kmacro-call-macro or repeating won't work correctly.
11952 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11954 * progmodes/subword.el: Back to using `forward-symbol'.
11956 * subr.el (forward-whitespace, forward-symbol)
11957 (forward-same-syntax): Move from thingatpt.el.
11959 2013-03-29 Leo Liu <sdl.web@gmail.com>
11961 * kmacro.el (kmacro-to-register): New command.
11962 (kmacro-execute-from-register): New function.
11963 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11965 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11967 * mpc.el: Use defvar-local and setq-local.
11968 (mpc--proc-connect): Connection failures are not bugs.
11969 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11970 (mpc-volume-map): Bind to the up-events.
11972 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11974 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11975 instead of `forward-symbol'.
11977 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11979 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11980 (edebug--recursive-edit): Use it.
11981 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11982 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11984 2013-03-28 Leo Liu <sdl.web@gmail.com>
11986 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11988 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11990 * facemenu.el (list-colors-callback): New defvar.
11991 (list-colors-redisplay): New function.
11992 (list-colors-display): Install list-colors-redisplay as the
11993 revert-buffer-function. (Bug#14063)
11995 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11997 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11998 and suffixes don't overlap (bug#14061).
12000 * case-table.el: Use lexical-binding.
12001 (case-table-get-table): New function.
12002 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12004 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12006 * progmodes/subword.el: Add `superword-mode' to do word motion
12007 over symbol_words (parallels and leverages `subword-mode' which
12008 does word motion inside MixedCaseWords).
12010 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12012 * eshell/em-unix.el: Move su and sudo to...
12013 * eshell/em-tramp.el: ...Eshell tramp module.
12015 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12017 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12018 Change return value to be a sexp. Delay `get-buffer' to after
12019 restoring the desktop (bug#13951).
12021 2013-03-26 Leo Liu <sdl.web@gmail.com>
12023 * register.el: Move semantic tag handling back to
12024 cedet/semantic/senator.el. (Bug#14052)
12026 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12028 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12029 into the prompt either (bug#13963).
12031 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12033 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12034 part of "(error-foo)".
12036 2013-03-24 Juri Linkov <juri@jurta.org>
12038 * replace.el (list-matching-lines-prefix-face): New defcustom.
12039 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12040 `occur-engine' if `face-differs-from-default-p' returns t.
12041 (occur-engine): Add `,' inside backquote construct to evaluate
12042 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12043 Pass `prefix-face' to the functions `occur-context-lines' and
12044 `occur-engine-add-prefix'.
12045 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12046 `prefix-face' and propertize the prefix with `prefix-face'.
12049 2013-03-24 Leo Liu <sdl.web@gmail.com>
12051 * nxml/rng-valid.el (rng-validate-while-idle)
12052 (rng-validate-quick-while-idle): Guard against deleted buffer.
12055 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12056 is the last entry in kill-buffer-hook.
12058 * files.el (kill-buffer-hook): Doc fix.
12060 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12062 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12063 Make it safe-local.
12065 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12067 2013-03-23 Leo Liu <sdl.web@gmail.com>
12069 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12072 * nxml/rng-valid.el (rng-validate-mode)
12073 (rng-after-change-function, rng-do-some-validation):
12074 * nxml/rng-maint.el (rng-validate-buffer):
12075 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12076 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12077 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12078 (nxml-extend-after-change-region): Use with-silent-modifications.
12080 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12083 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12084 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12085 timer-idle-list. (Bug#13999)
12087 2013-03-23 Juri Linkov <juri@jurta.org>
12089 * info.el (info-index-match): New face.
12090 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12091 main pattern and add text properties with the new face to matches
12092 in index entries relative to the beginning of the index entry.
12095 2013-03-21 Eric Ludlam <zappo@gnu.org>
12097 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12098 Inhibit read only while inserting objects.
12100 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12102 * progmodes/cfengine.el: Update docs to mention
12103 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12104 symbol motion. Remove "_" from the word syntax.
12106 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12108 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12109 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12111 2013-03-20 Juri Linkov <juri@jurta.org>
12113 * info.el (Info-next-reference-or-link)
12114 (Info-prev-reference-or-link): New functions.
12115 (Info-next-reference, Info-prev-reference): Use them.
12116 (Info-try-follow-nearest-node): Handle footnote navigation.
12117 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12119 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12121 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12122 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12124 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12126 Suppress unnecessary non-ASCII chatter during build process.
12127 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12128 (batch-skkdic-convert): Suppress most of the chatter.
12129 It's not needed so much now that machines are faster,
12130 and its non-ASCII component was confusing; see Dmitry Gutov in
12131 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12133 2013-03-20 Leo Liu <sdl.web@gmail.com>
12135 * ido.el (ido-chop): Fix bug#10994.
12137 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12139 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12141 (whitespace-color-on, whitespace-color-off):
12142 Use `font-lock-fontify-buffer' (Bug#13817).
12144 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12146 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12147 remapping in mode-line.
12148 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12150 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12152 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12153 value for `whitespace-line' face (Bug#13875).
12154 (whitespace-font-lock-keywords): Change description.
12155 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12156 the constructed keywords instead.
12157 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12159 2013-03-19 Leo Liu <sdl.web@gmail.com>
12161 * progmodes/compile.el (compilation-display-error): New command.
12162 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12165 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12167 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12169 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12171 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12173 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12175 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12177 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12178 * net/tramp-gvfs.el (top):
12179 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12180 (tramp-handle-shell-command): Use it.
12181 (tramp-dissect-file-name): Raise an error when hostname is a
12182 method name, and neither method nor user is specified.
12184 * net/trampver.el: Update release number.
12186 2013-03-18 Leo Liu <sdl.web@gmail.com>
12188 Make sure eldoc can be turned off properly.
12189 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12191 (eldoc-display-message-p): Revert last change.
12192 (eldoc-display-message-no-interference-p)
12193 (eldoc-print-current-symbol-info): Tweak.
12195 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12197 * doc-view.el (doc-view-new-window-function): Check the new window
12198 overlay's display property instead the char property of the
12199 buffer's first char. Use `with-selected-window' instead of
12200 `save-window-excursion' with `select-window'.
12201 (doc-view-document->bitmap): Check the current doc-view overlay's
12202 display property instead the char property of the buffer's first char.
12204 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12206 Automate the build of ja-dic.el (Bug#13984).
12207 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12208 from the input, rather than assume that it's been done for us by the
12209 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12210 the current date into a ja-dic.el comment, as that complicates
12211 regression testing.
12213 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12215 * whitespace.el: Fix double evaluation.
12216 (whitespace-space, whitespace-hspace, whitespace-tab)
12217 (whitespace-newline, whitespace-trailing, whitespace-line)
12218 (whitespace-space-before-tab, whitespace-indentation)
12219 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12221 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12222 (whitespace-color-on): Use a single font-lock-add-keywords call.
12223 Fix double-evaluation of face variables.
12225 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12227 * net/tramp-adb.el (tramp-adb-parse-device-names):
12228 Use `start-process' instead of `call-process'. Otherwise, the
12229 function might be blocked under MS Windows. (Bug#13299)
12231 2013-03-17 Leo Liu <sdl.web@gmail.com>
12233 Extend eldoc to display info in the mode-line. (Bug#13978)
12234 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12235 (eldoc-mode-line-string): New variable.
12236 (eldoc-minibuffer-message): New function.
12237 (eldoc-message-function): New variable.
12238 (eldoc-message): Use it.
12239 (eldoc-display-message-p)
12240 (eldoc-display-message-no-interference-p):
12241 Support eldoc-post-insert-mode.
12243 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12244 (eval-expression): Run it.
12246 2013-03-17 Roland Winkler <winkler@gnu.org>
12248 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12249 strings in the list of return values.
12251 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12253 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12254 radix before checking for HMS forms.
12256 2013-03-16 Leo Liu <sdl.web@gmail.com>
12258 * progmodes/scheme.el: Add indentation and font-locking for λ.
12261 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12263 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12264 token before point (bug#13942).
12266 2013-03-16 Leo Liu <sdl.web@gmail.com>
12268 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12270 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12272 * startup.el (command-line-normalize-file-name): Fix handling of
12273 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12274 <xfq.free@gmail.com> in
12275 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12277 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12279 Sync with Tramp 2.2.7.
12281 * net/trampver.el: Update release number.
12283 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12285 * doc-view.el: Fix bug#13887.
12286 (doc-view-insert-image): Don't modify overlay associated to
12287 non-live windows, and implement horizontal centering of image in
12288 case it's smaller than the window.
12289 (doc-view-new-window-function): Force redisplay of new windows on
12292 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12294 * saveplace.el (save-place-alist-to-file): Don't sort
12295 `save-place-alist', just pretty-print it (bug#13882).
12297 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12299 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12300 Check whether `default-file-name-coding-system' is bound.
12301 It isn't in XEmacs.
12303 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12305 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12306 backquotes for `obsolete' (bug#13929).
12308 * international/mule.el (find-auto-coding): Include file name in
12309 obsolescence warning (bug#13922).
12311 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12313 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12314 for CFEngine 3-specific indentation.
12315 (cfengine3-indent-line): Use it. Fix up category regex.
12316 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12318 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12320 * type-break.el (type-break-file-name):
12321 * textmodes/remember.el (remember-data-file):
12322 * strokes.el (strokes-file):
12323 * shadowfile.el (shadow-initialize):
12324 * saveplace.el (save-place-file):
12325 * ps-bdf.el (bdf-cache-file):
12326 * progmodes/idlwave.el (idlwave-config-directory):
12327 * net/quickurl.el (quickurl-url-file):
12328 * international/kkc.el (kkc-init-file-name):
12329 * ido.el (ido-save-directory-list-file):
12330 * emulation/viper.el (viper-custom-file-name):
12331 * emulation/vip.el (vip-startup-file):
12332 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12333 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12335 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12337 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12338 * language/thai-word.el: Switch to UTF-8.
12340 See ChangeLog.16 for earlier changes.
12342 ;; Local Variables:
12346 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12348 This file is part of GNU Emacs.
12350 GNU Emacs is free software: you can redistribute it and/or modify
12351 it under the terms of the GNU General Public License as published by
12352 the Free Software Foundation, either version 3 of the License, or
12353 (at your option) any later version.
12355 GNU Emacs is distributed in the hope that it will be useful,
12356 but WITHOUT ANY WARRANTY; without even the implied warranty of
12357 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12358 GNU General Public License for more details.
12360 You should have received a copy of the GNU General Public License
12361 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.