1 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
5 2014-01-10 Chong Yidong <cyd@gnu.org>
7 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is
10 2014-01-10 Anders Lindgren <andlind@gmail.com>
12 * follow.el (follow-cache-command-list): Include right-char and
15 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
18 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
19 * woman.el (woman-mark-horizontal-position):
20 Rename from woman-mark-horizonal-position. Use changed.
22 2014-01-10 Glenn Morris <rgm@gnu.org>
24 * info.el (info-initialize): If running uninstalled, ensure our
25 own info files are always found first, even if INFOPATH is set.
27 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
29 2014-01-09 David Engster <deng@randomsample.de>
31 * emacs-lisp/eieio-custom.el:
32 * emacs-lisp/eieio-opt.el: Set generated autoload file to
33 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
34 * emacs-lisp/eieio.el: Regenerate autoloads.
36 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
38 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
39 following renames. (Bug#8756)
41 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
43 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
45 (activate-mark): Add `no-tmm' argument.
46 (set-mark, push-mark-command): Use it instead of running
47 activate-mark-hook by hand.
49 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
51 In preparation for the move to git, sanitize out some
52 Bazaar-specific names.
54 * version.el (emacs-bzr-version): Name changed to
55 emacs-repository-version. Obsolete-variable alias made.
56 * loadup.el: Follow through on this name change.
57 * lisp/mail/emacsbug.el (report-emacs-bug): Factor out any
58 assumption about the version control system in use.
60 2014-01-08 David Engster <deng@randomsample.de>
62 * help-fns.el (help-fns-describe-function-functions):
63 New variable to call functions for augmenting help buffers.
64 (describe-function-1): Remove explicit calls to
65 `help-fns--compiler-macro', `help-fns--parent-mode' and
66 `help-fns--obsolete'. Put them in above new variable instead, and
67 call them through `run-hook-with-args'.
68 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
69 `eieio-describe-class'. Not meant for interactive use anymore,
70 but to augment existing help buffers. Remove optional second
71 argument. Create proper button for file location.
72 Rewrite function to use `insert' instead of `princ' and `prin1' where
74 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
75 (eieio-method-def, eieio-class-def): Move further up.
76 (describe-method, describe-generic, eieio-describe-method):
78 (eieio-help-constructor, eieio-help-generic): Rename from
79 `eieio-describe-constructor' and `eieio-describe-generic', resp.
80 Rewrite to use `insert' in the current buffer and use proper help
82 (eieio-help-find-method-definition)
83 (eieio-help-find-class-definition): Also accept symbols as
85 (eieio-help-mode-augmentation-maybee): Remove.
86 (eieio-describe-class-sb): Use `describe-function'.
87 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
88 Add `eieio-help-generic' and `eieio-help-constructor'.
90 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
93 * language/china-util.el (hz-ascii-designation):
94 Rename from hz-ascii-designnation.
95 (hz-ascii-designation): Rename from hz-ascii-designnation.
98 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
100 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
103 2014-01-08 Bastien Guerry <bzg@gnu.org>
105 * emacs-lisp/package.el (package-delete):
106 Correctly delete the package from package-alist.
108 2014-01-08 Daiki Ueno <ueno@gnu.org>
110 * emacs-lisp/package.el (url-recreate-url): Declare.
111 (url-http-target-url): Declare.
112 (package-handle-response): Include requested URL in the error message.
113 (package--check-signature): Don't re-signal errors from
114 package--with-work-buffer. Suggested by Stefan Monnier.
116 2014-01-07 Bastien Guerry <bzg@gnu.org>
118 * minibuffer.el (completion--try-word-completion): When both a
119 hyphen and a space are possible candidates for the character
120 following a word, display both candidates. (Bug#15980)
122 2014-01-07 Martin Rudalics <rudalics@gmx.at>
124 * window.el (balance-windows-2): While rounding don't give a
125 window more than the remainder. Bug#16351, Bug#16383.
127 2014-01-07 Glenn Morris <rgm@gnu.org>
129 * menu-bar.el (menu-bar-help-extra-packages): Remove.
130 (menu-bar-help-menu): Use view-external-packages instead.
132 2014-01-07 Bastien Guerry <bzg@gnu.org>
134 * emacs-lisp/package.el (package-delete): Also delete the package
135 name from `package-alist', not its description only.
137 2014-01-07 Glenn Morris <rgm@gnu.org>
139 * help.el (view-external-packages):
140 * menu-bar.el (menu-bar-help-extra-packages):
141 Visit efaq.info rather than etc/MORE.STUFF.
143 2014-01-07 Juri Linkov <juri@jurta.org>
145 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
146 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
148 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
149 that shadows RET. (Bug#16342)
151 2014-01-07 Chong Yidong <cyd@gnu.org>
153 * isearch.el (isearch-yank-char, isearch-yank-word)
154 (isearch-yank-line): Doc fix.
156 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
158 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
159 * emacs-lisp/elint.el (elint-find-builtins):
160 * emacs-lisp/eldoc.el (eldoc-symbol-function):
161 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
162 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
163 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
164 * apropos.el (apropos-safe-documentation):
165 * subr.el (symbol-file): Remove redundant fboundp.
166 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
168 2014-01-06 Bastien Guerry <bzg@gnu.org>
170 * hl-line.el (global-hl-line-overlay): Make a local variable.
171 (global-hl-line-overlays): New variable to store all overlays.
172 (global-hl-line-mode): Don't delete overlays from the current
173 buffer when `global-hl-line-sticky-flag' is non-nil.
174 (global-hl-line-highlight): Add new overlays to
175 `global-hl-line-overlays'.
176 (global-hl-line-unhighlight-all): New function to delete all
177 overlays when turning off `global-hl-line-mode'.
178 This fixes Bug#16183.
180 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
182 * subr.el (set-transient-map): Fix nested case and docstring.
184 2014-01-06 Tassilo Horn <tsdh@gnu.org>
186 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
189 2014-01-06 Daniel Colascione <dancol@dancol.org>
191 Fix defun navigation in vc log view.
193 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
194 like `beginning-of-defun'.
195 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
196 log-view-end-of-defun to log-view-end-of-defun-1. Replace
197 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
198 (log-view-extract-comment): Call `log-view-current-entry' directly
199 instead of relying on broken `log-view-beginning-of-defun' behavior.
201 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
204 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
205 * emacs-lisp/debug.el (cancel-debug-on-entry):
206 * epg.el (epg-error-to-string):
207 * files.el (recover-file):
208 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
209 * mail/emacsbug.el (report-emacs-bug-hook):
210 * mail/sendmail.el (mail-recover):
211 * ses.el (ses-yank-resize):
212 * term/ns-win.el (ns-print-buffer):
213 Spelling fixes in diagnostics, mostly for "canceled" with one L.
214 * epg.el (epg-key-capability-alist): Rename from misspelled version.
216 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
218 2014-01-06 Leo Liu <sdl.web@gmail.com>
220 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
221 to avoid shadowning global key. (Bug#16354)
223 2014-01-06 Daniel Colascione <dancol@dancol.org>
225 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
228 2014-01-05 Martin Rudalics <rudalics@gmx.at>
230 * window.el (balance-windows): Add mising t to fix Bug#16351.
232 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
234 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
236 (shr-insert): If we have a word that's longer than `shr-width',
237 break after it anyway. Otherwise we'll do no breaking once we get
240 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
242 * net/eww.el (eww): Support single/double quote for search.
243 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
244 (eww-history-quit): Delete and use quit-window.
245 (eww-history-kill): Delete, because it doesn't work well and
247 (eww-history-mode-map): Delete some keys and add easy-menu.
249 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
251 Fix misspelling of 'chinese' in rx (Bug#16237).
252 * emacs-lisp/rx.el (rx-categories): Correct spelling of
255 Change subword regexps back to vars (Bug#16296).
256 * progmodes/subword.el (subword-forward-regexp)
257 (subword-backward-regexp): Change these back to variables.
259 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
261 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
262 syntax-begin-function (bug#16247).
264 2014-01-03 Chong Yidong <cyd@gnu.org>
266 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
267 (advice--docstring): Delete variable.
268 (advice--make-1): Leave the docstring empty.
269 (advice-add): Use function-documentation for advised docstring.
271 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
272 Ignore function-documentation property when getting documentation.
273 (ad-activate-advised-definition): Use function-documentation
274 generate the docstring.
275 (ad-make-advised-definition): Don't call
276 ad-make-advised-definition-docstring.
277 (ad-make-advised-definition-docstring, ad-advised-definition-p):
280 * progmodes/sql.el (sql-help): Use function-documentation instead
281 of dynamic-docstring-function property. No need to autoload now.
282 (sql--help-docstring): New variable.
283 (sql--make-help-docstring): Use it.
285 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
287 * ielm.el (ielm-tab): Retarget.
288 (ielm-map): Use ielm-tab for tab.
289 (ielm-complete-filename): Use comint-filename-completion.
290 (ielm-complete-symbol): Remove.
291 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
292 remove ielm-tab from completion-at-point-functions (bug#16224).
294 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
295 Beware signals raised by predicates (bug#16201).
297 2014-01-02 Richard Stallman <rms@gnu.org>
299 * dired-aux.el (dired-do-print): Handle printer-name.
301 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
302 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
303 (rmail-epa-decrypt): Turn off mime processing.
305 * mail/rmail.el (rmail-make-in-reply-to-field):
306 Add parens in message-id.
308 * mail/rmail.el (rmail-get-coding-function): Variable.
309 (rmail-get-coding-system): Use it.
311 2013-12-31 Eli Zaretskii <eliz@gnu.org>
313 * international/mule-conf.el: Unify the charset indian-is13194.
314 (indian-is13194): Specify unify-map.
316 2013-12-31 Leo Liu <sdl.web@gmail.com>
318 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
320 2013-12-30 Daniel Colascione <dancol@dancol.org>
322 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
323 of printing a useless when we resume from sleep.
325 * progmodes/sh-script.el
326 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
327 in indentation code. (Bug#16233)
329 2013-12-28 João Távora <joaotavora@gmail.com>
331 * elec-pair.el (electric-pair-post-self-insert-function):
332 Don't open extra newlines at beginning of buffer. (Bug#16272)
334 2013-12-28 Eli Zaretskii <eliz@gnu.org>
336 * frame.el (window-system-for-display): Don't allow to create a
337 GUI frame from a -nw session on MS-Windows. (Bug#14739)
339 2013-12-28 Glenn Morris <rgm@gnu.org>
341 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
344 * apropos.el (apropos-match-face):
345 * calculator.el (calculator-displayer):
346 * dabbrev.el (dabbrev-search-these-buffers-only):
347 * face-remap.el (buffer-face-mode-face):
348 * simple.el (yank-handled-properties):
349 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
350 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
351 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
352 (hashcash-double-spend-database):
353 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
354 (ruby-deep-indent-paren-style):
355 * textmodes/flyspell.el (flyspell-auto-correct-binding):
356 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
357 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
358 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
359 Specify custom types.
361 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
362 * bookmark.el (bookmark-bmenu-use-header-line):
363 * doc-view.el (doc-view-scale-internally):
364 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
365 * register.el (register-preview-delay):
366 * net/shr.el (shr-bullet):
367 * progmodes/cfengine.el (cfengine-cf-promises)
368 (cfengine-parameters-indent):
369 * progmodes/octave.el (inferior-octave-error-regexp-alist):
370 * textmodes/reftex-vars.el (reftex-label-regexps):
371 * vc/log-edit.el (log-edit-setup-add-author): Add version.
373 * net/tls.el (tls-certtool-program): Fix default value.
375 * desktop.el (desktop-restore-in-current-display):
376 * newcomment.el (comment-empty-lines):
377 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
378 (idlwave-pad-keyword):
379 * progmodes/tcl.el (tcl-tab-always-indent):
380 * textmodes/reftex-vars.el (reftex-index-default-tag):
381 * elec-pair.el (electric-pair-skip-whitespace):
382 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
384 * emacs-lisp/authors.el (authors-ignored-files)
385 (authors-valid-file-names, authors-renamed-files-alist): Additions.
387 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
389 * shell.el (shell-dynamic-complete-command): Doc fix.
390 (shell--command-completion-data): Shell completion now matches
391 executable filenames from the current buffer's directory, on
392 systems in which this behavior is the default (windows-nt, ms-dos).
394 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
396 * net/shr.el (shr-insert): Don't infloop if the width is zero.
398 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
400 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
403 * electric.el: Move all electric-pair-* to elec-pair.el.
404 * elec-pair.el: New file, split from electric.el.
406 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
408 * net/shr.el (shr-find-fill-point): Don't try to fill if the
409 indentation level is larger than the width, because that will
411 (shr-insert): Fill repeatedly long texts, so that Japanese is
412 formatted correctly (bug#16263).
413 (shr-find-fill-point): Off by one error in comparison with the
416 2013-12-26 João Távora <joaotavora@gmail.com>
418 * electric.el (electric-pair-mode): More flexible engine for skip-
419 and inhibit predicates, new options for pairing-related functionality.
420 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
421 if that keeps or improves their balance in buffers.
422 (electric-pair-delete-adjacent-pairs): Delete the pair when
423 backspacing over adjacent matched delimiters.
424 (electric-pair-open-extra-newline): Open extra newline when
425 inserting newlines between adjacent matched delimiters.
426 (electric--sort-post-self-insertion-hook):
427 Sort post-self-insert-hook according to priority values when
428 minor-modes are activated.
429 * simple.el (newline-and-indent): Call newline with interactive
431 (blink-paren-post-self-insert-function): Set priority to 100.
432 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
433 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
434 comments. Locally set electric-pair-skip-whitespace to 'chomp and
435 electric-pair-open-newline-between-pairs to nil.
437 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
439 * progmodes/python.el: Use lexical-binding.
440 (python-nav-beginning-of-defun): Stop searching ASAP.
442 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
444 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
445 Fix interactive spec. Doc fix. (Bug#15754)
447 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
449 * emacs-lisp/byte-run.el (eval-when-compile):
450 * progmodes/cc-defs.el (cc-eval-when-compile):
451 Fix edebug spec (bug#16184).
453 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
455 * net/shr.el (shr-visit-file): Remove debugging function.
456 (shr-insert): Don't infloop if we can't find a good place to break
457 the line (bug#16256).
459 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
461 * progmodes/python.el:
462 (python-nav--lisp-forward-sexp): New function.
463 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
464 python-nav-lisp-forward-sexp-safe.
465 (python-nav--forward-sexp): New argument SAFE allows switching
466 forward sexp movement behavior for parens.
467 (python-nav-forward-sexp): Throw errors on unterminated parens
469 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
470 (python-nav-backward-sexp-safe): New functions.
471 (python-shell-buffer-substring):
472 Use `python-nav-forward-sexp-safe'.
474 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
476 * net/shr.el (shr-find-fill-point): Don't break lines before a
478 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
479 (shr-find-fill-point): Remove the special checks for the quotation
480 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
482 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
484 * net/eww.el (eww-form-textarea): Use a different face for
485 textareas than text input since they have different keymaps
488 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
490 * progmodes/python.el (python-nav-beginning-of-statement):
491 Speed up (Bug#15295).
493 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
495 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
496 the window configuration.
498 2013-12-24 Eli Zaretskii <eliz@gnu.org>
500 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
501 we run on MS-Windows or MS-DOS.
503 2013-12-24 Martin Rudalics <rudalics@gmx.at>
505 * window.el (balance-windows-area): Call window-size instead of
506 window-height and window-width. Bug#16241.
508 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
510 * net/eww.el (eww-bookmark-quit): Remove.
511 (eww-bookmark-browse): Restore the window configuration when you
512 choose a bookmark (bug#16144).
514 2013-12-24 Daniel Colascione <dancol@dancol.org>
516 * icomplete.el: Remove redundant :group arguments to `defcustom'
518 (icomplete-show-matches-on-no-input): New customizable variable.
519 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
520 we have something to show.
521 (icomplete-exhibit): Compute completions even if we have no user input.
523 2013-12-23 Daniel Colascione <dancol@dancol.org>
525 * icomplete.el: Move `provide' to end of file.
527 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
529 * net/gnutls.el (gnutls-verify-error): Add version tag.
531 2013-12-23 Chong Yidong <cyd@gnu.org>
533 * subr.el (set-transient-map): Rename from
534 set-temporary-overlay-map. Doc fix.
536 * face-remap.el (text-scale-adjust):
537 * indent.el (indent-rigidly):
538 * kmacro.el (kmacro-call-macro):
539 * minibuffer.el (minibuffer-force-complete):
540 * repeat.el (repeat):
541 * simple.el (universal-argument--mode):
542 * calendar/todo-mode.el (todo-insert-item--next-param):
543 * progmodes/f90.el (f90-abbrev-start): Callers changed.
545 * indent.el (indent-rigidly): Use substitute-command-keys.
547 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
549 * net/eww.el (eww-tag-select): Add text-property to jump to next
551 (eww): Add non-supported ftp error.
553 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
555 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
556 comments. Handle electric indent after typing `?' and `!'.
558 2013-12-22 Chong Yidong <cyd@gnu.org>
560 * faces.el (face-spec-recalc): If the theme specs are not
561 applicable to a frame, fall back on the defface spec.
562 This prevents themes from obliterating faces on low-color terminals.
564 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
566 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
567 after `{'. We need it after block openers, and it doesn't seem
568 to hurt after hash openers.
570 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
572 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
573 extracted from `ruby-smie-rules'.
574 (ruby--electric-indent-chars): New variable.
575 (ruby--electric-indent-p): New function.
576 (ruby-mode): Use `electric-indent-functions' instead of
577 `electric-indent-chars'.
579 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
581 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
583 (ruby-smie-rules): Indent plus one level after `=>'.
585 2013-12-21 Richard Stallman <rms@gnu.org>
587 * simple.el (newline): Doc fix.
589 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
591 * net/eww.el (eww-list-histories, eww-list-histories)
592 (eww-history-browse, eww-history-quit, eww-history-kill)
593 (eww-history-mode-map, eww-history-mode): New command and
594 functions to list browser histories.
595 (eww-form-text): Support text form with disabled
596 and readonly attributes.
597 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
599 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
601 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
602 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
603 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
604 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
606 (eww-bookmark-mode-map): Add menu.
607 (eww-render, eww-mode): Use `setq-local'.
608 (eww-tool-bar-map): New variable.
609 (eww-mode): Set `tool-bar-map'.
610 (eww-view-source): Check for `html-mode' with `fboundp'.
612 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
614 * net/shr.el (shr--extract-best-source): Don't bug out on audio
615 elements with text inside. Also remove debugging.
617 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
619 * cus-start.el (all): Add ns-use-srgb-colorspace.
621 2013-12-21 Chong Yidong <cyd@gnu.org>
623 * custom.el (custom-theme-recalc-face): Do nothing if the face is
624 undefined. Thus, theme settings for undefined faces do not take
625 effect until the faces are defined with defface, the same as with
628 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
629 (face-spec-reset-face): Don't assign extra properties in temacs.
630 (face-spec-recalc): Apply X resources too.
632 2013-12-21 Chong Yidong <cyd@gnu.org>
634 * faces.el (face-spec-set):
635 * cus-face.el (custom-theme-set-faces, custom-set-faces):
636 * custom.el (defface): Doc fixes (Bug#16203).
638 * indent.el (indent-rigidly-map): Add docstring, and move commands
639 into named functions.
640 (indent-rigidly-left, indent-rigidly-right)
641 (indent-rigidly-left-to-tab-stop)
642 (indent-rigidly-right-to-tab-stop): New functions. Decide on
643 indentation direction based on bidi direction, and accumulate
644 sequential commands in a single undo boundary.
645 (indent-rigidly--pop-undo): New utility function.
647 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
649 * faces.el (read-face-name): Require crm.el when using crm-separator.
651 2013-12-20 Daniel Colascione <dancol@dancol.org>
653 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
654 so that we don't reflow comments into the shebang line.
656 2013-12-20 Juri Linkov <juri@jurta.org>
658 * saveplace.el (save-place-to-alist): Add `dired-filename' as
659 a position when `dired-directory' is non-nil. Check integer
660 positions with `integerp'.
661 (toggle-save-place, save-places-to-alist): Add check for
663 (save-place-find-file-hook): Check integer positions with
665 (save-place-dired-hook): Use `dired-goto-file' when
666 `dired-filename' is found in the assoc list. Check integer
667 positions with `integerp'.
668 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
670 * dired.el (dired-initial-position-hook): Rename back from
671 `dired-initial-point-hook'.
672 (dired-initial-position): Rename `dired-initial-point-hook' to
673 `dired-initial-position-hook'.
674 (dired-file-name-at-point): Doc fix. (Bug#15329)
676 2013-12-20 Juri Linkov <juri@jurta.org>
678 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
679 (read-regexp-suggestions): New function.
680 (read-regexp): Use `read-regexp-defaults-function' to get default values.
681 Use `read-regexp-suggestions'. Add non-empty default to history
683 (occur-read-regexp-defaults-function): Remove function.
684 (occur-read-primary-args): Use `regexp-history-last' instead of
685 `occur-read-regexp-defaults-function'.
687 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
688 (hi-lock-line-face-buffer, hi-lock-face-buffer)
689 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
690 `hi-lock-read-regexp-defaults-function'. Doc fix.
691 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
692 with `find-tag-default-as-symbol-regexp'. Doc fix.
693 (hi-lock-read-regexp-defaults): Remove function.
694 (hi-lock-regexp-okay): Add check for null.
696 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
697 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
699 * subr.el (find-tag-default-as-symbol-regexp): New function.
700 (find-tag-default-as-regexp): Move symbol regexp formatting to
701 `find-tag-default-as-symbol-regexp'.
703 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
705 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
708 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
710 * calendar/todo-mode.el: New implementation of item insertion
711 commands and key bindings.
712 (todo-key-prompt): New face.
713 (todo-insert-item): New command.
714 (todo-insert-item--parameters): New defconst, replacing defvar
715 todo-insertion-commands-args-genlist.
716 (todo-insert-item--param-key-alist): New defconst, replacing
717 defvar todo-insertion-commands-arg-key-list.
718 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
719 (todo-insert-item--argsleft, todo-insert-item--apply-args)
720 (todo-insert-item--next-param): New functions.
721 (todo-insert-item--args, todo-insert-item--argleft)
722 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
724 (todo-key-bindings-t): Change binding of "i" from
725 todo-insertion-map to todo-insert-item.
726 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
727 (todo-insertion-command-name, todo-insertion-commands-names)
728 (todo-define-insertion-command, todo-insertion-commands)
729 (todo-insertion-key-bindings, todo-insertion-map): Remove.
731 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
733 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
734 (todo-toggle-item-highlighting): Use eval-and-compile instead of
736 (todo-move-category): Allow choosing a non-existing todo file to
737 move the category to, and create that file.
738 (todo-default-priority): New user option.
739 (todo-set-item-priority): Use it.
740 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
741 (desktop-restore-file-buffer): Declare.
742 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
743 (todo-modes-set-2): Locally set desktop-save-buffer to
744 todo-desktop-save-buffer.
745 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
746 (auto-mode-alist): Add autoload cookie.
748 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
750 * emacs-lisp/subr-x.el: Renamed from helpers.el.
751 helpers.el was a poor choice of name.
752 (string-remove-prefix): New function.
753 (string-remove-suffix): New function.
755 2013-12-20 Martin Rudalics <rudalics@gmx.at>
757 Fix assignment for new window total sizes.
758 * window.el (window--pixel-to-size): Remove function.
759 (window--pixel-to-total-1, window--pixel-to-total):
760 Fix calculation of new total sizes.
762 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
764 * comint.el (comint-output-filter): Fix rear-nonsticky property
765 placement (Bug#16010).
767 2013-12-20 Chong Yidong <cyd@gnu.org>
769 * faces.el (read-color): Minor fix for completion function.
771 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
773 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
774 New option. (Bug#16182)
775 (ruby-smie--indent-to-stmt-p): Use it.
776 (ruby-smie-rules): Revert the logic in the handling of `when'.
777 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
778 (ruby-deep-arglist, ruby-deep-indent-paren)
779 (ruby-deep-indent-paren-style): Update docstrings to note that the
780 vars don't have any effect with SMIE.
782 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
784 * calc/calc.el (calc-enter, calc-pop): Use the variable
785 `calc-context-sensitive-enter'.
787 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
789 * net/shr.el (shr-insert): Protect against infloops in degenerate
792 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
794 * progmodes/octave.el (octave): Add link to manual and octave
796 (octave-mode-menu): Link to octave-mode manual.
798 2013-12-20 Leo Liu <sdl.web@gmail.com>
800 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
801 insertion using skeleton-end-newline. (Bug#16138)
803 2013-12-20 Juri Linkov <juri@jurta.org>
805 * replace.el (occur-engine): Use `add-face-text-property'
806 to add the face property to matches and titles. (Bug#14645)
808 * hi-lock.el (hi-green): Use lighter color "light green" closer to
809 the palette of other hi-lock colors.
810 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
812 2013-12-19 Juri Linkov <juri@jurta.org>
814 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
815 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
816 (minibuffer-history-symbol): Move variable declaration closer to
819 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
822 2013-12-19 Juri Linkov <juri@jurta.org>
824 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
826 (log-edit-hook): Add it to :options. (Bug#16170)
828 2013-12-19 Juri Linkov <juri@jurta.org>
830 * simple.el (eval-expression-print-format): Don't check for
831 command names and the last command. Always display additional
832 formats of the integer result in the echo area, and insert them
833 to the current buffer only with a zero prefix arg.
834 Display character when char-displayable-p is non-nil.
835 (eval-expression): With a zero prefix arg, set `print-length' and
836 `print-level' to nil, and insert the integer values from
837 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
839 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
840 `eval-last-sexp-arg-internal'. Doc fix.
841 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
842 `eval-last-sexp-print-value'. Doc fix.
843 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
844 Set `print-length' and `print-level' to nil when arg is zero.
845 (eval-last-sexp): Doc fix.
846 (eval-defun-2): Print the integer values from
847 `eval-expression-print-format' at the end.
849 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
850 values from `eval-expression-print-format' at the end.
852 * ielm.el (ielm-eval-input): Print the integer
853 values from `eval-expression-print-format' at the end.
855 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
857 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
858 2013-12-11T19:01:44Z!tzz@lifelogs.com.
860 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
862 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
863 (hl-line-highlight, global-hl-line-highlight): Use it.
864 (hl-line-overlay): Use defvar-local.
866 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
868 * term/ns-win.el: Require dnd.
869 (global-map): Remove drag items.
870 (ns-insert-text, ns-set-foreground-at-mouse)
871 (ns-set-background-at-mouse):
872 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
873 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
876 2013-12-19 Glenn Morris <rgm@gnu.org>
878 * emacs-lisp/ert.el (ert-select-tests):
879 Fix string/symbol mixup. (Bug#16121)
881 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
883 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
884 keywords to their parent.
886 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
888 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
889 first arg to be a string (fixed dead code), or an operator symbol.
890 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
892 (ruby-smie-rules): Remove parent token check in the `.' clause, it
893 did nothing. Don't respond to `(:after ".")', it will be called
894 with :before anyway. Remove the ` @ ' rule, it didn't seem to
895 change anything. Only return indentation for binary operators
896 when they are hanging. De-dent opening paren when its parent is
897 `.', otherwise it looks bad when the dot is not at bol or eol
900 2013-12-19 Juri Linkov <juri@jurta.org>
902 * replace.el (query-replace-read-args): Split a non-negative arg
903 and a negative arg into separate elements.
904 (query-replace, query-replace-regexp, replace-string)
905 (replace-regexp): Add arg `backward'. Doc fix.
906 (replace-match-maybe-edit): When new arg `backward' is non-nil,
907 move point to the beginning of the match.
908 (replace-search, replace-highlight): Use new arg `backward'
909 to set the value of `isearch-forward'.
910 (perform-replace): Add arg `backward' and use it to perform
911 replacement backward. (Bug#14979)
913 * isearch.el (isearch-query-replace): Use a negative prefix arg
914 to call `perform-replace' with a non-nil arg `backward'.
916 2013-12-18 Juri Linkov <juri@jurta.org>
918 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
919 to the default list. Move `log-edit-show-files' to the end.
920 Add more available functions to options.
921 (log-edit): Move default specific settings to
922 `log-edit-insert-message-template'. Don't move point.
923 (log-edit-insert-message-template): New function.
924 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
927 2013-12-18 Juri Linkov <juri@jurta.org>
929 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
930 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
932 2013-12-18 Leo Liu <sdl.web@gmail.com>
934 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
937 2013-12-18 Eli Zaretskii <eliz@gnu.org>
939 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
940 formats for displaying file sizes when the -s switch is given.
941 Instead, compute a separate format for displaying the size in
942 blocks, which is displayed in addition to the "regular" size.
943 When -h is given in addition to -s, produce size in blocks in
944 human-readable form as well. (Bug#16179)
946 2013-12-18 Tassilo Horn <tsdh@gnu.org>
948 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
949 Reference tables with ~\ref{...} instead of only \ref{...}.
951 2013-12-18 Chong Yidong <cyd@gnu.org>
953 * cus-edit.el (custom-magic-alist): Fix "themed" description
956 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
957 is non-nil, do not create a new entry in the symbol's theme-value
958 or theme-face property; update theme-settings only (Bug#14664).
959 (custom-available-themes): Doc fix.
961 * cus-theme.el (custom-new-theme-mode-map): Add bindings
964 * replace.el (occur-engine): Avoid infloop (Bug#7593).
966 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
968 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
971 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
973 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
975 2013-12-18 Glenn Morris <rgm@gnu.org>
977 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
978 * cus-start.el (load-prefer-newer): New option.
980 2013-12-18 Le Wang <l26wang@gmail.com>
982 * comint.el (comint-previous-matching-input-from-input):
983 Retain point (Bug#13404).
985 2013-12-18 Chong Yidong <cyd@gnu.org>
987 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
989 2013-12-18 Glenn Morris <rgm@gnu.org>
991 * mail/emacsbug.el (report-emacs-bug):
992 Only mention enable-multibyte-characters if non-standard.
994 2013-12-17 Juri Linkov <juri@jurta.org>
996 * arc-mode.el (archive-extract-by-file): Check if directory exists
997 before deletion to not show irrelevant errors if it doesn't exist.
999 2013-12-17 Juri Linkov <juri@jurta.org>
1001 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1004 * net/eww.el (browse-web): Add alias to `eww'.
1005 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1006 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1008 * net/browse-url.el (browse-url-browser-function): Move `eww'
1009 closer to similar functions.
1011 * startup.el (fancy-startup-screen, fancy-about-screen):
1012 Set browse-url-browser-function to eww-browse-url locally.
1015 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1017 * window.el (window--pixel-to-total): Remove unused `mini' var.
1018 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1019 (split-window): Remove unused `new' var.
1020 (window--display-buffer): Remove unused `frame' and `delta' vars.
1021 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1024 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1026 * dired.el (dired-mark-pop-up):
1027 * register.el (register-preview): Don't bind
1028 split-height-threshold here since it's now done in
1029 display-buffer-below-selected.
1031 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1033 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1034 xterm-rgb-convert-to-16bit.
1035 (rxvt-register-default-colors): Standardize with
1036 xterm-register-default-colors (Bug#14078).
1038 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1040 * simple.el (kill-region): Pass mark first, then point, so that
1041 kill-append works right (Bug#12819).
1042 (copy-region-as-kill, kill-ring-save): Likewise.
1044 2013-12-17 Leo Liu <sdl.web@gmail.com>
1046 * net/rcirc.el (rcirc-add-face):
1047 * eshell/em-prompt.el (eshell-emit-prompt):
1048 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1051 2013-12-17 Chong Yidong <cyd@gnu.org>
1053 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1054 Suggested by Xue Fuqiao.
1056 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1058 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1060 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1062 * net/shr.el (shr-insert-document): Remove unused var
1063 `shr-preliminary-table-render'.
1064 (shr-rescale-image): Remove unused arg `force'.
1065 (shr-put-image): Update calls accordingly.
1066 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1068 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1070 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1071 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1072 :close-all, to see which indentation method to use (Bug#16116).
1073 (smie-rules-function): Document the method :close-all.
1075 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1077 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1079 * net/eww.el (eww-display-html): If we can't find the anchor we're
1080 looking for, then go to point-min.
1082 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1084 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1085 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1086 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1087 Expand dir too, in case it's relative.
1089 2013-12-16 Juri Linkov <juri@jurta.org>
1091 * desktop.el (desktop-auto-save-timeout): Change default to
1092 `auto-save-timeout'. Doc fix.
1093 (desktop-save): Skip the timestamp in desktop-saved-frameset
1094 when checking for auto-save changes.
1095 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1096 `desktop-auto-save' is called repeatedly by the idle timer.
1097 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1098 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1101 2013-12-16 Juri Linkov <juri@jurta.org>
1103 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1105 (isearch-pre-command-hook): Check `this-command' for symbolp.
1107 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1109 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1111 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1113 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1114 (cfengine3--current-function): Bring in the current-function
1115 functionality from `cfengine3--current-word'.
1116 (cfengine3-completion-function): Bring in the
1117 bounds-of-current-word functionality from
1118 `cfengine3--current-word'.
1120 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1122 * window.el (display-buffer-below-selected):
1123 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1125 2013-12-16 Leo Liu <sdl.web@gmail.com>
1127 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1128 Remove NOMSG arg and all uses changed.
1130 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1132 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1133 (cua--deactivate-rectangle): Don't deactivate the mark.
1134 (cua-set-rectangle-mark): Don't set mark-active since
1135 cua--activate-rectangle already does it for us.
1136 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1137 non-rectangular region.
1139 * emulation/cua-base.el (cua-repeat-replace-region):
1140 Use with-current-buffer.
1142 * net/gnutls.el: Use cl-lib.
1143 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1145 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1147 * emacs-lisp/package.el (package-built-in-p): Support both
1148 built-in and the package.el converted package descriptions.
1149 (package-show-package-list): Allow keywords.
1150 (package-keyword-button-action): Use it instead of
1151 `finder-list-matches'.
1152 (package-menu-filter-interactive): Interactive filtering (by
1154 (package-menu--generate): Support keywords and change keymappings
1155 and headers when they are given.
1156 (package--has-keyword-p): Helper function.
1157 (package-menu--refresh): Use it.
1158 (package--mapc): Helper function.
1159 (package-all-keywords): Use it.
1160 (package-menu-mode-map): Set up menu items and keybindings to
1161 provide a filtering UI.
1163 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1165 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1166 the behavior when a certificate fails validation. Defaults to
1167 old behavior: never abort, just warn.
1168 (gnutls-negotiate): Use it.
1170 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1172 * window.el (display-buffer-below-selected): Never split window
1173 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1175 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1177 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1178 (package-buffer-info): Use it (bug#15108).
1180 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1182 * icomplete.el (icomplete-completions): Make sure the prefix is already
1183 displayed elsewhere before hiding it (bug#16219).
1185 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1187 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1188 open-paren tokens when preceded by a open-paren, too.
1189 (ruby-smie-rules): Handle virtual indentation after open-paren
1190 tokens specially. If there is code between it and eol, return the
1191 column where is starts (Bug#16118).
1193 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1195 * progmodes/cfengine.el: Fix `add-hook' doc.
1196 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1197 (cfengine3--current-word): Fix parameters.
1198 (cfengine3-make-syntax-cache): Simplify further.
1199 (cfengine3-completion-function, cfengine3--current-function):
1200 Use `assq' for symbols.
1201 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1203 2013-12-13 Glenn Morris <rgm@gnu.org>
1205 * loadup.el (load-path): Warn if site-load or site-init changes it.
1206 No more need to reset it when bootstrapping.
1208 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1210 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1211 locations for cf-promises.
1212 (cfengine-mode-syntax-functions-regex): New caching variable.
1213 (cfengine3-fallback-syntax): Fallback syntax for cases where
1214 cf-promises doesn't run.
1215 (cfengine3--current-word): Reimplement using
1216 `cfengine-mode-syntax-functions-regex'.
1217 (cfengine3-completion-function, cfengine3--current-function):
1218 Use `cfengine3-make-syntax-cache' directly.
1219 (cfengine3-clear-syntax-cache): New function.
1220 (cfengine3-make-syntax-cache): Simplify and create
1221 `cfengine-mode-syntax-functions-regex' on demand.
1222 (cfengine3-format-function-docstring): Don't call
1223 `cfengine3-make-syntax-cache' explicitly.
1225 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1227 Fix windmove-find-other-window broken after pixelwise resizing
1229 * windmove.el (windmove-other-window-loc): Revert change from
1231 (windmove-find-other-window): Call window-in-direction.
1232 * window.el (window-in-direction): New arguments SIGN, WRAP and
1233 MINI to emulate original windmove-find-other-window behavior.
1235 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1237 * simple.el (blink-matching--overlay): New variable.
1238 (blink-matching-open): Instead of moving point, highlight the
1239 matching paren with an overlay
1240 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1242 * faces.el (paren-showing-faces, show-paren-match)
1243 (show-paren-mismatch): Move from paren.el.
1245 2013-12-13 Leo Liu <sdl.web@gmail.com>
1247 * indent.el (indent-region): Disable progress reporter in
1248 minibuffer. (Bug#16108)
1250 * bindings.el (visual-order-cursor-movement): Fix version.
1252 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1254 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1255 Also match after beginning of line.
1256 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1257 files. Thanks to Russell Sim. (Bug#15378)
1259 2013-12-13 Juri Linkov <juri@jurta.org>
1261 * simple.el <Keypad support>: Remove key bindings duplicated
1262 with bindings.el. (Bug#14397)
1264 2013-12-13 Juri Linkov <juri@jurta.org>
1266 * comint.el (comint-mode-map): Replace `delete-char' with
1267 `delete-forward-char'. (Bug#16109)
1269 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1271 * progmodes/python.el (python-indent-calculate-indentation):
1272 Fix de-denters cornercase. (Bug#15731)
1274 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1276 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1277 (advice--make): Pay attention to `depth'.
1278 (advice--make-1): Don't autoload commands eagerly.
1279 * emacs-lisp/elp.el (elp-instrument-function):
1280 * emacs-lisp/trace.el (trace-function-internal):
1281 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1283 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1285 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1287 * term/w32-win.el (w32-handle-dropped-file):
1288 * startup.el (normal-top-level):
1289 * net/browse-url.el (browse-url-file-url):
1290 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1291 decode file names using 'utf-8' rather than
1292 file-name-coding-system.
1294 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1296 * progmodes/python.el (python-indent-context)
1297 (python-indent-calculate-indentation): Fix auto-identation
1298 behavior for comment blocks. (Bug#15916)
1300 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1302 * progmodes/python.el (python-indent-calculate-indentation):
1303 When determining indentation, don't treat "return", "pass", etc., as
1304 operators when they are just string constituents. (Bug#15812)
1306 2013-12-12 Juri Linkov <juri@jurta.org>
1308 * uniquify.el (uniquify-buffer-name-style): Change default to
1309 `post-forward-angle-brackets'.
1311 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1312 `uniquify'. Change default to `post-forward-angle-brackets'.
1314 2013-12-11 Glenn Morris <rgm@gnu.org>
1316 * emacs-lisp/package.el (finder-list-matches):
1317 Autoload rather than falsely declaring.
1319 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1321 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1322 (eww-mode-map): Use them.
1324 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1326 * window.el (display-buffer-in-side-window): Fix doc-string
1329 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1331 * vc/vc-git.el: Silence byte-compiler warnings.
1332 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1333 (log-edit-set-header): Declare.
1335 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1337 * Makefile.in (custom-deps, finder-data): Run output file names
1338 through unmsys--file-name. (Bug#16099)
1340 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1342 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1343 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1345 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1346 instead of deleting the selection "by hand" (bug#16098).
1347 Rely on insert-for-yank to yank rectangles.
1348 (cua-highlight-region-shift-only): Mark obsolete.
1349 (cua-mode): Don't enable/disable transient-mark-mode,
1350 shift-select-mode (cua-mode works both with and without them), and
1351 pc-selection-mode (obsolete).
1352 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1353 (cua--deactivate-rectangle): Deactivate it.
1355 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1356 (delete-selection-helper): Make sure yank starts at the top of the
1358 (minibuffer-keyboard-quit): Use region-active-p.
1360 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1362 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1363 to `delete' (bug#16109).
1365 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1367 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1368 info manual and show keybindings and set `:group' keyword.
1370 2013-12-11 Juri Linkov <juri@jurta.org>
1372 * delsel.el (delete-active-region): Let-bind `this-command'
1373 to prevent `kill-region' from changing its original value.
1374 (delete-selection-helper): Handle `overwrite-mode' for the type
1375 `kill' exactly the same way as for the type `t'.
1376 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1377 Support more commands. (Bug#13312)
1379 2013-12-11 Juri Linkov <juri@jurta.org>
1381 * bindings.el: Map kp keys to non-kp keys systematically
1382 with basic modifiers control, meta and shift. (Bug#14397)
1384 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1386 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1387 "Close browser" menu items. Fix wrong function of "List
1390 2013-12-11 Juri Linkov <juri@jurta.org>
1392 * misearch.el (multi-isearch-buffers): Set the value of
1393 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1394 arg of isearch-forward to t.
1395 (multi-isearch-buffers-regexp): Set the value of
1396 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1397 arg of isearch-forward-regexp to t.
1398 (multi-isearch-files): Set the value of
1399 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1400 arg of isearch-forward to t.
1401 (multi-isearch-files-regexp): Set the value of
1402 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1403 arg of isearch-forward-regexp to t. (Bug#16035)
1405 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1406 arg of isearch-forward to t.
1407 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1408 arg of isearch-forward-regexp to t.
1409 (dired-isearch-filter-filenames): Remove unnecessary check for
1410 `dired-isearch-filenames'.
1412 * comint.el (comint-history-isearch-backward):
1413 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1414 (comint-history-isearch-backward-regexp):
1415 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1417 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1419 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1420 unmsys--file-name. (Bug#16099)
1422 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1424 * emacs-lisp/package.el (package-keyword-button-action):
1425 Remove finder.el require dependency.
1427 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1429 * emacs-lisp/package.el: Require finder.el.
1430 (describe-package-1): Add keyword buttons.
1431 (package-make-button): New convenience function.
1432 (package-keyword-button-action): Keyword button action using
1433 `finder-list-matches'.
1435 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1437 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1440 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1442 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1445 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1447 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1448 after the end of a percent literal.
1450 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1452 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1453 Handle caret-delimited strings (Bug#16079).
1455 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1457 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1458 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1459 `ruby-parse-partial' (Bug#16078).
1461 2013-12-09 Leo Liu <sdl.web@gmail.com>
1463 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1465 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1467 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1468 (js-switch-indent-offset): New option.
1469 (js--proper-indentation): Use it. And handle the case when
1470 "default" is actually a key in an object literal.
1471 (js--same-line): New function.
1472 (js--multi-line-declaration-indentation): Use it.
1473 (js--indent-in-array-comp, js--array-comp-indentation):
1475 (js--proper-indentation): Use them, to handle array comprehension
1478 2013-12-08 Leo Liu <sdl.web@gmail.com>
1480 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1481 (flymake-make-overlay): Remove arg MOUSE-FACE.
1482 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1484 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1486 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1488 (redisplay-highlight-region-function): Use it.
1490 * emulation/cua-base.el (cua--explicit-region-start)
1491 (cua--last-region-shifted): Remove.
1492 (cua--deactivate): Use deactivate-mark.
1493 (cua--pre-command-handler-1): Don't handle shift-selection.
1494 (cua--post-command-handler-1): Don't change transient-mark-mode.
1495 (cua--select-keymaps): Use region-active-p rather than
1496 cua--explicit-region-start or cua--last-region-shifted.
1497 (cua-mode): Enable shift-select-mode.
1499 2013-12-08 Leo Liu <sdl.web@gmail.com>
1501 * progmodes/flymake.el (flymake-popup-current-error-menu):
1502 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1503 (flymake-posn-at-point-as-event, flymake-popup-menu)
1504 (flymake-make-emacs-menu): Remove. (Bug#16077)
1506 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1508 * rect.el (rectangle-mark-mode): Activate mark even if
1509 transient-mark-mode is off (bug#16066).
1510 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1511 is > mark and at bolp.
1513 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1514 (region-extract-function): Use it.
1515 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1516 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1518 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1519 kill-ring-save, kill-region, delete-char, delete-forward-char.
1520 Ignore self-insert-iso.
1522 * emulation/cua-gmrk.el (cua--init-global-mark):
1523 Ignore `self-insert-iso'.
1525 * emulation/cua-base.el (cua--prefix-copy-handler)
1526 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1527 checking cua--rectangle.
1528 (cua-delete-region): Use region-extract-function.
1529 (cua-replace-region): Delete function.
1530 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1531 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1532 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1533 (cua--init-keymaps): Don't remap delete-selection commands.
1534 (cua-mode): Use delete-selection-mode instead of rolling our own
1537 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1538 Obey region-extract-function.
1540 Make registers and delete-selection-mode work on rectangles.
1541 * register.el (describe-register-1): Don't modify the register's value.
1542 (copy-to-register): Obey region-extract-function.
1543 * delsel.el (delete-active-region): Obey region-extract-function.
1545 2013-12-08 Leo Liu <sdl.web@gmail.com>
1547 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1548 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1549 (flymake-compilation-prevents-syntax-check)
1550 (flymake-start-syntax-check-on-newline)
1551 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1552 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1553 (flymake-xml-program, flymake-master-file-dirs)
1554 (flymake-master-file-count-limit)
1555 (flymake-allowed-file-name-masks): Relocate.
1556 (flymake-makehash, flymake-float-time)
1557 (flymake-replace-regexp-in-string, flymake-split-string)
1558 (flymake-get-temp-dir): Remove.
1559 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1560 (flymake-current-row, flymake-selected-frame)
1561 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1562 related functions. (Bug#16077)
1564 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1566 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1568 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1570 * help-fns.el (describe-function-1): Use new advice-* functions
1571 rather than old ad-* functions. Fix function type description and
1572 source links for advised functions and subrs.
1574 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1576 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1578 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1580 * progmodes/compile.el (compilation-start):
1581 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1583 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1584 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1586 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1588 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1589 Touch up the last change.
1591 2013-12-06 Leo Liu <sdl.web@gmail.com>
1593 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1594 (inferior-octave-startup): Always use "octave> " for prompt.
1595 (octave-goto-function-definition)
1596 (octave-sync-function-file-names)
1597 (octave-find-definition-default-filename): Remove redundant backquotes.
1599 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1601 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1603 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1604 where appropriate already.
1605 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1606 end of method names (Bug#15874).
1608 2013-12-06 Juri Linkov <juri@jurta.org>
1610 * isearch.el (isearch--saved-overriding-local-map):
1611 New internal variable.
1612 (isearch-mode): Set it to the initial value of
1613 `overriding-terminal-local-map'.
1614 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1615 with `isearch--saved-overriding-local-map'. (Bug#16035)
1617 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1619 * progmodes/octave.el (inferior-octave-completion-table):
1620 Turn back into function, use `completion-table-with-cache'
1621 (Bug#11906). Update all references.
1623 * minibuffer.el (completion-table-with-cache): New function.
1625 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1627 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1629 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1631 * net/eww.el (eww-current-source): New variable to store page
1633 (eww-display-html, eww-mode, eww-save-history)
1634 (eww-restore-history): Use it.
1635 (eww-view-source): New command to view page source.
1636 Opportunistically uses `html-mode' to highlight the buffer.
1637 (eww-mode-map): Install it.
1639 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1641 * net/dbus.el (dbus-unregister-service)
1642 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1644 (dbus-unregister-service): Skip :serial entries in
1645 `dbus-registered-objects-table'.
1646 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1648 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1650 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1651 around keywords with extra `split-string' argument.
1653 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1655 * windmove.el (windmove-other-window-loc): Handle navigation
1656 between windows (excluding the minibuffer window - Bug#16017).
1658 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1660 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1661 in D-Bus type syntax.
1662 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1663 preserve unibyte strings. (Bug#16048)
1665 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1667 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1668 Call force-mode-line-update is the proper buffer (bug#16042).
1670 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1672 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1673 `log-edit-remember-comment', make argument optional. Adjust all
1675 (log-edit-mode): Add `log-edit-remember-comment' to
1676 `kill-buffer-hook' locally.
1677 (log-edit-kill-buffer): Don't remember comment explicitly since
1678 the buffer is killed anyway.
1680 2013-12-04 Juri Linkov <juri@jurta.org>
1682 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1683 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1685 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1687 * notifications.el (notifications-close-notification): Call the
1688 D-Bus method with ID being a `:uint32'. (Bug#16030)
1690 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1692 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1694 2013-12-03 Juri Linkov <juri@jurta.org>
1696 * progmodes/compile.el (compilation-start): Rename window alist
1697 entry `no-display-ok' to `allow-no-window'.
1699 * simple.el (shell-command): Add window alist entry
1700 `allow-no-window' to `display-buffer'.
1701 (async-shell-command): Doc fix.
1703 * window.el (display-buffer-no-window): New action function.
1704 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1706 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1708 * vc/log-edit.el (log-edit-set-header): Extract from
1709 `log-edit-toggle-header'.
1710 (log-edit-extract-headers): Separate the summary, when extracted
1711 from header, from the rest of the message with an empty line.
1713 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1714 line, if present, to the Summary header.
1716 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1718 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1719 in current-buffer (bug#16029).
1721 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1723 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1724 (debugger-mode-map): Bind it.
1725 (debugger--backtrace-base): New function.
1726 (debugger-eval-expression): Use it.
1727 (debugger-frame-number): Skip local vars when present.
1728 (debugger--locals-visible-p, debugger--insert-locals)
1729 (debugger--show-locals, debugger--hide-locals): New functions.
1731 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1733 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1735 (tramp-get-remote-locale): New defun.
1736 (tramp-open-connection-setup-interactive-shell): Use it.
1738 2013-12-02 Leo Liu <sdl.web@gmail.com>
1740 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1742 * progmodes/sh-script.el (sh-shell-process):
1743 * progmodes/octave.el (inferior-octave-process-live-p):
1744 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1745 (gdb-inferior-io-sentinel):
1746 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1748 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1750 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1751 `save-selected-window' to `log-edit-hide-buf'. This makes
1752 `log-edit-show-files' idempotent.
1753 (log-edit-show-files): Mark the new window as dedicated.
1755 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1757 * vc/log-edit.el (log-edit-mode-map): Add binding for
1758 `log-edit-kill-biffer'.
1759 (log-edit-hide-buf): Add a FIXME comment.
1760 (log-edit-add-new-comment): New function, extracted from
1762 (log-edit-done, log-edit-add-to-changelog): Use it.
1763 (log-edit-kill-buffer): New command.
1765 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1767 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1768 instead of killing the buffer.
1770 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1772 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1774 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1776 * net/eww.el (eww-form-checkbox-selected-symbol)
1777 (eww-form-checkbox-symbol): New customizable variable.
1778 (eww-form-checkbox, eww-toggle-checkbox):
1779 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1781 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1782 (shr--get-media-pref, shr--extract-best-source): New function.
1783 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1784 no :src tag was specified.
1786 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1787 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1788 Use \\` to match beginning of string instead of ^.
1789 (eww-browse-with-external-browser): Provide optional URL parameter.
1790 (eww-render): Set `eww-current-title' back to "".
1792 * net/shr.el (shr-tag-video): Display content for video if no
1793 poster is available.
1794 (shr-tag-audio): Add support for <audio> tag.
1796 * net/eww.el (eww-text-input-types): New const.
1797 (eww-process-text-input): Treat input types in
1798 `eww-text-input-types' as text.
1800 * net/shr.el (shr-tag-table): Fix comment typo.
1802 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1804 * net/eww.el (eww-follow-link): New command to avoid reloading
1805 pages when we follow #target links (bug#15243).
1806 (eww-quit): Special mode buffers shouldn't query before exiting.
1808 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1810 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1813 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1815 * net/eww.el (eww-restore-history): Update the window title after
1816 moving in the history.
1817 (eww-current-dom): New variable used to save the current DOM.
1819 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1821 * vc/log-edit.el (log-edit-mode-map): Add binding for
1822 `log-edit-beginning-of-line'.
1823 (log-edit-setup-add-author): New user option.
1824 (log-edit-beginning-of-line): New command.
1825 (log-edit): Move major mode call above the contents setup so that
1826 the local variable values are already applied.
1827 (log-edit): Only insert "Author: " when
1828 `log-edit-setup-add-author' is non-nil.
1829 (log-edit): When SETUP is non-nil, position point after ": "
1830 instead of point-min.
1832 2013-12-01 Glenn Morris <rgm@gnu.org>
1834 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1836 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1838 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1839 redisplay to make sure the initial frame gets a chance to become
1840 visible. (Bug#16014)
1842 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1844 Support resizing frames and windows pixelwise.
1845 * cus-start.el (frame-resize-pixelwise)
1846 (window-resize-pixelwise): New entries.
1847 * emacs-lisp/debug.el (debug): Use window-total-height instead
1848 of window-total-size.
1849 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1850 * help.el (describe-bindings-internal): Call help-buffer
1851 (temp-buffer-max-width): New option.
1852 (resize-temp-buffer-window, help-window-setup)
1853 (with-help-window): Rewrite.
1854 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1856 * window.el (frame-char-size, window-min-pixel-height)
1857 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1858 (window-min-pixel-width, window-safe-min-pixel-size)
1859 (window-combination-p, window-safe-min-size)
1860 (window-resizable-p, window--size-to-pixel)
1861 (window--pixel-to-size, window--resize-apply-p): New functions.
1862 (window-safe-min-height): Fix doc-string.
1863 (window-size, window-min-size, window--min-size-1)
1864 (window-sizable, window-sizable-p, window--min-delta-1)
1865 (window-min-delta, window--max-delta-1, window-max-delta)
1866 (window--resizable, window--resizable-p, window-resizable)
1867 (window-full-height-p, window-full-width-p, window-at-side-p)
1868 (window--in-direction-2, window-in-direction)
1869 (window--resize-reset-1, window--resize-mini-window)
1870 (window-resize, window-resize-no-error)
1871 (window--resize-child-windows-normal)
1872 (window--resize-child-windows, window--resize-siblings)
1873 (window--resize-this-window, window--resize-root-window)
1874 (window--resize-root-window-vertically)
1875 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1876 (maximize-window, minimize-window, delete-window)
1877 (quit-restore-window, window-split-min-size, split-window)
1878 (balance-windows-2, balance-windows)
1879 (balance-windows-area-adjust, balance-windows-area)
1880 (window--state-get-1, window-state-get, window--state-put-1)
1881 (window--state-put-2, window-state-put)
1882 (display-buffer-record-window, window--display-buffer):
1883 Make functions handle pixelwise sizing of windows.
1884 (display-buffer--action-function-custom-type)
1885 (display-buffer-fallback-action):
1886 Add display-buffer-in-previous-window.
1887 (display-buffer-use-some-window): Resize window to height it had
1889 (fit-window-to-buffer-horizontally): New option.
1890 (fit-frame-to-buffer): Describe new values.
1891 (fit-frame-to-buffer-bottom-margin): Replace with
1892 fit-frame-to-buffer-margins.
1893 (window--sanitize-margin): New function.
1894 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1895 using window-text-pixel-size.
1897 2013-11-30 Glenn Morris <rgm@gnu.org>
1899 * emacs-lisp/bytecomp.el (byte-compile-form):
1900 Make the `interactive-only' warning like the `obsolete' one.
1901 * comint.el (comint-run):
1902 * files.el (insert-file-literally, insert-file):
1903 * replace.el (replace-string, replace-regexp):
1904 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1905 (goto-line, insert-buffer, next-line, previous-line):
1906 Tweak `interactive-only' spec.
1908 Stop keeping (most) generated cedet grammar files in the repository.
1909 * Makefile.in (semantic): New.
1910 (compile-main): Depend on semantic.
1912 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1914 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1915 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1917 * uniquify.el (uniquify-buffer-name-style): Change default.
1919 * loadup.el: Preload "uniquify".
1921 * time.el (display-time-update): Update all mode lines (bug#15999).
1923 * electric.el (electric-indent-mode): Enable by default.
1924 * loadup.el: Preload "electric".
1926 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1928 * emacs-lisp/helpers.el (string-empty-p): New function.
1929 (string-blank-p): New function.
1931 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1933 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1936 2013-11-29 Andreas Politz <politza@fh-trier.de>
1937 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1938 allow non-lambda lists as functions.
1939 (imenu--in-alist): Don't recurse into non-subalists.
1940 (imenu): Don't pass function itself as an argument (Bug#14029).
1942 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1944 * progmodes/python.el (python-mode-map): Remove binding for ":".
1945 (python-indent-electric-colon): Remove command.
1946 (python-indent-post-self-insert-function): Integrate the previous code
1947 of python-indent-electric-colon. Make it conditional on
1948 electric-indent-mode.
1949 (python-mode): Add ?: to electric-indent-chars.
1950 Move python-indent-post-self-insert-function to the end of
1951 post-self-insert-hook.
1953 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1955 * doc-view.el (doc-view-goto-page): Update mode-line.
1957 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1959 2013-11-27 Glenn Morris <rgm@gnu.org>
1961 * international/charprop.el, international/uni-bidi.el:
1962 * international/uni-category.el, international/uni-combining.el:
1963 * international/uni-comment.el, international/uni-decimal.el:
1964 * international/uni-decomposition.el, international/uni-digit.el:
1965 * international/uni-lowercase.el, international/uni-mirrored.el:
1966 * international/uni-name.el, international/uni-numeric.el:
1967 * international/uni-old-name.el, international/uni-titlecase.el:
1968 * international/uni-uppercase.el:
1969 Remove generated files from VCS repository.
1971 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1973 * filenotify.el (file-notify-add-watch): Don't special-case
1974 w32notify when computing the directory to watch.
1976 2013-11-27 Glenn Morris <rgm@gnu.org>
1978 Make bootstrap without generated uni-*.el files possible again.
1979 * loadup.el: Update command-line-args checking for unidata-gen.
1980 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1981 * composite.el, international/characters.el:
1982 Handle unicode tables being undefined.
1984 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1985 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1986 (compile-main): Depend on leim rule.
1988 * loadup.el: Move leim-list.el to leim/ subdirectory.
1989 * startup.el (normal-top-level): No more leim directory.
1990 * international/ja-dic-cnv.el (skkdic-convert):
1991 Disable version-control and autoloads in output files.
1992 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1993 Disable version-control and autoloads in output files.
1994 * leim/quail: Move here from ../leim.
1995 * leim/quail/hangul.el (hangul-input-method-activate):
1996 Add autoload cookie.
1997 (generated-autoload-load-name): Set file-local value.
1998 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1999 (generated-autoload-load-name): Set file-local value.
2001 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2003 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2004 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2005 (eww-quit): Ask confirmation before quitting eww.
2007 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2009 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2010 reading output from Diff on MS-Windows and MS-DOS.
2012 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2014 * emacs-lisp/helpers.el (string-reverse): New function.
2016 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2018 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2019 names on MS Windows, like "/[::1]:".
2021 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2024 2013-11-26 Glenn Morris <rgm@gnu.org>
2026 * progmodes/python.el (python-indent-guess-indent-offset):
2027 Avoid corner-case error. (Bug#15975)
2029 Preload leim-list.el. (Bug#4789)
2030 * loadup.el: Load leim-list.el when found.
2031 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2033 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2035 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2037 * emacs-lisp/helpers.el (string-join): New function.
2039 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2041 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2042 Mark as obsolete and replace it with a symbol property.
2043 (byte-compile-form): Use new 'interactive-only property.
2044 * comint.el, files.el, replace.el, simple.el:
2045 Apply new 'interactive-only properly.
2047 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2049 * window.el (display-buffer-at-bottom): Make sure that
2050 split-window-sensibly creates the new window on bottom
2053 2013-11-23 David Kastrup <dak@gnu.org>
2055 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2056 on the conflict markers when available.
2057 (smerge--get-marker): New function.
2058 (smerge-end-re, smerge-base-re): Add subgroup.
2060 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2062 * frame.el (handle-focus-in, handle-focus-out): Add missing
2065 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2067 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2068 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2070 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2072 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2073 (gomoku--last-pos): New var.
2074 (gomoku--intangible-chars): New const.
2075 (gomoku--intangible): New function.
2076 (gomoku-mode): Use it. Derive from special-mode.
2077 (gomoku-move-up): Adjust line count.
2078 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2079 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2080 Simplify accordingly.
2082 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2083 Remove blink-cursor code.
2084 (blink-cursor-timer-function, blink-cursor-suspend):
2085 Don't special-case GUIs.
2086 (blink-cursor-mode): Use focus-in/out-hook.
2088 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2090 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2091 work when annotation is invisible (Bug#13886).
2093 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2095 * json.el (json-alist-p): Only return non-nil if the alist has
2096 simple keys (Bug#13518).
2098 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2100 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2101 when control-statement is the first statement in a buffer (Bug#15956).
2103 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2105 * imenu.el (imenu-generic-skip-comments-and-strings):
2106 New option (Bug#15560).
2107 (imenu--generic-function): Use it.
2109 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2111 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2114 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2116 * emacs-lisp/helpers.el: Add some string helpers.
2117 (string-trim-left): Removes leading whitespace.
2118 (string-trim-right): Removes trailing whitespace.
2119 (string-trim): Removes leading and trailing whitespace.
2121 * subr.el (string-suffix-p): New function.
2123 2013-11-23 Glenn Morris <rgm@gnu.org>
2125 * progmodes/python.el (python-shell-send-file):
2126 Add option to delete file when done. (Bug#15647)
2127 (python-shell-send-string, python-shell-send-region): Use it.
2129 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2131 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2132 to set buffer-read-only to t, never to nil. (Bug#15938)
2134 * textmodes/tex-mode.el (latex-noindent-environments):
2135 Add safe-local-variable property. (Bug#15936)
2137 2013-11-23 Glenn Morris <rgm@gnu.org>
2139 * textmodes/enriched.el (enriched-mode): Doc fix.
2140 * emacs-lisp/authors.el (authors-renamed-files-alist):
2141 Add enriched.doc -> enriched.txt.
2143 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2145 2013-11-22 Leo Liu <sdl.web@gmail.com>
2147 * progmodes/octave.el (inferior-octave-startup): Spit out error
2150 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2152 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2155 (ruby-encoding-magic-comment-style): Add :version.
2157 2013-11-22 Leo Liu <sdl.web@gmail.com>
2159 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2161 (octave-help-mode): Adapt to change to help-mode-finish to use
2162 derived-mode-p on 2013-09-17.
2163 (inferior-octave-prompt): Also match octave-gui.
2164 (octave-kill-process): Don't ask twice. (Bug#10564)
2166 2013-11-22 Leo Liu <sdl.web@gmail.com>
2168 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2169 (inferior-octave-startup, inferior-octave-check-process)
2170 (inferior-octave-track-window-width-change)
2171 (octave-completion-at-point, octave-eldoc-function): Use it.
2172 (octave-kill-process): Provide confirmation. (Bug#10564)
2174 2013-11-21 Leo Liu <sdl.web@gmail.com>
2176 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2177 Fix obsolete variable comment-use-global-state.
2179 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2181 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2182 Add `octave-source-file'.
2183 (octave-source-file): New function. (Bug#15935)
2185 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2187 * net/eww.el (eww-local-regex): New variable.
2188 (eww): Use it to detect localhost and similar.
2190 2013-11-21 Leo Liu <sdl.web@gmail.com>
2192 Add completion for command `ag'.
2193 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2194 (pcomplete/ag): New function.
2195 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2197 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2199 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2201 (make-obsolete): Remove interactive spec.
2203 2013-11-21 Glenn Morris <rgm@gnu.org>
2205 * startup.el (command-line-1): Use path-separator with -L.
2207 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2209 * emacs-lisp/package.el (describe-package-1): Add package archive
2212 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2214 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2215 Change default to "# encoding: %s" to differentiate it from the
2216 default Ruby encoding comment template.
2218 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2220 * ses.el (ses-mode): Doc fix. (Bug#14748)
2222 2013-11-20 Leo Liu <sdl.web@gmail.com>
2224 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2226 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2228 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2229 when rebase or bisect are in progress.
2231 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2233 * filenotify.el (file-notify-add-watch): Doc fix.
2235 2013-11-19 Leo Liu <sdl.web@gmail.com>
2237 * obsolete/rcompile.el: Mark obsolete.
2239 * progmodes/compile.el (compilation-start)
2240 (compilation-goto-locus, compilation-find-file):
2241 Pass no-display-ok and handle nil value from display-buffer.
2244 * window.el (display-buffer-alist, display-buffer): Document the
2245 new parameter no-display-ok. Return either a window or nil
2246 but never a non-window value.
2248 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2250 * electric.el (electric-indent-mode-map): Remove.
2251 (electric-indent-mode): Change the global-map instead (bug#15915).
2253 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2256 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2258 * emacs-lisp/nadvice.el (remove-function): Align with
2259 add-function's behavior.
2261 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2262 (gdb--string-regexp): New constant.
2263 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2264 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2265 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2267 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2268 Adjust use accordingly.
2269 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2271 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2273 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2274 interpolation curlies (Bug#15914).
2276 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2278 * calc/calc.el (calc-context-sensitive-enter): New variable.
2279 (calc-enter): Use `calc-context-sensitive-enter'.
2281 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2283 * progmodes/cfengine.el: Version bump.
2284 (cfengine-cf-promises): New defcustom to locate cf-promises.
2285 (cfengine3-vartypes): Add new "data" type.
2286 (cfengine3--current-word): New function to get current name-like
2288 (cfengine3--current-function): New function to look up a CFEngine
2289 function's definition.
2290 (cfengine3-format-function-docstring): New function.
2291 (cfengine3-make-syntax-cache): New function.
2292 (cfengine3-documentation-function): New function: ElDoc glue.
2293 (cfengine3-completion-function): New function: completion glue.
2294 (cfengine3-mode): Set `compile-command',
2295 `eldoc-documentation-function', and add to
2296 `completion-at-point-functions'.
2298 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2300 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2301 `tramp-current-connection'.
2303 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2305 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2306 nil/self/true/false with "end of symbol".
2308 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2310 * subr.el (version-regexp-alist): Fix a typo.
2312 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2314 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2315 "en_US.utf8" and "LC_CTYPE" to "".
2316 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2317 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2319 2013-11-15 Leo Liu <sdl.web@gmail.com>
2321 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2323 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2325 * progmodes/gud.el (ctl-x-map):
2326 Remove C-x SPC binding. (Bug#12342)
2327 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2329 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2331 * subr.el (version-regexp-alist):
2332 Recognize hg, svn and darcs versions as snapshot versions.
2334 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2335 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2336 (ruby--encoding-comment-required-p): Extract from
2337 `ruby-mode-set-encoding'.
2338 (ruby-mode-set-encoding): Add the ability to always insert an
2339 utf-8 encoding comment. Fix and simplify coding comment update
2342 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2344 * net/tramp-gvfs.el (top): Run init code only when
2345 `tramp-gvfs-enabled' is not nil.
2346 (tramp-gvfs-enabled): Check also :system bus.
2348 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2350 Sync with upstream verilog-mode revision 78e66ba.
2351 * progmodes/verilog-mode.el (verilog-end-of-defun)
2352 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2353 (verilog-get-end-of-defun): Remove unused argument.
2354 (verilog-comment-depth): Remove unused local `e'.
2355 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2356 Don't pass arg to verilog-get-end-of-defun.
2358 2013-11-14 Glenn Morris <rgm@gnu.org>
2360 * obsolete/assoc.el (aget): Prefix dynamic variable.
2362 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2364 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2366 * widget.el, hfy-cmap.el: Remove bogus package version number.
2368 2013-11-13 Glenn Morris <rgm@gnu.org>
2370 * replace.el (replace-eval-replacement):
2371 Try to give more helpful error message. (Bug#15836)
2373 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2374 (archive-7z-update): Avoid custom type mismatches.
2376 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2378 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2380 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2381 address can be empty.
2383 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2384 Accept nil SWITCHES.
2385 (tramp-gvfs-handle-write-region): Implement APPEND.
2387 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2389 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2390 binary "|" operator and closing block args delimiter.
2391 Remove FIXME comment referring to Ruby 1.8-only syntax.
2392 (ruby-smie--implicit-semi-p): Not after "|" operator.
2393 (ruby-smie--closing-pipe-p): New function.
2394 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2395 (ruby-smie-rules): Indent after "|".
2397 2013-11-12 Glenn Morris <rgm@gnu.org>
2399 * ps-print.el (ps-face-attribute-list):
2400 Handle anonymous faces. (Bug#15827)
2402 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2404 * window.el (display-buffer-other-frame): Fix doc-string.
2407 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2409 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2411 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2413 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2414 (tramp-sh-handle-file-local-copy): Don't write a message when
2415 saving temporary files.
2417 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2418 both directories are remote.
2419 (tramp-smb-handle-directory-files): Do not return double entries.
2420 Do not expand full file names.
2421 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2422 (tramp-smb-handle-write-region): Implement APPEND.
2423 (tramp-smb-get-stat-capability): Fix a stupid bug.
2425 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2427 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2429 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2431 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2432 throwing error over malformed let/let* (bug#15814).
2434 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2436 * iswitchb.el (iswitchb-mode): Mark obsolete.
2438 2013-11-11 Glenn Morris <rgm@gnu.org>
2440 * international/uni-bidi.el, international/uni-category.el:
2441 * international/uni-name.el, international/uni-numeric.el:
2442 Regenerate for Unicode 6.3.0.
2444 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2446 * net/tramp.el (tramp-methods):
2447 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2448 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2450 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2452 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2453 Force highlighting text after Summary keyword in doc face for rpm.
2455 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2457 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2458 available and the word has no wildcards, append one to the grep pattern.
2459 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2460 (ispell-complete-word): Call `ispell-lookup-words' with the value
2461 independent of `ispell-look-p'.
2463 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2465 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2467 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2470 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2472 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2473 (ruby-font-lock-keywords): Use backquote.
2475 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2477 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2478 (ruby-smie--backward-token): Only consider full-string matches.
2480 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2482 * faces.el (describe-face): Add distant-foreground.
2484 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2486 * progmodes/ruby-mode.el: Improve encoding comment handling.
2487 (ruby-encoding-magic-comment-style): New option.
2488 (ruby-custom-encoding-magic-comment-template): New option.
2489 (ruby--insert-coding-comment, ruby--detect-encoding):
2490 New functions extracted from `ruby-mode-set-encoding'.
2491 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2492 to control the style of the auto-inserted encoding comment.
2494 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2496 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2497 Use `smie-backward-sexp' with token argument.
2499 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2501 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2502 Remove instrumentation code.
2504 2013-11-08 Glenn Morris <rgm@gnu.org>
2506 * progmodes/autoconf.el (autoconf-mode):
2507 Tweak comment-start-skip. (Bug#15822)
2509 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2511 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2512 at bobp (bug#15826).
2513 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2515 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2517 * man.el (Man-start-calling): New macro, extracted from
2518 Man-getpage-in-background.
2519 (Man-getpage-in-background): Use it.
2520 (Man-update-manpage): New command.
2521 (Man-mode-map): Bind it.
2523 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2525 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2526 of "and", "or", "&&" and "||".
2527 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2528 argument. Prohibit opening curly brace because it could only be a
2529 block opener in that position.
2530 (ruby-smie--forward-token, ruby-smie--backward-token):
2531 Separate "|" from "&" or "*" going after it. That can happen in block
2533 (ruby-smie--indent-to-stmt): New function, seeks the end of
2534 previous statement or beginning of buffer.
2535 (ruby-smie-rules): Use it.
2536 (ruby-smie-rules): Check if there's a ":" before a curly block
2537 opener candidate; if there is, it's a hash.
2539 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2541 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2542 (cl--block-wrapper): Fix last accidental change.
2544 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2546 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2547 Instrument, in order to hunt failure on hydra.
2549 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2551 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2552 malformed bindings form (bug#15814).
2554 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2556 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2557 "." compared to " @ ". This incidentally fixes some indentation
2559 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2560 (ruby-smie-grammar): New tokens: "and" and "or".
2561 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2562 Exclude "and" and "or". Remove "do" in order to work around token
2564 (ruby-smie-rules): Add all infix tokens. Handle the case of
2565 beginning-of-buffer.
2567 2013-11-06 Glenn Morris <rgm@gnu.org>
2569 * Makefile.in (setwins_almost, setwins_for_subdirs):
2570 Avoid accidental matches.
2572 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2574 * menu-bar.el (popup-menu): Use key-binding.
2576 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2578 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2579 menus, support also the menus produced by minor modes.
2582 2013-11-06 Leo Liu <sdl.web@gmail.com>
2584 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2585 DISTANCE to bound the search. All uses changed. (Bug#15808)
2587 2013-11-06 Glenn Morris <rgm@gnu.org>
2589 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2590 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2591 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2593 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2595 * electric.el (electric-indent-just-newline): New command.
2596 (electric-indent-mode-map): New keymap.
2597 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2598 Re-add :group which weren't redundant.
2600 * electric.el (electric-indent-local-mode): New minor mode.
2601 (electric-indent-functions-without-reindent): New var.
2602 (electric-indent-post-self-insert-function): Use it.
2603 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2605 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2607 * international/quail.el (quail-help): Be more explicit about the
2608 meaning of the labels shown on the keys. (Bug#15800)
2610 * startup.el (normal-top-level): Load the subdirs.el files before
2611 setting the locale environment. (Bug#15805)
2613 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2615 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2616 via arguments so as to get the right ones (bug#15418).
2618 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2620 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2622 Fix problems found while writing a test suite.
2624 * net/tramp-compat.el (tramp-compat-load): New defun.
2625 * net/tramp.el (tramp-handle-load): Use it.
2627 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2628 "(numberp ok-if-already-exists)" correctly.
2630 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2632 * international/characters.el (glyphless-char-display-control):
2635 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2637 * progmodes/python.el (python-mode):
2638 * progmodes/scheme.el (scheme-mode):
2639 * progmodes/prolog.el (prolog-mode):
2640 * progmodes/ruby-mode.el (ruby-mode):
2641 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2642 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2644 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2646 * rect.el (rectangle--highlight-for-redisplay):
2647 * emacs-lisp/smie.el (smie--next-indent-change):
2648 Use buffer-chars-modified-tick.
2650 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2652 * electric.el (electric-indent-post-self-insert-function):
2653 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2655 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2657 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2659 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2661 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2664 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2666 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2668 * progmodes/python.el: Fix up last change.
2669 (python-shell--save-temp-file): New function.
2670 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2671 `string' comes from the current buffer.
2672 (python-shell-send-string-no-output): Remove `msg' arg.
2673 (python--use-fake-loc): New var.
2674 (python-shell-buffer-substring): Obey it. Try to compensate for the
2675 extra coding line added by python-shell--save-temp-file.
2676 (python-shell-send-region): Use python-shell--save-temp-file and
2677 python-shell-send-file directly. Add `nomain' argument.
2678 (python-shell-send-buffer): Use python-shell-send-region.
2679 (python-electric-pair-string-delimiter): New function.
2680 (python-mode): Use it.
2682 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2684 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2685 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2686 environment and decoding all of the default-directory's to here
2688 (command-line): Decode also argv[0].
2690 * loadup.el: Error out if default-directory is a multibyte string
2691 when we are dumping.
2693 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2695 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2697 * emacs-lisp/package.el (package-menu-mode)
2698 (package-menu--print-info, package-menu--archive-predicate):
2699 Add Archive column to package list.
2701 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2703 Fix problems found while writing a test suite.
2705 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2706 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2707 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2708 to nil when running original file name handler. Otherwise,
2709 there are problems with constructs like "$$FOO".
2711 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2714 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2716 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2718 * subr.el (version<, version<=, version=):
2719 Update docstrings with information for snapshot versions.
2721 * helpers.el: New library for misc helper functions.
2722 (hash-table-keys): New function returning a list of hash keys.
2723 (hash-table-values): New function returning a list of hash values.
2725 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2727 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2728 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2730 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2732 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2733 checking whether point is after a 1-letter word.
2735 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2737 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2738 Don't infloop when expanding region over `multiline' syntax-type that
2739 begins a line (bug#15778).
2741 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2743 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2744 Make it into a proper minor mode.
2745 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2746 (rectangle-mark-mode-map): New keymap.
2747 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2749 2013-11-04 Glenn Morris <rgm@gnu.org>
2751 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2753 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2755 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2756 (ruby-smie-rules): Use smie-rule-parent instead.
2758 * emacs-lisp/smie.el (smie-rule-parent): Always call
2759 smie-indent-virtual rather than only for hanging tokens.
2760 (smie--next-indent-change): New helper command.
2762 2013-11-03 Glenn Morris <rgm@gnu.org>
2764 * Makefile.in (abs_srcdir): Remove.
2765 (emacs): Unset EMACSLOADPATH.
2767 2013-11-02 Glenn Morris <rgm@gnu.org>
2769 * Makefile.in (EMACS): Use a relative filename.
2770 (abs_top_builddir): Remove.
2771 (custom-deps, finder-data, autoloads): Use --chdir.
2773 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2775 Use relative filenames in TAGS files.
2776 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2777 (lisptagsfiles4, TAGS): Use relative file names.
2778 (TAGS-LISP): Remove.
2779 (maintainer-clean): No more TAGS-LISP file.
2781 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2782 (lisptagsfiles4): Use absolute filenames again.
2783 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2784 Remove all *loaddefs files, not just the first. Remove esh-groups.
2785 (maintainer-clean): Delete TAGS, TAGS-LISP.
2787 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2789 * emacs-lisp/package.el (package-version-join):
2790 Recognize snapshot versions.
2792 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2794 * subr.el (version-regexp-alist): Add support for snapshot versions.
2796 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2798 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2799 New function, replacement for `smie-rule-parent' for when we want to
2800 skip over our direct parent if it's an assignment token..
2801 (ruby-smie-rules): Use it.
2803 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2805 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2806 unconditionally. Remove now unnecessary forward declarations.
2807 Remove XEmacs-specific setup.
2808 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2809 (ruby-font-lock-syntactic-keywords)
2810 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2811 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2812 (ruby-here-doc-end-syntax): Remove.
2813 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2814 defined as function.
2816 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2818 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2820 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2822 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2823 table and abbrev table, `define-derived-mode' does that for us
2826 2013-11-01 Glenn Morris <rgm@gnu.org>
2828 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2829 files is atomic for some time, so no parallel compilation issues).
2831 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2833 * faces.el (face-x-resources): Add :distant-foreground.
2834 (region): Use :distant-foreground for gtk and ns.
2836 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2838 Allow multiple bibliographies when BibLaTeX is used rather than
2840 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2841 (reftex-locate-bibliography-files): Us it.
2843 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2845 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2846 allow comments in pbm files.
2848 * term/w32-win.el (dynamic-library-alist): Support newer versions
2849 of libjpeg starting with v7: look only for the DLL from the
2850 version against which Emacs was built.
2851 Support versions of libpng beyond 1.4.x.
2852 Support libtiff v4.x.
2854 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2856 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2857 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2859 (ruby-deep-arglist): Add property :type.
2861 2013-10-31 Glenn Morris <rgm@gnu.org>
2863 * Makefile.in (custom-deps, finder-data): No need to setq the target
2864 variables, we are in the right directory and the defaults work fine.
2866 2013-10-30 Glenn Morris <rgm@gnu.org>
2868 * Makefile.in (autoloads): Do not use abs_lisp.
2870 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2871 `newline' does not respect `standard-output', so use `princ'.
2873 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2875 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2876 * buff-menu.el (Buffer-menu--unmark): New function.
2877 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2879 2013-10-30 Glenn Morris <rgm@gnu.org>
2881 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2883 * emacs-lisp/package.el (lm-homepage): Declare.
2885 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2888 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2890 * Makefile.in (finder-data, autoloads, update-subdirs)
2891 (compile-main, compile-clean, compile-always, bootstrap-clean):
2892 Check return value of cd.
2893 (compile-calc): Remove.
2895 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2897 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2899 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2900 (byte-compile-and-folded): New function.
2901 (=, <, >, <=, >=): Use it.
2903 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2904 (path-separator, null-device, buffer-file-coding-system)
2905 (lpr-headers-switches): Check system-type before modifying them.
2906 (find-buffer-file-type-coding-system): Mark obsolete.
2907 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2908 find-file-not-found-set-buffer-file-coding-system.
2909 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2910 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2911 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2912 (w32-direct-print-region-helper, w32-direct-print-region-function)
2913 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2914 * startup.el (normal-top-level-add-subdirs-to-load-path):
2915 * ps-print.el (ps-print-region-function):
2916 * lpr.el (print-region-function): Use new name.
2918 * subr.el (custom-declare-variable-early): Remove function.
2919 (custom-declare-variable-list): Remove var.
2920 (error, user-error): Remove `while' loop.
2921 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2922 (user-emacs-directory-warning, locate-user-emacs-file):
2924 * simple.el (read-quoted-char-radix, read-quoted-char):
2925 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2927 * custom.el (custom-declare-variable-list): Don't process
2928 custom-declare-variable-list.
2930 * progmodes/python.el (python-shell-get-buffer): New function.
2931 (python-shell-get-process): Use it.
2932 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2933 Python which encoding was used. Don't split-string since we only care
2934 about the first line. Return the temp-file, if applicable.
2935 (python-shell-send-region): Tell compile.el how to turn locations in
2936 the temp-file into locations in the source buffer.
2938 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2940 * subr.el (undefined): Add missing behavior from the C code for
2943 * rect.el: Use lexical-binding. Add new rectangular region support.
2944 (rectangle-mark): New command.
2945 (rectangle--region): New var.
2946 (deactivate-mark-hook): Reset rectangle--region.
2947 (rectangle--extract-region, rectangle--insert-for-yank)
2948 (rectangle--highlight-for-redisplay)
2949 (rectangle--unhighlight-for-redisplay): New functions.
2950 (region-extract-function, redisplay-unhighlight-region-function)
2951 (redisplay-highlight-region-function): Use them to handle
2953 * simple.el (region-extract-function): New var.
2954 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2955 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2956 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2957 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2958 (redisplay-unhighlight-region-function)
2959 (redisplay-highlight-region-function): New vars.
2960 (redisplay--update-region-highlight): New function.
2961 (pre-redisplay-function): Use it.
2962 (exchange-point-and-mark): Don't deactivate the mark before
2963 reactivate-it anyway.
2964 * comint.el (comint-kill-region): Remove yank-handler argument.
2965 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2966 (delete-char): Remove property, since it's now part of their
2968 (self-insert-iso): Remove property since this command doesn't exist.
2970 * emacs-lisp/package.el (package--download-one-archive)
2971 (describe-package-1): Don't query the user about final newline.
2973 2013-10-29 Daniel Colascione <dancol@dancol.org>
2975 * net/tramp.el (tramp-methods): Document new functionality.
2976 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2977 tramp-hostname-checker if method provides one instead of scanning
2978 argument list for "%h" to decide hostname acceptability.
2980 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2982 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2983 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2984 Handle COPY-CONTENTS. (Bug#15737)
2986 2013-10-28 Daiki Ueno <ueno@gnu.org>
2989 (epa-file-cache-passphrase-for-symmetric-encryption):
2990 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2992 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2994 * image.el (defimage):
2995 (image-load-path): Doc fixes.
2997 2013-10-27 Alan Mackenzie <acm@muc.de>
2999 Indent statements in macros following "##" correctly.
3000 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3001 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3003 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3005 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3007 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3009 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3010 after `=' is probably a new expression.
3012 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3014 * man.el (man-imenu-title): New option.
3015 (Man-mode-map): Add menu. (Bug#15722)
3016 (Man-mode): Add imenu to menu.
3018 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3020 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3021 specific in what the first arg can be: a non-keyword word,
3022 string/regexp/percent literal opener, opening paren, or unary
3023 operator followed directly by word.
3025 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3027 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3028 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3029 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3030 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3031 Remove vars, they do not apply any more.
3032 (prolog-mode-abbrev-table): Remove redundant declaration.
3033 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3034 (prolog-use-smie): Remove.
3035 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3036 supported by prolog-electric-if-then-else-flag.
3037 (prolog-mode-variables, prolog-menu): Use setq-local.
3038 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3039 Remove binding to `Backspace' since this key doesn't exist anyway.
3040 Remove bindings for electric self-inserting keys.
3041 (prog-mode): Assume it's defined.
3042 (prolog-post-self-insert): New function.
3043 (prolog-mode): Use it.
3044 (prolog-indent-line, prolog-indent-level)
3045 (prolog-find-indent-of-matching-paren)
3046 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3047 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3048 (prolog-goto-next-paren, prolog-in-string-or-comment)
3049 (prolog-tokenize, prolog-inside-mline-comment)
3050 (prolog-find-start-of-mline-comment): Remove functions.
3051 (prolog-find-unmatched-paren, prolog-clause-end)
3052 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3053 (prolog-electric--if-then-else): Rename from
3054 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3055 (prolog-tokenize-searchkey): Remove const.
3056 (prolog-clause-info): Use forward-sexp.
3057 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3058 (prolog-electric-if-then-else): Remove commands.
3059 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3060 for use in post-self-insert-hook.
3061 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3062 for use in post-self-insert-hook.
3063 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3064 for use in post-self-insert-hook.
3065 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3066 adapt it for use in post-self-insert-hook.
3068 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3070 * emacs-lisp/ert.el (ert-run-tests-interactively):
3071 Use `completing-read'. (Bug#9756)
3073 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3075 * simple.el (line-move): Call line-move-1 instead of
3076 line-move-visual when the current window hscroll is zero, but
3077 temporary-goal-column indicates we will need to hscroll as result
3078 of the movement. (Bug#15712)
3080 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3082 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3083 capitalization. Use :visible instead of :active.
3084 Fix `ruby-indent-exp' reference. Add menu items for the generic
3085 commands that are used with SMIE.
3086 (ruby-do-end-to-brace): Insert space after `{'.
3088 2013-10-25 John Anthony <john@jo.hnanthony.com>
3090 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3092 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3094 2013-10-25 Glenn Morris <rgm@gnu.org>
3096 * vc/vc.el (vc-print-log): Don't use a working revision unless
3097 one was explicitly specified. (Bug#15322)
3099 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3101 * subr.el (add-to-list): Preserve return value in compiler-macro
3104 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3106 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3107 result. Ask user to retry using '-all' flag. (Bug#15701)
3109 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3111 * emacs-lisp/smie.el: New smie-config system.
3112 (smie-config): New defcustom.
3113 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3114 (smie-config-guess, smie-config-save): New commands.
3115 (smie-config--mode-local, smie-config--buffer-local)
3116 (smie-config--trace, smie-config--modefuns): New vars.
3117 (smie-config--advice, smie-config--mode-hook)
3118 (smie-config--setter, smie-config-local, smie-config--get-trace)
3119 (smie-config--guess-value, smie-config--guess): New functions.
3120 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3121 text properties. Treat "string fence" syntax like string syntax.
3123 * progmodes/sh-script.el (sh-use-smie): Change default.
3124 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3125 (sh-var-value): Simplify by CSE.
3126 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3127 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3129 (sh-guess-basic-offset): Use cl-incf.
3130 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3132 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3134 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3137 2013-10-24 Glenn Morris <rgm@gnu.org>
3139 * Makefile.in (abs_top_srcdir): Remove.
3140 (update-subdirs): Use relative path to update-subdirs.
3142 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3144 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3145 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3146 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3147 Call unmsys--file-name before expand-file-name, not after it.
3149 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3151 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3152 (ert-test-skipped): New error.
3153 (ert-skip, ert-stats-skipped): New defuns.
3154 (ert--skip-unless): New macro.
3155 (ert-test-skipped): New struct.
3156 (ert--run-test-debugger, ert-test-result-type-p)
3157 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3158 (ert--stats-set-test-and-result, ert-char-for-test-result)
3159 (ert-string-for-test-result, ert-run-tests-batch)
3160 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3161 Handle skipped tests. (Bug#9803)
3163 2013-10-24 Glenn Morris <rgm@gnu.org>
3165 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3167 * Makefile.in (abs_top_srcdir): New, set by configure.
3168 (update-subdirs): Correct build-aux location.
3170 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3172 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3173 value, whether we could auto-deduce `backend', or not.
3175 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3176 with parameters" example. Simplify the "is it block or is it
3177 hash" check, but also make it more thorough.
3179 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3181 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3183 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3185 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3188 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3191 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3193 * progmodes/compile.el (compilation-directory-matcher)
3194 (compilation-page-delimiter):
3195 Support GNU Make-4.0 directory quoting. (Bug#15678)
3197 2013-10-23 Leo Liu <sdl.web@gmail.com>
3199 * ido.el (ido-tidy): Handle read-only text.
3201 2013-10-23 Glenn Morris <rgm@gnu.org>
3203 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3204 (emacs, compile, compile-always):
3205 Quote entities that might contain whitespace.
3206 (custom-deps, finder-data, autoloads): Use abs_lisp.
3207 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3208 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3209 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3211 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3213 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3214 Use `following-char'.
3216 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3218 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3219 * progmodes/ruby-mode.el (ruby-smie-rules):
3220 Remove corresponding workaround. Fix indentation rule of ";" so it
3221 also applies when ";" is the parent.
3223 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3225 * frame.el (display-screens, display-pixel-height)
3226 (display-pixel-width, display-mm-width, display-backing-store)
3227 (display-save-under, display-planes, display-color-cells)
3228 (display-visual-class, display-monitor-attributes-list):
3229 Mention the optional ‘display’ argument in doc strings.
3231 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3233 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3234 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3236 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3238 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3239 TODO. Add "." after " @ ".
3240 (ruby-smie--at-dot-call): New function. Checks if point at method
3241 call with explicit target.
3242 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3243 to the method name tokens when it precedes them.
3244 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3245 (ruby-smie-rules): Add rule for indentation before and after "."
3248 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3250 * textmodes/remember.el (remember-diary-extract-entries):
3253 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3256 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3258 * progmodes/ruby-mode.el (ruby-smie-grammar):
3259 Add (almost) all infix operators.
3260 (ruby-smie--implicit-semi-p): Add new operator chars.
3262 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3264 (ruby-smie--args-separator-p): Check that there's no newline
3265 between method call and its arguments.
3267 2013-10-20 Alan Mackenzie <acm@muc.de>
3269 Allow comma separated lists after Java "implements".
3271 * progmodes/cc-engine.el (c-backward-over-enum-header):
3273 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3274 from a "disallowed" list in enum fontification.
3276 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3278 * startup.el (default-frame-background-mode): Remove unused defvar.
3280 * progmodes/verilog-mode.el (verilog-mode): Don't set
3281 comment-indent-function globally.
3283 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3285 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3286 Move Info menu item creation to ns-win.el.
3288 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3291 * menu-bar.el: Move GNUStep specific menus...
3293 * term/ns-win.el (ns-initialize-window-system): ... to here.
3295 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3297 * simple.el (newline): Only run post-self-insert-hook when
3298 called interactively.
3300 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3302 * icomplete.el (icomplete-with-completion-tables): Add :version.
3304 2013-10-19 Alan Mackenzie <acm@muc.de>
3306 Fix fontification bugs with constructors and const.
3308 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3309 CASE 2) Remove the check for the absence of a suffix construct
3310 after a function declaration with only types (no identifiers) in
3311 the parentheses. Also, accept a function declaration with just a
3312 type inside the parentheses, if this type can be positively
3313 recognised as such, or if a prefix keyword like "explicit" nails
3314 down the construct as a declaration.
3316 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3318 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3319 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3320 the problem whereby selecting a menu item that leads to a
3321 minibuffer prompt moves the cursor out of the minibuffer window,
3322 making it hard to type at the prompt. Suggested by Stefan Monnier
3323 <monnier@iro.umontreal.ca>.
3325 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3327 * menu-bar.el: Don't make Services menu.
3329 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3331 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3332 (ffap-alist): Use ffap-c++-mode for c++-mode.
3333 (ffap-c++-path): New variable.
3334 (ffap-c++-mode): New function.
3336 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3338 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3340 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3342 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3343 introduced on 2013-09-08, which results in an infinite loop
3344 requesting a password.
3346 2013-10-18 Glenn Morris <rgm@gnu.org>
3348 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3350 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3352 Sync with upstream verilog-mode revision 1a6ecec7.
3353 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3354 (verilog-mode-release-date): Remove.
3355 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3356 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3357 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3358 (verilog-auto-tieoff-ignore-regexp)
3359 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3360 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3361 (verilog-signals-with, verilog-dir-cache-preserving)
3362 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3364 (verilog-case-fold): New option, to control case folding in
3365 regexp searches, bug597.
3366 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3367 (verilog-string-match-fold, verilog-in-paren-count)
3368 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3369 (verilog-at-close-struct-p): New functions.
3370 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3371 (verilog-forward-sexp, verilog-set-auto-endcomments):
3372 (verilog-leap-to-case-head): Handle "unique0" case.
3373 (verilog-in-constraint-re): New constant.
3374 (verilog-keywords, verilog-type-font-keywords):
3375 Add some SystemVerilog 1800-2012 keywords.
3376 (verilog-label-be): Remove unimplemented argument, bug669.
3377 (verilog-batch-execute-func): When batch expanding clear
3378 create-lockfiles to prevent spurious user locks when a file ends
3380 (verilog-calculate-indent, verilog-calc-1)
3381 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3382 (verilog-do-indent): Fix indentation of nested constraints
3384 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3385 (verilog-auto-inst-param): Use verilog-string-match-fold.
3386 (verilog-read-inst-module-matcher):
3387 Fix AUTOINST on gate primitives with #1.
3388 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3389 Reads all user-defined typed variables.
3390 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3391 (verilog-signals-matching-regexp)
3392 (verilog-signals-not-matching-regexp, verilog-auto):
3393 Respect verilog-case-fold.
3394 (verilog-diff-report): Fix line count.
3395 (verilog-auto-assign-modport): Remove unused local `modi'.
3396 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3397 better handle multidimensional arrays.
3398 Fix packed array ports misadding bit index in AUTOINST, bug637.
3399 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3400 to not double-declare existing outputs and inputs, respectively.
3401 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3402 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3403 (verilog-sk-uvm-component): New skeleton.
3404 (verilog-submit-bug-report): Add verilog-case-fold,
3405 remove verilog-mode-release-date.
3407 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3409 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3412 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3414 * textmodes/remember.el (remember): Set buffer-offer-save in
3415 remember buffers (bug#13566).
3417 2013-10-18 Daniel Colascione <dancol@dancol.org>
3419 When evaluating forms in ielm, direct standard output to ielm
3420 buffer. Add new ielm-return-for-effect command. Remove trailing
3421 whitespace throughout.
3423 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3424 (ielm-return-for-effect): New command.
3425 (ielm-send-input): Accept optional `for-effect' parameter.
3426 (ielm-eval-input): Accept optional `for-effect' parameter.
3427 Bind `standard-output' to stream we create using
3428 `ielm-standard-output-impl'. Suppress printing result when
3430 (ielm-standard-output-impl): New function.
3431 (inferior-emacs-lisp-mode): Explain new features in documentation.
3433 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3437 * net/tramp.el (tramp-debug-message): Do not check for connection
3439 (tramp-message): Use "vector" connection property.
3441 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3442 (tramp-equal-remote, tramp-eshell-directory-change)
3443 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3444 (tramp-adb-handle-rename-file)
3445 * net/tramp-cmds.el (tramp-list-remote-buffers)
3446 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3447 * net/tramp-compat.el (tramp-compat-process-running-p)
3448 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3449 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3450 (tramp-gvfs-handle-rename-file)
3451 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3452 (tramp-set-file-uid-gid)
3453 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3454 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3457 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3458 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3459 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3460 (tramp-gw-open-network-stream): Suppress unrelated traces.
3462 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3463 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3464 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3465 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3466 connection property.
3468 * net/tramp-cache.el (top): Suppress traces when reading
3471 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3472 Refactor common code. Improve debug message.
3473 (tramp-maybe-open-connection)
3474 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3475 connection buffer too early.
3477 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3478 from `tramp-smb-actions-with-acl'.
3479 (tramp-smb-actions-set-acl): New defconst.
3480 (tramp-smb-handle-copy-directory)
3481 (tramp-smb-action-get-acl): New defun, renamed from
3482 `tramp-smb-action-with-acl'.
3483 (tramp-smb-action-set-acl): New defun.
3484 (tramp-smb-handle-set-file-acl): Rewrite.
3486 2013-10-17 Glenn Morris <rgm@gnu.org>
3488 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3490 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3492 * skeleton.el (skeleton-newline): Remove.
3493 (skeleton-internal-1): Use (insert "\n") instead.
3495 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3498 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3499 forward-sexp-function while we redo its job (bug#15613).
3501 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3503 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3504 represented by lists.
3506 2013-10-16 Glenn Morris <rgm@gnu.org>
3508 * tmm.el (tmm--history): New dynamic variable.
3509 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3511 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3513 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3514 (tramp-smb-errors): Add error messages.
3515 (tramp-smb-actions-with-acl): New defconst.
3516 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3517 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3518 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3519 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3520 (tramp-smb-get-stat-capability): Fix tests.
3522 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3524 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3527 2013-10-16 Glenn Morris <rgm@gnu.org>
3529 * ansi-color.el (ansi-color-drop-regexp):
3530 Add 1J, 1K, 2K. (Bug#15617)
3532 * files.el (hack-local-variables--warned-lexical): New.
3533 (hack-local-variables):
3534 Warn about misplaced lexical-binding. (Bug#15616)
3536 * net/eww.el (eww-render): Always set eww-current-url,
3537 and update header line. (Bug#15622)
3538 (eww-display-html): ... Rather than just doing it here.
3540 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3542 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3543 menu navigations commands.
3545 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3547 * progmodes/subword.el (subword-capitalize): Be careful when
3548 the search for [[:alpha:]] fails (bug#15580).
3550 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3552 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3553 to commands that scroll the menu.
3555 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3557 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3558 Handle methods ending with `?' and `!'.
3560 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3562 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3563 `japanese-cp932' to `cp932' to fix the problem where saving a
3564 source file written in Shift_JIS twice would end up having
3565 `coding: japanese-cp932' which Ruby could not recognize.
3566 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3567 in `ruby-encoding-map'.
3568 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3569 doesn't need to be explicitly declared in magic comment.
3570 (ruby-encoding-map): Add type declaration for better customize UI.
3572 2013-10-13 Glenn Morris <rgm@gnu.org>
3574 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3575 Occur buffers are read-only. http://bugs.debian.org/720775
3577 * emacs-lisp/authors.el (authors-fixed-entries):
3578 Comment out old alpha stuff.
3580 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3582 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3583 to `after-save-hook' instead of `before-save-hook'.
3584 (ruby-mode-set-encoding): Use the value of coding system used to
3585 write the file. Call `basic-save-buffer-1' after modifying the
3588 2013-10-13 Alan Mackenzie <acm@muc.de>
3590 Fix indentation/fontification of Java enum with
3591 "implements"/generic.
3593 * progmodes/cc-engine.el (c-backward-over-enum-header):
3594 Extracted from the three other places and enhanced to handle generics.
3595 (c-inside-bracelist-p): Uses new function above.
3596 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3598 (c-font-lock-enum-tail): Uses new function above.
3600 2013-10-13 Kenichi Handa <handa@gnu.org>
3602 * international/mule-cmds.el (select-safe-coding-system): Remove a
3603 superfluous condition in chekcing whether a coding system is safe
3606 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3608 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3610 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3612 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3614 2013-10-13 Glenn Morris <rgm@gnu.org>
3616 * menu-bar.el (menu-bar-update-buffers):
3617 Unify Buffers menu prompt string. (Bug#15576)
3619 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3621 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3623 (authors-fixed-entries): Use accented form of name.
3625 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3627 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3628 method calls (bug#15594).
3629 (ruby-smie--args-separator-p): New function.
3630 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3631 recognize paren-free method calls.
3633 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3634 internals of universal-argument.
3636 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3638 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3639 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3640 dropped menu on second mouse click on the menu bar.
3642 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3644 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3645 (explicit-shell-file-name): Declare.
3646 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3647 (sh-completion-at-point-function): New function.
3649 (sh-smie--keyword-p): Remove unused argument.
3650 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3652 (sh-set-shell): Always setup SMIE, even if we use the
3653 old indentation code.
3655 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3657 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3659 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3660 predicate would return nil are almost non-existent.
3661 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3663 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3664 cache also after commands that modify the buffer but don't move
3667 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3669 * env.el (substitute-env-in-file-name): New function.
3670 (substitute-env-vars): Extend the meaning of the optional arg.
3672 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3674 * term/w32-win.el (dynamic-library-alist): Define separate lists
3675 of GIF DLLs for versions before and after 5.0.0 of giflib.
3678 2013-10-10 João Távora <joaotavora@gmail.com>
3680 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3681 not locked, use last revision and current source as
3682 defaults. (Bug#15569)
3684 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3686 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3689 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3691 * window.el (pop-to-buffer-same-window): Fix doc-string.
3694 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3696 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3698 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3700 * calendar/icalendar.el (icalendar-import-file):
3701 Fix interactive spec. (Bug#15482)
3703 2013-10-10 Glenn Morris <rgm@gnu.org>
3705 * desktop.el (desktop-save): Default to saving in .emacs.d,
3706 since PWD is no longer in desktop-path by default. (Bug#15319)
3708 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3709 now that text mode has a menu with the same entry.
3710 (menu-bar-text-mode-auto-fill): Remove now unused func.
3711 * textmodes/text-mode.el (text-mode-map):
3712 Use auto-fill help text from menu-bar.el.
3714 2013-10-10 John Anthony <john@jo.hnanthony.com>
3716 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3718 2013-10-09 Juri Linkov <juri@jurta.org>
3720 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3721 instead of this-command-keys. Add universal-argument-more and
3722 universal-argument-minus to the list of prefix commands. (Bug#15568)
3724 2013-10-09 Glenn Morris <rgm@gnu.org>
3726 * vc/vc-svn.el (vc-svn-create-repo):
3727 Expand paths in file://... url. (Bug#15446)
3729 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3731 (authors): Remove unused local variables.
3733 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3735 * profiler.el: Create a more coherent calltree from partial backtraces.
3736 (profiler-format): Hide the tail with `invisible' so that C-s can still
3737 find the hidden elements.
3738 (profiler-calltree-depth): Don't recurse so enthusiastically.
3739 (profiler-function-equal): New hash-table-test.
3740 (profiler-calltree-build-unified): New function.
3741 (profiler-calltree-build): Use it.
3742 (profiler-report-make-name-part): Indent the calltree less.
3743 (profiler-report-mode): Add visibility specs for profiler-format.
3744 (profiler-report-expand-entry, profiler-report-toggle-entry):
3745 Expand the whole subtree when provided with a prefix arg.
3747 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3749 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3751 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3752 hanging iuwu-mod token.
3753 (ruby-smie--forward-token): Do not include a dot after a token in
3755 (ruby-smie--backward-token): Likewise.
3757 2013-10-08 Juri Linkov <juri@jurta.org>
3759 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3760 to isearch-other-control-char.
3761 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3762 and isearch-post-command-hook to post-command-hook.
3763 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3764 and isearch-post-command-hook from post-command-hook.
3765 (isearch-unread-key-sequence)
3766 (isearch-reread-key-sequence-naturally)
3767 (isearch-lookup-scroll-key, isearch-other-control-char)
3768 (isearch-other-meta-char): Remove functions.
3769 (isearch-pre-command-hook, isearch-post-command-hook):
3770 New functions based on isearch-other-meta-char rewritten
3771 relying on the new behavior of overriding-terminal-local-map
3772 that does not replace the local keymaps any more. (Bug#15200)
3774 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3776 Support menus on text-mode terminals.
3777 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3780 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3782 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3783 Move here from mouse.el.
3784 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3786 (tty-menu-navigation-map): New map for TTY menu navigation.
3788 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3790 * frame.el (display-mouse-p): Report text-mode mouse as available
3792 (display-popup-menus-p): Report availability if mouse is
3793 available; don't condition on window-system.
3795 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3796 (tty-menu-selected-face): New faces.
3798 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3800 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3801 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3802 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3803 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3805 (lisp-mode-variables): New `elisp' argument.
3806 (emacs-lisp-mode): Use it.
3807 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3808 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3810 * indent.el: Use lexical-binding.
3811 (indent-region): Add progress reporter.
3812 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3814 (indent--next-tab-stop): New function to implement this behavior.
3815 (tab-to-tab-stop, move-to-tab-stop): Use it.
3817 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3819 * indent.el (indent-rigidly--current-indentation): New function.
3820 (indent-rigidly-map): New var.
3821 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3823 2013-10-08 Bastien Guerry <bzg@gnu.org>
3825 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3827 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3829 * progmodes/perl-mode.el: Use lexical-binding.
3830 Remove redundant :group args.
3831 (perl-nochange): Change default to be closer to other major modes's
3833 (perl-indent-line): Don't consider text on current line as a
3834 valid beginning of function from which to indent.
3836 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3837 with more than one argument (bug#15538).
3839 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3841 * vc/pcvs.el: Use lexical-binding.
3842 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3843 environment of `eval'.
3844 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3845 than a list of expressions. Adjust callers.
3846 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3848 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3850 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3851 case of the dot in a chained method call being on the following line.
3853 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3855 * electric.el (electric-indent-inhibit): New var.
3856 (electric-indent-post-self-insert-function): Use it.
3857 * progmodes/python.el (python-mode): Set it.
3859 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3862 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3864 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3865 (css-mode): Use electric-indent-chars.
3867 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3868 (font-lock-beg, font-lock-end): Move before first use.
3869 (nxml-mode): Use syntax-propertize-function.
3870 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3871 (nxml-extend-after-change-region): Remove.
3872 * nxml/xmltok.el: Use lexical-binding.
3873 (xmltok-save): Use `declare'.
3874 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3875 * nxml/nxml-util.el: Use lexical-binding.
3876 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3878 * nxml/nxml-ns.el: Use lexical-binding.
3879 (nxml-ns-save): Use `declare'.
3880 (nxml-ns-prefixes-for): Avoid add-to-list.
3881 * nxml/rng-match.el: Use lexical-binding.
3882 (rng--ipattern): Use cl-defstruct.
3883 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3884 (rng-cons-group-after, rng-subst-group-after)
3885 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3886 Use closures instead of `(lambda...).
3888 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3890 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3893 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3894 Use `tramp-handle-insert-file-contents'.
3895 (tramp-gvfs-handle-insert-file-contents): Remove function.
3897 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3898 Use `save-restriction' in order to keep markers.
3900 * net/trampver.el: Update release number.
3902 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3904 * progmodes/compile.el (compilation-parse-errors):
3905 Use compilation--put-prop.
3906 (compilation--ensure-parse): Check compilation-multiline.
3908 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3910 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3913 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3915 * progmodes/ruby-mode.el: Fix recently added tests.
3916 (ruby-smie-grammar): Add - and +.
3917 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3918 (ruby-smie--backward-id): New functions.
3919 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3920 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3923 2013-10-07 Leo Liu <sdl.web@gmail.com>
3925 * register.el (register-preview-delay)
3926 (register-preview-functions): New variables.
3927 (register-read-with-preview, register-preview)
3928 (register-describe-oneline): New functions.
3929 (point-to-register, window-configuration-to-register)
3930 (frame-configuration-to-register, jump-to-register)
3931 (number-to-register, view-register, insert-register)
3932 (copy-to-register, append-to-register, prepend-to-register)
3933 (copy-rectangle-to-register): Use register-read-with-preview to
3934 read register. (Bug#15525)
3936 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3938 * net/network-stream.el (network-stream-open-starttls): Don't add
3939 --insecure if it's already present, because that gnutls-cli
3940 rejects getting that parameter twice.
3942 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3944 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3947 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3949 * newcomment.el (comment-use-global-state): Change default value
3950 to t, mark obsolete (Bug#15251).
3951 (comment-beginning): In addition to `comment-to-syntax', check the
3952 value of `comment-use-global-state'.
3954 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3956 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3957 (ruby-comment-column): Follow the global default, by default.
3958 (ruby-smie-grammar): Add assignment syntax.
3959 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3960 open-paren, a comma, or a \.
3961 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3962 and line continuations.
3963 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3964 followed by implicit semi-colons. Add rule for string concatenation
3965 and for indentation at BOB.
3966 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3968 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3969 calling next-sexp, since next-token may have skipped chars which
3970 next-sexp doesn't know should be skipped!
3972 2013-10-05 Leo Liu <sdl.web@gmail.com>
3974 * progmodes/octave.el (octave-send-region):
3975 Call compilation-forget-errors.
3977 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3979 * vc/vc-svn.el (vc-svn-find-admin-dir):
3980 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3981 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3982 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3983 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3985 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3987 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3989 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3991 * subr.el (read-passwd): Hide chars even when called within a context
3992 where after-change-functions is disabled (bug#15501).
3993 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3994 until we removed ourself from overriding-terminal-local-map.
3996 2013-10-04 Leo Liu <sdl.web@gmail.com>
3998 * progmodes/octave.el (inferior-octave-mode):
3999 Call compilation-forget-errors.
4001 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4003 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4005 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4007 * net/secrets.el (secrets-create-collection): Add optional
4008 argument ALIAS. Use proper Label keyword. Append ALIAS as
4009 dbus-call-method argument. (Bug#15516)
4011 2013-10-04 Leo Liu <sdl.web@gmail.com>
4013 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4014 (inferior-octave-compilation-font-lock-keywords): New variables.
4015 (compilation-error-regexp-alist)
4016 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4017 (inferior-octave-mode): Use compilation-shell-minor-mode.
4019 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4021 * minibuffer.el (completion--replace): Be careful that `end' might be
4024 2013-10-03 Daiki Ueno <ueno@gnu.org>
4026 Add support for package signature checking.
4027 * emacs-lisp/package.el (url-http-file-exists-p)
4028 (epg-make-context, epg-context-set-home-directory)
4029 (epg-verify-string, epg-context-result-for)
4030 (epg-signature-status, epg-signature-to-string)
4031 (epg-check-configuration, epg-configuration)
4032 (epg-import-keys-from-file): Declare.
4033 (package-check-signature): New user option.
4034 (package-unsigned-archives): New user option.
4035 (package-desc): Add `signed' field.
4036 (package-load-descriptor): Set `signed' field if .signed file exists.
4037 (package--archive-file-exists-p): New function.
4038 (package--check-signature): New function.
4039 (package-install-from-archive): Check package signature.
4040 (package--download-one-archive): Check archive signature.
4041 (package-delete): Remove .signed file.
4042 (package-import-keyring): New command.
4043 (package-refresh-contents): Import default keyring.
4044 (package-desc-status): Add "unsigned" status.
4045 (describe-package-1, package-menu--print-info)
4046 (package-menu-mark-delete, package-menu--find-upgrades)
4047 (package-menu--status-predicate): Support "unsigned" status.
4049 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4051 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4052 the new compilation scheme using the new byte-codes.
4054 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4055 (byte-pophandler): New byte codes.
4056 (byte-goto-ops): Adjust accordingly.
4057 (byte-compile--use-old-handlers): New var.
4058 (byte-compile-catch): Use new byte codes depending on
4059 byte-compile--use-old-handlers.
4060 (byte-compile-condition-case--old): Rename from
4061 byte-compile-condition-case.
4062 (byte-compile-condition-case--new): New function.
4063 (byte-compile-condition-case): New function that dispatches depending
4064 on byte-compile--use-old-handlers.
4065 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4068 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4069 Optimize under `condition-case' and `catch' if
4070 byte-compile--use-old-handlers is nil.
4071 (disassemble-offset): Handle new bytecodes.
4073 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4075 * subr.el (error): Use `declare'.
4076 (decode-char, encode-char): Use advertised-calling-convention instead
4077 of the docstring to discourage use of the `restriction' arg.
4079 2013-10-03 Daiki Ueno <ueno@gnu.org>
4081 * epg.el (epg-verify-file): Add a comment saying that it does not
4082 notify verification error as a return value nor a signal.
4083 (epg-verify-string): Ditto.
4085 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4087 * progmodes/compile.el (compilation-start): Try globbing the arg to
4090 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4092 Sync with Tramp 2.2.8.
4094 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4095 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4096 * net/trampver.el: Update release number.
4098 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4100 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4101 and default-process-coding-system for darwin only.
4103 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4105 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4107 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4109 * vc/vc-git.el (vc-git-grep): Disable pager.
4111 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4113 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4114 Use :url instead of :homepage, as per
4115 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4117 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4118 non-nil, use `syntax-ppss' (Bug#15251).
4120 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4122 * progmodes/octave.el (inferior-octave-startup-file):
4123 Prefer ~/.emacs.d/init_octave.m.
4125 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4127 * emacs-lisp/package.el (package-desc-from-define):
4128 Accept additional arguments as plist, convert them to an alist and store
4129 them in the `extras' slot.
4130 (package-generate-description-file): Convert extras alist back to
4131 plist and append to the `define-package' form arguments.
4132 (package--alist-to-plist): New function.
4133 (package--ac-desc): Add `extras' slot.
4134 (package--add-to-archive-contents): Check if the archive-contents
4135 vector is long enough, and if it is, pass its `extras' slot value
4136 to `package-desc-create'.
4137 (package-buffer-info): Call `lm-homepage', pass the returned value
4138 to `package-desc-from-define'.
4139 (describe-package-1): Render the homepage button (Bug#13291).
4141 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4142 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4144 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4146 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4147 and default-process-coding-system to utf-8-unix (Bug#15402).
4149 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4151 * subr.el (looking-back): Do not recommend using looking-back.
4153 2013-09-28 Alan Mackenzie <acm@muc.de>
4155 Fix indentation/fontification of Java enum with "implements".
4157 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4158 regexp which matches "implements", etc., in Java.
4159 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4160 specifier clauses coming after "enum".
4161 * progmodes/cc-fonts.el (c-font-lock-declarations)
4162 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4165 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4167 * faces.el (region): Change ns_selection_color to
4168 ns_selection_fg_color, add ns_selection_bg_color.
4170 2013-09-28 Leo Liu <sdl.web@gmail.com>
4172 * progmodes/octave.el (inferior-octave-completion-table)
4173 (inferior-octave-completion-at-point): Minor tweaks.
4175 * textmodes/ispell.el (ispell-lookup-words): Rename from
4176 lookup-words. (Bug#15460)
4177 (lookup-words): Obsolete.
4178 (ispell-complete-word, ispell-command-loop): All uses changed.
4180 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4182 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4183 (octave-mode-menu): Add octave-send-buffer.
4184 (octave-send-buffer): New function.
4186 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4188 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
4190 (octave-mode-menu): Add octave-lookfor.
4191 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4193 (octave-lookfor): New function.
4195 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4197 * emacs-lisp/cl-macs.el:
4198 (cl--loop-destr-temps): Remove.
4199 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4201 (cl--loop-set-iterator-function): New function.
4202 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4203 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4204 Bind `it' with `let' instead of substituting it with `cl-subst'.
4205 (cl--unused-var-p): New function.
4206 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4207 Eliminate some unused variable warnings (bug#15326).
4209 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4211 * doc-view.el (doc-view-scale-reset): Rename from
4212 `doc-view-reset-zoom-level'.
4213 (doc-view-scale-adjust): New command.
4214 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4215 `doc-view-scale-adjust'.
4217 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4219 * doc-view.el (doc-view-reset-zoom-level): New command.
4220 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4221 zoom commands (bug#15466).
4223 2013-09-26 Kenichi Handa <handa@gnu.org>
4225 * international/quail.el (quail-help): Make it not a command.
4227 2013-09-26 Leo Liu <sdl.web@gmail.com>
4229 * minibuffer.el (completion-all-sorted-completions): Make args
4230 optional as they are.
4232 2013-09-25 Daniel Colascione <dancol@dancol.org>
4234 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4235 specs are and that they're not evaluated.
4237 2013-09-24 Sam Steingold <sds@gnu.org>
4239 * midnight.el (clean-buffer-list-kill-regexps)
4240 (clean-buffer-list-kill-buffer-names): Update for the new Man
4241 buffer naming which includes the object name.
4243 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4245 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4246 (eshell-parse-command, eshell-parse-pipeline): Use it since
4247 eshell-separate-commands requires a dynamic scoped var.
4248 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4250 2013-09-23 Leo Liu <sdl.web@gmail.com>
4252 * autoinsert.el (auto-insert-alist): Make the value of
4253 lexical-binding match its file setting.
4255 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4257 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4259 * autoarg.el (autoarg-kp-digit-argument):
4260 * electric.el (Electric-command-loop):
4261 * kmacro.el (kmacro-step-edit-insert):
4262 Do not set universal-argument-num-events.
4264 2013-09-22 Leo Liu <sdl.web@gmail.com>
4266 * files.el (interpreter-mode-alist): Add octave.
4268 2013-09-21 Alan Mackenzie <acm@muc.de>
4270 C++: fontify identifier in declaration following "public:" correctly.
4271 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4272 to match "public", etc.
4273 (c-decl-prefix-re): Add ":" into the C++ value.
4274 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4275 bit. Add a check for a ":" preceded by "public", etc.
4277 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4279 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4280 recognized by GDB 7.5 and later.
4282 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4284 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4286 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4288 * subr.el (internal--call-interactively): New const.
4289 (called-interactively-p): Use it (bug#3984).
4291 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4293 * vc/pcvs.el (cvs-mode-ignore):
4294 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4295 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4297 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4299 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4300 (eshell-ls-orig-insert-directory): Remove.
4301 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4302 (eshell-ls-use-in-dired): Use advice-add/remove.
4303 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4304 Add `orig-fun' arg for use in :around advice.
4305 Make it check (redundantly) eshell-ls-use-in-dired.
4307 2013-09-19 Glenn Morris <rgm@gnu.org>
4309 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4311 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4313 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4315 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4317 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4318 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4319 (tramp-get-remote-python): New defuns.
4320 (tramp-get-remote-uid-with-perl)
4321 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4322 contributed by yary <not.com@gmail.com> (tiny change).
4323 (tramp-get-remote-uid-with-python)
4324 (tramp-get-remote-gid-with-python): New defuns. Python code
4325 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4326 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4328 2013-09-19 Glenn Morris <rgm@gnu.org>
4330 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4332 * eshell/em-unix.el (eshell-remove-entries):
4333 Rename argument to avoid name-clash with global `top-level'.
4335 * eshell/esh-proc.el (eshell-kill-process-function):
4336 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4337 (eshell-reset-after-proc): Remove unused arg `proc'.
4339 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4340 (directory-files-and-attributes): Mark unused arg.
4342 * eshell/em-unix.el (eshell-remove-entries):
4343 Remove unused arg `path'. Update callers.
4345 * eshell/em-hist.el (eshell-hist-parse-arguments):
4346 Remove unused arg `silent'. Update callers.
4348 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4349 Fix (f)boundp mix-up.
4351 * eshell/em-smart.el (eshell-smart-scroll-window)
4352 (eshell-disable-after-change):
4353 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4355 2013-09-18 Alan Mackenzie <acm@muc.de>
4357 Fix fontification of type when followed by "const".
4358 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4359 "known" types from fontification.
4361 2013-09-18 Glenn Morris <rgm@gnu.org>
4363 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4364 (chart-face-list): Drop Emacsen without display-color-p.
4366 * net/eww.el (libxml-parse-html-region): Declare.
4367 (eww-display-html): Explicit error if no libxml2 support.
4369 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4371 * image.el (image-type-from-buffer, image-multi-frame-p):
4372 Remove --without-x warning/error.
4374 * mouse.el (mouse-yank-primary):
4375 * term.el (term-mouse-paste):
4376 Reorder to silence --without-x compilation.
4378 * mpc.el (doc-view-mode): Silence --without-x compilation.
4380 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4381 Silence --without-x compilation.
4383 * progmodes/gud.el (gud-find-file, gud-mode):
4384 Silence --without-x compilation.
4385 (tooltip-mode): Declare.
4387 * wdired.el (dired-backup-overwrite): Remove declaration.
4388 (wdired-mode-map): Add doc string.
4390 * custom.el (x-get-resource): Declare.
4392 * eshell/em-glob.el (ange-cache):
4393 * eshell/em-unix.el (ange-cache): Declare.
4395 * faces.el (x-display-list, x-open-connection, x-get-resource):
4398 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4399 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4402 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4404 * net/gnutls.el (gnutls-log-level): Declare.
4406 * net/shr.el (image-size, image-animate): Declare.
4408 * simple.el (font-info): Declare.
4410 * subr.el (x-popup-dialog): Declare.
4412 * term/common-win.el (x-select-enable-primary)
4413 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4416 * term/ns-win.el (x-handle-args): Declare.
4418 * term/x-win.el (x-select-enable-clipboard): Declare.
4420 * term/w32-win.el (create-default-fontset): Declare.
4422 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4425 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4426 (fit-frame-to-buffer): Explicit error if --without-x.
4427 (mouse-autoselect-window-select): Silence compiler.
4429 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4431 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4432 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4433 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4434 * eshell/esh-util.el (eshell-sublist):
4435 Remove unused local variables.
4437 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4439 * textmodes/two-column.el: Make 2C-split work for --without-x.
4440 (scroll-bar-columns): Autoload.
4441 (top-level): Require fringe when compiling.
4443 2013-09-18 Leo Liu <sdl.web@gmail.com>
4445 * subr.el (add-hook): Robustify to handle closure as well.
4447 2013-09-17 Glenn Morris <rgm@gnu.org>
4449 * simple.el (messages-buffer-mode-map): Unbind "g".
4451 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4453 * help-mode.el (help-mode-finish): Use derived-mode-p.
4454 Remove obsolete highlighting.
4456 * play/life.el (life-mode): Use define-derived-mode. Derive from
4458 (life): Let-bind inhibit-read-only.
4459 (life-setup): Avoid `setq'. Use `life-mode'.
4461 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4462 which should not be needed any more.
4463 (package-menu-refresh, package-menu-describe-package): Use user-error.
4465 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4466 (eshell-post-rewrite-command-hook): Make obsolete.
4467 (eshell-parse-command): Simplify.
4468 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4469 (eshell--cmd): Declare.
4470 (eshell-parse-pipeline): Remove unused var `final-p'.
4471 Pass a dynvar to eshell-post-rewrite-command-hook.
4472 Implement the new eshell-post-rewrite-command-function.
4473 (eshell-invoke-directly): Remove unused arg `input'.
4474 * eshell/esh-io.el (eshell-io-initialize):
4475 Use eshell-post-rewrite-command-function (bug#15399).
4476 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4477 adjust to new calling convention.
4478 (eshell-create-handles): Rename args to avoid clashing with dynvar
4481 2013-09-17 Glenn Morris <rgm@gnu.org>
4483 * simple.el (messages-buffer-mode): New major mode.
4484 (messages-buffer): New function.
4485 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4486 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4487 (ert-run-test): Use `messages-buffer' function.
4488 (ert--force-message-log-buffer-truncation): Ignore read-only.
4489 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4490 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4492 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4494 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4496 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4498 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4500 * icomplete.el (icomplete-in-buffer): New var.
4501 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4502 vars and replace them with functions.
4503 (icomplete-minibuffer-setup): Adjust accordingly.
4504 (icomplete--completion-table, icomplete--completion-predicate)
4505 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4507 (icomplete-forward-completions, icomplete-backward-completions)
4508 (icomplete-simple-completing-p, icomplete-exhibit)
4509 (icomplete-completions): Use them.
4510 (icomplete--in-region-buffer): New var.
4511 (icomplete--in-region-setup): New function.
4512 (icomplete-mode): Use it.
4514 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4516 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4517 return args and options.
4518 (eshell-eval-using-options): Use the new return value of
4519 eshell--do-opts to set the options's vars in their scope.
4520 (eshell--set-option): Rename from eshell-set-option.
4522 (eshell--process-option): Rename from eshell-process-option.
4524 (eshell--process-args): Use an `opt-vals' alist to store the options's
4525 values during their processing and return them additionally to the
4528 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4530 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4531 continuation character an operator, as far as indentation is
4532 concerned (Bug#15369).
4534 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4536 * window.el (window--state-put-2): Don't process buffer state
4537 when buffer doesn't exist any more (Bug#15382).
4539 2013-09-15 Glenn Morris <rgm@gnu.org>
4541 * eshell/em-unix.el (eshell/rm):
4542 Make -f ignore missing files. (Bug#15373)
4544 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4545 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4546 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4548 2013-09-14 Glenn Morris <rgm@gnu.org>
4550 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4552 2013-09-13 Glenn Morris <rgm@gnu.org>
4554 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4555 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4557 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4559 * frame.el (x-focus-frame): Mark as declared in frame.c.
4561 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4563 * ls-lisp.el: Use advice-add.
4564 (original-insert-directory): Remove.
4565 (ls-lisp--insert-directory): Rename from insert-directory; add
4566 `orig-fun' argument.
4567 (insert-directory): Advise.
4569 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4571 * term.el (term-emulate-terminal): Decode the command string
4572 before passing it to term-command-hook. (Bug#15337)
4574 2013-09-13 Glenn Morris <rgm@gnu.org>
4576 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4578 * eshell/esh-ext.el (eshell-search-path): Declare.
4580 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4581 Otherwise an error occurs if eshell-dirs module not loaded.
4583 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4585 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4587 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4588 `tramp-check-proper-host'. Check for a valid method name.
4590 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4591 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4592 * net/tramp-sh.el (tramp-maybe-open-connection):
4593 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4595 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4596 also for hash values.
4598 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4600 * term/ns-win.el (parameters): Don't declare as dynamic.
4601 (before-make-frame-hook): Don't add ineffective function.
4603 * eshell/*.el: Use lexical-binding (bug#15231).
4605 2013-09-12 Kenichi Handa <handa@gnu.org>
4607 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4609 2013-09-12 Glenn Morris <rgm@gnu.org>
4611 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4612 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4614 * subr.el (do-after-load-evaluation): Also give compiler warnings
4615 when obsolete files are used (except by obsolete files).
4617 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4618 in the status output, assume `filename' is the first. (Bug#15322)
4620 * vc/vc.el (vc-deduce-fileset): Doc fix.
4622 * calc/calc-help.el (Info-goto-node):
4623 * progmodes/cperl-mode.el (Info-find-node):
4624 * vc/ediff.el (Info-goto-node): Update declarations.
4626 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4628 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4629 (vc-bzr-pull): Require vc-dispatcher.
4630 * vc/vc-git.el (vc-compilation-mode): Declare.
4631 (vc-git-pull): Require vc-dispatcher.
4633 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4635 * progmodes/octave.el (help-button-action): Declare.
4637 * shell.el (shell-directory-tracker): Output error as a message
4638 rather than just returning it as a string.
4639 (shell-process-pushd): Remove useless use of message.
4641 * dframe.el (dframe-timer-fn):
4642 * files.el (dir-locals-read-from-file):
4643 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4645 * reveal.el (reveal-post-command):
4646 * saveplace.el (load-save-place-alist-from-file):
4647 * shell.el (shell-resync-dirs):
4648 * w32-common-fns.el (x-get-selection-value):
4649 * emacs-lisp/copyright.el (copyright-find-copyright):
4650 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4651 * emulation/tpu-edt.el (tpu-copy-keyfile):
4652 * play/bubbles.el (bubbles--mark-neighbourhood):
4653 * progmodes/executable.el
4654 (executable-make-buffer-file-executable-if-script-p):
4655 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4657 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4659 Cleanup Eshell to rely less on dynamic scoping.
4660 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4661 last-value, and ext-command here. Bind `args' closer to `body'.
4662 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4663 (eshell--args): Declare new dynamic var.
4664 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4665 last-value, and ext-command. Pass `args' to `body'.
4666 (eshell-process-args): Bind eshell--args.
4667 (eshell-set-option): Use eshell--args.
4668 * eshell/eshell.el (eshell): Use derived-mode-p.
4669 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4670 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4671 (eshell-glob-function): Declare.
4672 * eshell/esh-util.el: Require cl-lib.
4673 (eshell-read-hosts-file): Avoid add-to-list.
4674 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4676 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4678 (eshell/diff): Remove unused var `err'.
4679 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4681 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4682 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4684 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4685 Move declaration before first use.
4686 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4687 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4690 2013-09-12 Glenn Morris <rgm@gnu.org>
4692 * term/ns-win.el (global-map): Remove binding for ispell-next,
4693 deleted 1999-05-29. (Bug#15357)
4695 2013-09-11 Glenn Morris <rgm@gnu.org>
4697 * echistory.el (electric-command-history): Remove call to deleted func.
4699 * play/landmark.el (landmark-mode): Fix typos.
4701 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4702 Check cvs-sort-ignore-file is bound.
4704 * savehist.el: No need for cl when compiling on Emacs.
4706 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4708 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4710 (eshell-self-insert-command, eshell-send-invisible):
4711 Remove unused argument.
4712 (eshell-handle-control-codes): Remove unused var `orig'.
4713 Avoid delete-backward-char.
4715 * files.el (set-auto-mode): Simplify a bit further.
4717 2013-09-11 Glenn Morris <rgm@gnu.org>
4719 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4720 (set-auto-mode): Don't regexp-quote elements.
4721 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4722 * progmodes/cc-mode.el (interpreter-mode-alist):
4723 * progmodes/ruby-mode.el (interpreter-mode-alist):
4724 Revert previous change.
4726 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4728 * play/snake.el (snake-mode):
4729 * play/mpuz.el (mpuz-mode):
4730 * play/landmark.el (lm-mode):
4731 * play/blackbox.el (blackbox-mode):
4732 * play/5x5.el (5x5-mode):
4733 * obsolete/options.el (Edit-options-mode):
4734 * net/quickurl.el (quickurl-list-mode):
4735 * net/newst-treeview.el (newsticker-treeview-mode):
4736 * mail/rmailsum.el (rmail-summary-mode):
4737 * mail/mspools.el (mspools-mode):
4738 * locate.el (locate-mode):
4739 * ibuffer.el (ibuffer-mode):
4740 * emulation/ws-mode.el (wordstar-mode):
4741 * emacs-lisp/debug.el (debugger-mode):
4742 * array.el (array-mode):
4743 * net/eudc.el (eudc-mode): Use define-derived-mode.
4744 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4745 Move initialization into declaration.
4746 (mairix-searches-mode): Use define-derived-mode.
4747 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4748 (eudc-edit-hotlist): Use dolist.
4749 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4750 (Man-mode): Use define-derived-mode.
4751 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4752 (Info-edit-mode): Use define-derived-mode.
4753 (Info-cease-edit): Use Info-mode.
4754 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4756 (eshell-mode): Use define-derived-mode.
4757 * chistory.el (command-history-mode-map): Rename from
4758 command-history-map.
4759 (command-history-mode): Use define-derived-mode.
4760 (Command-history-setup): Remove function.
4761 * calc/calc.el (calc-trail-mode-map): New var.
4762 (calc-trail-mode): Use define-derived-mode.
4763 (calc-trail-buffer): Set calc-main-buffer manually.
4764 * bookmark.el (bookmark-insert-annotation): New function.
4765 (bookmark-edit-annotation): Use it.
4766 (bookmark-edit-annotation-mode): Make it a proper major mode.
4767 (bookmark-send-edited-annotation): Use derived-mode-p.
4768 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4769 closer to its ideal place. Use \' to match EOS.
4771 * profiler.el (profiler-calltree-find): Use function-equal.
4773 2013-09-10 Glenn Morris <rgm@gnu.org>
4775 * files.el (interpreter-mode-alist): Convert to regexps.
4776 (set-auto-mode): Adapt for this. (Bug#15306)
4777 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4778 Comment out unused variable.
4779 * progmodes/cc-mode.el (interpreter-mode-alist):
4780 * progmodes/python.el (interpreter-mode-alist):
4781 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4782 * progmodes/sh-script.el (sh-set-shell):
4783 No longer use interpreter-mode-alist to get list of shells.
4785 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4787 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4789 * simple.el: Use set-temporary-overlay-map for universal-argument.
4790 (universal-argument-map): Don't use default-bindings (bug#15317).
4791 Bind switch-frame explicitly. Replace universal-argument-minus with
4792 a conditional binding.
4793 (universal-argument-num-events, saved-overriding-map): Remove.
4794 (restore-overriding-map): Remove.
4795 (universal-argument--mode): Rename from save&set-overriding-map,
4797 (universal-argument, universal-argument-more, negative-argument)
4798 (digit-argument): Adjust accordingly.
4799 (universal-argument-minus): Remove.
4800 (universal-argument-other-key): Remove.
4802 * subr.el (with-demoted-errors): Add `format' argument.
4804 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4806 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4807 `tramp-cleanup-connection'.
4809 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4810 parameters KEEP-DEBUG and KEEP-PASSWORD.
4812 * net/tramp.el (tramp-file-name-handler):
4813 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4814 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4815 (tramp-maybe-open-connection):
4816 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4817 Use `tramp-cleanup-connection'.
4819 * net/tramp-sh.el (tramp-maybe-open-connection):
4820 Catch 'uname-changed inside the progress reporter.
4822 2013-09-10 Glenn Morris <rgm@gnu.org>
4824 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4826 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4827 returns "alternate access method" in mode (eg "-rw-r--r--.").
4829 2013-09-08 Glenn Morris <rgm@gnu.org>
4831 * saveplace.el (load-save-place-alist-from-file):
4832 Demote errors. (Bug#15305)
4834 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4836 Improve compatibility with older Emacsen, and XEmacs.
4838 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4839 only if it is bound. It isn't for XEmacs.
4840 (with-tramp-progress-reporter): Do not let-bind `result'.
4841 This yields to scoping errors in XEmacs.
4842 (tramp-handle-make-auto-save-file-name): New function, moved from
4845 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4846 for `make-auto-save-file-name'.
4847 (tramp-adb--gnu-switches-to-ash):
4848 Use `tramp-compat-replace-regexp-in-string'.
4850 * net/tramp-cache.el (tramp-cache-print): Call
4851 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4853 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4854 bound. It isn't for XEmacs.
4856 * net/tramp-compat.el (tramp-compat-copy-file):
4857 Catch `wrong-number-of-arguments' error.
4858 (tramp-compat-replace-regexp-in-string): New defun.
4860 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4861 for `make-auto-save-file-name'.
4862 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4864 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4865 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4866 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4868 * net/tramp-gw.el (tramp-gw-open-network-stream):
4869 Use `tramp-compat-replace-regexp-in-string'.
4871 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4872 Call `tramp-handle-make-auto-save-file-name'.
4873 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4874 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4875 (tramp-sh-file-inotifywait-process-filter):
4876 Use `tramp-compat-replace-regexp-in-string'.
4877 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4879 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4880 for `make-auto-save-file-name'.
4881 (tramp-smb-handle-copy-directory):
4882 Call `tramp-compat-replace-regexp-in-string'.
4883 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4884 (tramp-smb-handle-copy-file): Improve error message.
4885 (tramp-smb-handle-rename-file): Rename directly only in case
4886 `newname' does not exist yet. This is a restriction of smbclient.
4887 (tramp-smb-maybe-open-connection): Rerun the function only when
4888 `auth-sources' is non-nil.
4890 2013-09-08 Kenichi Handa <handa@gnu.org>
4892 * international/characters.el: Set category "^" (Combining) for
4895 2013-09-07 Alan Mackenzie <acm@muc.de>
4897 Correctly fontify Java class constructors.
4898 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4900 (c-recognize-typeless-decls): Set the Java value to t.
4901 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4902 While handling a "(", add a check for, effectively, Java, and handle a
4903 "typeless" declaration there.
4905 2013-09-07 Roland Winkler <winkler@gnu.org>
4907 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4908 field subtitle for entry type book.
4910 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4912 * minibuffer.el: Make minibuffer-complete call completion-in-region
4913 rather than other way around.
4914 (completion--some, completion-pcm--find-all-completions):
4915 Don't delay signals when debugging.
4916 (minibuffer-completion-contents): Beware fields within the
4917 minibuffer contents.
4918 (completion-all-sorted-completions): Use defvar-local.
4919 (completion--do-completion, completion--cache-all-sorted-completions)
4920 (completion-all-sorted-completions, minibuffer-force-complete):
4921 Add args `beg' and `end'.
4922 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4923 (minibuffer-complete): Use completion-in-region.
4924 (completion-complete-and-exit): New fun, extracted from
4925 minibuffer-complete-and-exit.
4926 (minibuffer-complete-and-exit): Use it.
4927 (completion--complete-and-exit): Rename from
4928 minibuffer--complete-and-exit.
4929 (completion-in-region--single-word): New function, extracted from
4930 minibuffer-complete-word.
4931 (minibuffer-complete-word): Use it.
4932 (display-completion-list): Make `common-substring' argument obsolete.
4933 (completion--in-region): Call completion--in-region-1 instead of
4934 minibuffer-complete.
4935 (completion-help-at-point): Pass boundaries to
4936 minibuffer-completion-help as args rather than via an overlay.
4937 (completion-pcm--string->pattern): Use `any-delim'.
4938 (completion-pcm--optimize-pattern): New function.
4939 (completion-pcm--pattern->regex): Handle `any-delim'.
4940 * icomplete.el (icomplete-forward-completions)
4941 (icomplete-backward-completions, icomplete-completions):
4942 Adjust calls to completion-all-sorted-completions and
4943 completion--cache-all-sorted-completions.
4944 (icomplete-with-completion-tables): Default to t.
4945 * emacs-lisp/crm.el (crm--current-element): Rename from
4946 crm--select-current-element. Don't put an overlay but return the
4948 (crm--completion-command): Take two new args to bind to the boundaries.
4949 (crm-completion-help): Adjust accordingly.
4950 (crm-complete): Use completion-in-region.
4951 (crm-complete-word): Use completion-in-region--single-word.
4952 (crm-complete-and-exit): Use completion-complete-and-exit.
4954 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4956 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4959 2013-09-06 Juri Linkov <juri@jurta.org>
4961 * info.el (Info-display-images-node): When image file doesn't exist
4962 display text version of the image if it's provided in the Info file.
4963 Otherwise, display the location of missing image from SRC attribute.
4964 Add help-echo text property from ALT attribute. (Bug#15279)
4966 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4968 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4969 (edit-abbrevs-mode): Use define-derived-mode.
4971 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4972 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4974 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4975 Use define-derived-mode.
4977 * epg.el (epg-start-encrypt): Minor CSE simplification.
4979 2013-09-06 William Xu <william.xwl@gmail.com>
4981 * arc-mode.el: Add support for 7za (bug#15264).
4982 (archive-7z-program): New var.
4983 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4984 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4985 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4987 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4991 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4992 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4993 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4994 (tramp-postfix-host-format, tramp-file-name-regexp)
4995 (tramp-completion-file-name-regexp)
4996 (tramp-completion-dissect-file-name)
4997 (tramp-handle-substitute-in-file-name): Remove 'url case.
4998 (tramp-file-name-regexp-url)
4999 (tramp-completion-file-name-regexp-url): Remove constants.
5001 2013-09-06 Glenn Morris <rgm@gnu.org>
5003 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5005 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5007 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5008 keywords" below "here-doc beginnings" (Bug#15270).
5010 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5012 * subr.el (pop): Use `car-safe'.
5013 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5014 to detect unused `pop' return value.
5016 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5018 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5019 (python-fill-string): Remove unused var `marker'.
5020 (python-skeleton-add-menu-items): Remove unused var `items'.
5022 * international/mule-cmds.el: Require CL.
5023 (find-coding-systems-for-charsets): Avoid add-to-list.
5024 (sanitize-coding-system-list): New function, extracted from
5025 select-safe-coding-system-interactively.
5026 (select-safe-coding-system-interactively): Use it.
5027 (read-input-method-name): Accept symbols for `default'.
5029 * emacs-lisp/advice.el (defadvice): Add indent rule.
5031 2013-09-05 Daniel Hackney <dan@haxney.org>
5035 * net/browse-url.el:
5038 * net/eudcb-ldap.el:
5051 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5052 byte compiler. Remove some unused let-bound variables.
5054 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5056 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5057 a "ref-cell", since it gets better optimized (bug#14883).
5059 2013-09-05 Glenn Morris <rgm@gnu.org>
5061 * progmodes/cc-awk.el (c-forward-sws): Declare.
5063 2013-09-04 Glenn Morris <rgm@gnu.org>
5065 * generic-x.el [rul-generic-mode]: Require cc-mode.
5066 (c++-mode-syntax-table): Declare.
5067 (rul-generic-mode-syntax-table): Init in the defvar.
5069 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5071 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5072 (vc-do-command, vc-set-async-update):
5073 * vc/vc-mtn.el (vc-mtn-dir-status):
5074 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5075 (vc-hg-pull, vc-hg-merge-branch):
5076 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5077 (vc-git-merge-branch):
5078 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5079 (vc-cvs-dir-status-files):
5080 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5081 (vc-bzr-dir-status-files):
5082 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5083 * vc/vc-annotate.el: Use lexical-binding.
5084 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5085 (vc-sentinel-movepoint): Declare.
5086 (vc-annotate): Don't use `goto-line'.
5087 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5088 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5089 (vc-sentinel-movepoint): Declare.
5090 * vc/vc-svn.el: Use lexical-binding.
5091 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5093 * vc/vc-rcs.el: Use lexical-binding.
5095 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5096 `deleted'. Don't drop errors silently.
5098 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5100 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5102 * vc/vc.el (vc-ignore): Rewrite.
5103 (vc-default-ignore): New function.
5104 (vc-default-ignore-completion-table): Use find-ignore-file.
5106 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5107 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5108 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5109 Remove. Most code moved to vc.el.
5111 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5113 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5114 * net/tramp-smb.el (tramp-smb-get-file-entries):
5115 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5116 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5118 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5120 (eww-change-select): Remove unused var `properties'.
5121 (eww-make-unique-file-name): Remove unused var `base'.
5123 * finder.el (finder-compile-keywords): Don't mess with windows.
5125 * calculator.el (calculator-funcall): Fix typo in last change.
5127 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5129 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5130 <pkg>-autoloads.el file stop us.
5132 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5133 warnings, and factor out common code.
5135 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5137 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5138 two-character operators and whether the character preceding them
5139 changes their meaning (Bug#15208).
5141 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5143 Format code sent to Python shell for robustness.
5144 * progmodes/python.el (python-shell-buffer-substring):
5146 (python-shell-send-region, python-shell-send-buffer): Use it.
5148 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5150 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5151 * net/tramp.el (tramp-user-error): ... here.
5152 (tramp-find-method, tramp-check-proper-host)
5153 (tramp-dissect-file-name, tramp-debug-message)
5154 (tramp-handle-shell-command):
5155 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5156 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5158 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5160 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5162 * avoid.el (mouse-avoidance-point-position)
5163 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5166 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5168 * progmodes/python.el (python-shell-completion-get-completions):
5169 Drop use of deleted `comint-last-prompt-overlay'.
5170 (python-nav-if-name-main): New command.
5172 2013-09-01 Glenn Morris <rgm@gnu.org>
5174 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5175 Avoid leading space in $wins. Otherwise the sed command used by
5176 eg compile-main ends up containing "/*.el". (Bug#15170)
5178 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5180 2013-08-30 Glenn Morris <rgm@gnu.org>
5182 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5183 Fix is-this-a-directory logic. (Bug#15220)
5185 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5187 * textmodes/css-mode.el: Use SMIE.
5188 (css-smie-grammar): New var.
5189 (css-smie--forward-token, css-smie--backward-token)
5190 (css-smie-rules): New functions.
5191 (css-mode): Use them.
5192 (css-navigation-syntax-table): Remove var.
5193 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5194 (css-indent-calculate, css-indent-line): Remove functions.
5196 Misc changes to reduce use of `(lambda...); and other cleanups.
5197 * cus-edit.el: Use lexical-binding.
5198 (customize-push-and-save, customize-apropos)
5199 (custom-buffer-create-internal): Use closures.
5200 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5201 * progmodes/ada-xref.el: Use setq.
5202 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5203 * dframe.el: Use lexical-binding.
5204 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5205 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5206 * descr-text.el: Use lexical-binding.
5207 (describe-text-widget, describe-text-sexp, describe-property-list):
5209 * comint.el (comint-history-isearch-push-state): Use a closure.
5210 * calculator.el: Use lexical-binding.
5211 (calculator-number-to-string): Make it work with lexical-binding.
5212 (calculator-funcall): Same and use cl-letf.
5214 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5215 (lisp--company-doc-string, lisp--company-location): New functions.
5216 (lisp-completion-at-point): Use them to improve Company support.
5218 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5219 params of lambda expressions.
5220 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5221 (ruby-smie--opening-pipe-p): New function.
5222 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5223 symbols and matched |...| for formal params.
5224 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5225 from being treated as hanging. Handle "rescue".
5227 2013-08-29 Glenn Morris <rgm@gnu.org>
5229 * progmodes/cc-engine.el (c-pull-open-brace):
5230 Move definition before use.
5232 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5234 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5235 are immutable. Don't use `unsafe' any more.
5236 (cl--defsubst-expand): Don't substitute at the same time as keeping
5237 a residual unused let-binding. Don't use `unsafe' any more.
5239 2013-08-29 Glenn Morris <rgm@gnu.org>
5241 * calendar/cal-china.el (calendar-chinese-year-cache):
5244 * nxml/nxml-util.el (nxml-debug-clear-inside):
5245 Use cl-loop rather than loop.
5247 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5249 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5251 2013-08-28 Glenn Morris <rgm@gnu.org>
5253 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5255 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5257 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5259 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5261 * simple.el (repeat-complex-command--called-interactively-skip):
5263 (repeat-complex-command): Use it (bug#14136).
5265 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5266 (c-define-abbrev-table): Add `doc' argument.
5267 (c-mode-abbrev-table, c++-mode-abbrev-table)
5268 (objc-mode-abbrev-table, java-mode-abbrev-table)
5269 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5270 (awk-mode-abbrev-table): Use it.
5271 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5272 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5273 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5274 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5275 Move initialization into the declaration; and remove any
5278 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5279 and dynamic let binding.
5281 * vc/smerge-mode.el: Remove redundant :group args.
5283 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5286 2013-08-28 Juri Linkov <juri@jurta.org>
5288 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5289 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5290 (isearch-other-meta-char): Handle an undefined shifted printing
5291 character by downshifting it. (Bug#15200)
5293 2013-08-28 Juri Linkov <juri@jurta.org>
5295 * isearch.el (isearch-search): Change regexp error message for
5296 non-regexp searches. (Bug#15166)
5298 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5300 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5301 for portability to hosts where /bin/sh has problems.
5303 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5305 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5307 2013-08-27 Juri Linkov <juri@jurta.org>
5309 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5310 in the keyboard macro. (Bug#15126)
5312 2013-08-27 Juri Linkov <juri@jurta.org>
5314 * isearch.el (isearch-quote-char): Comment out converting unibyte
5315 to multibyte, thus syncing with its `quoted-insert' counterpart.
5318 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5320 * window.el (display-buffer-use-some-window): Add missing
5321 argument in call of get-largest-window (Bug#15185).
5322 Reported by Stephen Leake.
5324 2013-08-27 Glenn Morris <rgm@gnu.org>
5326 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5328 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5330 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5331 from a matcher-function unless there's no more matches (bug#15161).
5333 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5335 * minibuffer.el: Revert change from 2013-08-20.
5337 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5338 with text property `tramp-default', if appropriate.
5339 (tramp-check-proper-host): New defun.
5340 (tramp-dissect-file-name): Do not check hostname. Revert change
5342 (tramp-backtrace): Make VEC-OR-PROC optional.
5344 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5345 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5346 * net/tramp-sh.el (tramp-maybe-open-connection):
5347 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5348 Apply `tramp-check-proper-host'.
5350 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5352 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5353 lambda expression in order to have `describe-variable' display it.
5355 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5357 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5358 BUF can be optional. (Bug#15186)
5360 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5362 * progmodes/flymake.el (flymake-get-real-file-name-function):
5363 Fix broken customization. (Bug#15184)
5365 2013-08-25 Alan Mackenzie <acm@muc.de>
5367 Improve indentation of bracelists defined by macros (without "=").
5369 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5370 expansion begins with "{", regard it as bracelist when it doesn't
5373 Parse C++ inher-intro when there's a template split over 2 lines.
5375 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5376 rigorously the search for "class" etc. followed by ":".
5378 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5379 random languages a regexp which never matches rather than nil.
5381 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5383 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5384 (c-awk-regexp-one-line-possibly-open-char-list-re)
5385 (c-awk-one-line-possibly-open-regexp-re)
5386 (c-awk-one-line-non-syn-ws*-re): Remove.
5387 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5388 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5389 (c-awk-space*-unclosed-regexp-/-re): New constants.
5390 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5391 aren't regexp delimiters.
5393 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5394 handling for a rare situation in AWK Mode involving unterminated
5397 2013-08-23 Glenn Morris <rgm@gnu.org>
5399 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5401 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5403 * files.el (create-file-buffer): If the result would begin with
5404 spaces, prepend a "|" instead of removing them. (Bug#15162)
5406 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5408 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5409 text-properties (bug#15155).
5411 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5413 (calc-keypad-redraw): Remove unused var `pad'.
5414 (calc-keypad-press): Remove unused var `menu'.
5416 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5418 * window.el (display-buffer-pop-up-frame):
5419 Call pop-up-frame-function with BUFFER current so `make-frame' will
5420 use it as the new frame's buffer (Bug#15133).
5422 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5424 * calendar/timeclock.el: Minor cleanups.
5425 (timeclock-ask-before-exiting, timeclock-use-display-time):
5427 (timeclock-modeline-display): Define as alias before the
5429 (timeclock-mode-line-display): Use define-minor-mode.
5430 (timeclock-day-list-template): Make it a function, add an argument.
5431 (timeclock-day-list-required, timeclock-day-list-length)
5432 (timeclock-day-list-debt, timeclock-day-list-span)
5433 (timeclock-day-list-break): Adjust calls accordingly.
5435 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5437 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5438 Use read--expression so that completion works again.
5440 2013-08-21 Sam Steingold <sds@gnu.org>
5442 Add rudimentary inferior shell interaction
5443 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5444 (sh-set-shell): Reset it.
5445 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5446 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5448 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5450 * align.el: Use lexical-binding.
5451 (align-region): Simplify accordingly.
5453 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5455 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5457 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5460 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5464 * net/tramp-cmds.el:
5466 * net/tramp-gvfs.el:
5468 * net/tramp-sh.el: Don't wrap external variable declarations by
5469 `eval-when-compile'.
5471 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5473 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5474 now that Emacs supports ImageMagick animations.
5476 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5478 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5479 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5481 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5483 * window.el (mouse-autoselect-window-select): Do autoselect when
5484 mouse pointer is on margin.
5486 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5488 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5490 2013-08-16 Glenn Morris <rgm@gnu.org>
5492 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5493 Handle "Remote Directory" response of some clients. (Bug#15058)
5495 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5496 Tweak warning. (Bug#14926)
5498 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5499 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5501 * image-mode.el (image-mode-map): Add menu items to reverse,
5502 increase, decrease, reset animation speed.
5503 (image--set-speed, image-increase-speed, image-decrease-speed)
5504 (image-reverse-speed, image-reset-speed): New functions.
5505 (image-mode-map): Add bindings for speed commands.
5507 * image.el (image-animate-get-speed, image-animate-set-speed):
5509 (image-animate-timeout): Respect image :speed property.
5511 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5513 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5514 previous line (bug#15101).
5515 (debugger-eval-expression, debugger-record-expression):
5516 Use read--expression (bug#15102).
5518 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5520 Remove byte compiler warnings, visible when compiling with
5521 `byte-compile-force-lexical-warnings' set to t.
5523 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5524 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5525 (tramp-handle-unhandled-file-name-directory)
5526 (tramp-handle-file-notify-add-watch, tramp-action-login)
5527 (tramp-action-succeed, tramp-action-permission-denied)
5528 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5531 * net/tramp-adb.el (tramp-adb-parse-device-names)
5532 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5533 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5534 (tramp-adb-handle-file-truename): Remove unused arguments.
5536 * net/tramp-cache.el (tramp-flush-directory-property)
5537 (tramp-flush-connection-property, tramp-list-connections)
5538 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5540 * net/tramp-compat.el (tramp-compat-make-temp-file):
5541 Rename FILENAME to F.
5543 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5544 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5545 (tramp-zeroconf-parse-workstation-device-names)
5546 (tramp-zeroconf-parse-webdav-device-names)
5547 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5549 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5550 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5552 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5554 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5555 (tramp-sh-handle-insert-file-contents-literally)
5556 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5558 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5559 Remove unused variables.
5561 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5562 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5563 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5565 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5566 Make them a defconst.
5567 (tramp-uuencode-region): Remove unused variable.
5569 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5571 * frameset.el (frameset--prop-setter): New function.
5572 (frameset-prop): Add gv-setter declaration.
5573 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5574 parameter was already set in FILTERED. Doc fix.
5575 (frameset--record-minibuffer-relationships): Allow saving a
5576 minibufferless frame without its corresponding minibuffer frame.
5577 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5578 frame, if the frame id matches.
5579 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5580 frames before orphaned ones.
5581 (frameset-restore): Warn about orphaned windows, instead of error out.
5583 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5585 * window.el (window-make-atom): Don't overwrite parameter
5587 (display-buffer-in-atom-window): Handle special case where we
5588 split an already atomic window.
5589 (window--major-non-side-window, display-buffer-in-side-window)
5590 (window--side-check): Ignore minibuffer window when walking
5592 (window-deletable-p): Return 'frame only if no other frame uses
5593 our minibuffer window.
5594 (record-window-buffer): Run buffer-list-update-hook.
5595 (split-window): Make sure window--check-frame won't destroy an
5596 existing atomic window in case the new window gets nested
5598 (display-buffer-at-bottom): Ignore minibuffer window when
5599 walking window tree. Don't split a side window.
5600 (pop-to-buffer): Don't set-buffer here, the select-window call
5602 (mouse-autoselect-window-select): Autoselect only if we are in the
5603 text portion of the window.
5605 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5607 * net/shr.el (shr-parse-image-data): New function to grab both the
5608 data itself and the Content-Type.
5609 (shr-put-image): Use it.
5611 * net/eww.el (eww-display-image): Ditto.
5613 * image.el (image-content-type-suffixes): New variable.
5615 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5617 * progmodes/python.el (python-imenu--build-tree)
5618 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5620 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5622 * simple.el (backward-word): Mention the optional argument.
5624 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5626 * frameset.el (frameset--make): Rename constructor from make-frameset.
5627 (frameset-p, frameset-valid-p): Don't autoload.
5628 (frameset-valid-p): Use normal accessors.
5630 2013-08-13 Glenn Morris <rgm@gnu.org>
5632 * progmodes/compile.el (compile-command): Tweak example in doc.
5633 * obsolete/scribe.el (scribe-mode):
5634 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5636 * mail/feedmail.el (feedmail-confirm-outgoing)
5637 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5639 * cus-start.el (truncate-partial-width-windows): Fix type.
5641 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5643 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5645 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5647 * emacs-lisp/timer.el (timer--time-setter): New function.
5648 (timer--time): Use it as gv-setter.
5650 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5651 setter is not a symbol.
5653 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5655 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5656 if sending fails. This makes debugging easier.
5658 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5660 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5661 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5662 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5664 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5666 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5668 2013-08-12 Glenn Morris <rgm@gnu.org>
5670 * format.el (format-annotate-function):
5671 Handle read-only text properties in the source. (Bug#14887)
5673 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5675 * net/eww.el (eww-display-html): Ignore coding system errors.
5676 One web site uses "utf-8lias" as the coding system.
5678 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5680 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5682 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5684 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5685 (tutorial--detailed-help): Remove unused local variables.
5686 (tutorial--save-tutorial-to): Use ignore-errors.
5687 (help-with-tutorial): Use looking-at-p.
5689 * view.el (view-buffer-other-window, view-buffer-other-frame):
5690 Mark unused arguments.
5692 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5693 (woman-select-symbol-fonts, woman, woman-find-file)
5694 (woman-insert-file-contents, woman-non-underline-faces):
5696 (woman1-unquote): Move declaration.
5698 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5699 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5700 argument. Remove unused local variable.
5701 (xml-parse-elem-type): Use string-match-p.
5702 (xml-substitute-numeric-entities): Use ignore-errors.
5704 * calculator.el (calculator): Mark unused argument.
5705 (calculator-paste, calculator-quit, calculator-integer-p):
5707 (calculator-string-to-number, calculator-decimal, calculator-exp)
5708 (calculator-op-or-exp): Use string-match-p.
5710 * dired.el (dired-buffer-more-recently-used-p): Declare.
5711 (dired-insert-set-properties, dired-insert-old-subdirs):
5714 * dired-aux.el (dired-compress): Use ignore-errors.
5715 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5716 (dired-do-async-shell-command, dired-do-shell-command)
5717 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5718 (dired-insert-subdir-validate): Use string-match-p.
5719 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5720 (dired-add-entry): Use string-match-p, looking-at-p.
5721 (dired-insert-subdir-newpos): Remove unused local variable.
5723 * filenotify.el (file-notify-callback): Remove unused local variable.
5725 * filesets.el (filesets-error): Mark unused argument.
5726 (filesets-which-command-p, filesets-filter-dir-names)
5727 (filesets-directory-files, filesets-get-external-viewer)
5728 (filesets-ingroup-get-data): Use string-match-p.
5730 * find-file.el (ff-other-file-name, ff-other-file-name)
5731 (ff-find-the-other-file, ff-cc-hh-converter):
5732 Remove unused local variables.
5733 (ff-get-file-name): Use string-match-p.
5734 (ff-all-dirs-under): Use ignore-errors.
5736 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5737 (follow-select-if-visible): Remove unused local variable.
5739 * forms.el (read-file-filter): Move declaration.
5740 (forms--make-format, forms--make-parser, forms-insert-record):
5741 Quote function with #'.
5742 (forms--update): Use string-match-p. Quote function with #'.
5744 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5745 (help-make-xrefs): Use looking-at-p.
5746 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5748 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5749 (ibuffer-confirm-operation-on): Use string-match-p.
5751 * msb.el (msb-item-handler, msb-dired-item-handler):
5752 Mark unused arguments.
5754 * ses.el (ses-decode-cell-symbol)
5755 (ses-kill-override): Remove unused local variable.
5756 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5757 (ses-load): Use ignore-errors, looking-at-p.
5758 (ses-jump-safe): Use ignore-errors.
5759 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5761 * tabify.el (untabify, tabify): Mark unused arguments.
5763 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5764 Mark unused argument.
5765 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5766 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5768 * emacs-lisp/timer.el (timer--time): Define setter with
5769 gv-define-setter to avoid deprecation warning.
5771 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5772 (*record-cmpl-statistics-p*): Remove (was commented out).
5773 (cmpl-statistics-block): Remove (body was commented out).
5774 All callers changed.
5775 (add-completions-from-buffer, load-completions-from-file):
5776 Remove unused variables.
5778 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5780 * filecache.el (file-cache-delete-file-list):
5781 Print message only when told so.
5782 (file-cache-files-matching): Use #' in mapconcat argument.
5784 * ffap.el (ffap-url-at-point): Fix reference to variable
5785 thing-at-point-default-mail-uri-scheme.
5787 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5789 * subr.el (define-error): New function.
5790 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5791 error-file-not-found and define with define-error.
5792 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5793 and define with define-error.
5794 * userlock.el (file-locked, file-supersession):
5795 * simple.el (mark-inactive):
5796 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5797 * progmodes/ada-mode.el (ada-mode-errors):
5798 * play/life.el (life-extinct):
5799 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5800 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5801 * nxml/rng-util.el (rng-error):
5802 * nxml/rng-uri.el (rng-uri-error):
5803 * nxml/rng-match.el (rng-compile-error):
5804 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5805 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5806 * nxml/nxml-rap.el (nxml-scan-error):
5807 * nxml/nxml-outln.el (nxml-outline-error):
5808 * net/soap-client.el (soap-error):
5809 * net/gnutls.el (gnutls-error):
5810 * net/ange-ftp.el (ftp-error):
5811 * mpc.el (mpc-proc-error):
5812 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5813 (json-number-format, json-string-escape, json-string-format)
5814 (json-key-format, json-object-format):
5815 * jka-compr.el (compression-error):
5816 * international/quail.el (quail-error):
5817 * international/kkc.el (kkc-error):
5818 * emacs-lisp/ert.el (ert-test-failed):
5819 * calc/calc.el (calc-error, inexact-result, math-overflow)
5821 * bookmark.el (bookmark-error-no-filename):
5822 * epg.el (epg-error): Define with define-error.
5824 * time.el (display-time-event-handler)
5825 (display-time-next-load-average): Don't call sit-for since it seems
5826 unnecessary (bug#15045).
5828 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5829 Use #' instead of ' to quote functions.
5830 (checkdoc-output-mode): Use setq-local.
5831 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5832 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5833 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5834 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5835 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5836 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5837 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5838 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5840 * ido.el (ido-completion-help): Fix up compiler warning.
5842 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5844 * frameset.el (frameset-p): Add autoload cookie.
5845 (frameset--jump-to-register): New function, based on code moved from
5847 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5849 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5850 (frameset-restore, frameset-save, frameset-session-filter-alist):
5851 Remove declarations.
5852 (register-alist): Doc fix.
5853 (frameset-to-register): Move to frameset.el.
5854 (jump-to-register, describe-register-1): Remove frameset-specific code.
5856 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5858 * allout-widgets.el (allout-widgets-pre-command-business)
5859 (allout-widgets-post-command-business)
5860 (allout-widgets-after-change-handler)
5861 (allout-decorate-item-and-context, allout-set-boundary-marker)
5862 (allout-body-modification-handler)
5863 (allout-graphics-modification-handler): Mark ignored arguments.
5864 (allout-widgets-post-command-business)
5865 (allout-widgets-exposure-change-processor)
5866 (allout-widgets-exposure-undo-processor)
5867 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5868 (allout-parse-item-at-point, allout-decorate-item-guides)
5869 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5870 * allout.el (epa-passphrase-callback-function): Declare.
5871 (allout-overlay-insert-in-front-handler)
5872 (allout-overlay-interior-modification-handler)
5873 (allout-isearch-end-handler, allout-chart-siblings)
5874 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5875 (allout-yank-processing, allout-process-exposed)
5876 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5877 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5878 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5879 (lisp-indent-defform): Mark ignored arguments.
5880 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5881 (calculate-lisp-indent): Remove unused variables.
5882 * international/characters.el (indian-2-column, arabic-2-column)
5883 (tibetan): Mark ignored arguments.
5884 (use-cjk-char-width-table): Mark ignored arguments.
5885 Remove unused variables.
5886 * international/fontset.el (build-default-fontset-data)
5887 (x-compose-font-name, create-fontset-from-fontset-spec):
5888 Mark ignored arguments.
5889 (fontset-plain-name): Remove unused variables.
5890 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5891 (keyboard-coding-system): Mark ignored arguments.
5892 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5893 * help.el (resize-temp-buffer-window):
5894 * window.el (display-buffer-in-major-side-window)
5895 (display-buffer-in-side-window, display-buffer-in-previous-window):
5896 Remove unused variables.
5897 * isearch.el (isearch-forward-symbol):
5898 * version.el (emacs-bzr-version-bzr):
5899 * international/mule-cmds.el (current-language-environment):
5900 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5902 * term/pc-win.el (x-list-fonts, x-display-planes)
5903 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5904 (x-server-version, x-display-screens, x-display-mm-height)
5905 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5906 (x-selection-owner-p, x-own-selection-internal)
5907 (x-disown-selection-internal, x-get-selection-internal)
5908 (msdos-initialize-window-system):
5909 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5910 * term/x-win.el (x-handle-no-bitmap-icon):
5911 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5912 (vc-default-find-file-hook, vc-default-extra-menu):
5913 Mark ignored arguments.
5915 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5917 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5918 break-condition in the context of the debugged code (bug#12685).
5920 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5923 Do not use an overlay to highlight the last prompt. (Bug#14744)
5924 (comint-mode): Make comint-last-prompt buffer local.
5925 (comint-last-prompt): New variable.
5926 (comint-last-prompt-overlay): Remove. Superseded by
5928 (comint-snapshot-last-prompt, comint-output-filter):
5929 Use comint-last-prompt.
5931 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5933 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5934 (frameset-save): Check validity of the resulting frameset.
5936 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5938 * ido.el (ido-record-command): Add doc string.
5940 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5942 * frameset.el (frameset): Do not disable creation of the default
5943 frameset-p predicate. Doc fix.
5944 (frameset-valid-p): New function, copied from the old predicate-p.
5945 Add additional checks.
5946 (frameset-restore): Check with frameset-valid-p.
5947 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5948 (frameset-name, frameset-description, frameset-properties)
5949 (frameset-states): Add docstring.
5950 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5951 (frameset-filter-alist): Doc fixes.
5953 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5955 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5957 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5959 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5960 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5961 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5962 (byte-compile-normal-call): Remove obsolescence check.
5964 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5966 * frameset.el (frameset-restore): Doc fix.
5968 * register.el (frameset-frame-id, frameset-frame-with-id)
5969 (frameset-p, frameset-restore, frameset-save): Declare.
5970 (register-alist): Document framesets.
5971 (frameset-session-filter-alist): Declare.
5972 (frameset-to-register): New function.
5973 (jump-to-register): Implement jumping to framesets. Doc fix.
5974 (describe-register-1): Describe framesets.
5976 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5978 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5980 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5981 Use lexical-binding.
5983 * frameset.el (frameset): Use type vector, not list (incompatible
5984 change). Do not declare a new constructor, use the default one.
5985 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5986 `name' and `description', respectively, and add read-only slot
5987 `timestamp'. Doc fixes.
5988 (frameset-copy, frameset-persistent-filter-alist)
5989 (frameset-filter-alist, frameset-switch-to-gui-p)
5990 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5991 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5992 (frameset-filter-iconified, frameset-keep-original-display-p):
5994 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5995 Rename from frameset-filter-(save|restore)-param. All callers changed.
5997 (frameset-p): Adapt to change to vector and be more thorough.
5998 Change arg name to OBJECT. Doc fix.
5999 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6000 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6001 All callers changed.
6002 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6003 All callers changed.
6004 (frameset--record-minibuffer-relationships): Rename from
6005 frameset--process-minibuffer-frames. All callers changed.
6006 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6007 Use new default constructor (again). Doc fix.
6008 (frameset--find-frame-if): Rename from `frameset--find-frame.
6009 All callers changed.
6010 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6011 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6013 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6014 PARAMETERS and WINDOW-STATE, respectively.
6015 (frameset-restore): Add new keyword argument PREDICATE.
6016 Reset frameset--target-display to nil. Doc fix.
6018 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6020 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6022 (bat-mode-syntax-table): Mark \n as end-of-comment.
6023 (bat-font-lock-keywords): Remove comment rule.
6025 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6026 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6028 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6029 (byte-compile-callargs-warn): Use `push'.
6030 (byte-compile-arglist-warn): Ignore higher-order "calls".
6031 (byte-compile-file-form-autoload): Use `pcase'.
6032 (byte-compile-function-form): If quoting a symbol, check that it exists.
6034 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6036 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6037 and add a few popular commands found in batch files.
6038 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6039 (dos-mode): Doc fixes.
6041 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6043 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6044 (dos-mode): Use setq-local. Add space after "rem".
6045 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6046 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6048 2013-08-07 Arni Magnusson <arnima@hafro.is>
6050 * progmodes/dos.el: New file.
6051 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6054 2013-08-06 Glenn Morris <rgm@gnu.org>
6056 * calendar/calendar.el: Add new faces, and day-header-array.
6057 (calendar-weekday-header, calendar-weekend-header)
6058 (calendar-month-header): New faces.
6059 (calendar-day-header-construct): New function.
6060 (calendar-day-header-width): Also :set calendar-day-header-array.
6061 (calendar-american-month-header, calendar-european-month-header)
6062 (calendar-iso-month-header): Use calendar- faces.
6063 (calendar-generate-month):
6064 Use calendar-day-header-array for day headers; apply faces to them.
6065 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6066 (calendar-abbrev-construct): Add optional maxlen argument.
6067 (calendar-day-name-array): Doc fix.
6068 (calendar-day-name-array, calendar-abbrev-length)
6069 (calendar-day-abbrev-array):
6070 Also :set calendar-day-header-array, and maybe redraw.
6071 (calendar-day-header-array): New option. (Bug#15007)
6072 (calendar-font-lock-keywords): Set to nil and make obsolete.
6073 (calendar-day-name): Add option to use header array.
6075 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6077 * net/shr.el (shr-render-td): Remove debugging.
6078 (shr-render-td): Make width computation consistent by defaulting
6079 all zero-width columns to 10 characters. This may not be optimal,
6080 but it's at least consistent.
6081 (shr-make-table-1): Redo last change to fix the real problem in
6084 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6086 * files.el (cache-long-line-scans):
6087 Make obsolete alias to `cache-long-scans'.
6089 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6091 * frameset.el (frameset, frameset-filter-alist)
6092 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6093 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6094 (frameset-compute-pos): Rename from frameset--compute-pos,
6096 (frameset-move-onscreen): Use frameset-compute-pos.
6097 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6099 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6100 Fix typos in docstrings.
6102 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6104 * frame.el (get-other-frame): Tiny cleanup.
6106 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6108 * vc/vc.el (vc-default-ignore-completion-table):
6109 Silence byte-compiler warning.
6111 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6112 slot , which can indeed be nil.
6113 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6114 Move entry for `left' from persistent to live filter alist.
6115 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6117 (frameset-filter-params): When restoring a frame, copy items added to
6118 `filtered', to avoid unwittingly modifying the original parameters.
6119 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6120 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6122 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6123 to use looking-at-p instead of looking-at. (Bug#15028)
6125 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6127 Revert introduction of isearch-filter-predicates (bug#14714).
6128 Rely on add-function instead.
6129 * isearch.el (isearch-filter-predicates): Rename it back to
6130 isearch-filter-predicate.
6131 (isearch-message-prefix): Use advice-function-mapc and advice
6132 properties to get the isearch-message-prefix.
6133 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6134 instead of run-hook-with-args-until-failure.
6135 (isearch-filter-visible): Not obsolete any more.
6136 * loadup.el: Preload nadvice.
6137 * replace.el (perform-replace): Revert to funcall
6138 instead of run-hook-with-args-until-failure.
6139 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6140 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6141 dired-isearch-filenames-toggle; make it into a proper minor mode.
6142 Use add/remove-function.
6143 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6144 Call the minor-mode rather than add/remove-hook.
6145 (dired-isearch-filter-filenames):
6146 Remove isearch-message-prefix property.
6147 * info.el (Info--search-loop): New function, extracted from Info-search.
6148 Funcall isearch-filter-predicate instead of
6149 run-hook-with-args-until-failure isearch-filter-predicates.
6150 (Info-search): Use it.
6151 (Info-mode): Use isearch-filter-predicate instead of
6152 isearch-filter-predicates.
6154 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6156 Do not call to `selected-window' where it is assumed by default.
6157 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6158 `window-hscroll', `window-width', `window-height', `window-buffer',
6159 `window-frame', `window-start', `window-point', `next-window'
6160 and `window-display-table'.
6161 * abbrev.el (abbrev--default-expand):
6162 * bs.el (bs--show-with-configuration):
6163 * buff-menu.el (Buffer-menu-mouse-select):
6164 * calc/calc.el (calc):
6165 * calendar/calendar.el (calendar-generate-window):
6166 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6168 * comint.el (send-invisible, comint-dynamic-complete-filename)
6169 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6170 * completion.el (complete):
6171 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6172 * disp-table.el (describe-current-display-table):
6173 * doc-view.el (doc-view-insert-image):
6174 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6175 * ehelp.el (with-electric-help):
6176 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6177 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6178 * emacs-lisp/helper.el (Helper-help-scroller):
6179 * emulation/cua-base.el (cua--post-command-handler-1):
6180 * eshell/esh-mode.el (eshell-output-filter):
6181 * ffap.el (ffap-gnus-wrapper):
6182 * help-macro.el (make-help-screen):
6183 * hilit-chg.el (highlight-compare-buffers):
6184 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6185 * hl-line.el (global-hl-line-highlight):
6186 * icomplete.el (icomplete-simple-completing-p):
6187 * isearch.el (isearch-done):
6188 * jit-lock.el (jit-lock-stealth-fontify):
6189 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6190 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
6191 * mpc.el (mpc-tagbrowser, mpc):
6192 * net/rcirc.el (rcirc-any-buffer):
6193 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6194 * play/landmark.el (landmark-max-width, landmark-max-height):
6195 * play/zone.el (zone):
6196 * progmodes/compile.el (compilation-goto-locus):
6197 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6198 * progmodes/etags.el (find-tag-other-window):
6199 * progmodes/fortran.el (fortran-column-ruler):
6200 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6201 * progmodes/verilog-mode.el (verilog-point-text):
6202 * reposition.el (reposition-window):
6203 * rot13.el (toggle-rot13-mode):
6204 * server.el (server-switch-buffer):
6205 * shell.el (shell-dynamic-complete-command)
6206 (shell-dynamic-complete-environment-variable):
6207 * simple.el (insert-buffer, set-selective-display)
6208 (delete-completion-window):
6209 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6210 (speedbar-recenter):
6211 * startup.el (fancy-splash-head):
6212 * textmodes/ispell.el (ispell-command-loop):
6213 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6214 * tutorial.el (help-with-tutorial):
6215 * vc/add-log.el (add-change-log-entry):
6216 * vc/compare-w.el (compare-windows):
6217 * vc/ediff-help.el (ediff-indent-help-message):
6218 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6219 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6220 (ediff-setup-control-frame):
6221 * vc/emerge.el (emerge-position-region):
6222 * vc/pcvs-util.el (cvs-bury-buffer):
6223 * window.el (walk-windows, mouse-autoselect-window-select):
6224 * winner.el (winner-set-conf, winner-undo): Related users changed.
6226 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6228 * frameset.el (frameset--set-id): Doc fix.
6229 (frameset-frame-id, frameset-frame-id-equal-p)
6230 (frameset-locate-frame-id): New functions.
6231 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6232 (frameset-restore): Use them.
6234 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6236 Do not call to `selected-frame' where it is assumed by default.
6237 Affected functions are `raise-frame', `redraw-frame',
6238 `frame-first-window', `frame-terminal' and `delete-frame'.
6239 * calendar/appt.el (appt-disp-window):
6240 * epg.el (epg-wait-for-completion):
6241 * follow.el (follow-delete-other-windows-and-split)
6242 (follow-avoid-tail-recenter):
6243 * international/mule.el (set-terminal-coding-system):
6244 * mail/rmail.el (rmail-mail-return):
6245 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6246 * progmodes/f90.el (f90-add-imenu-menu):
6247 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6248 * server.el (server-switch-buffer):
6249 * simple.el (delete-completion-window):
6251 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6252 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6253 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6254 * vc/ediff.el (ediff-documentation): Related users changed.
6255 * frame.el (selected-terminal): Remove the leftover.
6257 2013-08-05 Glenn Morris <rgm@gnu.org>
6259 * calendar/calendar.el (calendar-generate-month):
6260 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6261 (calendar-generate-month, calendar-font-lock-keywords):
6262 Fix for calendar-day-header-width > length of any day name.
6264 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6266 * desktop.el (desktop-clear): Use new name of sort predicate.
6268 * frameset.el (frameset): Add docstring. Move :version property to its
6270 (frameset-copy): Rename from copy-frameset.
6271 (frameset-p): Check more thoroughly.
6272 (frameset-prop): Do not check for :version, which is no longer a prop.
6273 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6274 Use new :never value instead of t.
6275 (frameset-filter-alist): Expand and clarify docstring.
6276 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6277 (frameset-filter-minibuffer, frameset-filter-save-param)
6278 (frameset-filter-restore-param, frameset-filter-iconified):
6279 Add pointer to docstring of frameset-filter-alist.
6280 (frameset-filter-params): Rename filter values to be more meaningful:
6281 :never instead of t, and reverse the meanings of :save and :restore.
6282 (frameset--process-minibuffer-frames): Clarify error message.
6283 (frameset-save): Avoid unnecessary and confusing call to framep.
6284 Use new BOA constructor for framesets.
6285 (frameset--reuse-list): Doc fix.
6286 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6287 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6288 (frameset-minibufferless-first-p): Doc fix.
6289 Rename from frameset-sort-frames-for-deletion.
6290 (frameset-restore): Doc fixes. Use new function names.
6291 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6293 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6295 * desktop.el (desktop-restore-forces-onscreen)
6296 (desktop-restore-reuses-frames): Document :keyword constant values.
6297 (desktop-filter-parameters-alist): Remove, now identical to
6298 frameset-filter-alist.
6299 (desktop--filter-tty*): Remove, moved to frameset.el.
6300 (desktop-save-frameset, desktop-restore-frameset):
6301 Do not pass :filters argument.
6303 * frameset.el (frameset-live-filter-alist)
6304 (frameset-persistent-filter-alist): New variables.
6305 (frameset-filter-alist): Use them. Add autoload cookie.
6306 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6307 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6308 `frameset--id' (it's supposed to be internal to frameset.el).
6309 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6310 (frameset--initial-params): New function.
6311 (frameset--get-frame): Use it. Doc fix.
6312 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6313 Accept :all, not 'all.
6314 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6315 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6316 with fbound symbols. Fix frame id matching, and remove matching ids if
6317 the frame being restored is deleted. Obey :delete.
6319 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6321 * subr.el (macrop): New function.
6322 (text-clone--maintaining): New var.
6323 (text-clone--maintain): Rename from text-clone-maintain. Use it
6324 instead of inhibit-modification-hooks.
6326 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6327 a proxy, so as handle autoloads and redefinitions of the target.
6328 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6330 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6331 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6332 (pcase--mutually-exclusive-p): New function.
6333 (pcase--split-consp): Use it.
6334 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6335 mutually exclusive with the current predicate.
6337 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6338 (edebug-macrop): Remove. Use `macrop' instead.
6339 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6341 * eshell/esh-cmd.el (eshell-macrop):
6342 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6344 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6346 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6347 (advice-mapc): New function, using it.
6348 (advice-function-member-p): New function.
6349 (advice--normalize): Store the cdr in advice--saved-rewrite since
6350 that's the part that will be changed.
6351 (advice--symbol-function): New function.
6352 (advice-remove): Handle removal before the function is defined.
6353 Adjust to new advice--saved-rewrite.
6354 (advice-member-p): Use advice-function-member-p and
6355 advice--symbol-function.
6357 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6359 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6360 (frameset-filter-minibuffer): Doc fix.
6361 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6362 (frameset--set-id, frameset--process-minibuffer-frames)
6363 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6364 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6366 * desktop.el (desktop-clear): Only delete frames when called
6367 interactively and desktop-restore-frames is non-nil. Doc fix.
6368 (desktop-read): Set desktop-saved-frameset to nil.
6370 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6372 * vc/vc.el (vc-ignore): Rewrite.
6373 (vc-default-ignore-completion-table):
6375 (vc--add-line, vc--remove-regexp): New functions.
6377 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6378 (vc-svn-ignore-completion-table): New function.
6380 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6381 (vc-hg-ignore-completion-table):
6382 (vc-hg-find-ignore-file): New functions.
6384 * vc/vc-git.el (vc-git-ignore): Rewrite.
6385 (vc-git-ignore-completion-table):
6386 (vc-git-find-ignore-file): New functions.
6388 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6390 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6391 (vc-bzr-ignore-completion-table):
6392 (vc-bzr-find-ignore-file): New functions.
6394 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6396 * frameset.el (frameset-prop): New function and setter.
6397 (frameset-save): Do not modify frame list passed by the caller.
6399 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6401 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6403 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6405 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6406 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6408 * custom.el (custom-initialize-default, custom-initialize-set)
6409 (custom-initialize-reset, custom-initialize-changed): Affect the
6410 toplevel-default-value (bug#6275, bug#14586).
6411 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6414 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6416 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6417 Add cl-def* expressions.
6419 * frameset.el (frameset-filter-params): Fix order of arguments.
6421 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6423 Move code related to saving frames to frameset.el.
6424 * desktop.el: Require frameset.
6425 (desktop-restore-frames): Doc fix.
6426 (desktop-restore-reuses-frames): Rename from
6427 desktop-restoring-reuses-frames.
6428 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6429 (desktop-clear): Clear frames too.
6430 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6431 (desktop--filter-tty*, desktop-save, desktop-read):
6432 Use frameset functions.
6433 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6434 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6435 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6436 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6437 (desktop--process-minibuffer-frames, desktop-save-frames)
6438 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6439 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6440 (desktop--sort-states, desktop-restoring-frames-p)
6441 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6442 (desktop-restoring-frameset-p, desktop-restore-frameset)
6443 (desktop--check-dont-save, desktop-save-frameset): New functions.
6444 (desktop--app-id): New constant.
6445 (desktop-first-buffer, desktop-buffer-ok-count)
6446 (desktop-buffer-fail-count): Move before first use.
6447 * frameset.el: New file.
6449 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6451 * files.el: Use lexical-binding.
6452 (dir-locals-read-from-file): Remove unused `err' variable.
6453 (hack-dir-local-variables--warned-coding): New var.
6454 (hack-dir-local-variables): Use it to avoid repeated warnings.
6455 (make-backup-file-name--default-function): New function.
6456 (make-backup-file-name-function): Use it as default.
6457 (buffer-stale--default-function): New function.
6458 (buffer-stale-function): Use it as default.
6459 (revert-buffer-insert-file-contents--default-function): New function.
6460 (revert-buffer-insert-file-contents-function): Use it as default.
6461 (insert-directory): Avoid add-to-list.
6463 * autorevert.el (auto-revert-handler): Simplify.
6464 Use buffer-stale--default-function.
6466 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6468 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6470 * whitespace.el (whitespace-ensure-local-variables): New function.
6471 (whitespace-cleanup-region): Call it.
6472 (whitespace-turn-on): Call it.
6474 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6476 Complete file name handlers.
6478 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6479 (tramp-handle-verify-visited-file-modtime)
6480 (tramp-handle-file-notify-rm-watch): New functions.
6481 (tramp-call-process): Do not bind `default-directory'.
6483 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6484 Order alphabetically.
6485 [access-file, add-name-to-file, dired-call-process]:
6486 [dired-compress-file, file-acl, file-notify-rm-watch]:
6487 [file-ownership-preserved-p, file-selinux-context]:
6488 [make-directory-internal, make-symbolic-link, set-file-acl]:
6489 [set-file-selinux-context, set-visited-file-modtime]:
6490 [verify-visited-file-modtime]: Add handler.
6491 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6493 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6494 [file-notify-add-watch, file-notify-rm-watch]:
6495 [set-file-times, set-visited-file-modtime]:
6496 [verify-visited-file-modtime]: Add handler.
6497 (with-tramp-gvfs-error-message)
6498 (tramp-gvfs-handle-set-visited-file-modtime)
6499 (tramp-gvfs-fuse-file-name): Remove.
6500 (tramp-gvfs-handle-file-notify-add-watch)
6501 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6502 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6504 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6505 Order alphabetically.
6506 [file-notify-rm-watch ]: Use default Tramp handler.
6507 [executable-find]: Remove private handler.
6508 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6509 `default-directory'.
6510 (tramp-sh-handle-executable-find)
6511 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6512 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6513 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6514 Do not use `format' in `tramp-message'.
6516 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6517 [file-notify-rm-watch, set-visited-file-modtime]:
6518 [verify-visited-file-modtime]: Add handler.
6519 (tramp-smb-call-winexe): Do not bind `default-directory'.
6521 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6523 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6525 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6527 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6529 (log-view-diff-changeset): Same.
6530 (log-view-diff-common): Call backend command `previous-revision'
6531 to find out the previous revision, in both cases. Swap the
6532 variables `to' and `fr', so that `fr' usually refers to the
6533 earlier revision (Bug#14989).
6535 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6537 * ibuf-ext.el (ibuffer-filter-by-filename):
6538 Make it work with dired buffers too.
6540 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6542 * emacs-lisp/re-builder.el (reb-color-display-p):
6543 * files.el (save-buffers-kill-terminal):
6544 * net/browse-url.el (browse-url):
6545 * server.el (server-save-buffers-kill-terminal):
6546 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6547 Prefer nil to selected-frame for the first arg of frame-parameter.
6549 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6551 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6553 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6555 * minibuffer.el (completion--twq-all): Try and preserve each
6556 completion's case choice (bug#14907).
6558 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6560 * net/network-stream.el (open-network-stream): Mention the new
6561 :nogreeting parameter.
6562 (network-stream-open-starttls): Use the :nogreeting parameter
6565 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6567 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6568 more natural than popping.
6570 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6571 (shr-urlify): Highlight under mouse.
6573 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6575 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6577 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6579 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6582 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6583 point-min==1. Fix search string. Fix parentheses missing.
6585 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6586 assume point-min==1. Fix search string. Fix parentheses missing.
6588 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6590 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6593 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6595 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6596 initial frame is minibuffer-less. (Bug#14841)
6598 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6600 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6603 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6604 (tramp-maybe-open-connection): Use it.
6606 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6608 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6609 minimal set of parameters passed when creating a frame, because
6610 the minibuffer status of a frame cannot be changed later.
6612 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6614 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6615 replace-regexp-in-string and inadvertent omissions in previous change.
6616 (todo-filter-items): Ensure only file names are comma-separated in
6617 name of filtered items buffer.
6619 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6621 * desktop.el: Optionally force offscreen frames back onscreen.
6622 (desktop-restoring-reuses-frames): New option.
6623 (desktop--compute-pos, desktop--move-onscreen): New functions.
6624 (desktop--make-frame): Use desktop--move-onscreen.
6626 2013-07-27 Alan Mackenzie <acm@muc.de>
6628 Fontify a Java generic method as a function.
6629 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6632 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6634 * calendar/todo-mode.el: Add command to rename todo files.
6635 (todo-rename-file): New command.
6636 (todo-key-bindings-t): Add key binding for it. Change the
6637 bindings of todo-filter-regexp-items(-multifile) to use `x'
6638 instead of `r', since the latter is better suited to the new
6641 2013-07-27 Alan Mackenzie <acm@muc.de>
6643 Make Java try-with-resources statement parse properly.
6644 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6645 (c-block-stmt-1-2-key): New language constants/variables.
6646 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6647 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6648 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6649 with c-block-stmt-1-2-key.
6651 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6653 * desktop.el (desktop--make-frame): Apply most frame parameters after
6654 creating the frame to force (partially or totally) offscreen frames to
6655 be restored as such.
6657 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6659 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6662 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6664 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6665 `base' arg of backtrace-frame.
6667 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6669 * simple.el (list-processes): Doc fix.
6671 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6673 * desktop.el (desktop--select-frame):
6674 Try harder to reuse existing frames.
6676 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6678 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6679 (edebug-eval): Use backtrace-eval.
6680 (edebug--display, edebug--recursive-edit): Don't let-bind the
6681 edebug-outer-* vars that keep track of variables we locally let-bind.
6682 (edebug-outside-excursion): Don't restore outside values of locally
6684 (edebug--display): Use user-error.
6685 (cl-lexical-debug, cl-debug-env): Remove.
6687 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6689 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6690 are restored to be sure that they are visible before deleting any
6693 2013-07-26 Matthias Meulien <orontee@gmail.com>
6695 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6696 vc-print-root-log. (Bug#14948)
6698 2013-07-26 Richard Stallman <rms@gnu.org>
6700 Add aliases for encrypting mail.
6701 * epa.el (epa-mail-aliases): New option.
6702 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6703 Bind inhibit-read-only so read-only text doesn't ruin everything.
6704 (epa-mail-default-recipients): New subroutine broken out.
6705 Handle epa-mail-aliases.
6707 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6709 Add support for lexical variables to the debugger's `e' command.
6710 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6711 vars, except for debugger-outer-match-data.
6712 (debugger-frame-number): Move check for "on a function call" from
6713 callers into it. Add `skip-base' argument.
6714 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6715 (debugger-env-macro): Only reset the state stored in non-variables,
6716 i.e. current-buffer and match-data.
6717 (debugger-eval-expression): Rewrite using backtrace-eval.
6718 * subr.el (internal--called-interactively-p--get-frame): Remove.
6719 (called-interactively-p):
6720 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6721 `base' arg of backtrace-frame instead.
6723 2013-07-26 Glenn Morris <rgm@gnu.org>
6725 * align.el (align-regexp): Doc fix. (Bug#14857)
6726 (align-region): Explicit error if subexpression missing/does not match.
6728 * simple.el (global-visual-line-mode):
6729 Do not duplicate the mode lighter. (Bug#14858)
6731 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6733 * window.el (display-buffer): In display-buffer bind
6734 split-window-keep-point to t, bug#14829.
6736 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6738 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6739 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6740 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6741 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6743 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6744 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6746 2013-07-25 Glenn Morris <rgm@gnu.org>
6748 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6750 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6752 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6753 parameter to modify-frame-parameters if the value has not changed;
6754 this is a workaround for bug#14949.
6755 (desktop--make-frame): On cl-delete-if call, check parameter name,
6758 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6760 * vc/vc.el (vc-ignore): New function.
6762 * vc/vc-svn.el (vc-svn-ignore): New function.
6764 * vc/vc-hg.el (vc-hg-ignore): New function.
6766 * vc/vc-git.el (vc-git-ignore): New function.
6768 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6769 (vc-dir-ignore): New function.
6771 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6772 (cvs-append-to-ignore): Move here from pcvs.el.
6774 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6776 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6778 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6780 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6781 (desktop-restore-frames): Warn when deleting an existing frame failed.
6783 2013-07-24 Glenn Morris <rgm@gnu.org>
6785 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6787 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6789 * filenotify.el (file-notify-supported-p):
6790 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6793 * autorevert.el (auto-revert-use-notify):
6794 (auto-revert-notify-add-watch):
6795 * net/tramp.el (tramp-file-name-for-operation):
6796 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6797 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6798 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6799 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6800 Remove `file-notify-supported-p' entry.
6802 2013-07-24 Glenn Morris <rgm@gnu.org>
6804 * printing.el: Replace all uses of deleted ps-windows-system,
6805 ps-lp-system, ps-flatten-list with lpr- versions.
6807 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6809 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6810 checked with memq (bug#14935).
6812 * files.el (revert-buffer-function): Use a non-nil default.
6813 (revert-buffer-preserve-modes): Declare var to
6814 provide access to the `preserve-modes' argument.
6815 (revert-buffer): Let-bind it.
6816 (revert-buffer--default): New function, extracted from revert-buffer.
6818 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6820 * lpr.el: Signal print errors more prominently.
6821 (print-region-function): Don't default to nil.
6822 (lpr-print-region): New function, extracted from print-region-1.
6823 Check lpr's return value and signal an error in case of problem.
6824 (print-region-1): Use it.
6825 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6827 (ps-printer-name): Default to nil.
6828 (ps-printer-name-option): Default to lpr-printer-switch.
6829 (ps-print-region-function): Don't default to nil.
6830 (ps-postscript-code-directory): Simplify default.
6831 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6832 (ps-string-list, ps-eval-switch, ps-flatten-list)
6833 (ps-flatten-list-1): Remove.
6834 (ps-multibyte-buffer): Avoid setq.
6835 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6836 (print-region-function, ps-print-region-function): Don't set them here.
6838 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6840 * ido.el (ido-fractionp):
6841 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6842 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6843 (ido-max-directory-size, ido-max-dir-file-cache)
6844 (ido-decorations): Doc fix.
6846 * ansi-color.el: Fix old URL.
6848 2013-07-23 Michael R. Mauger <michael@mauger.com>
6850 * progmodes/sql.el: Version 3.3
6851 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6852 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6853 (sql-interactive-remove-continuation-prompt): Rewrite, use
6854 functions above. Fix continuation prompt and complete output line
6856 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6857 redirected output buffer.
6858 (sql-mode): Restore deleted code (Bug#13591).
6860 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6862 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6864 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6866 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6868 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6869 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6870 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6872 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6874 * desktop.el (desktop-clear): Simplify; remove useless checks
6875 against invalid buffer names.
6876 (desktop-list*): Use cl-list*.
6877 (desktop-buffer-info, desktop-create-buffer): Simplify.
6879 2013-07-23 Leo Liu <sdl.web@gmail.com>
6881 * bookmark.el (bookmark-make-record): Restore NAME as a default
6884 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6886 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6887 extracted from autoload--insert-text.
6888 (autoload--insert-text): Remove.
6889 (autoload--print-cookie-text): New function, extracted from
6890 autoload--insert-cookie-text.
6891 (autoload--insert-cookie-text): Remove.
6892 (autoload-generate-file-autoloads): Adjust calls accordingly.
6894 * winner.el (winner-hook-installed-p): Remove.
6895 (winner-mode): Simplify accordingly.
6897 * subr.el (add-to-list): Fix compiler-macro when `append' is
6898 not constant. Don't use `cl-member' for the base case.
6900 * progmodes/subword.el: Fix boundary case (bug#13758).
6901 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6903 (subword-backward-regexp): Make it a constant.
6904 (subword-forward-internal): Don't treat a trailing capital as the
6905 beginning of a word.
6907 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6909 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6910 global value of tabulated-list-revert-hook (bug#14930).
6912 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6914 * desktop.el: Require 'cl-lib.
6915 (desktop-before-saving-frames-functions): New hook.
6916 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6917 for frames being saved. Rename from desktop--save-minibuffer-frames.
6918 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6919 Do not save frames with non-nil `desktop-dont-save' parameter.
6920 Filter out deleted frames.
6921 (desktop--find-frame): Use cl-find-if.
6922 (desktop--select-frame): Use cl-(first|second|third) to access values
6924 (desktop--make-frame): Use cl-delete-if.
6925 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6926 (desktop-restore-frames): Use cl-(first|second|third) to access values
6927 of desktop-mini. Look for visible frame at the end, not while
6930 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6931 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6932 Use string-match-p, looking-at-p (bug#14927).
6934 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6936 * desktop.el (desktop-saved-frame-states):
6937 Rename from desktop--saved-states; all users changed.
6938 (desktop-save-frames): Rename from desktop--save-frames.
6939 Do not save state to desktop file.
6940 (desktop-save): Save desktop-saved-frame-states to desktop file
6942 (desktop-restoring-frames-p): New function.
6943 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6944 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6945 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6947 * desktop.el: Correctly restore iconified frames.
6948 (desktop--filter-iconified-position): New function.
6949 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6951 2013-07-20 Glenn Morris <rgm@gnu.org>
6953 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6954 Let `message' do the formatting.
6955 (def-gdb-preempt-display-buffer): Add explicit format.
6957 * image-dired.el (image-dired-track-original-file):
6958 Use with-current-buffer.
6959 (image-dired-track-thumbnail): Use with-current-buffer.
6960 Avoid changing point of wrong window.
6962 * image-dired.el (image-dired-track-original-file):
6963 Avoid changing point of wrong window. (Bug#14909)
6965 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6967 * progmodes/gdb-mi.el (gdb-done-or-error):
6968 Guard against "%" in gdb output. (Bug#14127)
6970 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6972 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6975 * international/mule.el (coding-system-iso-2022-flags): Fix last
6978 2013-07-20 Kenichi Handa <handa@gnu.org>
6980 * international/mule.el (coding-system-iso-2022-flags):
6981 Add `8-bit-level-4'. (Bug#8522)
6983 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6985 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6988 * net/eww.el (eww-process-text-input): Allow inputting when the
6989 point is at the start of the line, as the properties aren't
6992 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6995 2013-07-19 Richard Stallman <rms@gnu.org>
6997 * epa.el (epa-popup-info-window): Doc fix.
6999 * subr.el (split-string): New arg TRIM.
7001 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7003 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7004 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7006 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7008 * filenotify.el (file-notify--library): Rename from
7009 `file-notify-support'. Do not autoload. Adapt all uses.
7010 (file-notify-supported-p): New defun.
7012 * autorevert.el (auto-revert-use-notify):
7013 Use `file-notify-supported-p' instead of `file-notify-support'.
7015 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7017 * net/tramp.el (tramp-file-name-for-operation):
7018 Add `file-notify-supported-p'.
7020 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7022 (tramp-sh-file-name-handler-alist): Add it as handler for
7023 `file-notify-supported-p '.
7025 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7026 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7027 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7028 Add `ignore' as handler for `file-notify-*' functions.
7030 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7032 * simple.el (line-move-partial, line-move): Don't start vscroll or
7033 scroll-up if the current line is not taller than the window.
7036 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7038 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7039 highlight question marks in the method names as strings.
7040 (ruby-block-beg-keywords): Inline.
7041 (ruby-font-lock-keyword-beg-re): Extract from
7042 `ruby-font-lock-keywords'.
7044 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7046 * frame.el (blink-cursor-blinks): New defcustom.
7047 (blink-cursor-blinks-done): New defvar.
7048 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7049 (blink-cursor-timer-function): Check if number of blinks has been
7051 (blink-cursor-suspend, blink-cursor-check): New defuns.
7053 2013-07-15 Glenn Morris <rgm@gnu.org>
7055 * edmacro.el (edmacro-format-keys): Fix previous change.
7057 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7059 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7060 The hack didn't work outside English locales anyway.
7062 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7064 * simple.el (define-alternatives): Rename from alternatives-define,
7065 per RMS' suggestion.
7067 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7069 * desktop.el (desktop-restore-frames): Change default to t.
7070 (desktop-restore-in-current-display): Now offer more options.
7071 (desktop-restoring-reuses-frames): New customization option.
7072 (desktop--saved-states): Doc fix.
7073 (desktop-filter-parameters-alist): New variable, renamed and expanded
7074 from desktop--excluded-frame-parameters.
7075 (desktop--target-display): New variable.
7076 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7077 (desktop--filter-tty*, desktop--filter-*-color)
7078 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7079 (desktop--filter-save-desktop-parm)
7080 (desktop-restore-in-original-display-p): New functions.
7081 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7082 (desktop--save-minibuffer-frames): New function, inspired by a similar
7083 function from Martin Rudalics.
7084 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7085 (desktop--restore-in-this-display-p): Remove.
7086 (desktop--find-frame): Rename from desktop--find-frame-in-display
7087 and add predicate argument.
7088 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7089 (desktop--reuse-list): New variable.
7090 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7092 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7094 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7096 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7098 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7100 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7101 Highlight conversion methods on Kernel.
7103 2013-07-13 Alan Mackenzie <acm@muc.de>
7105 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7106 and comment it out. This out-commenting enables certain C++
7107 declarations to be parsed correctly.
7109 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7111 * international/mule.el (define-coding-system): Doc fix.
7113 * simple.el (default-font-height): Don't call font-info if the
7114 frame's default font didn't change since the frame was created.
7117 2013-07-13 Leo Liu <sdl.web@gmail.com>
7119 * ido.el (ido-read-file-name): Guard against non-symbol value.
7121 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7123 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7126 2013-07-13 Leo Liu <sdl.web@gmail.com>
7128 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7129 ido-set-matches call. (Bug#6852)
7131 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7133 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7134 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7136 (ruby-font-lock-keywords): Distinguish calls to functions with
7137 module-like names from module references. Highlight character
7140 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7142 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7143 (gdb-send): Handle continued commands. (Bug#14847)
7145 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7147 * desktop.el (desktop--v2s): Remove unused local variable.
7148 (desktop-save-buffer): Make defvar-local; adjust docstring.
7149 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7150 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7152 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7154 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7156 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7158 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7161 2013-07-12 Glenn Morris <rgm@gnu.org>
7163 * doc-view.el: Require cl-lib at runtime too.
7164 (doc-view-remove-if): Remove.
7165 (doc-view-search-next-match, doc-view-search-previous-match):
7168 * edmacro.el: Require cl-lib at runtime too.
7169 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7170 (edmacro-mismatch, edmacro-subseq): Remove.
7172 * shadowfile.el: Require cl-lib.
7173 (shadow-remove-if): Remove.
7174 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7177 * wid-edit.el: Require cl-lib.
7178 (widget-choose): Use cl-remove-if.
7179 (widget-remove-if): Remove.
7181 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7182 (ebrowse-delete-if-not): Remove.
7183 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7184 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7185 Use cl-delete-if-not.
7187 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7189 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7190 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7192 2013-07-12 Leo Liu <sdl.web@gmail.com>
7194 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7196 2013-07-11 Glenn Morris <rgm@gnu.org>
7198 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7199 (edebug-gensym-index, edebug-gensym):
7200 Remove reimplementation of cl-gensym.
7201 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7203 * thumbs.el: Require cl-lib at run-time too.
7204 (thumbs-gensym-counter, thumbs-gensym):
7205 Remove reimplementation of cl-gensym.
7206 (thumbs-temp-file): Use cl-gensym.
7208 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7209 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7210 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7211 (ert--union, ert--gensym-counter, ert--gensym-counter)
7212 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7213 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7214 (ert-make-test-unbound, ert--expand-should-1)
7215 (ert--expand-should, ert--should-error-handle-error)
7216 (should-error, ert--explain-equal-rec)
7217 (ert--plist-difference-explanation, ert-select-tests)
7218 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7219 Use cl-lib functions rather than reimplementations.
7221 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7223 * net/tramp.el (tramp-methods): Extend docstring.
7224 (tramp-connection-timeout): New defcustom.
7225 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7226 (with-tramp-progress-reporter): Simplify.
7227 (tramp-process-actions): Improve messages.
7229 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7230 * net/tramp-sh.el (tramp-maybe-open-connection):
7231 Use `tramp-connection-timeout'.
7232 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7235 2013-07-11 Leo Liu <sdl.web@gmail.com>
7237 * ido.el (ido-read-file-name): Conform to the requirements of
7238 read-file-name. (Bug#11861)
7239 (ido-read-directory-name): Conform to the requirements of
7240 read-directory-name.
7242 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7244 * subr.el (delay-warning): New function.
7246 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7248 * simple.el (default-line-height): New function.
7249 (line-move-partial, line-move): Use it instead of computing the
7251 (line-move-partial): Always compute ROWH. If the last line is
7252 partially-visible, but its text is completely visible, allow
7253 cursor to enter such a partially-visible line.
7255 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7257 Improve error messages. (Bug#14808)
7259 * net/tramp.el (tramp-current-connection): New defvar, moved from
7261 (tramp-message-show-progress-reporter-message): Remove, not
7263 (tramp-error-with-buffer): Show message in minibuffer.
7264 Discard input before waiting. Reset connection timestamp.
7265 (with-tramp-progress-reporter): Improve messages.
7266 (tramp-process-actions): Use progress reporter. Delete process in
7267 case of error. Improve messages.
7269 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7270 Call `tramp-error-with-buffer' with vector and buffer.
7271 (tramp-current-connection): Remove.
7272 (tramp-maybe-open-connection): The car of
7273 `tramp-current-connection' are the first 3 slots of the vector.
7275 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7277 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7278 inside continued strings.
7280 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7282 Timestamp fixes for undo (Bug#14824).
7283 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7285 2013-07-10 Leo Liu <sdl.web@gmail.com>
7287 * files.el (require-final-newline): Allow safe local value.
7290 2013-07-09 Leo Liu <sdl.web@gmail.com>
7292 * ido.el (ido-read-directory-name): Handle fallback.
7293 (ido-read-file-name): Update DIR to ido-current-directory.
7295 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7297 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7299 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7300 "autoload". Remove "warn lower camel case" section, previously
7301 commented out. Highlight negation char. Do not highlight the
7302 target in singleton method definitions.
7304 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7306 * faces.el (tty-setup-hook): Declare the hook.
7308 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7309 and detect when a guard/pred depends on local vars (bug#14773).
7310 (pcase--u1): Adjust caller.
7312 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7314 * simple.el (line-move-partial, line-move): Account for
7316 (line-move-partial): Avoid setting vscroll when the last
7317 partially-visible line in window is of default height.
7319 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7321 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7324 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7326 * subr.el (read-quoted-char): Remove unused local variable `char'.
7328 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7330 * ediff.el (ediff-version): Version update.
7331 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7332 (ediff-merge-with-ancestor-command, ediff-directories-command)
7333 (ediff-directories3-command, ediff-merge-directories-command)
7334 (ediff-merge-directories-with-ancestor-command): New functions.
7335 All are command-line interfaces to ediff: to facilitate calling
7336 Emacs with the appropriate ediff functions invoked.
7338 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7339 (viper-save-kill-buffer): Check if buffer is modified.
7341 * viper.el (viper-version): Version update.
7342 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7344 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7346 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7347 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7348 (viper-intercept-ESC-key): Simplify.
7349 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7350 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7351 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7352 (viper-setup-ESC-to-escape): New functions.
7353 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7354 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7356 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7358 * simple.el (default-font-height, window-screen-lines):
7360 (line-move, line-move-partial): Use them instead of
7361 frame-char-height and window-text-height. This makes scrolling
7362 text smoother when the buffer's default face uses a font that is
7363 different from the frame's default font.
7365 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7367 * files.el (write-file): Do not display confirm dialog for NS,
7368 it does its own dialog, which can't be canceled (Bug#14578).
7370 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7372 * simple.el (line-move-partial): Adjust the row returned by
7373 posn-at-point for the current window-vscroll. (Bug#14567)
7375 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7377 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7378 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7381 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7383 * window.el (window-state-put-stale-windows): New variable.
7384 (window--state-put-2): Save list of windows without matching buffer.
7385 (window-state-put): Remove "bufferless" windows if possible.
7387 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7389 * simple.el (alternatives-define): Remove leftover :group keyword.
7392 2013-07-06 Leo Liu <sdl.web@gmail.com>
7394 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7395 (ido-enable-virtual-buffers): New variable.
7396 (ido-buffer-internal, ido-toggle-virtual-buffers)
7397 (ido-make-buffer-list): Use it.
7398 (ido-exhibit): Support turning on and off virtual buffers
7401 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7403 * simple.el (alternatives-define): New macro.
7405 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7407 * subr.el (read-quoted-char): Use read-key.
7408 (sit-for): Let read-event decode tty input (bug#14782).
7410 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7412 * calendar/todo-mode.el: Add handling of file deletion, both by
7413 mode command and externally. Fix various related bugs.
7414 Clarify Commentary and improve some documentation strings and code.
7415 (todo-delete-file): New command.
7416 (todo-check-file): New function.
7417 (todo-show): Handle external deletion of the file we're trying to
7418 show (bug#14688). Replace called-interactively-p by an optional
7419 prefix argument to avoid problematic interaction with catch form
7420 when byte compiled (bug#14702).
7421 (todo-quit): Handle external deletion of the archive's todo file.
7422 Make sure the buffer that was visiting the archive file is still
7423 live before trying to bury it.
7424 (todo-category-completions): Handle external deletion of any
7425 category completion files.
7426 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7427 of todo files, in case of external deletion.
7428 (todo-add-file): Replace unnecessary setq by let-binding.
7429 (todo-find-archive): Check whether there are any archives.
7430 Replace unnecessary setq by let-binding.
7431 (todo-archive-done-item): Use find-file-noselect to get the
7432 archive buffer whether or not the archive already exists.
7433 Remove superfluous code. Use file size instead of buffer-file-name to
7434 check if the archive is new; if it is, update list of archives.
7435 (todo-default-todo-file): Allow nil to be a valid value for when
7436 there are no todo files.
7437 (todo-reevaluate-default-file-defcustom): Use corrected definition
7438 of todo-default-todo-file.
7439 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7440 (todo-delete-category, todo-show-categories-table)
7441 (todo-category-number): Clarify comment.
7442 (todo-filter-items): Clarify documentation string.
7443 (todo-show-current-file, todo-display-as-todo-file)
7444 (todo-reset-and-enable-done-separator): Tweak documentation string.
7445 (todo-done-separator): Make separator length window-width, since
7446 bug#2749 is now fixed.
7448 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7450 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7451 Support both "gvfs-monitor-dir" and "inotifywait".
7452 (tramp-sh-file-inotifywait-process-filter): Rename from
7453 `tramp-sh-file-notify-process-filter'.
7454 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7455 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7457 2013-07-05 Leo Liu <sdl.web@gmail.com>
7459 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7461 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7463 * frame.el (display-pixel-height, display-pixel-width)
7464 (display-mm-height, display-mm-width): Mention behavior on
7465 multi-monitor setups in docstrings.
7466 (w32-display-monitor-attributes-list): Declare function.
7467 (display-monitor-attributes-list): Use it.
7469 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7471 * filenotify.el: New package.
7473 * autorevert.el (top): Require filenotify.el.
7474 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7476 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7477 (auto-revert-notify-handler): Use `file-notify-*' functions.
7479 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7481 * net/tramp.el (tramp-file-name-for-operation):
7482 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7484 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7485 for `file-notify-add-watch' and `file-notify-rm-watch'.
7486 (tramp-process-sentinel): Improve trace.
7487 (tramp-sh-handle-file-notify-add-watch)
7488 (tramp-sh-file-notify-process-filter)
7489 (tramp-sh-handle-file-notify-rm-watch)
7490 (tramp-get-remote-inotifywait): New defuns.
7492 2013-07-03 Juri Linkov <juri@jurta.org>
7494 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7495 call of `occur-read-primary-args' to interactive spec.
7497 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7498 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7500 2013-07-03 Matthias Meulien <orontee@gmail.com>
7502 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7503 `Buffer-menu-multi-occur'. Add it to the menu.
7504 (Buffer-menu-mode): Document it in docstring.
7505 (Buffer-menu-multi-occur): New command. (Bug#14673)
7507 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7509 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7510 keywords and built-ins.
7512 2013-07-03 Glenn Morris <rgm@gnu.org>
7514 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7516 Make info-xref checks case-sensitive by default
7517 * info.el (Info-find-node, Info-find-in-tag-table)
7518 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7519 Add option for exact case matching of nodes.
7520 * info-xref.el (info-xref): New custom group.
7521 (info-xref-case-fold): New option.
7522 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7524 2013-07-03 Leo Liu <sdl.web@gmail.com>
7526 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7528 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7530 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7531 middle of block statement initially, lower the depth. Remove
7532 FIXME comment, not longer valid. Remove middle of block statement
7533 detection, no need to do that anymore since we've been using
7534 `ruby-parse-region' here.
7536 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7538 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7540 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7542 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7544 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7546 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7547 (desktop-restore-in-current-display): New customization option.
7548 (desktop--excluded-frame-parameters): Add `font'.
7549 (desktop--save-frames): Rename from desktop--save-windows.
7550 (desktop--restore-in-this-display-p): New function.
7551 (desktop--make-full-frame): Remove unwanted width/height from
7552 full(width|height) frames.
7553 (desktop--restore-frames): Rename from desktop--restore-windows.
7554 Obey desktop-restore-current-display. Do not delete old frames or
7555 select a new frame unless we were able to restore at least one frame.
7557 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7559 * files.el (find-file-noselect): Simplify conditional expression.
7561 * remember.el (remember-append-to-file):
7562 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7564 Add `remember-notes' function to store random notes across Emacs
7566 * remember.el (remember-data-file): Add :set callback to affect
7567 notes buffer (if any).
7568 (remember-notes): New command.
7569 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7570 New defcustoms for the `remember-notes' function.
7571 (remember-notes-save-and-bury-buffer): New command.
7572 (remember-notes-mode-map): New variable.
7573 (remember-mode): New minor mode.
7574 (remember-notes--kill-buffer-query): New function.
7575 * startup.el (initial-buffer-choice): Add notes to custom type.
7577 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7579 * bindings.el (right-char, left-char): Don't call sit-for, this is
7580 no longer needed. Use arithmetic comparison only for numerical
7583 * international/mule-cmds.el (select-safe-coding-system):
7584 Handle the case of FROM being a string correctly. (Bug#14755)
7586 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7588 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7589 progression on degenerate tables.
7590 (shr-rescale-image): ImageMagick animated images currently don't work.
7592 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7594 Some fixes and improvements for desktop frame restoration.
7595 It is still experimental and disabled by default.
7596 * desktop.el (desktop--save-windows): Put the selected frame at
7597 the head of the list.
7598 (desktop--make-full-frame): New function.
7599 (desktop--restore-windows): Try to re-select the frame that was
7600 selected upon saving. Do not abort if some frames fail to restore,
7601 just show an error message and continue. Set up maximized frames
7602 so they have default non-maximized dimensions.
7604 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7606 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7607 Don't start heredoc inside a string or comment.
7609 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7611 * bindings.el (visual-order-cursor-movement): New defcustom.
7612 (right-char, left-char): Provide visual-order cursor motion by
7613 calling move-point-visually. Update the doc strings.
7615 2013-06-28 Kenichi Handa <handa@gnu.org>
7617 * international/mule.el (define-coding-system): New coding system
7618 properties :inhibit-null-byte-detection,
7619 :inhibit-iso-escape-detection, and :prefer-utf-8.
7620 (set-buffer-file-coding-system): If :charset-list property of
7621 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7622 appropriate for setting.
7624 * international/mule-cmds.el (select-safe-coding-system):
7625 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7626 multibyte characters, return utf-8 (or one of its siblings).
7628 * international/mule-conf.el (prefer-utf-8): New coding system.
7629 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7632 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7634 * net/shr.el (shr-render-region): New function.
7636 * net/eww.el: Autoload `eww-browse-url'.
7638 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7640 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7641 Adapt to `package-desc-version' being a list.
7642 Use `package--ac-desc-version' to retrieve version from a package
7645 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7647 New experimental feature to save&restore window and frame setup.
7648 * desktop.el (desktop-save-windows): New defcustom.
7649 (desktop--saved-states): New var.
7650 (desktop--excluded-frame-parameters): New defconst.
7651 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7652 (desktop--restore-windows, desktop--save-windows): New functions.
7653 (desktop-save): Call `desktop--save-windows'.
7654 (desktop-read): Call `desktop--restore-windows'.
7656 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7658 * net/shr.el (add-face-text-property): Remove compat definition.
7660 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7662 * info.el (Info-try-follow-nearest-node): Move search for footnote
7663 above search for node name to prevent missing a footnote (bug#14717).
7665 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7667 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7669 2013-06-27 Leo Liu <sdl.web@gmail.com>
7671 * net/eww.el (eww-read-bookmarks): Check file size.
7673 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7675 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7676 advice--pending if newdef is nil or an autoload (bug#13820).
7677 (advice-mapc): New function.
7679 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7681 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7683 (eww-mode-map): Add a menu bar.
7684 (eww-add-bookmark): New command.
7685 (eww-bookmark-mode): New mode and commands.
7686 (eww-add-bookmark): Remove newlines from the title.
7687 (eww-bookmark-browse): Don't bug out if it's the only window.
7689 2013-06-26 Glenn Morris <rgm@gnu.org>
7691 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7692 (hfy-size): Handle ttys. (Bug#14668)
7694 * info-xref.el: Update for Texinfo 5 change in *note format.
7695 (info-xref-node-re, info-xref-note-re): New constants.
7696 (info-xref-check-buffer): Use info-xref-note-re.
7698 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7700 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7702 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7703 nil terminate the loop (bug#14718).
7705 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7707 * net/eww.el: Rework history traversal. When going forward/back,
7708 put these actions into the history, too, so that they can be
7710 (eww-render): Move the history reset to the correct buffer.
7712 2013-06-25 Juri Linkov <juri@jurta.org>
7714 * files-x.el (modify-dir-local-variable): Change the header comment
7715 in the file with directory local variables. (Bug#14692)
7717 * files-x.el (read-file-local-variable-value): Add `default'.
7720 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7722 * net/eww.el (eww-make-unique-file-name): Create a unique file
7723 name before saving to entering `y' accidentally asynchronously.
7725 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7727 * net/eww.el (eww-download): New command and keystroke.
7729 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7731 * net/eww.el (eww-copy-page-url): Change name of command.
7733 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7734 be more consistent with Info and dired.
7736 * net/eww.el (eww-mode-map): Ditto.
7738 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7740 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7741 packages from archives.
7742 (package-archive-contents): Change format; include obsolete packages.
7743 (package-desc): Use `dir' to mark builtin packages.
7744 (package--from-builtin): Set the `dir' field to `builtin'.
7745 (generated-autoload-file, version-control): Declare.
7746 (package-compute-transaction): Change first arg and return value to be
7747 lists of package-descs. Adjust to new package-archive-contents format.
7748 (package--add-to-archive-contents): Adjust to new
7749 package-archive-contents format.
7750 (package-download-transaction): Arg is now a list of package-descs.
7751 (package-install): If `pkg' is a package name, pass it as
7752 a requirement, so it is subject to the usual (e.g. disabled) checks.
7753 (describe-package): Accept package-desc as well.
7754 (describe-package-1): Describe a specific package-desc. Add links to
7755 other package-descs for the same package name.
7756 (package-menu-describe-package): Pass the actual package-desc.
7757 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7759 (package-desc-status): New function.
7760 (package-menu--refresh): New function, extracted
7761 from package-menu--generate.
7762 (package-menu--generate): Use it.
7763 (package-delete): Update package-alist.
7764 (package-menu-execute): Don't call package-initialize.
7766 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7767 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7768 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7769 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7770 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7771 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7773 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7775 * window.el (window--state-get-1): Workaround for bug#14527.
7776 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7778 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7780 * net/eww.el (eww-back-url): Implement the history by stashing all
7781 the data into a list.
7782 (eww-forward-url): Allow going forward in the history, too.
7784 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7786 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7787 for values and use read--expression for expressions (bug#14710).
7788 (read-file-local-variable): Avoid setq.
7789 (read-file-local-variable-mode): Use minor-mode-list.
7791 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7793 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7796 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7798 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7799 Update imenu-support when dialect changes.
7801 2013-06-25 Leo Liu <sdl.web@gmail.com>
7803 * ido.el (ido-read-internal): Allow forward slash on windows.
7805 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7807 * net/eww.el (eww): Start of strings is \\`, not ^.
7809 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7811 * net/shr.el (shr-browse-url): Fix interactive spec.
7813 * net/eww.el (eww): Add a trailing slash to domain names.
7815 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7817 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7819 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7821 * net/shr.el (shr-browse-url): Use an external browser if given a
7824 * net/eww.el (eww-external-browser): Move to shr.
7826 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7828 * net/eww.el (eww): Work more correctly for file: URLs.
7829 (eww-detect-charset): Allow quoted charsets.
7830 (eww-yank-page-url): New command and keystroke.
7832 2013-06-24 Daiki Ueno <ueno@gnu.org>
7834 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7835 file name of gpg executable.
7836 (epg-context-program): New function.
7837 (epg-context-home-directory): New function.
7838 (epg-context-set-program): New function.
7839 (epg-context-set-home-directory): New function.
7840 (epg--start): Use `epg-context-program' instead of
7842 (epg--list-keys-1): Likewise.
7844 2013-06-24 Leo Liu <sdl.web@gmail.com>
7846 * ido.el (ido-read-internal): Fix bug#14620.
7848 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7850 * faces.el (face-documentation): Simplify.
7851 (read-face-attribute, tty-find-type, x-resolve-font-name):
7852 Use `string-match-p'.
7853 (list-faces-display): Use `string-match-p'. Simplify.
7854 (face-spec-recalc): Check face to avoid face alias loops.
7855 (read-color): Use `string-match-p' and non-capturing parenthesis.
7857 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7859 * net/shr.el (shr-rescale-image): Use the new
7860 :max-width/:max-height functionality.
7862 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7864 * net/eww.el (eww-search-prefix): New variable.
7866 (eww-external-browser): New variable.
7867 (eww-mode-map): New keystroke.
7868 (eww-browse-with-external-browser): New command.
7870 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7872 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7874 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7875 Don't skip aligning the next header field when padding is 0;
7876 otherwise, field width is not respected unless the title is as
7879 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7881 * emacs-lisp/package.el (package-el-version): Remove.
7882 (package-process-define-package): Fix inf-loop.
7883 (package-install): Allow symbols as arguments again.
7885 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7887 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7888 add some more keyword-like methods.
7889 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7891 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7893 * bs.el (bs-buffer-show-mark): Make defvar-local.
7894 (bs-mode): Use setq-local.
7896 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7897 (emacs-lock--try-unlocking): Make defvar-local.
7899 2013-06-22 Glenn Morris <rgm@gnu.org>
7901 * play/cookie1.el (cookie-apropos): Minor simplification.
7903 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7905 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7907 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7908 `regexp-opt', it breaks the build during dumping.
7910 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7912 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7913 Highlight keyword-like methods on Kernel and Module with
7914 font-lock-builtin-face.
7915 (auto-mode-alist): Consolidate different entries into one regexp
7916 and add more *file-s.
7918 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7920 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7922 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7923 (diary-entry): Use it in the action of this button type instead of
7926 * calendar/todo-mode.el: New version.
7927 (todo-add-category): Append new category to end of file and give
7928 it the highest number, instead of putting it at the beginning and
7929 giving it 0. Incorporate noninteractive functionality.
7930 (todo-forward-category): Adapt to 1-based category numbering.
7931 Allow skipping over archived categories.
7932 (todo-backward-category): Derive from todo-forward-category.
7933 (todo-backward-item, todo-forward-item): Make noninteractive and
7934 delegate interactive part to new commands. Make sensitive to done items.
7935 (todo-categories): Make value an alist of category names and
7936 vectors of item counts.
7937 (todo-category-beg): Make a defconst.
7938 (todo-category-number): Use 1 instead of 0 as initial value.
7939 (todo-category-select): Make sensitive to overlays, optional item
7940 highlighting and done items.
7941 (todo-delete-item): Make sensitive to overlays and marked and done items.
7942 (todo-edit-item): Make sensitive to overlays and editing of
7943 date/time header optional. Add format checks.
7944 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7945 no-op if point is not on an item. Advertise using todo-edit-quit.
7946 (todo-edit-mode): Make sensitive to new format, font-locking, and
7947 multiple todo files.
7948 (todo-insert-item, todo-insert-item-here): Derive from
7949 todo-basic-insert-item and extend functionality.
7950 (todo-item-end, todo-item-start): Make sensitive to done items.
7951 (todo-item-string): Don't return text properties. Restore point.
7952 (todo-jump-to-category): Make sensitive to multiple todo files and
7953 todo archives. Use extended category completion.
7954 (todo-lower-item, todo-raise-item): Rename to *-priority and
7955 derive from todo-set-item-priority.
7956 (todo-mode): Derive from special-mode. Make sensitive to new
7957 format, font-locking and multiple todo files. Make read-only.
7958 (todo-mode-map): Don't suppress digit keys, so they can supply
7959 prefix arguments. Add many new key bindings.
7960 (todo-prefix): Insert as an overlay instead of file text.
7961 Change semantics from diary date expression to purely visual mark.
7962 (todo-print): Rename to todo-print-buffer. Make buffer display
7963 features printable. Remove option to restrict number of items
7964 printed. Add option to print to file.
7965 (todo-print-function): Rename to todo-print-buffer-function.
7966 (todo-quit): Extend to handle exiting new todo modes.
7967 (todo-remove-item): Make sensitive to overlays.
7968 (todo-save): Extend to buffers of filtered items.
7969 (todo-show): Make sensitive to done items, multiple todo files and
7970 new todo modes. Offer to convert legacy todo file before creating
7971 first new todo file.
7972 (todo-show-priorities): Rename to todo-top-priorities.
7973 Change semantics of value 0.
7974 (todo-top-priorities): Rename to todo-filter-top-priorities,
7975 derive from todo-filter-items and extend functionality.
7976 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7977 and extend functionality to other types of filtered items.
7978 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7979 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7980 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7981 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7982 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7983 (todo-edit-mode-hook, todo-entry-prefix-function)
7984 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7985 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7986 (todo-initials, todo-insert-threshold, todo-item-string-start)
7987 (todo-line-string, todo-menu, todo-mode-hook)
7988 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7989 (todo-print-priorities, todo-remove-separator)
7990 (todo-save-top-priorities-too, todo-string-count-lines)
7991 (todo-string-multiline-p, todo-time-string-format)
7992 (todo-tmp-buffer-name): Remove.
7993 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7994 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7995 (todo-edit-category-diary-inclusion)
7996 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7997 (todo-edit-file, todo-edit-item-date-day)
7998 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7999 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8000 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8001 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8002 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8003 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8004 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8005 (todo-filter-top-priorities-multifile, todo-find-archive)
8006 (todo-find-filtered-items-file, todo-go-to-source-item)
8007 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8008 (todo-jump-to-archive-category, todo-lower-category)
8009 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8010 (todo-move-category, todo-move-item, todo-next-button)
8011 (todo-next-item, todo-padded-string, todo-powerset)
8012 (todo-previous-button, todo-previous-item)
8013 (todo-print-buffer-to-file, todo-raise-category)
8014 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8015 (todo-set-category-number, todo-set-item-priority)
8016 (todo-set-top-priorities-in-category)
8017 (todo-set-top-priorities-in-file, todo-show-categories-table)
8018 (todo-sort-categories-alphabetically-or-numerically)
8019 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8020 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8021 (todo-toggle-item-header, todo-toggle-item-highlighting)
8022 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8023 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8024 (todo-unarchive-items, todo-unmark-category): New commands.
8025 (todo-absolute-file-name, todo-add-to-buffer-list)
8026 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8027 (todo-basic-insert-item, todo-category-completions)
8028 (todo-category-number, todo-category-string-matcher-1)
8029 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8030 (todo-check-format, todo-clear-matches)
8031 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8032 (todo-current-category, todo-date-string-matcher)
8033 (todo-define-insertion-command, todo-diary-expired-matcher)
8034 (todo-diary-goto-entry, todo-diary-item-p)
8035 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8036 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8037 (todo-done-item-section-p, todo-done-separator)
8038 (todo-done-string-matcher, todo-files, todo-filter-items)
8039 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8040 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8041 (todo-insert-category-line, todo-insert-item-from-calendar)
8042 (todo-insert-sort-button, todo-insert-with-overlays)
8043 (todo-insertion-command-name, todo-insertion-key-bindings)
8044 (todo-label-to-key, todo-longest-category-name-length)
8045 (todo-make-categories-list, todo-mode-external-set)
8046 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8047 (todo-modes-set-3, todo-multiple-filter-files)
8048 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8049 (todo-read-category, todo-read-date, todo-read-dayname)
8050 (todo-read-file-name, todo-read-time)
8051 (todo-reevaluate-category-completions-files-defcustom)
8052 (todo-reevaluate-default-file-defcustom)
8053 (todo-reevaluate-filelist-defcustoms)
8054 (todo-reevaluate-filter-files-defcustom)
8055 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8056 (todo-reset-done-separator, todo-reset-done-separator-string)
8057 (todo-reset-done-string, todo-reset-global-current-todo-file)
8058 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8059 (todo-reset-prefix, todo-set-categories)
8060 (todo-set-date-from-calendar, todo-set-show-current-file)
8061 (todo-set-top-priorities, todo-short-file-name)
8062 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8063 (todo-total-item-counts, todo-update-buffer-list)
8064 (todo-update-categories-display, todo-update-categories-sexp)
8065 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8067 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8069 (todo-categories, todo-display, todo-edit, todo-faces)
8070 (todo-filtered): New defgroups.
8071 (todo-archived-only, todo-button, todo-category-string, todo-date)
8072 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8073 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8074 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8075 (todo-add-item-if-new-category, todo-always-add-time-string)
8076 (todo-categories-align, todo-categories-archived-label)
8077 (todo-categories-category-label, todo-categories-diary-label)
8078 (todo-categories-done-label, todo-categories-number-separator)
8079 (todo-categories-todo-label, todo-categories-totals-label)
8080 (todo-category-completions-files, todo-completion-ignore-case)
8081 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8082 (todo-done-separator-string, todo-done-string)
8083 (todo-files-function, todo-filter-done-items, todo-filter-files)
8084 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8085 (todo-initial-category, todo-initial-file, todo-item-mark)
8086 (todo-legacy-date-time-regexp, todo-mode-line-function)
8087 (todo-nondiary-marker, todo-number-prefix)
8088 (todo-print-buffer-function, todo-show-current-file)
8089 (todo-show-done-only, todo-show-first, todo-show-with-done)
8090 (todo-skip-archived-categories, todo-top-priorities-overrides)
8091 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8092 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8094 (todo-category-done, todo-date-pattern, todo-date-string-start)
8095 (todo-diary-items-buffer, todo-done-string-start)
8096 (todo-filtered-items-buffer, todo-item-start)
8097 (todo-month-abbrev-array, todo-month-name-array)
8098 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8099 (todo-top-priorities-buffer): New defconsts.
8100 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8101 (todo-categories-with-marks, todo-category-string-face)
8102 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8103 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8104 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8105 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8106 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8107 (todo-font-lock-keywords, todo-global-current-todo-file)
8108 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8109 (todo-insertion-commands-args)
8110 (todo-insertion-commands-args-genlist)
8111 (todo-insertion-commands-names, todo-insertion-map)
8112 (todo-key-bindings-t, todo-key-bindings-t+a)
8113 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8114 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8115 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8116 (todo-visited): New variables.
8118 2013-06-21 Glenn Morris <rgm@gnu.org>
8120 * play/cookie1.el (cookie-apropos): Add optional display argument.
8121 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8122 (psychoanalyze-pinhead): Use cookie-doctor.
8124 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8126 * emacs-lisp/package.el (tar-get-file-descriptor)
8127 (tar--extract): Declare.
8129 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8131 Extend flymake's warning predicate to be a function (bug#14217).
8132 * progmodes/flymake.el (flymake-warning-predicate): New.
8133 (flymake-parse-line): Use it.
8134 (flymake-warning-re): Make obsolete alias to
8135 `flymake-warning-predicate'.
8137 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8139 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8140 (package-obsolete-list): Remove.
8141 (package-activate): Remove min-version argument. Add `force' argument.
8142 Adjust to new package-alist format.
8143 (package-mark-obsolete): Remove.
8144 (package-unpack): Force reload of the package's autoloads.
8145 (package-installed-p): Check builtins if the installed package is not
8147 (package-initialize): Don't reset package-obsolete-list.
8148 Don't specify which package version to activate.
8149 (package-process-define-package, describe-package-1)
8150 (package-menu--generate): Adjust to new package-alist format.
8152 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8154 * allout-widgets.el (allout-widgets-mode-off)
8155 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8156 (allout-widgets-post-command-business)
8157 (allout-widgets-after-copy-or-kill-function)
8158 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8159 (allout-decorate-item-and-context)
8160 (allout-graphics-modification-handler): Fix typos in docstrings.
8161 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8163 * cmuscheme.el (scheme-start-file): Doc fix.
8164 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8165 (scheme-input-filter): Use `string-match-p'.
8167 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8169 * dired-x.el: Use Dired consistently in docstrings.
8171 * dired.el: Use Dired consistently in docstrings.
8172 (dired-readin, dired-mode): Use `setq-local'.
8173 (dired-switches-alist): Make defvar-local.
8174 (dired-buffers-for-dir): Use `zerop'.
8175 (dired-safe-switches-p, dired-switches-escape-p)
8176 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8177 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8178 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8179 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8180 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8181 (dired-toggle-marks, dired-mark-files-containing-regexp)
8182 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8183 (dired-flag-auto-save-files, dired-flag-backup-files):
8185 (dired-mark-files-regexp, dired-build-subdir-alist):
8186 Use `string-match-p', `looking-at-p'.
8188 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8189 (direct-print-region-helper): Use `string-match-p'.
8191 2013-06-21 Leo Liu <sdl.web@gmail.com>
8193 * comint.el (comint-redirect-results-list-from-process):
8196 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8198 * net/eww.el (eww-update-header-line-format): Quote % characters.
8200 2013-06-21 Glenn Morris <rgm@gnu.org>
8202 * play/cookie1.el (cookie): New custom group.
8203 (cookie-file): New option.
8204 (cookie-check-file): New function.
8205 (cookie): Make it interactive. Make start and end messages optional.
8206 Interactively, display the result. Default to cookie-file.
8207 (cookie-insert): Default to cookie-file.
8208 (cookie-snarf): Make start and end messages optional.
8209 Default to cookie-file. Use with-temp-buffer.
8210 (cookie-read): Rename from read-cookie.
8211 Make start and end messages optional. Default to cookie-file.
8212 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8214 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8215 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8217 2013-06-21 Leo Liu <sdl.web@gmail.com>
8219 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8221 2013-06-21 Glenn Morris <rgm@gnu.org>
8223 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8225 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8226 Daniel Hackney <dan@haxney.org>
8228 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8229 Consolidate the single-file vs tarball code.
8230 (package-desc-suffix): New function.
8231 (package-desc-full-name): Don't bother inlining it.
8232 (package-load-descriptor): Return the new package-desc.
8233 (package-mark-obsolete): Remove unused arg `package'.
8234 (package-unpack): Make it work for single files as well.
8235 Make it update package-alist.
8236 (package--make-autoloads-and-stuff): Rename from
8237 package--make-autoloads-and-compile. Don't compile any more.
8238 (package--compile): New function.
8239 (package-generate-description-file): New function, extracted from
8240 package-unpack-single.
8241 (package-unpack-single): Remove.
8242 (package--with-work-buffer): Add indentation and debugging info.
8243 (package-download-single): Remove.
8244 (package-install-from-archive): Rename from package-download-tar, make
8245 it take a pkg-desc, and make it work for single files as well.
8246 (package-download-transaction): Simplify.
8247 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8248 external tar program.
8249 (package-install-from-buffer): Remove `pkg-desc' argument.
8250 Use package-tar-file-info for tar-mode buffers.
8251 (package-install-file): Simplify accordingly.
8252 (package-archive-base): Change to take a pkg-desc.
8253 * tar-mode.el (tar--check-descriptor): New function, extracted from
8255 (tar-get-descriptor): Use it.
8256 (tar-get-file-descriptor): New function.
8257 (tar--extract): New function, extracted from tar-extract.
8258 (tar--extract): Use it.
8259 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8260 case the summary uses non-ascii. Adjust to new calling convention of
8261 package-tar-file-info.
8263 2013-06-21 Leo Liu <sdl.web@gmail.com>
8265 * comint.el (comint-redirect-results-list-from-process):
8266 Fix random delay. (Bug#14681)
8268 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8270 * profiler.el (profiler-format-number): Use log, not log10.
8272 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8274 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8276 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8278 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8279 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8281 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8282 (AUTOGENEL): ... here.
8283 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8284 (cl--defsubst-expand): Use it.
8286 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8288 * subr.el (log10): Move here from C code, and declare as obsolete.
8289 All uses of (log10 X) replaced with (log X 10).
8291 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8293 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8294 Declare with `defvar-local'.
8295 (tabulated-list-use-header-line, tabulated-list-entries)
8296 (tabulated-list-padding, tabulated-list-printer)
8297 (tabulated-list-sort-key): Declare with `defvar-local'.
8298 (tabulated-list-init-header, tabulated-list-print-fake-header):
8301 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8303 * arc-mode.el (archive-mode): Add `archive-write-file' to
8304 `write-contents-functions' also for remote files. (Bug#14652)
8306 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8308 * cus-edit.el (custom-commands): Fix typos.
8309 (custom-display): Fix tooltip text.
8310 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8311 Fix typos in docstrings.
8312 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8313 (custom-unlispify-menu-entry, custom-magic-value-create)
8314 (custom-add-see-also, custom-group-value-create): Use ?\s.
8315 (custom-guess-type, customize-apropos, editable-field)
8316 (custom-face-value-create): Use `string-match-p'.
8317 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8319 * custom.el (custom-load-symbol): Use `string-match-p'.
8321 * ansi-color.el: Convert to lexical binding.
8322 (ansi-colors): Fix URL.
8323 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8324 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8325 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8327 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8329 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8331 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8333 2013-06-19 Tom Tromey <tromey@redhat.com>
8335 * net/eww.el (eww-top-url): Remove.
8336 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8337 (eww-render): Set new variables. Don't set eww-top-url.
8338 (eww-handle-link): Handle "prev", "home", and "contents".
8339 Downcase the rel text.
8340 (eww-top-url): Choose best top URL.
8342 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8344 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8345 relying in widget.el. Using widget.el leads to too many
8346 user interface inconsistencies.
8347 (eww-self-insert): Implement entering commands in text fields.
8348 (eww-process-text-input): New function to make text input field editing
8350 (eww-submit): Rewrite to use the new-style form methods.
8351 (eww-select-display): Display the correct selected item.
8352 (eww-change-select): Implement changing the select value.
8353 (eww-toggle-checkbox): Implement radio/checkboxes.
8354 (eww-update-field): Fix compilation error.
8355 (eww-tag-textarea): Implement <textarea>.
8357 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8358 we don't shadow mode-specific bindings.
8360 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8363 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8365 2013-06-19 Glenn Morris <rgm@gnu.org>
8367 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8369 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8371 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8374 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8376 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8378 * net/browse-url.el (browse-url-browser-function):
8379 `eww-browse-url' has the right calling signature, `eww' does not.
8381 2013-06-19 Glenn Morris <rgm@gnu.org>
8383 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8384 Only eval autoloaded macros.
8385 (byte-compile-autoload): Only give the macro warning for macros.
8387 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8388 (ps-underlined-faces): Declare.
8390 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8391 (speedbar-add-supported-extension): Declare.
8393 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8394 Don't include a date stamp in the header of the generated file;
8395 it leads to needless differences between output files.
8397 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8399 * net/secrets.el (secrets-struct-secret-content-type):
8400 Replace check of introspection data by a test call of "CreateItem".
8401 Some servers do not offer introspection.
8403 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8405 * electric.el (electric-pair-mode): Improve interaction with
8406 electric-layout-mode.
8407 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8408 (electric-pair-syntax): Use text-mode-syntax-table in comments
8410 (electric-pair--insert): New function.
8411 (electric-pair-post-self-insert-function): Use it and
8412 electric--after-char-pos.
8414 2013-06-19 Leo Liu <sdl.web@gmail.com>
8416 * progmodes/octave.el (octave-help): Fix regexp.
8418 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8420 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8421 (shr-table-horizontal-line): Allow nil as a value, and change the
8423 (shr-insert-table-ruler): Respect the nil value.
8425 2013-06-18 Tom Tromey <tromey@barimba>
8427 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8429 (eww-open-file): New defun.
8430 (eww-render): Initialize new variables.
8431 (eww-display-html): Handle "link" and "a".
8432 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8433 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8434 (eww-back-url): Rename from eww-previous-url.
8435 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8438 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8440 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8441 Distinguish ternary operator tokens from slash symbol and slash
8444 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8446 Convert symbol prettification into minor mode and global minor mode.
8448 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8449 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8450 (prettify-symbols--keywords): Rename from
8451 `prog-prettify-symbols-alist' and make a local defvar.
8452 (prettify-symbols--compose-symbol): Rename from
8453 `prog--prettify-font-lock-compose-symbol'.
8454 (prettify-symbols--make-keywords): Rename from
8455 `prog-prettify-font-lock-symbols-keywords' and simplify.
8456 (prog-prettify-install): Remove.
8457 (prettify-symbols-mode): New minor mode, based on
8458 `prog-prettify-install'.
8459 (turn-on-prettify-symbols-mode): New function.
8460 (global-prettify-symbols-mode): New globalized minor mode.
8462 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8463 * progmodes/cfengine.el (cfengine3-mode):
8464 * progmodes/perl-mode.el (perl-mode): Don't call
8465 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8467 2013-06-18 Juri Linkov <juri@jurta.org>
8469 * files-x.el (modify-file-local-variable-message): New function.
8470 (modify-file-local-variable)
8471 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8472 and call `modify-file-local-variable-message' when it's non-nil.
8473 (add-file-local-variable, delete-file-local-variable)
8474 (add-file-local-variable-prop-line)
8475 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8476 and use it. (Bug#9820)
8478 2013-06-18 Juri Linkov <juri@jurta.org>
8480 * emulation/vi.el (vi-shell-op):
8481 * emulation/vip.el (vip-execute-com, ex-command):
8482 * emulation/viper-cmd.el (viper-exec-bang):
8483 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8484 the call of `shell-command-on-region'. (Bug#14637)
8486 * simple.el (shell-command-on-region): Doc fix.
8488 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8490 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8493 2013-06-18 Glenn Morris <rgm@gnu.org>
8495 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8497 * newcomment.el (comment-search-forward, comment-search-backward):
8498 Doc fix. (Bug#14376)
8500 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8502 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8503 (buffer-face-mode-invoke): Doc fix.
8505 2013-06-18 Matthias Meulien <orontee@gmail.com>
8507 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8508 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8510 2013-06-18 Glenn Morris <rgm@gnu.org>
8512 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8513 Replace obsolete function generic-make-keywords with its expansion.
8515 * progmodes/python.el (ffap-alist): Declare.
8517 * textmodes/reftex.el (bibtex-mode-map): Declare.
8519 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8521 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8522 (package-unpack, package-unpack-single): Return the pkg-dir.
8523 (package-download-transaction): Use it to update package-alist.
8525 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8527 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8530 2013-06-17 Juri Linkov <juri@jurta.org>
8532 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8534 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8536 * emacs-lisp/package.el (package-load-descriptor):
8537 Remove `with-syntax-table' call, `read' doesn't need it.
8538 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8540 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8542 * startup.el (command-line): Expand package name returned by
8543 `package--description-file' (bug#14639).
8545 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8547 * emacs-lisp/package.el (package-load-descriptor): Do not call
8548 `emacs-lisp-mode', just use its syntax table.
8550 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8552 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8553 `font-lock-extra-managed-props' if any prettifying keyword is added.
8554 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8555 (prog-mode): Use `setq-local'.
8557 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8559 * international/characters.el (standard-case-table): Set syntax of ?»
8560 and ?« to punctuation.
8562 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8564 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8565 Save relevant match data before calling `syntax-ppss' (bug#14595).
8567 2013-06-15 Juri Linkov <juri@jurta.org>
8569 * files-x.el (modify-file-local-variable-prop-line): Add local
8570 variables to the end of the existing comment on the first line.
8571 Use `file-auto-mode-skip' to skip interpreter magic line,
8572 and also skip XML declaration.
8574 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8576 * startup.el (package--builtin-versions): New var.
8577 (package-subdirectory-regexp): Remove.
8578 (package--description-file): Hard code its value instead.
8580 * emacs-lisp/package.el: Don't activate packages older than builtin.
8581 (package-obsolete-list): Rename from package-obsolete-alist, and make
8582 it into a simple list of package-desc.
8583 (package-strip-version): Remove.
8584 (package-built-in-p): Use package--builtin-versions.
8585 (package-mark-obsolete): Simplify.
8586 (package-process-define-package): Mark it obsolete if older than the
8588 (package-handle-response): Use line-end-position.
8589 (package-read-archive-contents, package--download-one-archive):
8591 (package--add-to-archive-contents): Skip if older than the builtin or
8593 (package-menu-describe-package): Fix last change.
8594 (package-list-unversioned): New var.
8595 (package-menu--generate): Use it.
8597 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8598 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8599 (autoload-builtin-package-versions): New variable.
8600 (autoload-generate-file-autoloads): Use them.
8601 Remove the list of autoloaded functions/macros from the
8602 (autoload...) comments.
8604 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8606 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8608 * simple.el (line-move-partial): Don't jump to the next screen
8609 line as soon as it becomes visible. Instead, continue enlarging
8610 the vscroll until the portion of a tall screen line that's left on
8611 display is about the height of the frame's default font.
8614 2013-06-15 Glenn Morris <rgm@gnu.org>
8616 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8617 compilation-error-regexp-alist void, or local while let-bound.
8619 * progmodes/make-mode.el (makefile-mode-syntax-table):
8620 Treat "=" as punctuation. (Bug#14614)
8622 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8624 * help-fns.el (describe-variable):
8625 Add extra line for permanent-local variables.
8627 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8629 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8630 Add export, import, library. (Bug#9164)
8631 (library): Set indent function.
8633 2013-06-14 Glenn Morris <rgm@gnu.org>
8635 * term/xterm.el (xterm--query):
8636 Stop after first matching handler. (Bug#14615)
8638 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8640 Add support for dired in saveplace.
8641 * dired.el (dired-initial-position-hook): New variable.
8642 (dired-initial-position): Call hook to place cursor position.
8643 * saveplace.el (save-place-to-alist): Add dired position.
8644 (save-place-dired-hook): New function.
8646 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8648 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8649 through a symbol rather than letrec.
8651 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8652 (package-desc): Add `dir' field.
8653 (package-desc-full-name): New function.
8654 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8655 (package-maybe-load-descriptor): Remove.
8656 (package-load-all-descriptors): Just call package-load-descriptor.
8657 (package--disabled-p): New function.
8658 (package-desc-vers, package-desc-doc): Remove aliases.
8659 (package--dir): Remove function.
8660 (package-activate): Check if a package is disabled.
8661 (package-process-define-package): New function, extracted from
8663 (define-package): Turn into a place holder.
8664 (package-unpack-single, package-tar-file-info):
8665 Use package--description-file.
8666 (package-compute-transaction): Use package--disabled-p.
8667 (package-download-transaction): Don't call
8668 package-maybe-load-descriptor since they're all loaded anyway.
8669 (package-install): Change argument to be a pkg-desc.
8670 (package-delete): Use a single pkg-desc argument.
8671 (describe-package-1): Use package-desc-dir instead of package--dir.
8672 Use package-desc property instead of package-symbol.
8673 (package-install-button-action): Adjust accordingly.
8674 (package--push): Rewrite.
8675 (package-menu--print-info): Adjust accordingly. Change the ID format
8677 (package-menu-describe-package, package-menu-get-status)
8678 (package-menu--find-upgrades, package-menu-mark-upgrades)
8679 (package-menu-execute, package-menu--name-predicate):
8681 * startup.el (package--description-file): New function.
8682 (command-line): Use it.
8683 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8684 Use package-desc-version.
8686 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8687 (byte-compile-preprocess): Use it.
8688 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8689 can't quite recognize.
8690 (byte-compile-add-to-list): Remove.
8691 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8692 (cconv-closure-convert): Add assertion.
8694 * emacs-lisp/map-ynp.el: Use lexical-binding.
8695 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8696 Factor out some repeated code.
8698 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8700 * subr.el (with-eval-after-load): New macro.
8701 (eval-after-load): Allow form to be a function.
8702 take advantage of lexical-binding.
8703 (do-after-load-evaluation): Use dolist and adjust to new format.
8704 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8706 2013-06-13 Juri Linkov <juri@jurta.org>
8708 * replace.el (perform-replace): Display "symbol " and other search
8709 modes from `isearch-message-prefix' in the *Help* buffer.
8711 * isearch.el (isearch-query-replace): Add " symbol" and other
8712 possible search modes from `isearch-message-prefix' to the prompt.
8713 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8714 when reading a regexp to collect.
8716 2013-06-13 Juri Linkov <juri@jurta.org>
8718 * isearch.el (word-search-regexp): Match whitespace if the search
8719 string begins or ends in whitespace. The LAX arg is applied to
8720 both ends of the search string. Use `regexp-quote' and explicit
8721 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8722 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8723 boundaries are replaced with symbol boundaries, and characters
8724 between symbols match non-word non-symbol syntax. (Bug#14602)
8726 2013-06-13 Juri Linkov <juri@jurta.org>
8728 * isearch.el (isearch-del-char): Don't exceed the length of
8729 `isearch-string' by the prefix arg. (Bug#14563)
8731 2013-06-13 Juri Linkov <juri@jurta.org>
8733 * isearch.el (isearch-yank-word, isearch-yank-line)
8734 (isearch-char-by-name, isearch-quote-char)
8735 (isearch-printing-char, isearch-process-search-char):
8736 Add optional count prefix arg. (Bug#14563)
8738 * international/isearch-x.el
8739 (isearch-process-search-multibyte-characters):
8740 Add optional count prefix arg.
8742 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8744 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8745 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8748 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8750 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8752 2013-06-13 Glenn Morris <rgm@gnu.org>
8754 * startup.el (tty-handle-args):
8755 Don't just discard "--" and anything after. (Bug#14608)
8757 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8759 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8761 Implement changes in Secret Service API. Make it backward compatible.
8762 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8763 (secrets-create-item): Use it. Prefix properties with interface.
8765 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8767 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8768 (term-emulate-terminal): Respect term-suppress-hard-newline.
8770 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8772 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8773 Only remove a `thumb-file' overlay. (Bug#14548)
8775 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8777 * mail/reporter.el (reporter-submit-bug-report):
8778 Handle missing package-name. (Bug#14600)
8780 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8782 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8783 (reftex-citation-prompt, reftex-default-bibliography)
8784 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8785 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8786 (reftex-bib-sort-author, reftex-bib-sort-year)
8787 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8788 (reftex-extract-bib-entries-from-thebibliography)
8789 (reftex-get-bibkey-default, reftex-get-bib-names)
8790 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8791 (reftex-format-bib-entry, reftex-parse-bibitem)
8792 (reftex-format-bibitem, reftex-do-citation)
8793 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8794 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8795 (reftex-insert-bib-matches, reftex-format-citation)
8796 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8797 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8798 existing comments into docstrings.
8800 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8802 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8804 2013-06-12 Andreas Schwab <schwab@suse.de>
8806 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8807 for auto-save files.
8809 2013-06-12 Glenn Morris <rgm@gnu.org>
8811 * ido.el (ido-delete-ignored-files): Remove.
8812 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8813 Go back to calling ido-ignore-item-p directly.
8815 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8817 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8819 * ido.el (ido-delete-ignored-files): New function,
8820 split from ido-make-file-list-1.
8821 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8822 (ido-make-file-list-1): Use ido-delete-ignored-files.
8824 2013-06-12 Leo Liu <sdl.web@gmail.com>
8826 * progmodes/octave.el (inferior-octave-startup)
8827 (inferior-octave-completion-table)
8828 (inferior-octave-track-window-width-change)
8829 (octave-eldoc-function-signatures, octave-help)
8830 (octave-find-definition): Use single quoted strings.
8831 (inferior-octave-startup-args): Change default value.
8832 (inferior-octave-startup): Do not hard code "-i" and
8833 "--no-line-editing".
8834 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8835 (inferior-octave-directory-tracker): Use it.
8836 (octave-goto-function-definition): Robustify.
8837 (octave-help): Support highlighting operators in 'See also'.
8838 (octave-find-definition): Find subfunctions only in Octave mode.
8840 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8842 * help-fns.el (help-fns--compiler-macro): If the handler function is
8843 named, then put a link to it.
8844 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8845 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8847 (cl-eval-when): Simplify debug spec.
8848 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8849 compiler-macro function instead of setting `compiler-macro-file'.
8851 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8853 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8854 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8856 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8857 Daniel Hackney <dan@haxney.org>
8859 First part of Daniel Hackney's patch to package.el.
8860 * emacs-lisp/package.el: Use defstruct.
8861 (package-desc): New, main struct.
8862 (package--bi-desc, package--ac-desc): New structs, used to describe the
8863 format in external files.
8864 (package-desc-vers): Replace with package-desc-version accessor.
8865 (package-desc-doc): Replace with package-desc-summary accessor.
8866 (package-activate-1): Remove `package' arg since the pkg-vec now
8868 (define-package): Use package-desc-from-define.
8869 (package-unpack-single): Change file-name arg to be a symbol.
8870 (package--add-to-archive-contents): Use package-desc-create and new
8871 accessor functions to package--ac-desc.
8872 (package-buffer-info, package-tar-file-info): Return a package-desc.
8873 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8874 arg to be a package-desc.
8875 (package-install-file): Adjust accordingly. Use \' to match EOS.
8876 (package--from-builtin): New function.
8877 (describe-package-1, package-menu--generate): Use it.
8878 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8879 (package-generate-autoloads): Idem and return the name of the file.
8880 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8881 Change pkg-info arg to be a package-desc.
8882 Use package-make-ac-desc.
8883 (package-upload-file): Use \' to match EOS.
8884 * finder.el (finder-compile-keywords): Use package-make-builtin.
8886 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8888 * vc/vc.el (vc-deduce-fileset): Change error message.
8889 (vc-read-backend): New function.
8890 (vc-next-action): Use it.
8892 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8894 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8895 (prolog-font-lock-keywords): Use regexp-opt instead.
8896 Don't manually highlight strings.
8897 (prolog-mode-variables): Simplify comment-start-skip.
8898 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8900 * emacs-lisp/generic.el (generic--normalise-comments)
8901 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8902 (generic-mode-set-comments): Use them.
8903 (generic-bracket-support): Use setq-local.
8904 (generic-make-keywords-list): Declare obsolete.
8906 2013-06-11 Glenn Morris <rgm@gnu.org>
8908 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8909 Prettify after setting font-lock-defaults. (Bug#14574)
8911 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8913 * replace.el (query-replace, occur-read-regexp-defaults-function)
8915 * subr.el (declare-function, number-sequence, local-set-key)
8916 (substitute-key-definition, locate-user-emacs-file)
8917 (with-silent-modifications, split-string, eval-after-load):
8918 Fix typos, remove unneeded backslashes and reflow some docstrings.
8920 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8922 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8923 default for Elisp files.
8925 2013-06-11 Glenn Morris <rgm@gnu.org>
8927 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8928 although define-derived-mode was doing this anyway. (Bug#14583)
8930 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8932 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8933 Fix make-variable-buffer-local call to refer to the correct variable.
8935 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8937 * eshell/em-term.el (eshell-visual-commands)
8938 (eshell-visual-subcommands, eshell-visual-options):
8939 Add summary line to docstrings. Add cross-references.
8941 2013-06-10 Glenn Morris <rgm@gnu.org>
8943 * epa.el (epa-read-file-name): New function. (Bug#14510)
8944 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8946 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8948 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8949 output redirection to be ignored with visual commands.
8951 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8953 * eshell/em-term.el (eshell-visual-command-p): New function.
8954 (eshell-term-initialize): Move long lambda to separate function
8955 eshell-visual-command-p.
8956 * eshell/em-dirs.el (eshell-dirs-initialise):
8957 * eshell/em-script.el (eshell-script-initialize):
8958 Add missing #' to lambda.
8960 2013-06-08 Leo Liu <sdl.web@gmail.com>
8962 * progmodes/octave.el (octave-add-log-current-defun): New function.
8963 (octave-mode): Set add-log-current-defun-function.
8964 (octave-goto-function-definition): Do not move point if not found.
8965 (octave-find-definition): Enhance to try subfunctions first.
8967 2013-06-08 Glenn Morris <rgm@gnu.org>
8969 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8970 (byte-compile-backward-char, byte-compile-backward-word):
8971 Improve previous change, to handle non-explicit nil.
8973 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8975 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8976 (smie--opener/closer-at-point): New function.
8977 (smie--matching-block-data): Use it. Don't match from right after an
8978 opener or right before a closer. Obey smie-blink-matching-inners.
8979 Don't signal a mismatch for repeated inners like "switch..case..case".
8981 2013-06-07 Leo Liu <sdl.web@gmail.com>
8983 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8985 (octave-function-header-regexp): Fix. (Bug#14570)
8986 (octave-help-mode-finish-hook, octave-help-mode-finish):
8987 Remove. Just use temp-buffer-show-hook.
8989 * newcomment.el (comment-search-backward): Revert last change.
8992 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8994 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8996 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8997 through xargs, to avoid failure due to MS-Windows limitations on
8998 command-line length.
9000 2013-06-06 Glenn Morris <rgm@gnu.org>
9002 * font-lock.el (lisp-font-lock-keywords-2):
9003 Treat user-error like error.
9005 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9006 (byte-compile-backward-char, byte-compile-backward-word):
9007 Handle explicit nil arguments. (Bug#14565)
9009 2013-06-05 Alan Mackenzie <acm@muc.de>
9011 * isearch.el (isearch-allow-prefix): New user option.
9012 (isearch-other-meta-char): Don't exit isearch when a prefix
9013 argument is typed whilst `isearch-allow-prefix' is non-nil.
9016 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9018 * autorevert.el (auto-revert-notify-handler): Use memq.
9019 Hide assertion failure.
9021 * skeleton.el: Use cl-lib.
9022 (skeleton-further-elements): Use defvar-local.
9023 (skeleton-insert): Use cl-progv.
9025 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9027 * progmodes/prog-mode.el (prog-prettify-symbols)
9028 (prog-prettify-install): Update docstrings.
9030 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9032 * simple.el: Move all the prog-mode code to prog-mode.el.
9033 * progmodes/prog-mode.el: New file.
9034 * loadup.el: Add prog-mode.el.
9036 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9038 * simple.el (prog-prettify-symbols): Add version.
9039 (prog-prettify-install): Add convenience function to prettify symbols.
9041 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9042 (perl--augmented-font-lock-keywords-1)
9043 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9044 variables and use it.
9046 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9047 (cfengine3-mode): Remove unneeded variable and use it.
9049 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9050 (lisp--augmented-font-lock-keywords-1)
9051 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9052 Remove unneeded variables and use it.
9054 2013-06-05 João Távora <joaotavora@gmail.com>
9056 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9057 to point when opening the connection. (Bug#14380)
9059 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9061 * subr.el (load-history-regexp, load-history-filename-element)
9062 (eval-after-load, after-load-functions, do-after-load-evaluation)
9063 (eval-next-after-load, display-delayed-warnings)
9064 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9065 definition of save-match-data.
9066 (overriding-local-map): Remove accidental obsolescence declaration.
9068 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9070 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9072 Generalize symbol prettify support to prog-mode and implement it
9073 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9074 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9075 (prog--prettify-font-lock-compose-symbol)
9076 (prog-prettify-font-lock-symbols-keywords): New variables and
9077 functions to support symbol prettification.
9078 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9079 (lisp--augmented-font-lock-keywords-1)
9080 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9081 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9082 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9083 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9084 Implement prettify of -> => :: strings.
9085 * progmodes/perl-mode.el (perl-prettify-symbols)
9086 (perl--font-lock-compose-symbol)
9087 (perl--font-lock-symbols-keywords): Move to prog-mode.
9088 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9089 (perl-font-lock-keywords-1)
9090 (perl-font-lock-keywords-2): Remove explicit prettify support.
9091 (perl--augmented-font-lock-keywords)
9092 (perl--augmented-font-lock-keywords-1)
9093 (perl--augmented-font-lock-keywords-2, perl-mode):
9094 Implement prettify support.
9096 2013-06-05 Leo Liu <sdl.web@gmail.com>
9098 Re-implement smie matching block highlight using
9099 show-paren-data-function. (Bug#14395)
9100 * emacs-lisp/smie.el (smie-matching-block-highlight)
9101 (smie--highlight-matching-block-overlay)
9102 (smie--highlight-matching-block-lastpos)
9103 (smie-highlight-matching-block)
9104 (smie-highlight-matching-block-mode): Remove.
9105 (smie--matching-block-data-cache): New variable.
9106 (smie--matching-block-data): New function.
9107 (smie-setup): Use smie--matching-block-data for
9108 show-paren-data-function.
9110 * progmodes/octave.el (octave-mode-menu): Fix.
9111 (octave-find-definition): Skip garbage lines.
9113 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9115 Fix compilation error with simultaneous dynamic+lexical scoping.
9116 Add warning when a defvar appears after the first let-binding.
9117 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9118 (byte-compile-close-variables): Initialize it.
9119 (byte-compile--declare-var): New function.
9120 (byte-compile-file-form-defvar)
9121 (byte-compile-file-form-define-abbrev-table)
9122 (byte-compile-file-form-custom-declare-variable): Use it.
9123 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9124 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9125 (byte-compile-bind): Handle dynamic bindings that shadow
9127 (byte-compile-unbind): Make arg non-optional.
9128 (byte-compile-let): Simplify.
9129 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9130 (cconv--analyse-function, cconv-analyse-form): Populate it.
9131 Protect byte-compile-bound-variables to limit the scope of defvars.
9132 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9133 Remove unneeded rule for `declare'.
9135 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9136 so as to avoid depending on cl-adjoin at run-time.
9137 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9139 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9140 (macroexp--warn-and-return): Use it.
9142 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9144 * lisp/subr.el: Convert to lexical binding.
9145 (overriding-local-map): Make obsolete.
9146 (add-to-list): Doc fix. Add compiler macro.
9147 (read-key): Swap values of local maps.
9149 2013-06-05 Leo Liu <sdl.web@gmail.com>
9151 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9153 2013-06-04 Leo Liu <sdl.web@gmail.com>
9155 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9156 (compilation-auto-jump): Suppress the "Mark set" message to give
9157 way to exit message.
9159 2013-06-04 Alan Mackenzie <acm@muc.de>
9161 Remove faulty optimisation from indentation calculation.
9162 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9163 search limit based on 2000 characters back from indent-point.
9165 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9167 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9169 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9171 * emacs-lisp/lisp.el: Use lexical-binding.
9172 (lisp--local-variables-1, lisp--local-variables): New functions.
9173 (lisp--local-variables-completion-table): New var.
9174 (lisp-completion-at-point): Use it complete let-bound vars.
9176 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9177 eagerly (bug#14422).
9179 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9181 * autorevert.el (auto-revert-notify-enabled)
9182 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9183 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9184 (auto-revert-notify-handler): Handle also gfilenotify.
9186 * subr.el (file-notify-handle-event): New defun. Replacing ...
9187 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9190 2013-06-03 Juri Linkov <juri@jurta.org>
9192 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9193 `M-s h .'. (Bug#14427)
9195 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9196 command `hi-lock-face-symbol-at-point'.
9197 (hi-lock-face-symbol-at-point): New command.
9198 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9199 (hi-lock-menu): Add `highlight-symbol-at-point'.
9200 (hi-lock-mode): Doc fix.
9202 * isearch.el (isearch-forward-symbol-at-point): New command.
9203 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9204 (isearch-highlight-regexp): Add a regexp which matches
9205 words/symbols for word/symbol mode.
9207 * subr.el (find-tag-default-bounds): New function with the body
9208 mostly moved from `find-tag-default'.
9209 (find-tag-default): Move most code to `find-tag-default-bounds',
9210 call it and apply `buffer-substring-no-properties' afterwards.
9212 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9214 * eshell/em-term.el (eshell-term-initialize):
9215 Use `cl-intersection' rather than `intersection'.
9217 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9219 * vc/log-view.el: Doc fix.
9220 (log-view-mode-map): Copy keymap from `special-mode-map'.
9222 2013-06-02 Eric Ludlam <zappo@gnu.org>
9224 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9225 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9226 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9227 (eieio-unbound, eieio-default-superclass)
9228 (eieio--define-field-accessors, method-static, method-before)
9229 (method-primary, method-after, method-num-lists)
9230 (method-generic-before, method-generic-primary)
9231 (method-generic-after, method-num-slots)
9232 (eieio-specialized-key-to-generic-key)
9233 (eieio--check-type, class-v, class-p)
9234 (eieio-class-name, define-obsolete-function-alias)
9235 (eieio-class-parents-fast, eieio-class-children-fast)
9236 (same-class-fast-p, class-constructor, generic-p)
9237 (generic-primary-only-p, generic-primary-only-one-p)
9238 (class-option-assoc, class-option, eieio-object-p)
9239 (class-abstract-p, class-method-invocation-order)
9240 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9241 (eieio-class-un-autoload, eieio-defclass)
9242 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9243 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9244 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9245 (eieio-defgeneric-reset-generic-form)
9246 (eieio-defgeneric-form-primary-only)
9247 (eieio-defgeneric-reset-generic-form-primary-only)
9248 (eieio-defgeneric-form-primary-only-one)
9249 (eieio-defgeneric-reset-generic-form-primary-only-one)
9250 (eieio-unbind-method-implementations)
9251 (eieio--defmethod, eieio--typep)
9252 (eieio-perform-slot-validation, eieio-validate-slot-value)
9253 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9254 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9255 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9256 (eieio-slot-name-index, eieio-class-slot-name-index)
9257 (eieio-set-defaults, eieio-initarg-to-attribute)
9258 (eieio-attribute-to-initarg, eieio-c3-candidate)
9259 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9260 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9261 (eieio-class-precedence-list, eieio-generic-call-methodname)
9262 (eieio-generic-call-arglst, eieio-generic-call-key)
9263 (eieio-generic-call-next-method-list)
9264 (eieio-pre-method-execution-functions, eieio-generic-call)
9265 (eieio-generic-call-primary-only, eieiomt-method-list)
9266 (eieiomt-optimizing-obarray, eieiomt-install)
9267 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9268 (eieio-generic-form, eieio-defmethod, make-obsolete)
9269 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9270 (defclass): Remove `eval-and-compile' from macro.
9271 (call-next-method, shared-initialize): Instead of using
9272 `scoped-class' variable, use new eieio--scoped-class, and
9273 eieio--with-scoped-class.
9274 (initialize-instance): Rename local variable 'scoped-class' to
9275 'this-class' to remove ambiguitity from old global.
9277 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9279 (eieio--scoped-class-stack): New variable.
9280 (eieio--scoped-class): New fcn.
9281 (eieio--with-scoped-class): New scoping macro.
9282 (eieio-defclass): Use pushnew instead of add-to-list.
9283 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9284 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9285 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9286 `scoped-class' variable, use new eieio--scoped-class, and
9287 eieio--with-scoped-class.
9289 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9291 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9293 * eshell/esh-ext.el (eshell-external-command): Pass args to
9294 `eshell-find-interpreter'.
9295 (eshell-find-interpreter): Add new second parameter ARGS.
9297 * eshell/em-script.el (eshell-script-initialize): Add second arg
9298 to the function added as MATCH to `eshell-interpreter-alist'.
9300 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9301 the function added as MATCH to `eshell-interpreter-alist'.
9303 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9304 (eshell-visual-options): New defcustom.
9305 (eshell-escape-control-x): Adapt docstring.
9306 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9307 `eshell-visual-options' in addition to `eshell-visual-commands'.
9308 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9310 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9312 * progmodes/python.el (python-indent-block-enders): Add break,
9313 continue and raise keywords.
9315 2013-06-01 Glenn Morris <rgm@gnu.org>
9317 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9319 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9320 * progmodes/cc-cmds.el (delete-forward-p):
9321 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9322 * progmodes/cc-engine.el (buffer-syntactic-context):
9323 * progmodes/cc-fonts.el (face-property-instance):
9324 * progmodes/cc-mode.el (set-keymap-parents):
9325 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9326 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9327 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9328 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9329 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9331 * progmodes/cc-vars.el (other): Emacs has this widget since
9332 at least 21.1, so don't (re)define it.
9334 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9335 Replace the obsolete alias pcomplete-arg-quote-list.
9337 2013-06-01 Leo Liu <sdl.web@gmail.com>
9339 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9341 (inferior-octave-minimal-columns)
9342 (inferior-octave-last-column-width): New variables.
9343 (inferior-octave-track-window-width-change): New function.
9344 (inferior-octave-mode): Adjust column width so that Octave output,
9345 for example from 'ls', can fit into the window nicely.
9347 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9349 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9350 Highlight expansions inside regexp literals.
9352 2013-05-31 Glenn Morris <rgm@gnu.org>
9354 * obsolete/sym-comp.el (symbol-complete):
9355 Replace obsolete completion-annotate-function.
9357 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9359 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9361 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9362 New function, checks if point is inside a literal that allows
9363 expression expansion.
9364 (ruby-syntax-propertize-expansion): Use it.
9365 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9368 2013-05-30 Juri Linkov <juri@jurta.org>
9370 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9372 (isearch-invisible): New variable.
9373 (isearch-forward): Doc fix.
9374 (isearch-mode): Set `isearch-invisible'
9375 to the value of `search-invisible'.
9376 (isearch-toggle-case-fold): Doc fix.
9377 (isearch-toggle-invisible): New command.
9378 (isearch-query-replace): Let-bind `search-invisible'
9379 to the value of `isearch-invisible'.
9380 (isearch-search): Use `isearch-invisible' instead of
9381 `search-invisible'. Let-bind `search-invisible'
9382 to the value of `isearch-invisible'. (Bug#11378)
9384 2013-05-30 Juri Linkov <juri@jurta.org>
9386 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9387 call when `query-flag' is nil and `search-invisible' is non-nil.
9390 2013-05-30 Glenn Morris <rgm@gnu.org>
9392 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9394 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9395 (cc-require): Suppress spurious "noruntime" warnings.
9396 (cc-require-when-compile): Use fboundp, for sake of compiler.
9398 * progmodes/cc-mode.el: Move load of cc-vars before that of
9399 cc-langs (which in turn loads cc-vars), to quieten compiler.
9401 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9403 * paren.el: Simplify the code.
9404 (show-paren-mode): Always start the timer.
9405 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9406 (show-paren--overlay, show-paren--overlay-1): Rename from
9407 show-paren-overlay and show-paren-overlay-1, and initialize to an
9408 overlay rather than to nil.
9409 (show-paren-function): Misc cleanup and simplifications.
9411 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9413 * paren.el (show-paren-data-function): New hook.
9414 (show-paren--default): New function, extracted from show-paren-function.
9415 (show-paren-function): Use show-paren-data-function.
9417 2013-05-30 Glenn Morris <rgm@gnu.org>
9419 * ielm.el (ielm-map, ielm-complete-symbol):
9420 Use completion-at-point rather than obsolete functions.
9421 (inferior-emacs-lisp-mode): Doc fix.
9422 Set completion-at-point-functions, rather than
9423 comint-dynamic-complete-functions.
9425 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9426 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9427 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9429 * image.el (image-animated-p): Tweak definition.
9431 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9432 (rlogin-process-connection-type): Tweak default. Add set-after.
9433 (rlogin-host): Doc fix.
9434 (rlogin): Tweak prompt.
9435 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9437 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9438 * progmodes/tcl.el (inferior-tcl-mode-map):
9439 Use completion-at-point rather than obsolete alias.
9441 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9443 * minibuffer.el (read-file-name-completion-ignore-case):
9444 Move before completion--in-region, for eager macro expansion.
9446 2013-05-29 Juri Linkov <juri@jurta.org>
9448 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9449 for total count of matching lines. Add `global-matches' for total
9450 count of matches. Rename `matches' to `lines' for count of
9451 matching lines. Add `matches' for count of matches.
9452 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9453 to `prev-line' for line number of prev match endpt.
9454 Increment `matches' for every match. Print the number of
9455 matching lines in the header.
9456 (occur-context-lines): Rename `lines' to `curr-line'.
9457 Rename `prev-lines' to `prev-line'. (Bug#14017)
9459 2013-05-29 Juri Linkov <juri@jurta.org>
9461 * replace.el (perform-replace): Add `skip-read-only-count',
9462 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9463 Increment them for corresponding conditions and report the number
9464 of skipped occurrences in the final message. (Bug#11746)
9465 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9466 (replace-string, replace-regexp): Doc fix.
9468 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9470 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9472 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9473 prog-mode-map (bug#14504).
9475 2013-05-29 Leo Liu <sdl.web@gmail.com>
9477 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9478 (octave-help): Small simplification.
9480 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9481 off the highlight first.
9483 2013-05-29 Glenn Morris <rgm@gnu.org>
9485 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9486 Handle idlwave-last-system-routine-info-cons-cell being nil.
9488 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9489 (idlwave-write-paths): Simplify via with-temp-buffer.
9491 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9492 * emulation/cua-rect.el: Also load cua-base at run time.
9494 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9495 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9496 (cperl-imenu-on-info): Require imenu.
9498 2013-05-28 Alan Mackenzie <acm@muc.de>
9500 Handle "capitalised keywords" correctly.
9501 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9503 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9505 * eshell/em-unix.el: Add -r option to cp.
9507 2013-05-28 Glenn Morris <rgm@gnu.org>
9509 * vc/vc-arch.el (vc-exec-after): Declare.
9510 (vc-switches): Autoload.
9511 * vc/vc-bzr.el: No need to require vc when compiling.
9512 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9513 (vc-resynch-buffer, vc-dir-refresh): Declare.
9514 (vc-setup-buffer, vc-switches): Autoload.
9515 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9516 (vc-resynch-buffer): Declare.
9517 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9518 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9519 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9520 (grep-read-regexp, grep-read-files, grep-expand-template)
9521 (vc-dir-refresh): Declare.
9522 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9523 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9524 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9525 * vc/vc-mtn.el (vc-exec-after): Declare.
9526 (vc-switches): Autoload.
9527 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9528 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9529 (vc-file-tree-walk): Declare.
9530 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9531 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9532 (vc-tag-precondition, vc-rename-master): Autoload.
9533 * vc/vc-svn.el (vc-exec-after): Declare.
9534 (vc-switches, vc-setup-buffer): Autoload.
9535 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9537 (vc-resynch-buffer): Declare.
9539 * obsolete/fast-lock.el (byte-compile-warnings):
9540 Don't warn about obsolete features in this obsolete file.
9542 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9543 Move definition before use.
9545 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9546 (dun-unix-verbs): Remove dun-zippy.
9547 (dun-zippy): Remove function.
9549 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9551 2013-05-27 Juri Linkov <juri@jurta.org>
9553 * replace.el (replace-search): New function with code moved out
9554 from `perform-replace'.
9555 (replace-highlight, replace-dehighlight): Move function definitions
9556 up closer to `replace-search'. (Bug#11746)
9558 2013-05-27 Juri Linkov <juri@jurta.org>
9560 * replace.el (perform-replace): Ignore invisible matches.
9561 In addition to checking `query-replace-skip-read-only', also
9562 filter out matches by calling `run-hook-with-args-until-failure'
9563 on `isearch-filter-predicates', and also check `search-invisible'
9564 for t or call `isearch-range-invisible'.
9565 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9567 2013-05-27 Juri Linkov <juri@jurta.org>
9569 * isearch.el (isearch-filter-predicates): Rename from
9570 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9571 (isearch-message-prefix): Display text from the property
9572 `isearch-message-prefix' of the currently active filters.
9573 (isearch-search): Don't compare `isearch-filter-predicate' with
9574 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9575 on `isearch-filter-predicates'. Also check `search-invisible' for t
9576 or call `isearch-range-invisible'.
9577 (isearch-filter-visible): Make obsolete.
9578 (isearch-lazy-highlight-search):
9579 Call `run-hook-with-args-until-failure' on
9580 `isearch-filter-predicates' and use `isearch-range-invisible'.
9582 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9583 `isearch-filter-predicates' instead of `funcall'ing
9584 `isearch-filter-predicate'.
9585 (Info-mode): Set `Info-isearch-filter' to
9586 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9588 * dired-aux.el (dired-isearch-filter-predicate-orig):
9590 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9591 (dired-isearch-filenames-end): Add and remove
9592 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9593 instead of changing the value of `isearch-filter-predicate'.
9594 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9595 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9596 Put property `isearch-message-prefix' to "filename " on
9597 `dired-isearch-filter-filenames'.
9599 * wdired.el (wdired-change-to-wdired-mode):
9600 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9601 locally instead of changing `isearch-filter-predicate'.
9602 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9604 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9606 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9607 return the commit hash (Bug#14459). Also set the
9608 `vc-git-detached' property.
9609 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9610 (vc-git-mode-line-string): Use the same help-echo format whether
9611 in detached mode or not, because we know the actual revision now.
9612 When in detached mode, shorten the revision to 7 chars.
9614 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9616 * emacs-lisp/easy-mmode.el (define-minor-mode):
9617 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9618 mode hook and provide a docstring.
9620 2013-05-27 Alan Mackenzie <acm@muc.de>
9622 Remove spurious syntax-table text properties inserted by C-y.
9623 * progmodes/cc-mode.el (c-after-change): Also clear hard
9624 syntax-table property with value nil.
9626 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9628 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9629 when reading the events; the buffer layout shall not be changed.
9631 2013-05-27 Leo Liu <sdl.web@gmail.com>
9633 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9635 (inferior-octave-directory-tracker): Automatically re-sync
9637 (octave-help): Improve handling of 'See also'.
9639 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9641 * doc-view.el: Minor naming convention tweaks.
9642 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9644 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9645 even if there's no `display' property yet (bug#14435).
9647 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9649 * subr.el (unmsys--file-name): Rename from reveal-filename.
9651 * Makefile.in (custom-deps, finder-data, autoloads)
9652 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9653 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9654 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9656 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9658 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9659 error-completion on the first 2 args of condition-case (bug#14446).
9662 2013-05-25 Leo Liu <sdl.web@gmail.com>
9664 * comint.el (comint-previous-matching-input): Do not flood the
9665 *Messages* buffer with trivial messages.
9667 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9669 * progmodes/flymake.el (flymake-nop): Don't return a string.
9670 (flymake-set-at): Fix typo.
9672 * simple.el (read--expression): New function, extracted from
9673 eval-expression. Set completion-at-point-functions (bug#14465).
9674 (eval-expression, eval-minibuffer): Use it.
9676 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9678 * progmodes/flymake.el (flymake-save-buffer-in-file)
9679 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9680 (flymake-selected-frame, flymake-log, flymake-ins-after)
9681 (flymake-set-at, flymake-get-buildfile-from-cache)
9682 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9683 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9684 Refine the doc string.
9685 (flymake-get-file-name-mode-and-masks): Reformat.
9686 (flymake-get-real-file-name-function): Fix a minor bug.
9688 2013-05-24 Juri Linkov <juri@jurta.org>
9690 * progmodes/grep.el (grep-mode-font-lock-keywords):
9691 Support =linenumber= format used by git-grep for lines with
9692 function names. (Bug#13549)
9694 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9696 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9697 0 after a semi-colon; it works better for smie-auto-fill.
9698 (octave--indent-new-comment-line): New function.
9699 (octave-indent-new-comment-line): Use it (indirectly).
9700 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9701 modify comment-line-break-function.
9703 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9704 (smie-setup): Use add-function to set it.
9706 2013-05-24 Sam Steingold <sds@gnu.org>
9708 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9709 argument (before the `interactive' argument).
9711 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9713 * image-mode.el (image-mode-winprops): Add winprops to
9714 image-mode-winprops-alist before running
9715 image-mode-new-window-functions.
9716 * doc-view.el (doc-view-new-window-function): Don't delay
9717 doc-view-goto-page via timers (bug#14435).
9719 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9721 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9722 (doc-view-desktop-save-buffer): New function.
9723 (doc-view-restore-desktop-buffer): New function.
9724 (desktop-buffer-mode-handlers):
9725 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9727 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9728 `desktop-save-buffer' function.
9730 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9732 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9733 (tramp-gvfs-file-name-handler): Raise a user error when
9734 `tramp-gvfs-enabled' is nil.
9735 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9736 Do not raise a user error when loading package. (Bug#14447)
9738 * net/xesam.el: Move to obsolete/.
9740 2013-05-24 Glenn Morris <rgm@gnu.org>
9742 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9744 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9746 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9747 (Info-find-node, Man-getpage-in-background): Declare.
9749 * mail/unrmail.el (unrmail):
9750 Replace obsolete detect-coding-with-priority.
9752 * net/socks.el (socks-split-string): Use this rather than split-string.
9753 (socks-nslookup-host): Update for above change.
9754 (dynamic-choice, s5-dynamic-choice-match)
9755 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9756 Comment out unused code.
9758 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9759 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9760 (gud-tooltip-echo-area): Make obsolete.
9761 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9763 * progmodes/js.el (js--optimize-arglist): Declare.
9765 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9767 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9768 (ediff-window-C): Declare.
9770 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9771 Tweak requires to silence compiler.
9773 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9774 (he-search-string, he-tried-table, he-expand-list)
9775 (he-init-string, he-string-member, he-substitute-string)
9776 (he-reset-string): Declare.
9778 * obsolete/options.el (list-options): Use custom-variable-p,
9779 rather than obsolete alias.
9781 2013-05-23 Sam Steingold <sds@gnu.org>
9783 * simple.el (shell-command-on-region): Pass the `replace' argument
9784 down to `call-process-region' to comply with the doc as reported on
9785 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9787 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9789 * emacs-lisp/smie.el (smie-indent-forward-token)
9790 (smie-indent-backward-token): Handle string tokens (bug#14381).
9792 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9794 * ielm.el (ielm-menu): New menu.
9795 (inferior-emacs-lisp-mode): Set comment-start.
9797 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9799 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9800 Fix deactivate action.
9802 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9803 Add cleveref macros.
9805 * lisp/textmodes/reftex-parse.el
9806 (reftex-locate-bibliography-files): Accept options for
9807 bibliography commands.
9808 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9809 Add addbibresource. Basic Biblatex support.
9811 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9813 * net/tramp-gvfs.el (top):
9814 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9815 when loading package. (Bug#14447)
9817 2013-05-23 Glenn Morris <rgm@gnu.org>
9819 * progmodes/js.el: No need to load comint when compiling.
9820 (ring-insert, comint-send-string, comint-send-input)
9821 (comint-last-input-end, ido-chop): Declare.
9823 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9824 * vc/ediff-mult.el: Adjust requires.
9825 (ediff-directories-internal, ediff-directory-revisions-internal)
9826 (ediff-patch-file-internal): Declare.
9827 * vc/ediff-ptch.el: Adjust requires.
9828 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9829 (ediff-find-file): Autoload.
9830 * vc/ediff-util.el: No need to load ediff when compiling.
9831 (ediff-regions-internal): Declare.
9832 * vc/ediff-wind.el: Adjust requires.
9833 (ediff-compute-toolbar-width): Define when compiling.
9834 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9835 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9836 (dired-get-filename, dired-get-marked-files)
9837 (ediff-last-dir-patch, ediff-patch-default-directory)
9838 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9839 (ediff-patch-buffer-internal): Declare.
9841 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9842 (ispell-process, ispell-buffer-local-words, lm-summary)
9843 (lm-section-start, lm-section-end): Declare.
9844 (checkdoc-ispell-init): Simplify.
9846 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9847 (he-string-member, he-reset-string, he-substitute-string): Declare.
9849 * eshell/em-ls.el: Adjust requires.
9850 (eshell-glob-regexp): Declare.
9851 * eshell/em-tramp.el: Adjust requires.
9852 (eshell-parse-command): Autoload.
9853 * eshell/em-xtra.el: Adjust requires.
9854 (eshell-parse-command): Autoload.
9855 * eshell/esh-ext.el: Adjust requires.
9856 (eshell-parse-command, eshell-close-handles): Autoload.
9857 * eshell/esh-io.el: Adjust requires.
9858 (eshell-output-filter): Autoload.
9859 * eshell/esh-util.el: No need to load tramp when compiling.
9860 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9862 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9863 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9864 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9865 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9866 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9867 * eshell/esh-opt.el, eshell/esh-proc.el:
9868 * eshell/esh-var.el: Adjust requires.
9869 * eshell/eshell.el: Do not require esh-util twice.
9870 (eshell-add-input-to-history): Declare.
9871 (eshell-command): Check history module is active before using it.
9873 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9875 2013-05-22 Leo Liu <sdl.web@gmail.com>
9877 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9879 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9881 * autorevert.el (auto-revert-notify-add-watch)
9882 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9883 it indicates changes in file modification time.
9885 2013-05-22 Glenn Morris <rgm@gnu.org>
9887 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9888 Always delete the autoloaded function from the noruntime and
9889 unresolved functions lists.
9891 * allout.el: No need to load epa, epg, overlay when compiling.
9892 (epg-context-set-passphrase-callback, epg-list-keys)
9893 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9894 (epg-key-user-id-list): Declare.
9896 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9897 (viper-set-parsing-style-toggling-macro)
9898 (viper-set-emacs-state-searchstyle-macros):
9899 Use called-interactively-p on Emacs.
9900 (viper-looking-back): Make it an obsolete alias. Update callers.
9901 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9902 Use looking-back rather than viper-looking-back.
9903 (viper-tmp-insert-at-eob, viper-enlarge-region)
9904 (viper-read-string-with-history, viper-register-to-point)
9905 (viper-append-to-register, viper-change-state-to-vi)
9906 (viper-backward-char-carefully, viper-forward-char-carefully)
9907 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9908 (viper-change-state-to-emacs): Declare.
9909 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9910 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9911 * emulation/viper-mous.el: Do not load viper-cmd.
9912 (viper-backward-char-carefully, viper-forward-char-carefully)
9913 (viper-forward-word, viper-adjust-window): Declare.
9915 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9917 * progmodes/idlw-help.el (idlwave-help-fontify):
9918 Use called-interactively-p.
9920 * term/w32console.el (w32-get-console-codepage)
9921 (w32-get-console-output-codepage): Declare.
9923 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9924 Remove unnecessary declarations.
9925 (dframe-message): Doc fix.
9927 * info.el (dframe-select-attached-frame, dframe-current-frame):
9930 * speedbar.el (speedbar-message): Make it an obsolete alias.
9932 (speedbar-with-attached-buffer)
9933 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9934 (speedbar-with-writable): Use backquote.
9935 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9936 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9937 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9938 rather than speedbar- aliases.
9939 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9940 (speedbar-make-specialized-keymap, speedbar-insert-button)
9941 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9942 (speedbar-do-function-pointer): Declare.
9943 (rmail-speedbar-button, rmail-speedbar-find-file)
9944 (rmail-speedbar-move-message):
9945 Use dframe-with-attached-buffer rather than speedbar- alias.
9946 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9947 (dframe-message, speedbar-make-specialized-keymap)
9948 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9949 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9950 (speedbar-insert-button, dframe-select-attached-frame)
9951 (dframe-maybee-jump-to-attached-frame)
9952 (speedbar-change-initial-expansion-list)
9953 (speedbar-previously-used-expansion-list-name): Declare.
9954 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9955 Use dframe-message, dframe-with-attached-buffer rather than
9957 (gud-sentinel): Silence compiler.
9958 * progmodes/vhdl-mode.el (speedbar-refresh)
9959 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9960 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9961 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9962 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9963 (speedbar-file-lists, speedbar-make-tag-line)
9964 (speedbar-line-directory, speedbar-goto-this-file)
9965 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9966 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9967 (speedbar-make-button, speedbar-reset-scanners)
9968 (speedbar-files-item-info, speedbar-line-text)
9969 (speedbar-find-file-in-frame, speedbar-set-timer)
9970 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9971 (speedbar-with-writable): Do not (re)define it.
9972 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9973 rather than speedbar- alias.
9975 2013-05-21 Leo Liu <sdl.web@gmail.com>
9977 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9979 (octave-mode): Tweak fill-nobreak-predicate.
9980 (inferior-octave-startup): Check process to avoid infinite loop.
9981 (inferior-octave): Pop to buffer first to show abornmal process
9984 2013-05-21 Glenn Morris <rgm@gnu.org>
9986 * printing.el (pr-menu-bar): Define when compiling.
9988 2013-05-21 Leo Liu <sdl.web@gmail.com>
9990 * progmodes/octave.el (octave-auto-fill): Remove.
9991 (octave-indent-new-comment-line): Improve.
9992 (octave-mode): Use auto fill mode through
9993 comment-line-break-function and fill-nobreak-predicate.
9994 (octave-goto-function-definition): Support DEFUN_DLD.
9995 (octave-beginning-of-defun): Small tweak.
9996 (octave-help): Show parent directory.
9998 2013-05-21 Glenn Morris <rgm@gnu.org>
10000 * files.el (dired-unmark):
10001 * progmodes/gud.el (gdb-input): Update declarations.
10003 * calculator.el (electric, ehelp): No need to load when compiling.
10004 (Electric-command-loop, electric-describe-mode): Declare.
10006 * doc-view.el (doc-view-current-converter-processes): Move before use.
10008 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10009 Move MODE-set-explicitly definition before use.
10011 * international/mule-diag.el (mule-diag):
10012 Don't use obsolete window-system-version.
10014 * mail/feedmail.el (smtpmail): No need to load when compiling.
10015 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10017 * mail/mail-utils.el (rfc822): No need to load when compiling.
10018 (rfc822-addresses): Autoload it.
10019 (mail-strip-quoted-names): Trivial simplification.
10021 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10022 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10024 * net/snmp-mode.el (tempo): Don't duplicate requires.
10026 * progmodes/prolog.el (info): No need to load when compiling.
10027 (comint): Require before shell requires it.
10028 (Info-goto-node): Autoload it.
10029 (Info-follow-nearest-node): Declare.
10030 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10032 * textmodes/artist.el (picture-mode-exit): Declare.
10034 * textmodes/reftex-parse.el (reftex-parse-from-file):
10035 Trivial rewrite so the compiler can parse it better.
10037 2013-05-20 Leo Liu <sdl.web@gmail.com>
10039 * progmodes/octave.el (octave-help-mode-map)
10040 (octave-help-mode-finish-hook): New variables.
10041 (octave-help-mode, octave-help-mode-finish): New functions.
10042 (octave-help): Use octave-help-mode.
10044 2013-05-20 Glenn Morris <rgm@gnu.org>
10046 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10048 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10050 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10051 start at point, so that expansion starting right after opening
10052 slash in a regexp is recognized.
10053 (ruby-syntax-before-regexp-re): New defvar, extracted from
10054 ruby-syntax-propertize-function. Since the value of this regexp
10055 is looked up at runtime now, we should be able to turn
10056 `ruby-syntax-methods-before-regexp' into a defcustom later.
10057 (ruby-syntax-propertize-function): Split regexp matching into two
10058 parts, for opening and closing slashes. That allows us to skip
10059 over string interpolations and support multiline regexps.
10060 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10061 for them, which calls `ruby-syntax-propertize-expansion'.
10062 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10063 call to `ruby-syntax-propertize-function'.
10064 (ruby-syntax-propertize-expansion): Extracted from
10065 `ruby-syntax-propertize-expansions'. Handles one expansion.
10066 (ruby-syntax-propertize-percent-literal): Leave point right after
10067 the percent symbol, so that the expression expansion rule can
10068 propertize the contents.
10069 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10071 (ruby-syntax-propertize-expansions): Remove.
10073 2013-05-18 Juri Linkov <juri@jurta.org>
10075 * man.el (Man-default-man-entry): Remove `-' from the end
10076 of the default value. (Bug#14400)
10078 2013-05-18 Glenn Morris <rgm@gnu.org>
10080 * comint.el (comint-password-prompt-regexp):
10081 Allow "password for XXX" where XXX contains colons (eg https://...).
10083 2013-05-18 Leo Liu <sdl.web@gmail.com>
10085 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10086 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10087 (octave-source-directories): Don't check process.
10088 (octave-source-directories, octave-find-definition): Doc fix.
10090 2013-05-18 Glenn Morris <rgm@gnu.org>
10092 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10093 Remove backspace/delete bindings. (Bug#14392)
10095 * cus-dep.el (custom-make-dependencies): Sort the output.
10096 (custom-versions-load-alist): Convert comment to doc.
10098 2013-05-17 Leo Liu <sdl.web@gmail.com>
10100 * newcomment.el (comment-search-backward): Stricter in finding
10101 comment start. (Bug#14303)
10103 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10104 (octave-comment-start-skip): Properly anchored.
10106 2013-05-17 Leo Liu <sdl.web@gmail.com>
10108 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10109 Clean up when turned off. (Bug#14395)
10110 (smie--highlight-matching-block-overlay): No longer buffer-local.
10111 (smie-highlight-matching-block): Adjust.
10113 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10115 Doc string fix for "nanoseconds" (Bug#14406).
10116 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10117 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10119 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10121 * calc/calc-units.el (math-extract-units): Preserve powers
10124 2013-05-17 Leo Liu <sdl.web@gmail.com>
10126 * subr.el (delete-consecutive-dups): New function.
10127 * ido.el (ido-set-matches-1): Use it.
10128 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10129 * ido.el (ido-remove-consecutive-dups): Remove.
10131 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10133 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10134 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10135 regexp-opt's `words'.
10137 2013-05-16 Leo Liu <sdl.web@gmail.com>
10139 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10140 (smie--highlight-matching-block-overlay)
10141 (smie--highlight-matching-block-lastpos)
10142 (smie--highlight-matching-block-timer): New variables.
10143 (smie-highlight-matching-block): New function.
10144 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10145 (smie-setup): Conditionally enable smie-blink-matching-open.
10147 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10149 Sync with upstream verilog-mode r840.
10150 * progmodes/verilog-mode.el (verilog-mode-version)
10151 (verilog-mode-release-date): Update.
10152 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10153 (verilog-sig-tieoff): Fix string error on
10154 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10155 (verilog-read-decls): Fix parameters confusing
10156 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10158 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10160 * subr.el (reveal-filename): New function.
10162 * loadup.el: Compute Emacs executable versions on MS-Windows,
10163 where executables have the .exe extension. Add a hard link
10164 emacs-XX.YY.ZZ.exe on MS-Windows.
10166 * Makefile.in (XARGS_LIMIT): New variable.
10167 (custom-deps, finder-data, autoloads)
10168 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10169 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10170 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10171 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10173 2013-05-16 Leo Liu <sdl.web@gmail.com>
10175 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10176 (octave-mode-menu, octave-mode-map): Remove its uses.
10178 2013-05-16 Reto Zimmermann <reto@gnu.org>
10180 Sync with upstream vhdl mode v3.34.2.
10181 * progmodes/vhdl-mode.el: Use `push' throughout.
10182 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10183 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10184 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10185 (vhdl-actual-generic-name): New option to derive actual generic name.
10186 (vhdl-port-paste-signals): Replace formal by actual generics.
10187 (vhdl-beautify): New name for old group vhdl-align. Update users.
10188 (vhdl-beautify-options): New option.
10189 (vhdl-last-input-event): New compat alias. Use throughout.
10190 (vhdl-goto-line): Replace user level function `goto-line'.
10191 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10192 vhdl-fix-statement-buffer.
10193 (vhdl-create-mode-menu): Add some entries.
10194 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10195 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10196 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10197 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10198 to force statements on one line.
10199 (vhdl-remove-trailing-spaces-region):
10200 New, split from vhdl-remove-trailing-spaces.
10201 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10202 Respect vhdl-beautify-options.
10203 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10204 (vhdl-update-sensitivity-list): Not add with index if exists without.
10205 Not include array index with signal. Ignore keywords in comments.
10206 (vhdl-get-visible-signals): Regexp tweaks.
10207 (vhdl-template-component-inst): Handle empty library.
10208 (vhdl-template-type): Add template for 'enum' type.
10209 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10210 Use vhdl-replace-string.
10211 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10212 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10213 (vhdl-speedbar-initialize): Update for above name change.
10214 (vhdl-compose-wire-components): Fix in handling of constants.
10215 (vhdl-error-regexp-emacs-alist): New variable.
10216 (vhdl-error-regexp-add-emacs): New function;
10217 adds support for new compile.el (Emacs 22+)
10218 (vhdl-generate-makefile-1): Change target order for single lib. units.
10219 Allow use of absolute file names.
10221 2013-05-16 Leo Liu <sdl.web@gmail.com>
10223 * simple.el (prog-indent-sexp): Indent enclosing defun.
10225 2013-05-15 Glenn Morris <rgm@gnu.org>
10227 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10228 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10229 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10230 (whitespace-highlight): Move to whitespace group.
10232 * comint.el (comint-source):
10233 * pcmpl-linux.el (pcmpl-linux):
10234 * shell.el (shell-faces):
10235 * eshell/esh-opt.el (eshell-opt):
10236 * international/ccl.el (ccl): Remove empty custom groups.
10238 * completion.el (dynamic-completion-mode):
10239 * jit-lock.el (jit-lock-debug-mode):
10240 * minibuffer.el (completion-in-region-mode):
10241 * type-break.el (type-break-mode-line-message-mode)
10242 (type-break-query-mode):
10243 * emulation/tpu-edt.el (tpu-edt-mode):
10244 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10245 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10246 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10248 * term/xterm.el (xterm): Change parent group to terminals.
10250 * master.el (master): Remove empty custom group.
10251 (master-mode): Remove unused :group argument.
10252 * textmodes/refill.el (refill): Remove empty custom group.
10253 (refill-mode): Remove unused :group argument.
10255 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10257 * cus-dep.el: Provide a feature.
10258 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10259 Don't mistakenly ignore files whose basenames match a basename
10260 from preloaded-file-list (eg cedet/ede/simple.el).
10261 Add a fallback method for getting :group.
10263 2013-05-15 Juri Linkov <juri@jurta.org>
10265 * isearch.el (isearch-char-by-name): Rename from
10266 `isearch-insert-char-by-name'. Doc fix.
10267 (isearch-forward): Mention `isearch-char-by-name' in
10268 the docstring. (Bug#13348)
10270 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10271 `exit-minibuffer' instead of
10272 `isearch-nonincremental-exit-minibuffer'.
10273 (isearch-edit-string): Remove mention of
10274 `isearch-nonincremental-exit-minibuffer' from docstring.
10275 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10276 (isearch-forward-exit-minibuffer)
10277 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10279 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10281 * loadup.el: Just use unversioned DOC.
10283 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10284 literals as extending to EOB.
10285 (nxml-last-fontify-end): Remove unused variable.
10286 (nxml-after-change1): Use with-silent-modifications.
10287 (nxml-extend-after-change-region): Simplify.
10288 (nxml-extend-after-change-region1): Remove function.
10289 (nxml-after-change1): Don't adjust for dependent regions.
10290 (nxml-fontify-matcher): Simplify.
10291 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10292 (xmltok-add-dependent): Remove function.
10293 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10294 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10295 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10296 unclosed <[[, <?, comment, and other literals as extending to EOB.
10297 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10298 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10300 (rng-do-some-validation-1): Don't mark dependent regions.
10301 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10302 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10303 (nxml-clear-dependent-regions): Remove functions.
10304 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10305 (nxml-ensure-scan-up-to-date):
10306 Don't clear&mark dependent regions.
10308 2013-05-15 Leo Liu <sdl.web@gmail.com>
10310 * progmodes/octave.el (octave-goto-function-definition):
10311 Improve and fix callers.
10313 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10315 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10316 the setter (bug#14387).
10318 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10319 surrounding group (bug#14402).
10321 2013-05-14 Juri Linkov <juri@jurta.org>
10323 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10326 2013-05-14 Glenn Morris <rgm@gnu.org>
10328 * progmodes/f90.el (f90-imenu-generic-expression):
10329 Fix typo in 2013-05-08 change. (Bug#14402)
10331 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10333 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10334 Remove signals for which replies are never received.
10336 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10338 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10339 (gdb-handler-alist, gdb-handler-number): Remove variables.
10340 (gdb-handler-list): New variable.
10341 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10342 (gdb-pending-handler-p, gdb-handle-reply)
10343 (gdb-remove-all-pending-triggers): New functions.
10344 (gdb-discard-unordered-replies): New defcustom.
10345 (gdb-handler): New defstruct.
10346 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10347 instead of gdb-pending-triggers. Update docstring.
10348 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10349 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10350 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10351 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10352 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10353 (gdb-frame-handler): Pending triggers are now automatically managed.
10354 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10356 (gdb-input): Automatically handles pending triggers. Update docstring.
10357 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10358 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10360 (gdb-done-or-error): Now use gdb-handle-reply.
10362 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10364 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10367 2013-05-14 Glenn Morris <rgm@gnu.org>
10369 * subr.el (user-emacs-directory-warning): New option.
10370 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10372 2013-05-14 Leo Liu <sdl.web@gmail.com>
10374 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10376 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10377 (octave-font-lock-texinfo-comment): Fix invalid search bound
10378 error: wrong side of point.
10380 2013-05-14 Glenn Morris <rgm@gnu.org>
10382 * progmodes/flymake.el (flymake-xml-program): New option.
10383 (flymake-xml-init): Use it.
10385 * term/xterm.el: Provide a feature.
10387 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10389 2013-05-13 Glenn Morris <rgm@gnu.org>
10391 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10392 Add compat aliases as a hack workaround. (Bug#14384)
10394 2013-05-13 Leo Liu <sdl.web@gmail.com>
10396 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10398 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10400 (octave-comment-start-skip): Include %!.
10401 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10403 2013-05-12 Leo Liu <sdl.web@gmail.com>
10405 * progmodes/octave.el (inferior-octave-startup): Store the value
10406 of __octave_srcdir__ for octave-source-directories.
10407 (inferior-octave-check-process): New function refactored out of
10408 inferior-octave-send-list-and-digest.
10409 (octave-source-directories)
10410 (octave-find-definition-filename-function): New variables.
10411 (octave-source-directories)
10412 (octave-find-definition-default-filename): New functions.
10413 (octave-find-definition): Improve to find functions implemented in C++.
10415 2013-05-12 Glenn Morris <rgm@gnu.org>
10417 * calendar/diary-lib.el (diary-outlook-format-1):
10418 Don't include dayname in the output. (Bug#14349)
10420 2013-05-11 Glenn Morris <rgm@gnu.org>
10422 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10424 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10425 Treat cc-provide like provide.
10427 2013-05-11 Kevin Ryde <user42@zip.com.au>
10429 * cus-dep.el (custom-make-dependencies):
10430 Use generated-autoload-load-name for the sake of files such
10431 such cedet/semantic/bovine/c.el, where the base file name
10432 is not in load-path. (Bug#5277)
10434 2013-05-11 Glenn Morris <rgm@gnu.org>
10436 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10439 2013-05-11 Leo Liu <sdl.web@gmail.com>
10441 * progmodes/octave.el (octave-indent-comment): Improve.
10442 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10443 (octave-eldoc-function-signatures, octave-eldoc-function):
10445 (octave-mode, inferior-octave-mode): Add eldoc support.
10447 2013-05-11 Richard Stallman <rms@gnu.org>
10449 * epa.el (epa-decrypt-file): Take output file name as argument
10450 and read it using `interactive'.
10452 2013-05-11 Leo Liu <sdl.web@gmail.com>
10454 * progmodes/octave.el (octave-beginning-of-line)
10455 (octave-end-of-line): Check before using up-list because it jumps
10456 out of more syntactic contructs since moving to smie.
10457 (octave-indent-comment): New function.
10458 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10459 (octave-begin-keywords, octave-end-keywords)
10460 (octave-reserved-words, octave-smie-bnf-table)
10461 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10463 2013-05-11 Glenn Morris <rgm@gnu.org>
10465 * faces.el (internal-face-x-get-resource):
10466 * frame.el (ns-display-monitor-attributes-list):
10467 * calc/calc-aent.el (math-to-radians-2):
10468 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10471 * calc/calc-menu.el: Make it loadable in isolation.
10473 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10474 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10475 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10476 (eudc-bbdb-query-internal): Require 'bbdb.
10478 * lpr.el (lpr-headers-switches):
10479 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10481 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10483 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10485 * term.el (term-set-escape-char): Make it idempotent.
10487 2013-05-10 Leo Liu <sdl.web@gmail.com>
10489 * progmodes/octave.el (inferior-octave-completion-table):
10490 No longer a function and all uses changed. Use cache to speed up
10491 completion due to bug#11906.
10492 (octave-beginning-of-defun): Re-write to be more general.
10494 2013-05-10 Glenn Morris <rgm@gnu.org>
10496 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10498 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10500 * comint.el (comint-redirect-send-command-to-process): Use :around
10501 rather than :override for comint-redirect-filter.
10502 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10503 Call it instead of comint-redirect-original-filter-function (which
10504 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10506 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10508 * frame.el (display-monitor-attributes-list): Add NS case.
10509 (ns-display-monitor-attributes-list): Declare.
10511 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10513 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10515 2013-05-09 Glenn Morris <rgm@gnu.org>
10517 * international/fontset.el (vertical-centering-font-regexp):
10518 Set standard-value.
10520 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10522 * bookmark.el (bookmark-search-delay):
10523 * cus-start.el (vertical-centering-font-regexp):
10524 * ps-mule.el (ps-mule-font-info-database-default):
10525 * ps-print.el (ps-default-fg, ps-default-bg):
10526 * type-break.el (type-break-good-break-interval):
10527 * whitespace.el (whitespace-indentation-regexp)
10528 (whitespace-space-after-tab-regexp):
10529 * emacs-lisp/testcover.el (testcover-1value-functions)
10530 (testcover-noreturn-functions, testcover-progn-functions)
10531 (testcover-prog1-functions):
10532 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10533 * eshell/em-glob.el (eshell-glob-translate-alist):
10534 * play/tetris.el (tetris-tty-colors):
10535 * progmodes/cpp.el (cpp-face-default-list):
10536 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10537 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10538 (idlwave-help-browser-generic-args):
10539 * progmodes/make-mode.el (makefile-special-targets-list):
10540 * progmodes/python.el (python-shell-virtualenv-path):
10541 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10542 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10543 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10544 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10545 * textmodes/reftex-vars.el (reftex-format-label-function):
10546 * textmodes/remember.el (remember-diary-file): Fix custom types.
10548 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10551 2013-05-09 Leo Liu <sdl.web@gmail.com>
10553 * progmodes/octave.el (inferior-octave-completion-at-point):
10554 Restore file completion. (Bug#14300)
10555 (inferior-octave-startup): Fix incorrect highlighting for the
10558 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10560 * progmodes/ruby-mode.el: First cut at SMIE support.
10561 (ruby-use-smie): New var.
10562 (ruby-smie-grammar): New constant.
10563 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10564 (ruby-smie--forward-token, ruby-smie--backward-token)
10565 (ruby-smie-rules): New functions.
10566 (ruby-mode-variables): Setup SMIE if applicable.
10568 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10570 * simple.el (line-move-visual): Signal beginning/end of buffer
10571 only if vertical-motion moved less than it was requested. Avoids
10572 silly incorrect error messages when there are display strings with
10573 multiple newlines at EOL.
10575 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10577 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10578 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10579 (prolog-char-quote-workaround):
10580 * progmodes/cperl-mode.el (cperl-under-as-char):
10581 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10583 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10585 (vhdl-mode-syntax-table-init): Remove.
10587 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10590 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10592 (ld-script-font-lock-keywords):
10593 Change regexps to use things like \_< and \_>.
10595 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10596 Change all regexps to use things like \_< and \_>.
10598 * progmodes/autoconf.el (autoconf-definition-regexp)
10599 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10600 Handle a _ with symbol syntax.
10601 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10603 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10604 Consolidate declaration.
10605 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10607 (ada-create-syntax-table): Remove.
10608 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10609 already has the right syntax nowadays.
10610 (ada-goto-next-word): Don't change the syntax of "_".
10612 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10615 2013-05-08 Sam Steingold <sds@gnu.org>
10617 * thingatpt.el (thing-at-point): Accept optional second argument
10618 NO-PROPERTIES to strip the text properties from the return value.
10619 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10620 to `thing-at-point' instead of stripping the properties ourselves.
10621 Also, when `thing-at-point' fails to find a url, prepend "http://"
10622 to the filename at point on the assumption that the user is
10623 pointing at something like gnu.org/gnu.
10625 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10627 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10628 * faces.el (crm-separator):
10629 Silence byte-compiler.
10631 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10632 (tool-bar-map): Remove unneeded defvars.
10634 2013-05-08 Leo Liu <sdl.web@gmail.com>
10636 Re-work a fix for bug#10994 based on Le Wang's patch.
10637 * ido.el (ido-remove-consecutive-dups): New helper.
10638 (ido-completing-read): Use it.
10639 (ido-chop): Revert fix for bug#10994.
10641 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10643 * cus-edit.el (custom-save-variables):
10644 Pretty-print long values. (Bug#14187)
10646 2013-05-08 Glenn Morris <rgm@gnu.org>
10648 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10649 (m4-mode-syntax-table): Init in the defvar.
10650 (m4-mode-abbrev-table): Let define-derived-mode define it.
10652 2013-05-08 Tom Tromey <tromey@redhat.com>
10654 * progmodes/m4-mode.el (m4-mode-syntax-table):
10655 Do not treat "_" as word constituent. (Bug#14167)
10657 2013-05-07 Glenn Morris <rgm@gnu.org>
10659 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10660 Remove explicit eshell-isearch-cancel-map.
10662 * progmodes/f90.el (f90-smart-end-names): New option.
10663 (f90-smart-end): Doc fix.
10664 (f90-end-block-optional-name): New constant.
10665 (f90-block-match): Respect f90-smart-end-names.
10667 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10669 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10670 about implicit semi-colons (bug#14218).
10672 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10674 * frame.el (display-monitor-attributes-list)
10675 (frame-monitor-attributes): New functions.
10677 2013-05-06 Leo Liu <sdl.web@gmail.com>
10679 * progmodes/octave.el (octave-syntax-propertize-function): Change
10680 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10681 (octave-font-lock-keywords): Use octave-operator-regexp.
10682 (octave-completion-at-point): Rename from
10683 octave-completion-at-point-function.
10684 (inferior-octave-directory-tracker): Robustify.
10685 (octave-text-functions): Remove and fix its uses. No such things
10688 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10690 * emacs-lisp/trace.el (trace--display-buffer): New function.
10691 (trace-make-advice): Use it.
10693 2013-05-06 Juri Linkov <juri@jurta.org>
10695 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10696 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10698 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10699 in the help string. (Bug#12985)
10701 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10703 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10705 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10707 * progmodes/perl-mode.el: Add support for here documents.
10708 (perl-syntax-propertize-function): Match here-doc markers.
10709 (perl-syntax-propertize-special-constructs): Find their end.
10710 (perl-imenu-generic-expression): Use [:alnum:].
10712 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10713 (advice--add-function): Refresh the advice if already present
10716 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10718 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10720 2013-05-06 Glenn Morris <rgm@gnu.org>
10722 * w32-fns.el (w32-charset-info-alist): Declare.
10724 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10725 of its defcustom properties.
10726 (eshell-cmpl-initialize): No need to load pcomplete.
10728 * generic-x.el: No need to require comint when compiling.
10730 * net/eudc-export.el: Make it loadable without bbdb.
10731 (top-level): Use require rather than load-library.
10732 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10733 (eudc-batch-export-records-to-bbdb)
10734 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10737 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10739 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10740 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10741 some tweaks, instead.
10743 2013-05-05 Leo Liu <sdl.web@gmail.com>
10745 * progmodes/octave.el (octave-font-lock-keywords)
10746 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10747 (inferior-octave-send-list-and-digest): Improve error message.
10748 (octave-mode, inferior-octave-mode): Use setq-local.
10749 (octave-help): Set info-lookup-mode.
10751 2013-05-05 Richard Stallman <rms@gnu.org>
10753 * vc/compare-w.el (compare-windows-whitespace):
10754 Treat no-break space as whitespace.
10756 * mail/rmailsum.el (rmail-summary-rmail-update):
10757 Detect empty summary and don't change selected message.
10758 (rmail-summary-goto-msg): Likewise.
10760 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10761 Doc fixes, rename args.
10763 2013-05-05 Alan Mackenzie <acm@muc.de>
10765 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10767 2013-05-05 Juri Linkov <juri@jurta.org>
10769 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10770 to not add the length of the summary segment to the return value.
10773 2013-05-05 Leo Liu <sdl.web@gmail.com>
10775 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10776 (inferior-octave-output-filter): Remove.
10777 (octave-send-region, inferior-octave-startup): Fix callers.
10778 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10779 (octave-binary-file-extensions): New user variable.
10780 (octave-find-definition): Confirm if opening binary files.
10781 (octave-help-file): Use octave-find-definition to get the binary
10783 (octave-help): Adjust for octave-help-file change.
10785 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10787 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10788 Merge the two entries that handle function definitions.
10789 (pascal--syntax-propertize): New const.
10790 (pascal-mode): Use it. Use setq-local.
10792 2013-05-04 Glenn Morris <rgm@gnu.org>
10794 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10795 (diary-from-outlook): Respect diary-from-outlook-function.
10797 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10799 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10800 Move the declaration from C.
10801 (read-minibuffer, eval-minibuffer): Move from C.
10802 (completion-setup-function): Avoid minibuffer-completion-contents.
10804 2013-05-03 Leo Liu <sdl.web@gmail.com>
10806 * progmodes/octave.el (octave-font-lock-keywords): Do not
10807 dehighlight 'end' in comments or strings.
10808 (octave-completing-read, octave-goto-function-definition):
10810 (octave-help-buffer): New user variable.
10811 (octave-help-file, octave-help-function): New button types.
10812 (octave-help): New command and bind it to C-h ;.
10813 (octave-find-definition): New command and bind it to M-.
10814 (user-error): Alias to error if not defined.
10816 2013-05-02 Leo Liu <sdl.web@gmail.com>
10818 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10820 (octave-font-lock-keywords): Include [ and {.
10822 2013-05-02 Leo Liu <sdl.web@gmail.com>
10824 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10825 (inferior-octave): Remove calling comint-mode and return the buffer.
10826 (inferior-octave-startup): Cosmetic changes.
10828 2013-05-02 Leo Liu <sdl.web@gmail.com>
10830 * progmodes/octave.el (octave-syntax-propertize-function):
10831 Include the case when ' is at line beginning. (Bug#14336)
10833 2013-05-02 Glenn Morris <rgm@gnu.org>
10835 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10836 * desktop.el (vc-dir-mode): Just autoload it here.
10838 2013-05-02 Alan Mackenzie <acm@muc.de>
10840 Eliminate variable c-standard-font-lock-fontify-region-function.
10841 * progmodes/cc-mode.el
10842 (c-standard-font-lock-fontify-region-function): Remove.
10843 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10845 2013-05-01 Leo Liu <sdl.web@gmail.com>
10847 * progmodes/octave.el: Compatible with older emacs-24 releases.
10848 (inferior-octave-has-built-in-variables): Remove. Built-in
10849 variables were removed from Octave in 2007.
10850 (inferior-octave-startup): Fix uses.
10851 (comint-line-beginning-position): Remove compatibility code for
10854 2013-05-01 Juri Linkov <juri@jurta.org>
10856 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10858 2013-05-01 Juri Linkov <juri@jurta.org>
10860 * comint.el (comint-previous-matching-input): Don't print message
10861 "History item: %d" when `isearch-mode' is active.
10862 (comint-history-isearch-message): Print message "History item: %d"
10863 when `comint-input-ring-index' is not empty and this function is
10864 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10866 2013-05-01 Leo Liu <sdl.web@gmail.com>
10868 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10869 definitions. Use completion-at-point to insert keywords.
10870 (octave-abbrev-start): Remove.
10871 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10873 2013-04-30 Leo Liu <sdl.web@gmail.com>
10875 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10878 2013-04-30 Alan Mackenzie <acm@muc.de>
10880 Handle arbitrarily long C++ member initialisation lists.
10881 * progmodes/cc-engine.el (c-back-over-member-initializers):
10883 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10884 (most) member init lists.
10886 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10888 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10891 2013-04-30 Leo Liu <sdl.web@gmail.com>
10893 * progmodes/octave.el (octave-variables): Remove. No builtin
10894 variables any more. All converted to functions.
10895 (octave-font-lock-keywords, octave-completion-at-point-function):
10897 (octave-font-lock-texinfo-comment): New user variable.
10898 (octave-texinfo-font-lock-keywords): New variable for texinfo
10900 (octave-function-comment-block): New face.
10901 (octave-font-lock-texinfo-comment): New function.
10902 (octave-mode): Font lock texinfo comment block.
10904 2013-04-29 Leo Liu <sdl.web@gmail.com>
10906 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10907 indexing expression.
10908 (octave-continuation-string): Do not use \.
10909 (inferior-octave-complete-impossible): Remove.
10910 (inferior-octave-completion-table)
10911 (inferior-octave-completion-at-point): Remove its uses.
10912 (inferior-octave-startup): completion_matches was introduced to
10913 Octave in 1996 so safe to assume it.
10914 (octave-function-file-comment): Improve to follow how Octave does it.
10915 (octave-update-function-file-comment): Tweak.
10917 2013-04-29 Leo Liu <sdl.web@gmail.com>
10919 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10920 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10921 (octave-function-file-comment): Fix typo.
10922 (octave-sync-function-file-names): Use read-char-choice.
10924 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10926 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10927 to t for the less important warnings.
10929 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10931 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10933 2013-04-27 Glenn Morris <rgm@gnu.org>
10935 * vc/log-view.el (log-view-current-entry):
10936 Treat "---" separator lines as part of the following rev. (Bug#14169)
10938 2013-04-27 Juri Linkov <juri@jurta.org>
10940 * subr.el (read-number): Doc fix about using it by interactive
10941 code letter `n'. (Bug#14254)
10943 2013-04-27 Juri Linkov <juri@jurta.org>
10945 * desktop.el (desktop-auto-save-timeout): New option.
10946 (desktop-file-checksum): New variable.
10947 (desktop-save): Add optional arg `auto-save' and don't auto-save
10948 if nothing changed.
10949 (desktop-auto-save-timer): New variable.
10950 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10951 (after-init-hook): Call `desktop-auto-save-set-timer'.
10952 Suggested by Reuben Thomas <rrt@sc3d.org> in
10953 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10955 2013-04-27 Leo Liu <sdl.web@gmail.com>
10957 * progmodes/octave.el (octave-function-file-p)
10958 (octave-skip-comment-forward, octave-function-file-comment)
10959 (octave-update-function-file-comment): New functions.
10960 (octave-mode-map): Bind C-c ; to
10961 octave-update-function-file-comment.
10962 (octave-mode-menu): Add octave-update-function-file-comment.
10963 (octave-mode, inferior-octave-mode): Fix doc-string.
10964 (octave-insert-defun): Conform to Octave's coding convention.
10967 * files.el (basic-save-buffer): Don't let errors in
10968 before-save-hook prevent saving buffer.
10970 2013-04-20 Roland Winkler <winkler@gnu.org>
10972 * faces.el (read-face-name): Use completing-read if arg multiple
10975 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10977 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10978 displayed, move point to after the totals line.
10979 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10982 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10984 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10985 Add current dir to the load-path.
10986 (package-generate-autoloads): Don't rely on
10987 autoload-ensure-default-file.
10989 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10991 * textmodes/remember.el (remember-store-in-files): Document that
10992 the file name format is passed to `format-time-string'.
10994 2013-04-26 Leo Liu <sdl.web@gmail.com>
10996 * progmodes/octave.el (octave-sync-function-file-names): New function.
10997 (octave-mode): Use it in before-save-hook.
10999 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11001 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11004 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11005 \n and comment, even if it's not an implicit ; (bug#14218).
11007 2013-04-26 Glenn Morris <rgm@gnu.org>
11009 * subr.el (read-number): Once more use `read' rather than
11010 `string-to-number', to trap non-numeric input. (Bug#14254)
11012 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11014 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11015 Use `syntax-multiline' text property consistently instead of
11016 `font-lock-multiline'. (Bug#14237)
11018 2013-04-26 Glenn Morris <rgm@gnu.org>
11020 * emacs-lisp/shadow.el (list-load-path-shadows):
11021 No longer necessary to check for duplicate simple.el, since
11022 2012-07-07 change to init_lread to not include installation lisp
11023 directories in load-path when running uninstalled. (Bug#14270)
11025 2013-04-26 Leo Liu <sdl.web@gmail.com>
11027 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11028 (octave-mode, inferior-octave-mode): Use setq-local.
11029 (octave-not-in-string-or-comment-p): Rename to
11030 octave-in-string-or-comment-p.
11031 (octave-in-comment-p, octave-in-string-p)
11032 (octave-in-string-or-comment-p): Replace defsubst with defun.
11034 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11036 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11038 2013-04-25 Bastien Guerry <bzg@gnu.org>
11040 * textmodes/remember.el (remember-data-directory)
11041 (remember-directory-file-name-format): Fix custom types.
11043 2013-04-25 Leo Liu <sdl.web@gmail.com>
11045 * progmodes/octave.el (octave-completion-at-point-function):
11046 Make use of inferior octave process.
11047 (octave-initialize-completions): Remove.
11048 (inferior-octave-completion-table): New function.
11049 (inferior-octave-completion-at-point): Use it.
11050 (octave-completion-alist): Remove.
11052 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11054 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11055 (opascal-mode-syntax-table): New var.
11056 (opascal-literal-kind, opascal-is-literal-end)
11057 (opascal-literal-token-at): Rewrite.
11058 (opascal--literal-start-re, opascal-font-lock-keywords)
11059 (opascal--syntax-propertize): New constants.
11060 (opascal-font-lock-defaults): Adjust.
11061 (opascal-mode): Use them. Set comment-<foo> variables as well.
11062 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11063 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11064 (delphi-other-face, opascal-other-face): Remove face variables.
11065 (opascal-save-state): Remove macro.
11066 (opascal-fontifying-progress-step): Remove constant.
11067 (opascal--ignore-changes): Remove var.
11068 (opascal-set-token-property, opascal-parse-next-literal)
11069 (opascal-is-stable-literal, opascal-complete-literal)
11070 (opascal-is-literal-start, opascal-face-of)
11071 (opascal-parse-region, opascal-parse-region-until-stable)
11072 (opascal-fontify-region, opascal-after-change)
11073 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11074 (opascal-debug-parse-region, opascal-debug-parse-window)
11075 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11076 (opascal-debug-fontify-buffer): Remove.
11077 (opascal-debug-mode-map): Adjust accordingly.
11079 2013-04-25 Leo Liu <sdl.web@gmail.com>
11081 Merge octave-mod.el and octave-inf.el into octave.el with some
11083 * progmodes/octave.el: New file renamed from octave-mod.el.
11084 * progmodes/octave-inf.el: Merged into octave.el.
11085 * progmodes/octave-mod.el: Renamed to octave.el.
11087 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11089 * textmodes/reftex-vars.el
11090 (reftex-label-ignored-macros-and-environments): New defcustom.
11092 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11094 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11096 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11097 (smie-indent-keyword): Improve the check to ensure that the next
11098 comment is really on the same line.
11099 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11101 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11102 semi-colons if the line is not otherwise empty (bug#14218).
11104 2013-04-25 Glenn Morris <rgm@gnu.org>
11106 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11108 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11110 * progmodes/opascal.el (opascal-set-token-property): Rename from
11111 opascal-set-text-properties and only set `token' (bug#14134).
11112 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11113 (opascal-literal-text-properties): Remove.
11114 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11117 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11119 * textmodes/remember.el (remember-handler-functions): Add an
11120 option for a new handler `remember-store-in-files'.
11121 (remember-data-directory, remember-directory-file-name-format):
11123 (remember-store-in-files): New function to store remember notes
11124 as separate files within a directory.
11126 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11128 * progmodes/compile.el (compilation-next-error-function):
11129 Pass "formats" to compilation-find-file (bug#11777).
11131 2013-04-24 Glenn Morris <rgm@gnu.org>
11133 * vc/vc-bzr.el (vc-bzr-print-log):
11134 * vc/vc-hg.el (vc-hg-print-log):
11135 * vc/vc-svn.el (vc-svn-print-log):
11136 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11138 * vc/vc-bzr.el (vc-bzr-print-log):
11139 * vc/vc-cvs.el (vc-cvs-print-log):
11140 * vc/vc-git.el (vc-git-print-log):
11141 * vc/vc-hg.el (vc-hg-print-log):
11142 * vc/vc-mtn.el (vc-mtn-print-log):
11143 * vc/vc-rcs.el (vc-rcs-print-log):
11144 * vc/vc-sccs.el (vc-sccs-print-log):
11145 * vc/vc-svn.el (vc-svn-print-log):
11146 * vc/vc.el (vc-print-log-internal): Doc fixes.
11148 2013-04-23 Glenn Morris <rgm@gnu.org>
11150 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11151 Remove venerable code attempting to avoid substitute-command-keys.
11153 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11155 * textmodes/reftex-vars.el (reftex-label-regexps):
11156 Call `reftex-compile-variables' after changes to this variable.
11158 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11160 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11161 Use lexical-binding.
11162 (jit-lock-force-redisplay): Use markers, check buffer's continued
11163 existence and beware narrowed buffers.
11164 (jit-lock-fontify-now): Adjust call accordingly.
11166 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11168 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11169 to avoid misleading the user.
11171 2013-04-22 Leo Liu <sdl.web@gmail.com>
11173 * info-look.el: Prefer latex2e.info. (Bug#14240)
11175 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11177 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11179 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11180 * net/tramp.el (tramp-call-process): ... here.
11181 (tramp-set-completion-function, tramp-parse-putty):
11182 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11183 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11184 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11185 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11186 (tramp-call-local-coding-command): Use `tramp-call-process'
11187 instead of `tramp-compat-call-process'.
11189 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11190 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11191 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11192 (tramp-find-inline-compress): Improve traces.
11193 (tramp-maybe-send-script): Check for Perl binary.
11194 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11196 2013-04-22 Daiki Ueno <ueno@gnu.org>
11198 * epg.el (epg-context-pinentry-mode): New function.
11199 (epg-context-set-pinentry-mode): New function.
11200 (epg--start): Pass --pinentry-mode option to gpg command.
11202 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11204 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11205 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11206 `completion-at-point'. (Bug#13774)
11208 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11209 default key binding for `describe-distribution' has been moved to
11210 `C-h C-o'. (Bug#13970)
11212 2013-04-21 Glenn Morris <rgm@gnu.org>
11214 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11216 (vc-print-log): Clarify interactive prompt.
11218 2013-04-20 Glenn Morris <rgm@gnu.org>
11220 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11221 No longer include timestamp etc information.
11223 2013-04-20 Roland Winkler <winkler@gnu.org>
11225 * faces.el (read-face-name): Bug fix, return just one face if arg
11226 multiple is nil. (Bug#14209)
11228 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11230 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11231 (remove-function): Autoload.
11233 * comint.el (comint-redirect-original-filter-function): Remove.
11234 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11235 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11236 (vc-cvs-annotate-command):
11237 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11238 * progmodes/prolog.el (prolog-consult-compile):
11239 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11240 Use add/remove-function instead.
11241 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11242 (gud-tooltip-process-output, gud-tooltip-tips):
11243 Use add/remove-function instead.
11244 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11245 (scheme-interaction-mode, exit-scheme-interaction-mode):
11246 Use add/remove-function instead.
11248 * vc/vc-dispatcher.el: Use lexical-binding.
11249 (vc--process-sentinel): Rename from vc-process-sentinel.
11250 Change last arg to be the code to run. Don't use vc-previous-sentinel
11251 and vc-sentinel-commands any more.
11252 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11253 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11255 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11257 * progmodes/sh-script.el (sh-imenu-generic-expression):
11258 Handle function names with a single character. (Bug#14111)
11260 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11262 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11263 for subroutines defined in an eval (bug#14182).
11265 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11267 * bookmark.el (bookmark-completing-read): Improve handling of empty
11268 string (bug#14176).
11270 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11272 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11274 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11276 New faster Imenu implementation (bug#14058).
11277 * progmodes/python.el:
11278 (python-imenu-prev-index-position):
11279 (python-imenu-format-item-label-function)
11280 (python-imenu-format-parent-item-label-function)
11281 (python-imenu-format-parent-item-jump-label-function):
11283 (python-imenu-format-item-label)
11284 (python-imenu-format-parent-item-label)
11285 (python-imenu-format-parent-item-jump-label)
11286 (python-imenu--put-parent, python-imenu--build-tree)
11287 (python-imenu-create-index, python-imenu-create-flat-index)
11288 (python-util-popn): New functions.
11289 (python-mode): Set imenu-create-index-function to
11290 python-imenu-create-index.
11292 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11294 * winner.el (winner-active-region): Use region-active-p, activate-mark
11295 and deactivate-mark (bug#14225).
11297 * simple.el (deactivate-mark): Don't inline it.
11299 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11301 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11303 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11305 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11306 file extensions from the archive-mode entry in order to prefer
11307 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11309 2013-04-18 Leo Liu <sdl.web@gmail.com>
11311 * bindings.el (help-event-list): Add ?\?.
11313 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11315 * subr.el (with-wrapper-hook): Declare obsolete.
11316 * simple.el (filter-buffer-substring-function): New hook.
11317 (filter-buffer-substring): Use it.
11318 (filter-buffer-substring-functions): Mark obsolete.
11319 * minibuffer.el (completion-in-region-function): New hook.
11320 (completion-in-region): Use it.
11321 (completion-in-region-functions): Mark obsolete.
11322 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11323 * abbrev.el (abbrev-expand-function): New hook.
11324 (expand-abbrev): Use it.
11325 (abbrev-expand-functions): Mark obsolete.
11326 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11327 and :filter-return.
11329 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11331 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11332 and do not care about match data.
11334 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11336 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11337 completion tables when completing error conditions and
11338 `declare' arguments.
11339 (lisp-complete-symbol, field-complete): Mark as obsolete.
11340 (check-parens): Unmatched parens are user errors.
11341 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11343 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11345 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11346 command changed buffer (ie. `flyspell-pre-buffer' is not current
11347 buffer), which prevents making decisions based on invalid value of
11348 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11349 cause an error when `flyspell-pre-point' was nil after switching
11351 (flyspell-post-command-hook): No longer needs to change buffers when
11352 checking pre-word. While at it remove unnecessary progn.
11354 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11356 * textmodes/ispell.el (ispell-add-per-file-word-list):
11357 Fix `flyspell-correct-word-before-point' error when accepting
11358 words and `coment-padding' is an integer by using
11359 `comment-normalize-vars' (Bug #14214).
11361 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11363 New defun movement commands.
11364 * progmodes/python.el (python-nav--syntactically)
11365 (python-nav--forward-defun, python-nav-backward-defun)
11366 (python-nav-forward-defun): New functions.
11368 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11370 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11371 (python-syntax-context): Use named compiler-macro for backwards
11372 compatibility with Emacs 24.x.
11374 2013-04-17 Leo Liu <sdl.web@gmail.com>
11376 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11377 octave-hide-process-buffer.
11379 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11381 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11384 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11386 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11387 Fix adjustment of offset when receiving incomplete responses from GDB
11390 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11392 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11393 python-mode-abbrev-table.
11394 (python-skeleton-define): Adjust accordingly.
11395 (python-mode-abbrev-table): New table that inherits from it so that
11396 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11398 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11399 (abbrev-symbol): Use it.
11400 (abbrev--before-point): Use it since we already handle inheritance.
11402 2013-04-16 Leo Liu <sdl.web@gmail.com>
11404 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11405 binding to info-lookup-symbol.
11407 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11409 * minibuffer.el (completion--twq-all):
11410 * term/ns-win.el (ns-initialize-window-system):
11411 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11413 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11415 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11418 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11420 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11422 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11423 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11425 (ruby-end-of-defun): Remove the unused arg, change the docstring
11426 to reflect that this function is only used as the value of
11427 `end-of-defun-function'.
11428 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11429 to reflect an earlier change that beginning/end-of-defun functions
11430 jump between methods in a class definition, as well as top-level
11433 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11435 * minibuffer.el (minibuffer-complete): Don't just scroll
11436 a *Completions* that's been iconified.
11437 (minibuffer-force-complete): Make sure repetitions do cycle when going
11438 through completion-in-region -> minibuffer-complete.
11440 2013-04-15 Alan Mackenzie <acm@muc.de>
11442 Correct the placement of c-cpp-delimiters when there're #s not at
11445 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11446 place a submatch around the #.
11447 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11448 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11451 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11453 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11454 (advice--member-p): New arg `name'.
11455 (advice--add-function, advice-member-p): Use it (bug#14202).
11457 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11459 Reformulate java imenu-generic-expression.
11460 The old expression contained ill formed regexps.
11462 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11463 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11464 (cc-imenu-java-method-arg-regexp): New defconsts.
11465 (cc-imenu-java-build-type-args-regex): New defun.
11466 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11467 handling of spaces in the regexp.
11469 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11471 * textmodes/ispell.el (ispell-command-loop): Remove
11472 flyspell highlight of a word when ispell accepts it (bug #14178).
11474 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11476 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11477 uses code from the previous `ange-ftp-run-real-handler'.
11478 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11479 only in case that function exist. This is needed for proper
11480 unloading of Tramp.
11482 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11484 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11486 * textmodes/reftex.el (reftex-compile-variables): Use it.
11488 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11490 * files.el (normal-mode): Only use default major-mode if no other mode
11493 * emacs-lisp/trace.el (trace-values): New function.
11495 * files.el: Allow : in local variables (bug#14089).
11496 (hack-local-variable-regexp): New var.
11497 (hack-local-variables-prop-line, hack-local-variables): Use it.
11499 2013-04-13 Roland Winkler <winkler@gnu.org>
11501 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11502 data before it gets modified by bibtex-beginning-of-entry.
11504 2013-04-13 Roland Winkler <winkler@gnu.org>
11506 * textmodes/bibtex.el (bibtex-url): Doc fix.
11508 2013-04-13 Roland Winkler <winkler@gnu.org>
11510 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11511 does not visit a BibTeX file, exclude it from the list of buffers
11512 returned by bibtex-initialize.
11514 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11516 * window.el (split-window): Remove interactive form, since as a
11517 command this function is a special case of split-window-below.
11518 Correct doc string.
11520 2013-04-12 Roland Winkler <winkler@gnu.org>
11522 * faces.el (read-face-name): Do not override value of arg default.
11523 Allow single faces and strings as default values. Remove those
11524 elements from return value that are not faces.
11525 (describe-face): Simplify.
11526 (face-at-point): New optional args thing and multiple so that this
11527 function can provide the same functionality previously provided by
11529 (make-face-bold, make-face-unbold, make-face-italic)
11530 (make-face-unitalic, make-face-bold-italic, invert-face)
11531 (modify-face, read-face-and-attribute): Use face-at-point.
11533 * cus-edit.el (customize-face, customize-face-other-window)
11534 * cus-theme.el (custom-theme-add-face)
11535 * face-remap.el (buffer-face-set)
11536 * facemenu.el (facemenu-set-face): Use face-at-point.
11538 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11540 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11542 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11544 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11545 off leading { and trailing } from field values.
11547 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11549 * emacs-lisp/timer.el (timer--check): New function.
11550 (timer--time, timer-set-function, timer-event-handler): Use it.
11551 (timer-set-idle-time): Simplify.
11552 (timer--activate): CSE.
11553 (timer-event-handler): Give more info in error message.
11554 (internal-timer-start-idle): New function, moved from C.
11556 * mpc.el (mpc-proc): Add `restart' argument.
11557 (mpc-proc-cmd): Use it.
11558 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11559 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11562 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11564 * progmodes/sh-script.el: Implement `sh-mode' own
11565 `add-log-current-defun-function' (bug#14112).
11566 (sh-current-defun-name): New function.
11567 (sh-mode): Use the function.
11569 2013-04-09 Bastien Guerry <bzg@gnu.org>
11571 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11573 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11575 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11577 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11580 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11582 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11585 2013-04-07 Leo Liu <sdl.web@gmail.com>
11587 * pcmpl-x.el: New file.
11589 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11591 Do not set x-display-name until X connection is established.
11592 This is needed to prevent from weird situation described at
11593 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11594 * frame.el (make-frame): Set x-display-name after call to
11595 window system initialization function, not before.
11596 * term/x-win.el (x-initialize-window-system): Add optional
11597 display argument and use it.
11598 * term/w32-win.el (w32-initialize-window-system):
11599 * term/ns-win.el (ns-initialize-window-system):
11600 * term/pc-win.el (msdos-initialize-window-system):
11601 Add compatible optional display argument.
11603 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11605 * files.el (normal-backup-enable-predicate): On MS-Windows and
11606 MS-DOS compare truenames of temporary-file-directory and of the
11607 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11608 don't fail comparison by compare-strings. Also, compare file
11609 names case-insensitively on MS-Windows and MS-DOS.
11611 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11613 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11614 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11616 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11618 * whitespace.el (whitespace-color-on, whitespace-color-off):
11619 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11621 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11623 * ispell.el (ispell-set-spellchecker-params):
11624 Really set `ispell-args' for all equivs.
11626 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11628 * ido.el (ido-completions): Use extra elements of ido-decorations
11630 (ido-decorations): Update docstring.
11632 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11634 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11635 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11636 nil during initialization, in order not to miss changes since the
11637 file was opened. (Bug#14140)
11639 2013-04-05 Leo Liu <sdl.web@gmail.com>
11641 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11643 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11645 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11647 2013-04-04 Glenn Morris <rgm@gnu.org>
11649 * electric.el (electric-pair-inhibit-predicate): Add :version.
11651 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11653 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11654 when a package is required several times (bug#14082).
11656 2013-04-04 Roland Winkler <winkler@gnu.org>
11658 * faces.el (read-face-name): Behave as promised by the docstring.
11659 Assume that arg default is a list of faces.
11660 (describe-face): Call read-face-name with list of default faces.
11662 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11664 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11665 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11666 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11668 (bookmark-exit-hook-internal): Save even if list is empty.
11670 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11672 * emacs-lisp/package.el (package-pinned-packages): New var.
11673 (package--add-to-archive-contents): Obey it (bug#14118).
11675 2013-04-03 Alan Mackenzie <acm@muc.de>
11677 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11678 Also adapt to the new values of element 7 of a parse state.
11680 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11681 parameter `not-in-delimiter'. Handle being inside comment opener.
11682 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11683 character in case we're typing a '*' after a '/'.
11684 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11685 instead by passing the parameter to c-state-pp-to-literal.
11687 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11688 for elt. 7 of a parse state.
11690 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11692 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11693 * international/latin1-disp.el, international/mule-util.el:
11694 * language/cyril-util.el, language/european.el, language/ind-util.el:
11695 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11696 * language/tibetan.el, language/viet-util.el:
11697 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11699 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11701 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11702 (electric-pair-post-self-insert-function): Use it.
11703 (electric-pair-default-inhibit): New function, extracted from
11704 electric-pair-post-self-insert-function.
11706 2013-03-31 Roland Winkler <winkler@gnu.org>
11708 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11710 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11712 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11714 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11716 Un-indent after "pass" and "return" statements (Bug#13888)
11717 * progmodes/python.el (python-indent-block-enders): New var.
11718 (python-indent-calculate-indentation): Use it.
11720 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11722 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11723 defun. Defining it as defalias could introduce too eager
11724 byte-compiler optimization. (Bug#14030)
11726 2013-03-30 Chong Yidong <cyd@gnu.org>
11728 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11730 2013-03-30 Leo Liu <sdl.web@gmail.com>
11732 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11733 (kmacro-execute-from-register): Pass the keyboard macro to
11734 kmacro-call-macro or repeating won't work correctly.
11736 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11738 * progmodes/subword.el: Back to using `forward-symbol'.
11740 * subr.el (forward-whitespace, forward-symbol)
11741 (forward-same-syntax): Move from thingatpt.el.
11743 2013-03-29 Leo Liu <sdl.web@gmail.com>
11745 * kmacro.el (kmacro-to-register): New command.
11746 (kmacro-execute-from-register): New function.
11747 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11749 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11751 * mpc.el: Use defvar-local and setq-local.
11752 (mpc--proc-connect): Connection failures are not bugs.
11753 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11754 (mpc-volume-map): Bind to the up-events.
11756 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11758 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11759 instead of `forward-symbol'.
11761 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11763 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11764 (edebug--recursive-edit): Use it.
11765 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11766 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11768 2013-03-28 Leo Liu <sdl.web@gmail.com>
11770 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11772 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11774 * facemenu.el (list-colors-callback): New defvar.
11775 (list-colors-redisplay): New function.
11776 (list-colors-display): Install list-colors-redisplay as the
11777 revert-buffer-function. (Bug#14063)
11779 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11781 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11782 and suffixes don't overlap (bug#14061).
11784 * case-table.el: Use lexical-binding.
11785 (case-table-get-table): New function.
11786 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11788 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11790 * progmodes/subword.el: Add `superword-mode' to do word motion
11791 over symbol_words (parallels and leverages `subword-mode' which
11792 does word motion inside MixedCaseWords).
11794 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11796 * eshell/em-unix.el: Move su and sudo to...
11797 * eshell/em-tramp.el: ...Eshell tramp module.
11799 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11801 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11802 Change return value to be a sexp. Delay `get-buffer' to after
11803 restoring the desktop (bug#13951).
11805 2013-03-26 Leo Liu <sdl.web@gmail.com>
11807 * register.el: Move semantic tag handling back to
11808 cedet/semantic/senator.el. (Bug#14052)
11810 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11812 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11813 into the prompt either (bug#13963).
11815 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11817 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11818 part of "(error-foo)".
11820 2013-03-24 Juri Linkov <juri@jurta.org>
11822 * replace.el (list-matching-lines-prefix-face): New defcustom.
11823 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11824 `occur-engine' if `face-differs-from-default-p' returns t.
11825 (occur-engine): Add `,' inside backquote construct to evaluate
11826 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11827 Pass `prefix-face' to the functions `occur-context-lines' and
11828 `occur-engine-add-prefix'.
11829 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11830 `prefix-face' and propertize the prefix with `prefix-face'.
11833 2013-03-24 Leo Liu <sdl.web@gmail.com>
11835 * nxml/rng-valid.el (rng-validate-while-idle)
11836 (rng-validate-quick-while-idle): Guard against deleted buffer.
11839 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11840 is the last entry in kill-buffer-hook.
11842 * files.el (kill-buffer-hook): Doc fix.
11844 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11846 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11847 Make it safe-local.
11849 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11851 2013-03-23 Leo Liu <sdl.web@gmail.com>
11853 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11856 * nxml/rng-valid.el (rng-validate-mode)
11857 (rng-after-change-function, rng-do-some-validation):
11858 * nxml/rng-maint.el (rng-validate-buffer):
11859 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11860 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11861 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11862 (nxml-extend-after-change-region): Use with-silent-modifications.
11864 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11867 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11868 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11869 timer-idle-list. (Bug#13999)
11871 2013-03-23 Juri Linkov <juri@jurta.org>
11873 * info.el (info-index-match): New face.
11874 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11875 main pattern and add text properties with the new face to matches
11876 in index entries relative to the beginning of the index entry.
11879 2013-03-21 Eric Ludlam <zappo@gnu.org>
11881 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11882 Inhibit read only while inserting objects.
11884 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11886 * progmodes/cfengine.el: Update docs to mention
11887 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11888 symbol motion. Remove "_" from the word syntax.
11890 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11892 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11893 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11895 2013-03-20 Juri Linkov <juri@jurta.org>
11897 * info.el (Info-next-reference-or-link)
11898 (Info-prev-reference-or-link): New functions.
11899 (Info-next-reference, Info-prev-reference): Use them.
11900 (Info-try-follow-nearest-node): Handle footnote navigation.
11901 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11903 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11905 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11906 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11908 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11910 Suppress unnecessary non-ASCII chatter during build process.
11911 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11912 (batch-skkdic-convert): Suppress most of the chatter.
11913 It's not needed so much now that machines are faster,
11914 and its non-ASCII component was confusing; see Dmitry Gutov in
11915 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11917 2013-03-20 Leo Liu <sdl.web@gmail.com>
11919 * ido.el (ido-chop): Fix bug#10994.
11921 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11923 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11925 (whitespace-color-on, whitespace-color-off):
11926 Use `font-lock-fontify-buffer' (Bug#13817).
11928 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11930 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11931 remapping in mode-line.
11932 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11934 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11936 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11937 value for `whitespace-line' face (Bug#13875).
11938 (whitespace-font-lock-keywords): Change description.
11939 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11940 the constructed keywords instead.
11941 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11943 2013-03-19 Leo Liu <sdl.web@gmail.com>
11945 * progmodes/compile.el (compilation-display-error): New command.
11946 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11949 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11951 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11953 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11955 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11957 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11959 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11961 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11962 * net/tramp-gvfs.el (top):
11963 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11964 (tramp-handle-shell-command): Use it.
11965 (tramp-dissect-file-name): Raise an error when hostname is a
11966 method name, and neither method nor user is specified.
11968 * net/trampver.el: Update release number.
11970 2013-03-18 Leo Liu <sdl.web@gmail.com>
11972 Make sure eldoc can be turned off properly.
11973 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11975 (eldoc-display-message-p): Revert last change.
11976 (eldoc-display-message-no-interference-p)
11977 (eldoc-print-current-symbol-info): Tweak.
11979 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11981 * doc-view.el (doc-view-new-window-function): Check the new window
11982 overlay's display property instead the char property of the
11983 buffer's first char. Use `with-selected-window' instead of
11984 `save-window-excursion' with `select-window'.
11985 (doc-view-document->bitmap): Check the current doc-view overlay's
11986 display property instead the char property of the buffer's first char.
11988 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11990 Automate the build of ja-dic.el (Bug#13984).
11991 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11992 from the input, rather than assume that it's been done for us by the
11993 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11994 the current date into a ja-dic.el comment, as that complicates
11995 regression testing.
11997 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11999 * whitespace.el: Fix double evaluation.
12000 (whitespace-space, whitespace-hspace, whitespace-tab)
12001 (whitespace-newline, whitespace-trailing, whitespace-line)
12002 (whitespace-space-before-tab, whitespace-indentation)
12003 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12005 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12006 (whitespace-color-on): Use a single font-lock-add-keywords call.
12007 Fix double-evaluation of face variables.
12009 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12011 * net/tramp-adb.el (tramp-adb-parse-device-names):
12012 Use `start-process' instead of `call-process'. Otherwise, the
12013 function might be blocked under MS Windows. (Bug#13299)
12015 2013-03-17 Leo Liu <sdl.web@gmail.com>
12017 Extend eldoc to display info in the mode-line. (Bug#13978)
12018 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12019 (eldoc-mode-line-string): New variable.
12020 (eldoc-minibuffer-message): New function.
12021 (eldoc-message-function): New variable.
12022 (eldoc-message): Use it.
12023 (eldoc-display-message-p)
12024 (eldoc-display-message-no-interference-p):
12025 Support eldoc-post-insert-mode.
12027 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12028 (eval-expression): Run it.
12030 2013-03-17 Roland Winkler <winkler@gnu.org>
12032 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12033 strings in the list of return values.
12035 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12037 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12038 radix before checking for HMS forms.
12040 2013-03-16 Leo Liu <sdl.web@gmail.com>
12042 * progmodes/scheme.el: Add indentation and font-locking for λ.
12045 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12047 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12048 token before point (bug#13942).
12050 2013-03-16 Leo Liu <sdl.web@gmail.com>
12052 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12054 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12056 * startup.el (command-line-normalize-file-name): Fix handling of
12057 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12058 <xfq.free@gmail.com> in
12059 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12061 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12063 Sync with Tramp 2.2.7.
12065 * net/trampver.el: Update release number.
12067 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12069 * doc-view.el: Fix bug#13887.
12070 (doc-view-insert-image): Don't modify overlay associated to
12071 non-live windows, and implement horizontal centering of image in
12072 case it's smaller than the window.
12073 (doc-view-new-window-function): Force redisplay of new windows on
12076 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12078 * saveplace.el (save-place-alist-to-file): Don't sort
12079 `save-place-alist', just pretty-print it (bug#13882).
12081 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12083 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12084 Check whether `default-file-name-coding-system' is bound.
12085 It isn't in XEmacs.
12087 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12089 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12090 backquotes for `obsolete' (bug#13929).
12092 * international/mule.el (find-auto-coding): Include file name in
12093 obsolescence warning (bug#13922).
12095 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12097 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12098 for CFEngine 3-specific indentation.
12099 (cfengine3-indent-line): Use it. Fix up category regex.
12100 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12102 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12104 * type-break.el (type-break-file-name):
12105 * textmodes/remember.el (remember-data-file):
12106 * strokes.el (strokes-file):
12107 * shadowfile.el (shadow-initialize):
12108 * saveplace.el (save-place-file):
12109 * ps-bdf.el (bdf-cache-file):
12110 * progmodes/idlwave.el (idlwave-config-directory):
12111 * net/quickurl.el (quickurl-url-file):
12112 * international/kkc.el (kkc-init-file-name):
12113 * ido.el (ido-save-directory-list-file):
12114 * emulation/viper.el (viper-custom-file-name):
12115 * emulation/vip.el (vip-startup-file):
12116 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12117 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12119 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12121 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12122 * language/thai-word.el: Switch to UTF-8.
12124 See ChangeLog.16 for earlier changes.
12126 ;; Local Variables:
12130 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12132 This file is part of GNU Emacs.
12134 GNU Emacs is free software: you can redistribute it and/or modify
12135 it under the terms of the GNU General Public License as published by
12136 the Free Software Foundation, either version 3 of the License, or
12137 (at your option) any later version.
12139 GNU Emacs is distributed in the hope that it will be useful,
12140 but WITHOUT ANY WARRANTY; without even the implied warranty of
12141 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12142 GNU General Public License for more details.
12144 You should have received a copy of the GNU General Public License
12145 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.