1 2014-01-10 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/authors.el (authors-fixed-entries):
4 Update for files that no longer exist.
6 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
8 * version.el (emacs-bzr-get-version): Restore compatibilty with
11 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
13 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
16 2014-01-10 Eli Zaretskii <eliz@gnu.org>
18 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
20 2014-01-10 Chong Yidong <cyd@gnu.org>
22 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is
25 2014-01-10 Anders Lindgren <andlind@gmail.com>
27 * follow.el (follow-cache-command-list): Include right-char and
30 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
33 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
34 * woman.el (woman-mark-horizontal-position):
35 Rename from woman-mark-horizonal-position. Use changed.
37 2014-01-10 Glenn Morris <rgm@gnu.org>
39 * info.el (info-initialize): If running uninstalled, ensure our
40 own info files are always found first, even if INFOPATH is set.
42 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
44 2014-01-09 David Engster <deng@randomsample.de>
46 * emacs-lisp/eieio-custom.el:
47 * emacs-lisp/eieio-opt.el: Set generated autoload file to
48 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
49 * emacs-lisp/eieio.el: Regenerate autoloads.
51 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
53 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
54 following renames. (Bug#8756)
56 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
58 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
60 (activate-mark): Add `no-tmm' argument.
61 (set-mark, push-mark-command): Use it instead of running
62 activate-mark-hook by hand.
64 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
66 In preparation for the move to git, sanitize out some
67 Bazaar-specific names.
69 * version.el (emacs-bzr-version): Name changed to
70 emacs-repository-version. Obsolete-variable alias made.
71 * loadup.el: Follow through on this name change.
72 * lisp/mail/emacsbug.el (report-emacs-bug): Factor out any
73 assumption about the version control system in use.
75 2014-01-08 David Engster <deng@randomsample.de>
77 * help-fns.el (help-fns-describe-function-functions):
78 New variable to call functions for augmenting help buffers.
79 (describe-function-1): Remove explicit calls to
80 `help-fns--compiler-macro', `help-fns--parent-mode' and
81 `help-fns--obsolete'. Put them in above new variable instead, and
82 call them through `run-hook-with-args'.
83 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
84 `eieio-describe-class'. Not meant for interactive use anymore,
85 but to augment existing help buffers. Remove optional second
86 argument. Create proper button for file location.
87 Rewrite function to use `insert' instead of `princ' and `prin1' where
89 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
90 (eieio-method-def, eieio-class-def): Move further up.
91 (describe-method, describe-generic, eieio-describe-method):
93 (eieio-help-constructor, eieio-help-generic): Rename from
94 `eieio-describe-constructor' and `eieio-describe-generic', resp.
95 Rewrite to use `insert' in the current buffer and use proper help
97 (eieio-help-find-method-definition)
98 (eieio-help-find-class-definition): Also accept symbols as
100 (eieio-help-mode-augmentation-maybee): Remove.
101 (eieio-describe-class-sb): Use `describe-function'.
102 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
103 Add `eieio-help-generic' and `eieio-help-constructor'.
105 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
108 * language/china-util.el (hz-ascii-designation):
109 Rename from hz-ascii-designnation.
110 (hz-ascii-designation): Rename from hz-ascii-designnation.
113 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
115 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
118 2014-01-08 Bastien Guerry <bzg@gnu.org>
120 * emacs-lisp/package.el (package-delete):
121 Correctly delete the package from package-alist.
123 2014-01-08 Daiki Ueno <ueno@gnu.org>
125 * emacs-lisp/package.el (url-recreate-url): Declare.
126 (url-http-target-url): Declare.
127 (package-handle-response): Include requested URL in the error message.
128 (package--check-signature): Don't re-signal errors from
129 package--with-work-buffer. Suggested by Stefan Monnier.
131 2014-01-07 Bastien Guerry <bzg@gnu.org>
133 * minibuffer.el (completion--try-word-completion): When both a
134 hyphen and a space are possible candidates for the character
135 following a word, display both candidates. (Bug#15980)
137 2014-01-07 Martin Rudalics <rudalics@gmx.at>
139 * window.el (balance-windows-2): While rounding don't give a
140 window more than the remainder. Bug#16351, Bug#16383.
142 2014-01-07 Glenn Morris <rgm@gnu.org>
144 * menu-bar.el (menu-bar-help-extra-packages): Remove.
145 (menu-bar-help-menu): Use view-external-packages instead.
147 2014-01-07 Bastien Guerry <bzg@gnu.org>
149 * emacs-lisp/package.el (package-delete): Also delete the package
150 name from `package-alist', not its description only.
152 2014-01-07 Glenn Morris <rgm@gnu.org>
154 * help.el (view-external-packages):
155 * menu-bar.el (menu-bar-help-extra-packages):
156 Visit efaq.info rather than etc/MORE.STUFF.
158 2014-01-07 Juri Linkov <juri@jurta.org>
160 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
161 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
163 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
164 that shadows RET. (Bug#16342)
166 2014-01-07 Chong Yidong <cyd@gnu.org>
168 * isearch.el (isearch-yank-char, isearch-yank-word)
169 (isearch-yank-line): Doc fix.
171 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
173 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
174 * emacs-lisp/elint.el (elint-find-builtins):
175 * emacs-lisp/eldoc.el (eldoc-symbol-function):
176 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
177 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
178 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
179 * apropos.el (apropos-safe-documentation):
180 * subr.el (symbol-file): Remove redundant fboundp.
181 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
183 2014-01-06 Bastien Guerry <bzg@gnu.org>
185 * hl-line.el (global-hl-line-overlay): Make a local variable.
186 (global-hl-line-overlays): New variable to store all overlays.
187 (global-hl-line-mode): Don't delete overlays from the current
188 buffer when `global-hl-line-sticky-flag' is non-nil.
189 (global-hl-line-highlight): Add new overlays to
190 `global-hl-line-overlays'.
191 (global-hl-line-unhighlight-all): New function to delete all
192 overlays when turning off `global-hl-line-mode'.
193 This fixes Bug#16183.
195 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
197 * subr.el (set-transient-map): Fix nested case and docstring.
199 2014-01-06 Tassilo Horn <tsdh@gnu.org>
201 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
204 2014-01-06 Daniel Colascione <dancol@dancol.org>
206 Fix defun navigation in vc log view.
208 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
209 like `beginning-of-defun'.
210 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
211 log-view-end-of-defun to log-view-end-of-defun-1. Replace
212 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
213 (log-view-extract-comment): Call `log-view-current-entry' directly
214 instead of relying on broken `log-view-beginning-of-defun' behavior.
216 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
219 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
220 * emacs-lisp/debug.el (cancel-debug-on-entry):
221 * epg.el (epg-error-to-string):
222 * files.el (recover-file):
223 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
224 * mail/emacsbug.el (report-emacs-bug-hook):
225 * mail/sendmail.el (mail-recover):
226 * ses.el (ses-yank-resize):
227 * term/ns-win.el (ns-print-buffer):
228 Spelling fixes in diagnostics, mostly for "canceled" with one L.
229 * epg.el (epg-key-capability-alist): Rename from misspelled version.
231 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
233 2014-01-06 Leo Liu <sdl.web@gmail.com>
235 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
236 to avoid shadowning global key. (Bug#16354)
238 2014-01-06 Daniel Colascione <dancol@dancol.org>
240 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
243 2014-01-05 Martin Rudalics <rudalics@gmx.at>
245 * window.el (balance-windows): Add mising t to fix Bug#16351.
247 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
249 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
251 (shr-insert): If we have a word that's longer than `shr-width',
252 break after it anyway. Otherwise we'll do no breaking once we get
255 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
257 * net/eww.el (eww): Support single/double quote for search.
258 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
259 (eww-history-quit): Delete and use quit-window.
260 (eww-history-kill): Delete, because it doesn't work well and
262 (eww-history-mode-map): Delete some keys and add easy-menu.
264 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
266 Fix misspelling of 'chinese' in rx (Bug#16237).
267 * emacs-lisp/rx.el (rx-categories): Correct spelling of
270 Change subword regexps back to vars (Bug#16296).
271 * progmodes/subword.el (subword-forward-regexp)
272 (subword-backward-regexp): Change these back to variables.
274 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
276 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
277 syntax-begin-function (bug#16247).
279 2014-01-03 Chong Yidong <cyd@gnu.org>
281 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
282 (advice--docstring): Delete variable.
283 (advice--make-1): Leave the docstring empty.
284 (advice-add): Use function-documentation for advised docstring.
286 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
287 Ignore function-documentation property when getting documentation.
288 (ad-activate-advised-definition): Use function-documentation
289 generate the docstring.
290 (ad-make-advised-definition): Don't call
291 ad-make-advised-definition-docstring.
292 (ad-make-advised-definition-docstring, ad-advised-definition-p):
295 * progmodes/sql.el (sql-help): Use function-documentation instead
296 of dynamic-docstring-function property. No need to autoload now.
297 (sql--help-docstring): New variable.
298 (sql--make-help-docstring): Use it.
300 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
302 * ielm.el (ielm-tab): Retarget.
303 (ielm-map): Use ielm-tab for tab.
304 (ielm-complete-filename): Use comint-filename-completion.
305 (ielm-complete-symbol): Remove.
306 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
307 remove ielm-tab from completion-at-point-functions (bug#16224).
309 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
310 Beware signals raised by predicates (bug#16201).
312 2014-01-02 Richard Stallman <rms@gnu.org>
314 * dired-aux.el (dired-do-print): Handle printer-name.
316 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
317 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
318 (rmail-epa-decrypt): Turn off mime processing.
320 * mail/rmail.el (rmail-make-in-reply-to-field):
321 Add parens in message-id.
323 * mail/rmail.el (rmail-get-coding-function): Variable.
324 (rmail-get-coding-system): Use it.
326 2013-12-31 Eli Zaretskii <eliz@gnu.org>
328 * international/mule-conf.el: Unify the charset indian-is13194.
329 (indian-is13194): Specify unify-map.
331 2013-12-31 Leo Liu <sdl.web@gmail.com>
333 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
335 2013-12-30 Daniel Colascione <dancol@dancol.org>
337 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
338 of printing a useless when we resume from sleep.
340 * progmodes/sh-script.el
341 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
342 in indentation code. (Bug#16233)
344 2013-12-28 João Távora <joaotavora@gmail.com>
346 * elec-pair.el (electric-pair-post-self-insert-function):
347 Don't open extra newlines at beginning of buffer. (Bug#16272)
349 2013-12-28 Eli Zaretskii <eliz@gnu.org>
351 * frame.el (window-system-for-display): Don't allow to create a
352 GUI frame from a -nw session on MS-Windows. (Bug#14739)
354 2013-12-28 Glenn Morris <rgm@gnu.org>
356 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
359 * apropos.el (apropos-match-face):
360 * calculator.el (calculator-displayer):
361 * dabbrev.el (dabbrev-search-these-buffers-only):
362 * face-remap.el (buffer-face-mode-face):
363 * simple.el (yank-handled-properties):
364 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
365 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
366 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
367 (hashcash-double-spend-database):
368 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
369 (ruby-deep-indent-paren-style):
370 * textmodes/flyspell.el (flyspell-auto-correct-binding):
371 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
372 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
373 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
374 Specify custom types.
376 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
377 * bookmark.el (bookmark-bmenu-use-header-line):
378 * doc-view.el (doc-view-scale-internally):
379 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
380 * register.el (register-preview-delay):
381 * net/shr.el (shr-bullet):
382 * progmodes/cfengine.el (cfengine-cf-promises)
383 (cfengine-parameters-indent):
384 * progmodes/octave.el (inferior-octave-error-regexp-alist):
385 * textmodes/reftex-vars.el (reftex-label-regexps):
386 * vc/log-edit.el (log-edit-setup-add-author): Add version.
388 * net/tls.el (tls-certtool-program): Fix default value.
390 * desktop.el (desktop-restore-in-current-display):
391 * newcomment.el (comment-empty-lines):
392 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
393 (idlwave-pad-keyword):
394 * progmodes/tcl.el (tcl-tab-always-indent):
395 * textmodes/reftex-vars.el (reftex-index-default-tag):
396 * elec-pair.el (electric-pair-skip-whitespace):
397 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
399 * emacs-lisp/authors.el (authors-ignored-files)
400 (authors-valid-file-names, authors-renamed-files-alist): Additions.
402 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
404 * shell.el (shell-dynamic-complete-command): Doc fix.
405 (shell--command-completion-data): Shell completion now matches
406 executable filenames from the current buffer's directory, on
407 systems in which this behavior is the default (windows-nt, ms-dos).
409 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
411 * net/shr.el (shr-insert): Don't infloop if the width is zero.
413 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
415 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
418 * electric.el: Move all electric-pair-* to elec-pair.el.
419 * elec-pair.el: New file, split from electric.el.
421 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
423 * net/shr.el (shr-find-fill-point): Don't try to fill if the
424 indentation level is larger than the width, because that will
426 (shr-insert): Fill repeatedly long texts, so that Japanese is
427 formatted correctly (bug#16263).
428 (shr-find-fill-point): Off by one error in comparison with the
431 2013-12-26 João Távora <joaotavora@gmail.com>
433 * electric.el (electric-pair-mode): More flexible engine for skip-
434 and inhibit predicates, new options for pairing-related functionality.
435 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
436 if that keeps or improves their balance in buffers.
437 (electric-pair-delete-adjacent-pairs): Delete the pair when
438 backspacing over adjacent matched delimiters.
439 (electric-pair-open-extra-newline): Open extra newline when
440 inserting newlines between adjacent matched delimiters.
441 (electric--sort-post-self-insertion-hook):
442 Sort post-self-insert-hook according to priority values when
443 minor-modes are activated.
444 * simple.el (newline-and-indent): Call newline with interactive
446 (blink-paren-post-self-insert-function): Set priority to 100.
447 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
448 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
449 comments. Locally set electric-pair-skip-whitespace to 'chomp and
450 electric-pair-open-newline-between-pairs to nil.
452 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
454 * progmodes/python.el: Use lexical-binding.
455 (python-nav-beginning-of-defun): Stop searching ASAP.
457 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
459 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
460 Fix interactive spec. Doc fix. (Bug#15754)
462 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
464 * emacs-lisp/byte-run.el (eval-when-compile):
465 * progmodes/cc-defs.el (cc-eval-when-compile):
466 Fix edebug spec (bug#16184).
468 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
470 * net/shr.el (shr-visit-file): Remove debugging function.
471 (shr-insert): Don't infloop if we can't find a good place to break
472 the line (bug#16256).
474 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
476 * progmodes/python.el:
477 (python-nav--lisp-forward-sexp): New function.
478 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
479 python-nav-lisp-forward-sexp-safe.
480 (python-nav--forward-sexp): New argument SAFE allows switching
481 forward sexp movement behavior for parens.
482 (python-nav-forward-sexp): Throw errors on unterminated parens
484 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
485 (python-nav-backward-sexp-safe): New functions.
486 (python-shell-buffer-substring):
487 Use `python-nav-forward-sexp-safe'.
489 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
491 * net/shr.el (shr-find-fill-point): Don't break lines before a
493 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
494 (shr-find-fill-point): Remove the special checks for the quotation
495 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
497 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
499 * net/eww.el (eww-form-textarea): Use a different face for
500 textareas than text input since they have different keymaps
503 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
505 * progmodes/python.el (python-nav-beginning-of-statement):
506 Speed up (Bug#15295).
508 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
510 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
511 the window configuration.
513 2013-12-24 Eli Zaretskii <eliz@gnu.org>
515 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
516 we run on MS-Windows or MS-DOS.
518 2013-12-24 Martin Rudalics <rudalics@gmx.at>
520 * window.el (balance-windows-area): Call window-size instead of
521 window-height and window-width. Bug#16241.
523 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
525 * net/eww.el (eww-bookmark-quit): Remove.
526 (eww-bookmark-browse): Restore the window configuration when you
527 choose a bookmark (bug#16144).
529 2013-12-24 Daniel Colascione <dancol@dancol.org>
531 * icomplete.el: Remove redundant :group arguments to `defcustom'
533 (icomplete-show-matches-on-no-input): New customizable variable.
534 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
535 we have something to show.
536 (icomplete-exhibit): Compute completions even if we have no user input.
538 2013-12-23 Daniel Colascione <dancol@dancol.org>
540 * icomplete.el: Move `provide' to end of file.
542 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
544 * net/gnutls.el (gnutls-verify-error): Add version tag.
546 2013-12-23 Chong Yidong <cyd@gnu.org>
548 * subr.el (set-transient-map): Rename from
549 set-temporary-overlay-map. Doc fix.
551 * face-remap.el (text-scale-adjust):
552 * indent.el (indent-rigidly):
553 * kmacro.el (kmacro-call-macro):
554 * minibuffer.el (minibuffer-force-complete):
555 * repeat.el (repeat):
556 * simple.el (universal-argument--mode):
557 * calendar/todo-mode.el (todo-insert-item--next-param):
558 * progmodes/f90.el (f90-abbrev-start): Callers changed.
560 * indent.el (indent-rigidly): Use substitute-command-keys.
562 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
564 * net/eww.el (eww-tag-select): Add text-property to jump to next
566 (eww): Add non-supported ftp error.
568 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
570 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
571 comments. Handle electric indent after typing `?' and `!'.
573 2013-12-22 Chong Yidong <cyd@gnu.org>
575 * faces.el (face-spec-recalc): If the theme specs are not
576 applicable to a frame, fall back on the defface spec.
577 This prevents themes from obliterating faces on low-color terminals.
579 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
581 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
582 after `{'. We need it after block openers, and it doesn't seem
583 to hurt after hash openers.
585 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
587 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
588 extracted from `ruby-smie-rules'.
589 (ruby--electric-indent-chars): New variable.
590 (ruby--electric-indent-p): New function.
591 (ruby-mode): Use `electric-indent-functions' instead of
592 `electric-indent-chars'.
594 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
596 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
598 (ruby-smie-rules): Indent plus one level after `=>'.
600 2013-12-21 Richard Stallman <rms@gnu.org>
602 * simple.el (newline): Doc fix.
604 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
606 * net/eww.el (eww-list-histories, eww-list-histories)
607 (eww-history-browse, eww-history-quit, eww-history-kill)
608 (eww-history-mode-map, eww-history-mode): New command and
609 functions to list browser histories.
610 (eww-form-text): Support text form with disabled
611 and readonly attributes.
612 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
614 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
616 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
617 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
618 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
619 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
621 (eww-bookmark-mode-map): Add menu.
622 (eww-render, eww-mode): Use `setq-local'.
623 (eww-tool-bar-map): New variable.
624 (eww-mode): Set `tool-bar-map'.
625 (eww-view-source): Check for `html-mode' with `fboundp'.
627 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
629 * net/shr.el (shr--extract-best-source): Don't bug out on audio
630 elements with text inside. Also remove debugging.
632 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
634 * cus-start.el (all): Add ns-use-srgb-colorspace.
636 2013-12-21 Chong Yidong <cyd@gnu.org>
638 * custom.el (custom-theme-recalc-face): Do nothing if the face is
639 undefined. Thus, theme settings for undefined faces do not take
640 effect until the faces are defined with defface, the same as with
643 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
644 (face-spec-reset-face): Don't assign extra properties in temacs.
645 (face-spec-recalc): Apply X resources too.
647 2013-12-21 Chong Yidong <cyd@gnu.org>
649 * faces.el (face-spec-set):
650 * cus-face.el (custom-theme-set-faces, custom-set-faces):
651 * custom.el (defface): Doc fixes (Bug#16203).
653 * indent.el (indent-rigidly-map): Add docstring, and move commands
654 into named functions.
655 (indent-rigidly-left, indent-rigidly-right)
656 (indent-rigidly-left-to-tab-stop)
657 (indent-rigidly-right-to-tab-stop): New functions. Decide on
658 indentation direction based on bidi direction, and accumulate
659 sequential commands in a single undo boundary.
660 (indent-rigidly--pop-undo): New utility function.
662 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
664 * faces.el (read-face-name): Require crm.el when using crm-separator.
666 2013-12-20 Daniel Colascione <dancol@dancol.org>
668 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
669 so that we don't reflow comments into the shebang line.
671 2013-12-20 Juri Linkov <juri@jurta.org>
673 * saveplace.el (save-place-to-alist): Add `dired-filename' as
674 a position when `dired-directory' is non-nil. Check integer
675 positions with `integerp'.
676 (toggle-save-place, save-places-to-alist): Add check for
678 (save-place-find-file-hook): Check integer positions with
680 (save-place-dired-hook): Use `dired-goto-file' when
681 `dired-filename' is found in the assoc list. Check integer
682 positions with `integerp'.
683 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
685 * dired.el (dired-initial-position-hook): Rename back from
686 `dired-initial-point-hook'.
687 (dired-initial-position): Rename `dired-initial-point-hook' to
688 `dired-initial-position-hook'.
689 (dired-file-name-at-point): Doc fix. (Bug#15329)
691 2013-12-20 Juri Linkov <juri@jurta.org>
693 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
694 (read-regexp-suggestions): New function.
695 (read-regexp): Use `read-regexp-defaults-function' to get default values.
696 Use `read-regexp-suggestions'. Add non-empty default to history
698 (occur-read-regexp-defaults-function): Remove function.
699 (occur-read-primary-args): Use `regexp-history-last' instead of
700 `occur-read-regexp-defaults-function'.
702 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
703 (hi-lock-line-face-buffer, hi-lock-face-buffer)
704 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
705 `hi-lock-read-regexp-defaults-function'. Doc fix.
706 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
707 with `find-tag-default-as-symbol-regexp'. Doc fix.
708 (hi-lock-read-regexp-defaults): Remove function.
709 (hi-lock-regexp-okay): Add check for null.
711 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
712 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
714 * subr.el (find-tag-default-as-symbol-regexp): New function.
715 (find-tag-default-as-regexp): Move symbol regexp formatting to
716 `find-tag-default-as-symbol-regexp'.
718 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
720 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
723 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
725 * calendar/todo-mode.el: New implementation of item insertion
726 commands and key bindings.
727 (todo-key-prompt): New face.
728 (todo-insert-item): New command.
729 (todo-insert-item--parameters): New defconst, replacing defvar
730 todo-insertion-commands-args-genlist.
731 (todo-insert-item--param-key-alist): New defconst, replacing
732 defvar todo-insertion-commands-arg-key-list.
733 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
734 (todo-insert-item--argsleft, todo-insert-item--apply-args)
735 (todo-insert-item--next-param): New functions.
736 (todo-insert-item--args, todo-insert-item--argleft)
737 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
739 (todo-key-bindings-t): Change binding of "i" from
740 todo-insertion-map to todo-insert-item.
741 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
742 (todo-insertion-command-name, todo-insertion-commands-names)
743 (todo-define-insertion-command, todo-insertion-commands)
744 (todo-insertion-key-bindings, todo-insertion-map): Remove.
746 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
748 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
749 (todo-toggle-item-highlighting): Use eval-and-compile instead of
751 (todo-move-category): Allow choosing a non-existing todo file to
752 move the category to, and create that file.
753 (todo-default-priority): New user option.
754 (todo-set-item-priority): Use it.
755 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
756 (desktop-restore-file-buffer): Declare.
757 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
758 (todo-modes-set-2): Locally set desktop-save-buffer to
759 todo-desktop-save-buffer.
760 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
761 (auto-mode-alist): Add autoload cookie.
763 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
765 * emacs-lisp/subr-x.el: Renamed from helpers.el.
766 helpers.el was a poor choice of name.
767 (string-remove-prefix): New function.
768 (string-remove-suffix): New function.
770 2013-12-20 Martin Rudalics <rudalics@gmx.at>
772 Fix assignment for new window total sizes.
773 * window.el (window--pixel-to-size): Remove function.
774 (window--pixel-to-total-1, window--pixel-to-total):
775 Fix calculation of new total sizes.
777 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
779 * comint.el (comint-output-filter): Fix rear-nonsticky property
780 placement (Bug#16010).
782 2013-12-20 Chong Yidong <cyd@gnu.org>
784 * faces.el (read-color): Minor fix for completion function.
786 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
788 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
789 New option. (Bug#16182)
790 (ruby-smie--indent-to-stmt-p): Use it.
791 (ruby-smie-rules): Revert the logic in the handling of `when'.
792 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
793 (ruby-deep-arglist, ruby-deep-indent-paren)
794 (ruby-deep-indent-paren-style): Update docstrings to note that the
795 vars don't have any effect with SMIE.
797 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
799 * calc/calc.el (calc-enter, calc-pop): Use the variable
800 `calc-context-sensitive-enter'.
802 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
804 * net/shr.el (shr-insert): Protect against infloops in degenerate
807 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
809 * progmodes/octave.el (octave): Add link to manual and octave
811 (octave-mode-menu): Link to octave-mode manual.
813 2013-12-20 Leo Liu <sdl.web@gmail.com>
815 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
816 insertion using skeleton-end-newline. (Bug#16138)
818 2013-12-20 Juri Linkov <juri@jurta.org>
820 * replace.el (occur-engine): Use `add-face-text-property'
821 to add the face property to matches and titles. (Bug#14645)
823 * hi-lock.el (hi-green): Use lighter color "light green" closer to
824 the palette of other hi-lock colors.
825 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
827 2013-12-19 Juri Linkov <juri@jurta.org>
829 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
830 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
831 (minibuffer-history-symbol): Move variable declaration closer to
834 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
837 2013-12-19 Juri Linkov <juri@jurta.org>
839 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
841 (log-edit-hook): Add it to :options. (Bug#16170)
843 2013-12-19 Juri Linkov <juri@jurta.org>
845 * simple.el (eval-expression-print-format): Don't check for
846 command names and the last command. Always display additional
847 formats of the integer result in the echo area, and insert them
848 to the current buffer only with a zero prefix arg.
849 Display character when char-displayable-p is non-nil.
850 (eval-expression): With a zero prefix arg, set `print-length' and
851 `print-level' to nil, and insert the integer values from
852 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
854 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
855 `eval-last-sexp-arg-internal'. Doc fix.
856 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
857 `eval-last-sexp-print-value'. Doc fix.
858 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
859 Set `print-length' and `print-level' to nil when arg is zero.
860 (eval-last-sexp): Doc fix.
861 (eval-defun-2): Print the integer values from
862 `eval-expression-print-format' at the end.
864 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
865 values from `eval-expression-print-format' at the end.
867 * ielm.el (ielm-eval-input): Print the integer
868 values from `eval-expression-print-format' at the end.
870 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
872 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
873 2013-12-11T19:01:44Z!tzz@lifelogs.com.
875 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
877 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
878 (hl-line-highlight, global-hl-line-highlight): Use it.
879 (hl-line-overlay): Use defvar-local.
881 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
883 * term/ns-win.el: Require dnd.
884 (global-map): Remove drag items.
885 (ns-insert-text, ns-set-foreground-at-mouse)
886 (ns-set-background-at-mouse):
887 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
888 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
891 2013-12-19 Glenn Morris <rgm@gnu.org>
893 * emacs-lisp/ert.el (ert-select-tests):
894 Fix string/symbol mixup. (Bug#16121)
896 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
898 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
899 keywords to their parent.
901 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
903 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
904 first arg to be a string (fixed dead code), or an operator symbol.
905 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
907 (ruby-smie-rules): Remove parent token check in the `.' clause, it
908 did nothing. Don't respond to `(:after ".")', it will be called
909 with :before anyway. Remove the ` @ ' rule, it didn't seem to
910 change anything. Only return indentation for binary operators
911 when they are hanging. De-dent opening paren when its parent is
912 `.', otherwise it looks bad when the dot is not at bol or eol
915 2013-12-19 Juri Linkov <juri@jurta.org>
917 * replace.el (query-replace-read-args): Split a non-negative arg
918 and a negative arg into separate elements.
919 (query-replace, query-replace-regexp, replace-string)
920 (replace-regexp): Add arg `backward'. Doc fix.
921 (replace-match-maybe-edit): When new arg `backward' is non-nil,
922 move point to the beginning of the match.
923 (replace-search, replace-highlight): Use new arg `backward'
924 to set the value of `isearch-forward'.
925 (perform-replace): Add arg `backward' and use it to perform
926 replacement backward. (Bug#14979)
928 * isearch.el (isearch-query-replace): Use a negative prefix arg
929 to call `perform-replace' with a non-nil arg `backward'.
931 2013-12-18 Juri Linkov <juri@jurta.org>
933 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
934 to the default list. Move `log-edit-show-files' to the end.
935 Add more available functions to options.
936 (log-edit): Move default specific settings to
937 `log-edit-insert-message-template'. Don't move point.
938 (log-edit-insert-message-template): New function.
939 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
942 2013-12-18 Juri Linkov <juri@jurta.org>
944 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
945 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
947 2013-12-18 Leo Liu <sdl.web@gmail.com>
949 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
952 2013-12-18 Eli Zaretskii <eliz@gnu.org>
954 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
955 formats for displaying file sizes when the -s switch is given.
956 Instead, compute a separate format for displaying the size in
957 blocks, which is displayed in addition to the "regular" size.
958 When -h is given in addition to -s, produce size in blocks in
959 human-readable form as well. (Bug#16179)
961 2013-12-18 Tassilo Horn <tsdh@gnu.org>
963 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
964 Reference tables with ~\ref{...} instead of only \ref{...}.
966 2013-12-18 Chong Yidong <cyd@gnu.org>
968 * cus-edit.el (custom-magic-alist): Fix "themed" description
971 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
972 is non-nil, do not create a new entry in the symbol's theme-value
973 or theme-face property; update theme-settings only (Bug#14664).
974 (custom-available-themes): Doc fix.
976 * cus-theme.el (custom-new-theme-mode-map): Add bindings
979 * replace.el (occur-engine): Avoid infloop (Bug#7593).
981 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
983 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
986 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
988 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
990 2013-12-18 Glenn Morris <rgm@gnu.org>
992 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
993 * cus-start.el (load-prefer-newer): New option.
995 2013-12-18 Le Wang <l26wang@gmail.com>
997 * comint.el (comint-previous-matching-input-from-input):
998 Retain point (Bug#13404).
1000 2013-12-18 Chong Yidong <cyd@gnu.org>
1002 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1004 2013-12-18 Glenn Morris <rgm@gnu.org>
1006 * mail/emacsbug.el (report-emacs-bug):
1007 Only mention enable-multibyte-characters if non-standard.
1009 2013-12-17 Juri Linkov <juri@jurta.org>
1011 * arc-mode.el (archive-extract-by-file): Check if directory exists
1012 before deletion to not show irrelevant errors if it doesn't exist.
1014 2013-12-17 Juri Linkov <juri@jurta.org>
1016 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1019 * net/eww.el (browse-web): Add alias to `eww'.
1020 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1021 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1023 * net/browse-url.el (browse-url-browser-function): Move `eww'
1024 closer to similar functions.
1026 * startup.el (fancy-startup-screen, fancy-about-screen):
1027 Set browse-url-browser-function to eww-browse-url locally.
1030 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1032 * window.el (window--pixel-to-total): Remove unused `mini' var.
1033 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1034 (split-window): Remove unused `new' var.
1035 (window--display-buffer): Remove unused `frame' and `delta' vars.
1036 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1039 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1041 * dired.el (dired-mark-pop-up):
1042 * register.el (register-preview): Don't bind
1043 split-height-threshold here since it's now done in
1044 display-buffer-below-selected.
1046 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1048 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1049 xterm-rgb-convert-to-16bit.
1050 (rxvt-register-default-colors): Standardize with
1051 xterm-register-default-colors (Bug#14078).
1053 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1055 * simple.el (kill-region): Pass mark first, then point, so that
1056 kill-append works right (Bug#12819).
1057 (copy-region-as-kill, kill-ring-save): Likewise.
1059 2013-12-17 Leo Liu <sdl.web@gmail.com>
1061 * net/rcirc.el (rcirc-add-face):
1062 * eshell/em-prompt.el (eshell-emit-prompt):
1063 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1066 2013-12-17 Chong Yidong <cyd@gnu.org>
1068 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1069 Suggested by Xue Fuqiao.
1071 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1073 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1075 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1077 * net/shr.el (shr-insert-document): Remove unused var
1078 `shr-preliminary-table-render'.
1079 (shr-rescale-image): Remove unused arg `force'.
1080 (shr-put-image): Update calls accordingly.
1081 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1083 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1085 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1086 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1087 :close-all, to see which indentation method to use (Bug#16116).
1088 (smie-rules-function): Document the method :close-all.
1090 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1092 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1094 * net/eww.el (eww-display-html): If we can't find the anchor we're
1095 looking for, then go to point-min.
1097 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1099 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1100 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1101 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1102 Expand dir too, in case it's relative.
1104 2013-12-16 Juri Linkov <juri@jurta.org>
1106 * desktop.el (desktop-auto-save-timeout): Change default to
1107 `auto-save-timeout'. Doc fix.
1108 (desktop-save): Skip the timestamp in desktop-saved-frameset
1109 when checking for auto-save changes.
1110 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1111 `desktop-auto-save' is called repeatedly by the idle timer.
1112 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1113 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1116 2013-12-16 Juri Linkov <juri@jurta.org>
1118 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1120 (isearch-pre-command-hook): Check `this-command' for symbolp.
1122 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1124 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1126 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1128 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1129 (cfengine3--current-function): Bring in the current-function
1130 functionality from `cfengine3--current-word'.
1131 (cfengine3-completion-function): Bring in the
1132 bounds-of-current-word functionality from
1133 `cfengine3--current-word'.
1135 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1137 * window.el (display-buffer-below-selected):
1138 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1140 2013-12-16 Leo Liu <sdl.web@gmail.com>
1142 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1143 Remove NOMSG arg and all uses changed.
1145 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1147 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1148 (cua--deactivate-rectangle): Don't deactivate the mark.
1149 (cua-set-rectangle-mark): Don't set mark-active since
1150 cua--activate-rectangle already does it for us.
1151 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1152 non-rectangular region.
1154 * emulation/cua-base.el (cua-repeat-replace-region):
1155 Use with-current-buffer.
1157 * net/gnutls.el: Use cl-lib.
1158 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1160 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1162 * emacs-lisp/package.el (package-built-in-p): Support both
1163 built-in and the package.el converted package descriptions.
1164 (package-show-package-list): Allow keywords.
1165 (package-keyword-button-action): Use it instead of
1166 `finder-list-matches'.
1167 (package-menu-filter-interactive): Interactive filtering (by
1169 (package-menu--generate): Support keywords and change keymappings
1170 and headers when they are given.
1171 (package--has-keyword-p): Helper function.
1172 (package-menu--refresh): Use it.
1173 (package--mapc): Helper function.
1174 (package-all-keywords): Use it.
1175 (package-menu-mode-map): Set up menu items and keybindings to
1176 provide a filtering UI.
1178 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1180 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1181 the behavior when a certificate fails validation. Defaults to
1182 old behavior: never abort, just warn.
1183 (gnutls-negotiate): Use it.
1185 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1187 * window.el (display-buffer-below-selected): Never split window
1188 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1190 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1192 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1193 (package-buffer-info): Use it (bug#15108).
1195 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1197 * icomplete.el (icomplete-completions): Make sure the prefix is already
1198 displayed elsewhere before hiding it (bug#16219).
1200 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1202 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1203 open-paren tokens when preceded by a open-paren, too.
1204 (ruby-smie-rules): Handle virtual indentation after open-paren
1205 tokens specially. If there is code between it and eol, return the
1206 column where is starts (Bug#16118).
1208 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1210 * progmodes/cfengine.el: Fix `add-hook' doc.
1211 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1212 (cfengine3--current-word): Fix parameters.
1213 (cfengine3-make-syntax-cache): Simplify further.
1214 (cfengine3-completion-function, cfengine3--current-function):
1215 Use `assq' for symbols.
1216 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1218 2013-12-13 Glenn Morris <rgm@gnu.org>
1220 * loadup.el (load-path): Warn if site-load or site-init changes it.
1221 No more need to reset it when bootstrapping.
1223 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1225 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1226 locations for cf-promises.
1227 (cfengine-mode-syntax-functions-regex): New caching variable.
1228 (cfengine3-fallback-syntax): Fallback syntax for cases where
1229 cf-promises doesn't run.
1230 (cfengine3--current-word): Reimplement using
1231 `cfengine-mode-syntax-functions-regex'.
1232 (cfengine3-completion-function, cfengine3--current-function):
1233 Use `cfengine3-make-syntax-cache' directly.
1234 (cfengine3-clear-syntax-cache): New function.
1235 (cfengine3-make-syntax-cache): Simplify and create
1236 `cfengine-mode-syntax-functions-regex' on demand.
1237 (cfengine3-format-function-docstring): Don't call
1238 `cfengine3-make-syntax-cache' explicitly.
1240 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1242 Fix windmove-find-other-window broken after pixelwise resizing
1244 * windmove.el (windmove-other-window-loc): Revert change from
1246 (windmove-find-other-window): Call window-in-direction.
1247 * window.el (window-in-direction): New arguments SIGN, WRAP and
1248 MINI to emulate original windmove-find-other-window behavior.
1250 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1252 * simple.el (blink-matching--overlay): New variable.
1253 (blink-matching-open): Instead of moving point, highlight the
1254 matching paren with an overlay
1255 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1257 * faces.el (paren-showing-faces, show-paren-match)
1258 (show-paren-mismatch): Move from paren.el.
1260 2013-12-13 Leo Liu <sdl.web@gmail.com>
1262 * indent.el (indent-region): Disable progress reporter in
1263 minibuffer. (Bug#16108)
1265 * bindings.el (visual-order-cursor-movement): Fix version.
1267 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1269 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1270 Also match after beginning of line.
1271 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1272 files. Thanks to Russell Sim. (Bug#15378)
1274 2013-12-13 Juri Linkov <juri@jurta.org>
1276 * simple.el <Keypad support>: Remove key bindings duplicated
1277 with bindings.el. (Bug#14397)
1279 2013-12-13 Juri Linkov <juri@jurta.org>
1281 * comint.el (comint-mode-map): Replace `delete-char' with
1282 `delete-forward-char'. (Bug#16109)
1284 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1286 * progmodes/python.el (python-indent-calculate-indentation):
1287 Fix de-denters cornercase. (Bug#15731)
1289 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1291 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1292 (advice--make): Pay attention to `depth'.
1293 (advice--make-1): Don't autoload commands eagerly.
1294 * emacs-lisp/elp.el (elp-instrument-function):
1295 * emacs-lisp/trace.el (trace-function-internal):
1296 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1298 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1300 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1302 * term/w32-win.el (w32-handle-dropped-file):
1303 * startup.el (normal-top-level):
1304 * net/browse-url.el (browse-url-file-url):
1305 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1306 decode file names using 'utf-8' rather than
1307 file-name-coding-system.
1309 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1311 * progmodes/python.el (python-indent-context)
1312 (python-indent-calculate-indentation): Fix auto-identation
1313 behavior for comment blocks. (Bug#15916)
1315 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1317 * progmodes/python.el (python-indent-calculate-indentation):
1318 When determining indentation, don't treat "return", "pass", etc., as
1319 operators when they are just string constituents. (Bug#15812)
1321 2013-12-12 Juri Linkov <juri@jurta.org>
1323 * uniquify.el (uniquify-buffer-name-style): Change default to
1324 `post-forward-angle-brackets'.
1326 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1327 `uniquify'. Change default to `post-forward-angle-brackets'.
1329 2013-12-11 Glenn Morris <rgm@gnu.org>
1331 * emacs-lisp/package.el (finder-list-matches):
1332 Autoload rather than falsely declaring.
1334 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1336 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1337 (eww-mode-map): Use them.
1339 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1341 * window.el (display-buffer-in-side-window): Fix doc-string
1344 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1346 * vc/vc-git.el: Silence byte-compiler warnings.
1347 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1348 (log-edit-set-header): Declare.
1350 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1352 * Makefile.in (custom-deps, finder-data): Run output file names
1353 through unmsys--file-name. (Bug#16099)
1355 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1357 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1358 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1360 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1361 instead of deleting the selection "by hand" (bug#16098).
1362 Rely on insert-for-yank to yank rectangles.
1363 (cua-highlight-region-shift-only): Mark obsolete.
1364 (cua-mode): Don't enable/disable transient-mark-mode,
1365 shift-select-mode (cua-mode works both with and without them), and
1366 pc-selection-mode (obsolete).
1367 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1368 (cua--deactivate-rectangle): Deactivate it.
1370 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1371 (delete-selection-helper): Make sure yank starts at the top of the
1373 (minibuffer-keyboard-quit): Use region-active-p.
1375 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1377 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1378 to `delete' (bug#16109).
1380 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1382 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1383 info manual and show keybindings and set `:group' keyword.
1385 2013-12-11 Juri Linkov <juri@jurta.org>
1387 * delsel.el (delete-active-region): Let-bind `this-command'
1388 to prevent `kill-region' from changing its original value.
1389 (delete-selection-helper): Handle `overwrite-mode' for the type
1390 `kill' exactly the same way as for the type `t'.
1391 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1392 Support more commands. (Bug#13312)
1394 2013-12-11 Juri Linkov <juri@jurta.org>
1396 * bindings.el: Map kp keys to non-kp keys systematically
1397 with basic modifiers control, meta and shift. (Bug#14397)
1399 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1401 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1402 "Close browser" menu items. Fix wrong function of "List
1405 2013-12-11 Juri Linkov <juri@jurta.org>
1407 * misearch.el (multi-isearch-buffers): Set the value of
1408 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1409 arg of isearch-forward to t.
1410 (multi-isearch-buffers-regexp): Set the value of
1411 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1412 arg of isearch-forward-regexp to t.
1413 (multi-isearch-files): Set the value of
1414 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1415 arg of isearch-forward to t.
1416 (multi-isearch-files-regexp): Set the value of
1417 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1418 arg of isearch-forward-regexp to t. (Bug#16035)
1420 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1421 arg of isearch-forward to t.
1422 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1423 arg of isearch-forward-regexp to t.
1424 (dired-isearch-filter-filenames): Remove unnecessary check for
1425 `dired-isearch-filenames'.
1427 * comint.el (comint-history-isearch-backward):
1428 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1429 (comint-history-isearch-backward-regexp):
1430 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1432 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1434 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1435 unmsys--file-name. (Bug#16099)
1437 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1439 * emacs-lisp/package.el (package-keyword-button-action):
1440 Remove finder.el require dependency.
1442 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1444 * emacs-lisp/package.el: Require finder.el.
1445 (describe-package-1): Add keyword buttons.
1446 (package-make-button): New convenience function.
1447 (package-keyword-button-action): Keyword button action using
1448 `finder-list-matches'.
1450 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1452 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1455 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1457 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1460 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1462 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1463 after the end of a percent literal.
1465 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1467 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1468 Handle caret-delimited strings (Bug#16079).
1470 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1472 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1473 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1474 `ruby-parse-partial' (Bug#16078).
1476 2013-12-09 Leo Liu <sdl.web@gmail.com>
1478 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1480 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1482 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1483 (js-switch-indent-offset): New option.
1484 (js--proper-indentation): Use it. And handle the case when
1485 "default" is actually a key in an object literal.
1486 (js--same-line): New function.
1487 (js--multi-line-declaration-indentation): Use it.
1488 (js--indent-in-array-comp, js--array-comp-indentation):
1490 (js--proper-indentation): Use them, to handle array comprehension
1493 2013-12-08 Leo Liu <sdl.web@gmail.com>
1495 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1496 (flymake-make-overlay): Remove arg MOUSE-FACE.
1497 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1499 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1501 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1503 (redisplay-highlight-region-function): Use it.
1505 * emulation/cua-base.el (cua--explicit-region-start)
1506 (cua--last-region-shifted): Remove.
1507 (cua--deactivate): Use deactivate-mark.
1508 (cua--pre-command-handler-1): Don't handle shift-selection.
1509 (cua--post-command-handler-1): Don't change transient-mark-mode.
1510 (cua--select-keymaps): Use region-active-p rather than
1511 cua--explicit-region-start or cua--last-region-shifted.
1512 (cua-mode): Enable shift-select-mode.
1514 2013-12-08 Leo Liu <sdl.web@gmail.com>
1516 * progmodes/flymake.el (flymake-popup-current-error-menu):
1517 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1518 (flymake-posn-at-point-as-event, flymake-popup-menu)
1519 (flymake-make-emacs-menu): Remove. (Bug#16077)
1521 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1523 * rect.el (rectangle-mark-mode): Activate mark even if
1524 transient-mark-mode is off (bug#16066).
1525 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1526 is > mark and at bolp.
1528 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1529 (region-extract-function): Use it.
1530 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1531 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1533 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1534 kill-ring-save, kill-region, delete-char, delete-forward-char.
1535 Ignore self-insert-iso.
1537 * emulation/cua-gmrk.el (cua--init-global-mark):
1538 Ignore `self-insert-iso'.
1540 * emulation/cua-base.el (cua--prefix-copy-handler)
1541 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1542 checking cua--rectangle.
1543 (cua-delete-region): Use region-extract-function.
1544 (cua-replace-region): Delete function.
1545 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1546 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1547 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1548 (cua--init-keymaps): Don't remap delete-selection commands.
1549 (cua-mode): Use delete-selection-mode instead of rolling our own
1552 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1553 Obey region-extract-function.
1555 Make registers and delete-selection-mode work on rectangles.
1556 * register.el (describe-register-1): Don't modify the register's value.
1557 (copy-to-register): Obey region-extract-function.
1558 * delsel.el (delete-active-region): Obey region-extract-function.
1560 2013-12-08 Leo Liu <sdl.web@gmail.com>
1562 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1563 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1564 (flymake-compilation-prevents-syntax-check)
1565 (flymake-start-syntax-check-on-newline)
1566 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1567 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1568 (flymake-xml-program, flymake-master-file-dirs)
1569 (flymake-master-file-count-limit)
1570 (flymake-allowed-file-name-masks): Relocate.
1571 (flymake-makehash, flymake-float-time)
1572 (flymake-replace-regexp-in-string, flymake-split-string)
1573 (flymake-get-temp-dir): Remove.
1574 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1575 (flymake-current-row, flymake-selected-frame)
1576 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1577 related functions. (Bug#16077)
1579 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1581 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1583 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1585 * help-fns.el (describe-function-1): Use new advice-* functions
1586 rather than old ad-* functions. Fix function type description and
1587 source links for advised functions and subrs.
1589 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1591 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1593 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1595 * progmodes/compile.el (compilation-start):
1596 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1598 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1599 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1601 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1603 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1604 Touch up the last change.
1606 2013-12-06 Leo Liu <sdl.web@gmail.com>
1608 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1609 (inferior-octave-startup): Always use "octave> " for prompt.
1610 (octave-goto-function-definition)
1611 (octave-sync-function-file-names)
1612 (octave-find-definition-default-filename): Remove redundant backquotes.
1614 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1616 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1618 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1619 where appropriate already.
1620 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1621 end of method names (Bug#15874).
1623 2013-12-06 Juri Linkov <juri@jurta.org>
1625 * isearch.el (isearch--saved-overriding-local-map):
1626 New internal variable.
1627 (isearch-mode): Set it to the initial value of
1628 `overriding-terminal-local-map'.
1629 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1630 with `isearch--saved-overriding-local-map'. (Bug#16035)
1632 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1634 * progmodes/octave.el (inferior-octave-completion-table):
1635 Turn back into function, use `completion-table-with-cache'
1636 (Bug#11906). Update all references.
1638 * minibuffer.el (completion-table-with-cache): New function.
1640 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1642 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1644 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1646 * net/eww.el (eww-current-source): New variable to store page
1648 (eww-display-html, eww-mode, eww-save-history)
1649 (eww-restore-history): Use it.
1650 (eww-view-source): New command to view page source.
1651 Opportunistically uses `html-mode' to highlight the buffer.
1652 (eww-mode-map): Install it.
1654 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1656 * net/dbus.el (dbus-unregister-service)
1657 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1659 (dbus-unregister-service): Skip :serial entries in
1660 `dbus-registered-objects-table'.
1661 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1663 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1665 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1666 around keywords with extra `split-string' argument.
1668 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1670 * windmove.el (windmove-other-window-loc): Handle navigation
1671 between windows (excluding the minibuffer window - Bug#16017).
1673 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1675 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1676 in D-Bus type syntax.
1677 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1678 preserve unibyte strings. (Bug#16048)
1680 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1682 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1683 Call force-mode-line-update is the proper buffer (bug#16042).
1685 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1687 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1688 `log-edit-remember-comment', make argument optional. Adjust all
1690 (log-edit-mode): Add `log-edit-remember-comment' to
1691 `kill-buffer-hook' locally.
1692 (log-edit-kill-buffer): Don't remember comment explicitly since
1693 the buffer is killed anyway.
1695 2013-12-04 Juri Linkov <juri@jurta.org>
1697 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1698 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1700 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1702 * notifications.el (notifications-close-notification): Call the
1703 D-Bus method with ID being a `:uint32'. (Bug#16030)
1705 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1707 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1709 2013-12-03 Juri Linkov <juri@jurta.org>
1711 * progmodes/compile.el (compilation-start): Rename window alist
1712 entry `no-display-ok' to `allow-no-window'.
1714 * simple.el (shell-command): Add window alist entry
1715 `allow-no-window' to `display-buffer'.
1716 (async-shell-command): Doc fix.
1718 * window.el (display-buffer-no-window): New action function.
1719 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1721 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1723 * vc/log-edit.el (log-edit-set-header): Extract from
1724 `log-edit-toggle-header'.
1725 (log-edit-extract-headers): Separate the summary, when extracted
1726 from header, from the rest of the message with an empty line.
1728 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1729 line, if present, to the Summary header.
1731 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1733 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1734 in current-buffer (bug#16029).
1736 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1738 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1739 (debugger-mode-map): Bind it.
1740 (debugger--backtrace-base): New function.
1741 (debugger-eval-expression): Use it.
1742 (debugger-frame-number): Skip local vars when present.
1743 (debugger--locals-visible-p, debugger--insert-locals)
1744 (debugger--show-locals, debugger--hide-locals): New functions.
1746 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1748 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1750 (tramp-get-remote-locale): New defun.
1751 (tramp-open-connection-setup-interactive-shell): Use it.
1753 2013-12-02 Leo Liu <sdl.web@gmail.com>
1755 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1757 * progmodes/sh-script.el (sh-shell-process):
1758 * progmodes/octave.el (inferior-octave-process-live-p):
1759 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1760 (gdb-inferior-io-sentinel):
1761 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1763 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1765 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1766 `save-selected-window' to `log-edit-hide-buf'. This makes
1767 `log-edit-show-files' idempotent.
1768 (log-edit-show-files): Mark the new window as dedicated.
1770 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1772 * vc/log-edit.el (log-edit-mode-map): Add binding for
1773 `log-edit-kill-biffer'.
1774 (log-edit-hide-buf): Add a FIXME comment.
1775 (log-edit-add-new-comment): New function, extracted from
1777 (log-edit-done, log-edit-add-to-changelog): Use it.
1778 (log-edit-kill-buffer): New command.
1780 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1782 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1783 instead of killing the buffer.
1785 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1787 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1789 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1791 * net/eww.el (eww-form-checkbox-selected-symbol)
1792 (eww-form-checkbox-symbol): New customizable variable.
1793 (eww-form-checkbox, eww-toggle-checkbox):
1794 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1796 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1797 (shr--get-media-pref, shr--extract-best-source): New function.
1798 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1799 no :src tag was specified.
1801 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1802 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1803 Use \\` to match beginning of string instead of ^.
1804 (eww-browse-with-external-browser): Provide optional URL parameter.
1805 (eww-render): Set `eww-current-title' back to "".
1807 * net/shr.el (shr-tag-video): Display content for video if no
1808 poster is available.
1809 (shr-tag-audio): Add support for <audio> tag.
1811 * net/eww.el (eww-text-input-types): New const.
1812 (eww-process-text-input): Treat input types in
1813 `eww-text-input-types' as text.
1815 * net/shr.el (shr-tag-table): Fix comment typo.
1817 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1819 * net/eww.el (eww-follow-link): New command to avoid reloading
1820 pages when we follow #target links (bug#15243).
1821 (eww-quit): Special mode buffers shouldn't query before exiting.
1823 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1825 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1828 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1830 * net/eww.el (eww-restore-history): Update the window title after
1831 moving in the history.
1832 (eww-current-dom): New variable used to save the current DOM.
1834 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1836 * vc/log-edit.el (log-edit-mode-map): Add binding for
1837 `log-edit-beginning-of-line'.
1838 (log-edit-setup-add-author): New user option.
1839 (log-edit-beginning-of-line): New command.
1840 (log-edit): Move major mode call above the contents setup so that
1841 the local variable values are already applied.
1842 (log-edit): Only insert "Author: " when
1843 `log-edit-setup-add-author' is non-nil.
1844 (log-edit): When SETUP is non-nil, position point after ": "
1845 instead of point-min.
1847 2013-12-01 Glenn Morris <rgm@gnu.org>
1849 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1851 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1853 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1854 redisplay to make sure the initial frame gets a chance to become
1855 visible. (Bug#16014)
1857 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1859 Support resizing frames and windows pixelwise.
1860 * cus-start.el (frame-resize-pixelwise)
1861 (window-resize-pixelwise): New entries.
1862 * emacs-lisp/debug.el (debug): Use window-total-height instead
1863 of window-total-size.
1864 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1865 * help.el (describe-bindings-internal): Call help-buffer
1866 (temp-buffer-max-width): New option.
1867 (resize-temp-buffer-window, help-window-setup)
1868 (with-help-window): Rewrite.
1869 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1871 * window.el (frame-char-size, window-min-pixel-height)
1872 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1873 (window-min-pixel-width, window-safe-min-pixel-size)
1874 (window-combination-p, window-safe-min-size)
1875 (window-resizable-p, window--size-to-pixel)
1876 (window--pixel-to-size, window--resize-apply-p): New functions.
1877 (window-safe-min-height): Fix doc-string.
1878 (window-size, window-min-size, window--min-size-1)
1879 (window-sizable, window-sizable-p, window--min-delta-1)
1880 (window-min-delta, window--max-delta-1, window-max-delta)
1881 (window--resizable, window--resizable-p, window-resizable)
1882 (window-full-height-p, window-full-width-p, window-at-side-p)
1883 (window--in-direction-2, window-in-direction)
1884 (window--resize-reset-1, window--resize-mini-window)
1885 (window-resize, window-resize-no-error)
1886 (window--resize-child-windows-normal)
1887 (window--resize-child-windows, window--resize-siblings)
1888 (window--resize-this-window, window--resize-root-window)
1889 (window--resize-root-window-vertically)
1890 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1891 (maximize-window, minimize-window, delete-window)
1892 (quit-restore-window, window-split-min-size, split-window)
1893 (balance-windows-2, balance-windows)
1894 (balance-windows-area-adjust, balance-windows-area)
1895 (window--state-get-1, window-state-get, window--state-put-1)
1896 (window--state-put-2, window-state-put)
1897 (display-buffer-record-window, window--display-buffer):
1898 Make functions handle pixelwise sizing of windows.
1899 (display-buffer--action-function-custom-type)
1900 (display-buffer-fallback-action):
1901 Add display-buffer-in-previous-window.
1902 (display-buffer-use-some-window): Resize window to height it had
1904 (fit-window-to-buffer-horizontally): New option.
1905 (fit-frame-to-buffer): Describe new values.
1906 (fit-frame-to-buffer-bottom-margin): Replace with
1907 fit-frame-to-buffer-margins.
1908 (window--sanitize-margin): New function.
1909 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1910 using window-text-pixel-size.
1912 2013-11-30 Glenn Morris <rgm@gnu.org>
1914 * emacs-lisp/bytecomp.el (byte-compile-form):
1915 Make the `interactive-only' warning like the `obsolete' one.
1916 * comint.el (comint-run):
1917 * files.el (insert-file-literally, insert-file):
1918 * replace.el (replace-string, replace-regexp):
1919 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1920 (goto-line, insert-buffer, next-line, previous-line):
1921 Tweak `interactive-only' spec.
1923 Stop keeping (most) generated cedet grammar files in the repository.
1924 * Makefile.in (semantic): New.
1925 (compile-main): Depend on semantic.
1927 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1929 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1930 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1932 * uniquify.el (uniquify-buffer-name-style): Change default.
1934 * loadup.el: Preload "uniquify".
1936 * time.el (display-time-update): Update all mode lines (bug#15999).
1938 * electric.el (electric-indent-mode): Enable by default.
1939 * loadup.el: Preload "electric".
1941 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1943 * emacs-lisp/helpers.el (string-empty-p): New function.
1944 (string-blank-p): New function.
1946 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1948 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1951 2013-11-29 Andreas Politz <politza@fh-trier.de>
1952 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1953 allow non-lambda lists as functions.
1954 (imenu--in-alist): Don't recurse into non-subalists.
1955 (imenu): Don't pass function itself as an argument (Bug#14029).
1957 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1959 * progmodes/python.el (python-mode-map): Remove binding for ":".
1960 (python-indent-electric-colon): Remove command.
1961 (python-indent-post-self-insert-function): Integrate the previous code
1962 of python-indent-electric-colon. Make it conditional on
1963 electric-indent-mode.
1964 (python-mode): Add ?: to electric-indent-chars.
1965 Move python-indent-post-self-insert-function to the end of
1966 post-self-insert-hook.
1968 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1970 * doc-view.el (doc-view-goto-page): Update mode-line.
1972 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1974 2013-11-27 Glenn Morris <rgm@gnu.org>
1976 * international/charprop.el, international/uni-bidi.el:
1977 * international/uni-category.el, international/uni-combining.el:
1978 * international/uni-comment.el, international/uni-decimal.el:
1979 * international/uni-decomposition.el, international/uni-digit.el:
1980 * international/uni-lowercase.el, international/uni-mirrored.el:
1981 * international/uni-name.el, international/uni-numeric.el:
1982 * international/uni-old-name.el, international/uni-titlecase.el:
1983 * international/uni-uppercase.el:
1984 Remove generated files from VCS repository.
1986 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1988 * filenotify.el (file-notify-add-watch): Don't special-case
1989 w32notify when computing the directory to watch.
1991 2013-11-27 Glenn Morris <rgm@gnu.org>
1993 Make bootstrap without generated uni-*.el files possible again.
1994 * loadup.el: Update command-line-args checking for unidata-gen.
1995 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1996 * composite.el, international/characters.el:
1997 Handle unicode tables being undefined.
1999 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2000 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2001 (compile-main): Depend on leim rule.
2003 * loadup.el: Move leim-list.el to leim/ subdirectory.
2004 * startup.el (normal-top-level): No more leim directory.
2005 * international/ja-dic-cnv.el (skkdic-convert):
2006 Disable version-control and autoloads in output files.
2007 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2008 Disable version-control and autoloads in output files.
2009 * leim/quail: Move here from ../leim.
2010 * leim/quail/hangul.el (hangul-input-method-activate):
2011 Add autoload cookie.
2012 (generated-autoload-load-name): Set file-local value.
2013 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2014 (generated-autoload-load-name): Set file-local value.
2016 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2018 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2019 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2020 (eww-quit): Ask confirmation before quitting eww.
2022 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2024 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2025 reading output from Diff on MS-Windows and MS-DOS.
2027 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2029 * emacs-lisp/helpers.el (string-reverse): New function.
2031 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2033 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2034 names on MS Windows, like "/[::1]:".
2036 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2039 2013-11-26 Glenn Morris <rgm@gnu.org>
2041 * progmodes/python.el (python-indent-guess-indent-offset):
2042 Avoid corner-case error. (Bug#15975)
2044 Preload leim-list.el. (Bug#4789)
2045 * loadup.el: Load leim-list.el when found.
2046 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2048 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2050 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2052 * emacs-lisp/helpers.el (string-join): New function.
2054 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2056 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2057 Mark as obsolete and replace it with a symbol property.
2058 (byte-compile-form): Use new 'interactive-only property.
2059 * comint.el, files.el, replace.el, simple.el:
2060 Apply new 'interactive-only properly.
2062 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2064 * window.el (display-buffer-at-bottom): Make sure that
2065 split-window-sensibly creates the new window on bottom
2068 2013-11-23 David Kastrup <dak@gnu.org>
2070 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2071 on the conflict markers when available.
2072 (smerge--get-marker): New function.
2073 (smerge-end-re, smerge-base-re): Add subgroup.
2075 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2077 * frame.el (handle-focus-in, handle-focus-out): Add missing
2080 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2082 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2083 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2085 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2087 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2088 (gomoku--last-pos): New var.
2089 (gomoku--intangible-chars): New const.
2090 (gomoku--intangible): New function.
2091 (gomoku-mode): Use it. Derive from special-mode.
2092 (gomoku-move-up): Adjust line count.
2093 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2094 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2095 Simplify accordingly.
2097 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2098 Remove blink-cursor code.
2099 (blink-cursor-timer-function, blink-cursor-suspend):
2100 Don't special-case GUIs.
2101 (blink-cursor-mode): Use focus-in/out-hook.
2103 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2105 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2106 work when annotation is invisible (Bug#13886).
2108 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2110 * json.el (json-alist-p): Only return non-nil if the alist has
2111 simple keys (Bug#13518).
2113 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2115 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2116 when control-statement is the first statement in a buffer (Bug#15956).
2118 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2120 * imenu.el (imenu-generic-skip-comments-and-strings):
2121 New option (Bug#15560).
2122 (imenu--generic-function): Use it.
2124 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2126 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2129 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2131 * emacs-lisp/helpers.el: Add some string helpers.
2132 (string-trim-left): Removes leading whitespace.
2133 (string-trim-right): Removes trailing whitespace.
2134 (string-trim): Removes leading and trailing whitespace.
2136 * subr.el (string-suffix-p): New function.
2138 2013-11-23 Glenn Morris <rgm@gnu.org>
2140 * progmodes/python.el (python-shell-send-file):
2141 Add option to delete file when done. (Bug#15647)
2142 (python-shell-send-string, python-shell-send-region): Use it.
2144 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2146 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2147 to set buffer-read-only to t, never to nil. (Bug#15938)
2149 * textmodes/tex-mode.el (latex-noindent-environments):
2150 Add safe-local-variable property. (Bug#15936)
2152 2013-11-23 Glenn Morris <rgm@gnu.org>
2154 * textmodes/enriched.el (enriched-mode): Doc fix.
2155 * emacs-lisp/authors.el (authors-renamed-files-alist):
2156 Add enriched.doc -> enriched.txt.
2158 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2160 2013-11-22 Leo Liu <sdl.web@gmail.com>
2162 * progmodes/octave.el (inferior-octave-startup): Spit out error
2165 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2167 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2170 (ruby-encoding-magic-comment-style): Add :version.
2172 2013-11-22 Leo Liu <sdl.web@gmail.com>
2174 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2176 (octave-help-mode): Adapt to change to help-mode-finish to use
2177 derived-mode-p on 2013-09-17.
2178 (inferior-octave-prompt): Also match octave-gui.
2179 (octave-kill-process): Don't ask twice. (Bug#10564)
2181 2013-11-22 Leo Liu <sdl.web@gmail.com>
2183 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2184 (inferior-octave-startup, inferior-octave-check-process)
2185 (inferior-octave-track-window-width-change)
2186 (octave-completion-at-point, octave-eldoc-function): Use it.
2187 (octave-kill-process): Provide confirmation. (Bug#10564)
2189 2013-11-21 Leo Liu <sdl.web@gmail.com>
2191 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2192 Fix obsolete variable comment-use-global-state.
2194 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2196 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2197 Add `octave-source-file'.
2198 (octave-source-file): New function. (Bug#15935)
2200 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2202 * net/eww.el (eww-local-regex): New variable.
2203 (eww): Use it to detect localhost and similar.
2205 2013-11-21 Leo Liu <sdl.web@gmail.com>
2207 Add completion for command `ag'.
2208 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2209 (pcomplete/ag): New function.
2210 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2212 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2214 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2216 (make-obsolete): Remove interactive spec.
2218 2013-11-21 Glenn Morris <rgm@gnu.org>
2220 * startup.el (command-line-1): Use path-separator with -L.
2222 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2224 * emacs-lisp/package.el (describe-package-1): Add package archive
2227 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2229 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2230 Change default to "# encoding: %s" to differentiate it from the
2231 default Ruby encoding comment template.
2233 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2235 * ses.el (ses-mode): Doc fix. (Bug#14748)
2237 2013-11-20 Leo Liu <sdl.web@gmail.com>
2239 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2241 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2243 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2244 when rebase or bisect are in progress.
2246 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2248 * filenotify.el (file-notify-add-watch): Doc fix.
2250 2013-11-19 Leo Liu <sdl.web@gmail.com>
2252 * obsolete/rcompile.el: Mark obsolete.
2254 * progmodes/compile.el (compilation-start)
2255 (compilation-goto-locus, compilation-find-file):
2256 Pass no-display-ok and handle nil value from display-buffer.
2259 * window.el (display-buffer-alist, display-buffer): Document the
2260 new parameter no-display-ok. Return either a window or nil
2261 but never a non-window value.
2263 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2265 * electric.el (electric-indent-mode-map): Remove.
2266 (electric-indent-mode): Change the global-map instead (bug#15915).
2268 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2271 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2273 * emacs-lisp/nadvice.el (remove-function): Align with
2274 add-function's behavior.
2276 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2277 (gdb--string-regexp): New constant.
2278 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2279 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2280 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2282 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2283 Adjust use accordingly.
2284 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2286 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2288 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2289 interpolation curlies (Bug#15914).
2291 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2293 * calc/calc.el (calc-context-sensitive-enter): New variable.
2294 (calc-enter): Use `calc-context-sensitive-enter'.
2296 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2298 * progmodes/cfengine.el: Version bump.
2299 (cfengine-cf-promises): New defcustom to locate cf-promises.
2300 (cfengine3-vartypes): Add new "data" type.
2301 (cfengine3--current-word): New function to get current name-like
2303 (cfengine3--current-function): New function to look up a CFEngine
2304 function's definition.
2305 (cfengine3-format-function-docstring): New function.
2306 (cfengine3-make-syntax-cache): New function.
2307 (cfengine3-documentation-function): New function: ElDoc glue.
2308 (cfengine3-completion-function): New function: completion glue.
2309 (cfengine3-mode): Set `compile-command',
2310 `eldoc-documentation-function', and add to
2311 `completion-at-point-functions'.
2313 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2315 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2316 `tramp-current-connection'.
2318 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2320 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2321 nil/self/true/false with "end of symbol".
2323 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2325 * subr.el (version-regexp-alist): Fix a typo.
2327 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2329 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2330 "en_US.utf8" and "LC_CTYPE" to "".
2331 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2332 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2334 2013-11-15 Leo Liu <sdl.web@gmail.com>
2336 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2338 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2340 * progmodes/gud.el (ctl-x-map):
2341 Remove C-x SPC binding. (Bug#12342)
2342 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2344 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2346 * subr.el (version-regexp-alist):
2347 Recognize hg, svn and darcs versions as snapshot versions.
2349 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2350 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2351 (ruby--encoding-comment-required-p): Extract from
2352 `ruby-mode-set-encoding'.
2353 (ruby-mode-set-encoding): Add the ability to always insert an
2354 utf-8 encoding comment. Fix and simplify coding comment update
2357 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2359 * net/tramp-gvfs.el (top): Run init code only when
2360 `tramp-gvfs-enabled' is not nil.
2361 (tramp-gvfs-enabled): Check also :system bus.
2363 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2365 Sync with upstream verilog-mode revision 78e66ba.
2366 * progmodes/verilog-mode.el (verilog-end-of-defun)
2367 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2368 (verilog-get-end-of-defun): Remove unused argument.
2369 (verilog-comment-depth): Remove unused local `e'.
2370 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2371 Don't pass arg to verilog-get-end-of-defun.
2373 2013-11-14 Glenn Morris <rgm@gnu.org>
2375 * obsolete/assoc.el (aget): Prefix dynamic variable.
2377 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2379 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2381 * widget.el, hfy-cmap.el: Remove bogus package version number.
2383 2013-11-13 Glenn Morris <rgm@gnu.org>
2385 * replace.el (replace-eval-replacement):
2386 Try to give more helpful error message. (Bug#15836)
2388 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2389 (archive-7z-update): Avoid custom type mismatches.
2391 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2393 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2395 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2396 address can be empty.
2398 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2399 Accept nil SWITCHES.
2400 (tramp-gvfs-handle-write-region): Implement APPEND.
2402 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2404 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2405 binary "|" operator and closing block args delimiter.
2406 Remove FIXME comment referring to Ruby 1.8-only syntax.
2407 (ruby-smie--implicit-semi-p): Not after "|" operator.
2408 (ruby-smie--closing-pipe-p): New function.
2409 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2410 (ruby-smie-rules): Indent after "|".
2412 2013-11-12 Glenn Morris <rgm@gnu.org>
2414 * ps-print.el (ps-face-attribute-list):
2415 Handle anonymous faces. (Bug#15827)
2417 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2419 * window.el (display-buffer-other-frame): Fix doc-string.
2422 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2424 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2426 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2428 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2429 (tramp-sh-handle-file-local-copy): Don't write a message when
2430 saving temporary files.
2432 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2433 both directories are remote.
2434 (tramp-smb-handle-directory-files): Do not return double entries.
2435 Do not expand full file names.
2436 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2437 (tramp-smb-handle-write-region): Implement APPEND.
2438 (tramp-smb-get-stat-capability): Fix a stupid bug.
2440 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2442 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2444 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2446 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2447 throwing error over malformed let/let* (bug#15814).
2449 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2451 * iswitchb.el (iswitchb-mode): Mark obsolete.
2453 2013-11-11 Glenn Morris <rgm@gnu.org>
2455 * international/uni-bidi.el, international/uni-category.el:
2456 * international/uni-name.el, international/uni-numeric.el:
2457 Regenerate for Unicode 6.3.0.
2459 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2461 * net/tramp.el (tramp-methods):
2462 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2463 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2465 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2467 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2468 Force highlighting text after Summary keyword in doc face for rpm.
2470 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2472 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2473 available and the word has no wildcards, append one to the grep pattern.
2474 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2475 (ispell-complete-word): Call `ispell-lookup-words' with the value
2476 independent of `ispell-look-p'.
2478 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2480 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2482 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2485 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2487 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2488 (ruby-font-lock-keywords): Use backquote.
2490 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2492 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2493 (ruby-smie--backward-token): Only consider full-string matches.
2495 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2497 * faces.el (describe-face): Add distant-foreground.
2499 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2501 * progmodes/ruby-mode.el: Improve encoding comment handling.
2502 (ruby-encoding-magic-comment-style): New option.
2503 (ruby-custom-encoding-magic-comment-template): New option.
2504 (ruby--insert-coding-comment, ruby--detect-encoding):
2505 New functions extracted from `ruby-mode-set-encoding'.
2506 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2507 to control the style of the auto-inserted encoding comment.
2509 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2511 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2512 Use `smie-backward-sexp' with token argument.
2514 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2516 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2517 Remove instrumentation code.
2519 2013-11-08 Glenn Morris <rgm@gnu.org>
2521 * progmodes/autoconf.el (autoconf-mode):
2522 Tweak comment-start-skip. (Bug#15822)
2524 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2526 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2527 at bobp (bug#15826).
2528 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2530 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2532 * man.el (Man-start-calling): New macro, extracted from
2533 Man-getpage-in-background.
2534 (Man-getpage-in-background): Use it.
2535 (Man-update-manpage): New command.
2536 (Man-mode-map): Bind it.
2538 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2540 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2541 of "and", "or", "&&" and "||".
2542 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2543 argument. Prohibit opening curly brace because it could only be a
2544 block opener in that position.
2545 (ruby-smie--forward-token, ruby-smie--backward-token):
2546 Separate "|" from "&" or "*" going after it. That can happen in block
2548 (ruby-smie--indent-to-stmt): New function, seeks the end of
2549 previous statement or beginning of buffer.
2550 (ruby-smie-rules): Use it.
2551 (ruby-smie-rules): Check if there's a ":" before a curly block
2552 opener candidate; if there is, it's a hash.
2554 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2556 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2557 (cl--block-wrapper): Fix last accidental change.
2559 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2561 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2562 Instrument, in order to hunt failure on hydra.
2564 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2566 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2567 malformed bindings form (bug#15814).
2569 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2571 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2572 "." compared to " @ ". This incidentally fixes some indentation
2574 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2575 (ruby-smie-grammar): New tokens: "and" and "or".
2576 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2577 Exclude "and" and "or". Remove "do" in order to work around token
2579 (ruby-smie-rules): Add all infix tokens. Handle the case of
2580 beginning-of-buffer.
2582 2013-11-06 Glenn Morris <rgm@gnu.org>
2584 * Makefile.in (setwins_almost, setwins_for_subdirs):
2585 Avoid accidental matches.
2587 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2589 * menu-bar.el (popup-menu): Use key-binding.
2591 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2593 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2594 menus, support also the menus produced by minor modes.
2597 2013-11-06 Leo Liu <sdl.web@gmail.com>
2599 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2600 DISTANCE to bound the search. All uses changed. (Bug#15808)
2602 2013-11-06 Glenn Morris <rgm@gnu.org>
2604 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2605 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2606 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2608 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2610 * electric.el (electric-indent-just-newline): New command.
2611 (electric-indent-mode-map): New keymap.
2612 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2613 Re-add :group which weren't redundant.
2615 * electric.el (electric-indent-local-mode): New minor mode.
2616 (electric-indent-functions-without-reindent): New var.
2617 (electric-indent-post-self-insert-function): Use it.
2618 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2620 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2622 * international/quail.el (quail-help): Be more explicit about the
2623 meaning of the labels shown on the keys. (Bug#15800)
2625 * startup.el (normal-top-level): Load the subdirs.el files before
2626 setting the locale environment. (Bug#15805)
2628 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2630 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2631 via arguments so as to get the right ones (bug#15418).
2633 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2635 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2637 Fix problems found while writing a test suite.
2639 * net/tramp-compat.el (tramp-compat-load): New defun.
2640 * net/tramp.el (tramp-handle-load): Use it.
2642 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2643 "(numberp ok-if-already-exists)" correctly.
2645 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2647 * international/characters.el (glyphless-char-display-control):
2650 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2652 * progmodes/python.el (python-mode):
2653 * progmodes/scheme.el (scheme-mode):
2654 * progmodes/prolog.el (prolog-mode):
2655 * progmodes/ruby-mode.el (ruby-mode):
2656 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2657 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2659 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2661 * rect.el (rectangle--highlight-for-redisplay):
2662 * emacs-lisp/smie.el (smie--next-indent-change):
2663 Use buffer-chars-modified-tick.
2665 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2667 * electric.el (electric-indent-post-self-insert-function):
2668 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2670 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2672 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2674 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2676 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2679 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2681 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2683 * progmodes/python.el: Fix up last change.
2684 (python-shell--save-temp-file): New function.
2685 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2686 `string' comes from the current buffer.
2687 (python-shell-send-string-no-output): Remove `msg' arg.
2688 (python--use-fake-loc): New var.
2689 (python-shell-buffer-substring): Obey it. Try to compensate for the
2690 extra coding line added by python-shell--save-temp-file.
2691 (python-shell-send-region): Use python-shell--save-temp-file and
2692 python-shell-send-file directly. Add `nomain' argument.
2693 (python-shell-send-buffer): Use python-shell-send-region.
2694 (python-electric-pair-string-delimiter): New function.
2695 (python-mode): Use it.
2697 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2699 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2700 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2701 environment and decoding all of the default-directory's to here
2703 (command-line): Decode also argv[0].
2705 * loadup.el: Error out if default-directory is a multibyte string
2706 when we are dumping.
2708 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2710 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2712 * emacs-lisp/package.el (package-menu-mode)
2713 (package-menu--print-info, package-menu--archive-predicate):
2714 Add Archive column to package list.
2716 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2718 Fix problems found while writing a test suite.
2720 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2721 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2722 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2723 to nil when running original file name handler. Otherwise,
2724 there are problems with constructs like "$$FOO".
2726 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2729 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2731 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2733 * subr.el (version<, version<=, version=):
2734 Update docstrings with information for snapshot versions.
2736 * helpers.el: New library for misc helper functions.
2737 (hash-table-keys): New function returning a list of hash keys.
2738 (hash-table-values): New function returning a list of hash values.
2740 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2742 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2743 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2745 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2747 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2748 checking whether point is after a 1-letter word.
2750 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2752 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2753 Don't infloop when expanding region over `multiline' syntax-type that
2754 begins a line (bug#15778).
2756 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2758 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2759 Make it into a proper minor mode.
2760 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2761 (rectangle-mark-mode-map): New keymap.
2762 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2764 2013-11-04 Glenn Morris <rgm@gnu.org>
2766 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2768 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2770 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2771 (ruby-smie-rules): Use smie-rule-parent instead.
2773 * emacs-lisp/smie.el (smie-rule-parent): Always call
2774 smie-indent-virtual rather than only for hanging tokens.
2775 (smie--next-indent-change): New helper command.
2777 2013-11-03 Glenn Morris <rgm@gnu.org>
2779 * Makefile.in (abs_srcdir): Remove.
2780 (emacs): Unset EMACSLOADPATH.
2782 2013-11-02 Glenn Morris <rgm@gnu.org>
2784 * Makefile.in (EMACS): Use a relative filename.
2785 (abs_top_builddir): Remove.
2786 (custom-deps, finder-data, autoloads): Use --chdir.
2788 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2790 Use relative filenames in TAGS files.
2791 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2792 (lisptagsfiles4, TAGS): Use relative file names.
2793 (TAGS-LISP): Remove.
2794 (maintainer-clean): No more TAGS-LISP file.
2796 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2797 (lisptagsfiles4): Use absolute filenames again.
2798 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2799 Remove all *loaddefs files, not just the first. Remove esh-groups.
2800 (maintainer-clean): Delete TAGS, TAGS-LISP.
2802 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2804 * emacs-lisp/package.el (package-version-join):
2805 Recognize snapshot versions.
2807 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2809 * subr.el (version-regexp-alist): Add support for snapshot versions.
2811 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2813 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2814 New function, replacement for `smie-rule-parent' for when we want to
2815 skip over our direct parent if it's an assignment token..
2816 (ruby-smie-rules): Use it.
2818 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2820 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2821 unconditionally. Remove now unnecessary forward declarations.
2822 Remove XEmacs-specific setup.
2823 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2824 (ruby-font-lock-syntactic-keywords)
2825 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2826 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2827 (ruby-here-doc-end-syntax): Remove.
2828 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2829 defined as function.
2831 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2833 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2835 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2837 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2838 table and abbrev table, `define-derived-mode' does that for us
2841 2013-11-01 Glenn Morris <rgm@gnu.org>
2843 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2844 files is atomic for some time, so no parallel compilation issues).
2846 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2848 * faces.el (face-x-resources): Add :distant-foreground.
2849 (region): Use :distant-foreground for gtk and ns.
2851 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2853 Allow multiple bibliographies when BibLaTeX is used rather than
2855 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2856 (reftex-locate-bibliography-files): Us it.
2858 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2860 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2861 allow comments in pbm files.
2863 * term/w32-win.el (dynamic-library-alist): Support newer versions
2864 of libjpeg starting with v7: look only for the DLL from the
2865 version against which Emacs was built.
2866 Support versions of libpng beyond 1.4.x.
2867 Support libtiff v4.x.
2869 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2871 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2872 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2874 (ruby-deep-arglist): Add property :type.
2876 2013-10-31 Glenn Morris <rgm@gnu.org>
2878 * Makefile.in (custom-deps, finder-data): No need to setq the target
2879 variables, we are in the right directory and the defaults work fine.
2881 2013-10-30 Glenn Morris <rgm@gnu.org>
2883 * Makefile.in (autoloads): Do not use abs_lisp.
2885 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2886 `newline' does not respect `standard-output', so use `princ'.
2888 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2890 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2891 * buff-menu.el (Buffer-menu--unmark): New function.
2892 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2894 2013-10-30 Glenn Morris <rgm@gnu.org>
2896 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2898 * emacs-lisp/package.el (lm-homepage): Declare.
2900 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2903 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2905 * Makefile.in (finder-data, autoloads, update-subdirs)
2906 (compile-main, compile-clean, compile-always, bootstrap-clean):
2907 Check return value of cd.
2908 (compile-calc): Remove.
2910 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2912 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2914 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2915 (byte-compile-and-folded): New function.
2916 (=, <, >, <=, >=): Use it.
2918 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2919 (path-separator, null-device, buffer-file-coding-system)
2920 (lpr-headers-switches): Check system-type before modifying them.
2921 (find-buffer-file-type-coding-system): Mark obsolete.
2922 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2923 find-file-not-found-set-buffer-file-coding-system.
2924 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2925 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2926 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2927 (w32-direct-print-region-helper, w32-direct-print-region-function)
2928 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2929 * startup.el (normal-top-level-add-subdirs-to-load-path):
2930 * ps-print.el (ps-print-region-function):
2931 * lpr.el (print-region-function): Use new name.
2933 * subr.el (custom-declare-variable-early): Remove function.
2934 (custom-declare-variable-list): Remove var.
2935 (error, user-error): Remove `while' loop.
2936 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2937 (user-emacs-directory-warning, locate-user-emacs-file):
2939 * simple.el (read-quoted-char-radix, read-quoted-char):
2940 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2942 * custom.el (custom-declare-variable-list): Don't process
2943 custom-declare-variable-list.
2945 * progmodes/python.el (python-shell-get-buffer): New function.
2946 (python-shell-get-process): Use it.
2947 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2948 Python which encoding was used. Don't split-string since we only care
2949 about the first line. Return the temp-file, if applicable.
2950 (python-shell-send-region): Tell compile.el how to turn locations in
2951 the temp-file into locations in the source buffer.
2953 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2955 * subr.el (undefined): Add missing behavior from the C code for
2958 * rect.el: Use lexical-binding. Add new rectangular region support.
2959 (rectangle-mark): New command.
2960 (rectangle--region): New var.
2961 (deactivate-mark-hook): Reset rectangle--region.
2962 (rectangle--extract-region, rectangle--insert-for-yank)
2963 (rectangle--highlight-for-redisplay)
2964 (rectangle--unhighlight-for-redisplay): New functions.
2965 (region-extract-function, redisplay-unhighlight-region-function)
2966 (redisplay-highlight-region-function): Use them to handle
2968 * simple.el (region-extract-function): New var.
2969 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2970 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2971 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2972 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2973 (redisplay-unhighlight-region-function)
2974 (redisplay-highlight-region-function): New vars.
2975 (redisplay--update-region-highlight): New function.
2976 (pre-redisplay-function): Use it.
2977 (exchange-point-and-mark): Don't deactivate the mark before
2978 reactivate-it anyway.
2979 * comint.el (comint-kill-region): Remove yank-handler argument.
2980 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2981 (delete-char): Remove property, since it's now part of their
2983 (self-insert-iso): Remove property since this command doesn't exist.
2985 * emacs-lisp/package.el (package--download-one-archive)
2986 (describe-package-1): Don't query the user about final newline.
2988 2013-10-29 Daniel Colascione <dancol@dancol.org>
2990 * net/tramp.el (tramp-methods): Document new functionality.
2991 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2992 tramp-hostname-checker if method provides one instead of scanning
2993 argument list for "%h" to decide hostname acceptability.
2995 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2997 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2998 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2999 Handle COPY-CONTENTS. (Bug#15737)
3001 2013-10-28 Daiki Ueno <ueno@gnu.org>
3004 (epa-file-cache-passphrase-for-symmetric-encryption):
3005 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3007 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3009 * image.el (defimage):
3010 (image-load-path): Doc fixes.
3012 2013-10-27 Alan Mackenzie <acm@muc.de>
3014 Indent statements in macros following "##" correctly.
3015 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3016 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3018 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3020 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3022 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3024 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3025 after `=' is probably a new expression.
3027 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3029 * man.el (man-imenu-title): New option.
3030 (Man-mode-map): Add menu. (Bug#15722)
3031 (Man-mode): Add imenu to menu.
3033 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3035 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3036 specific in what the first arg can be: a non-keyword word,
3037 string/regexp/percent literal opener, opening paren, or unary
3038 operator followed directly by word.
3040 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3042 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3043 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3044 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3045 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3046 Remove vars, they do not apply any more.
3047 (prolog-mode-abbrev-table): Remove redundant declaration.
3048 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3049 (prolog-use-smie): Remove.
3050 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3051 supported by prolog-electric-if-then-else-flag.
3052 (prolog-mode-variables, prolog-menu): Use setq-local.
3053 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3054 Remove binding to `Backspace' since this key doesn't exist anyway.
3055 Remove bindings for electric self-inserting keys.
3056 (prog-mode): Assume it's defined.
3057 (prolog-post-self-insert): New function.
3058 (prolog-mode): Use it.
3059 (prolog-indent-line, prolog-indent-level)
3060 (prolog-find-indent-of-matching-paren)
3061 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3062 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3063 (prolog-goto-next-paren, prolog-in-string-or-comment)
3064 (prolog-tokenize, prolog-inside-mline-comment)
3065 (prolog-find-start-of-mline-comment): Remove functions.
3066 (prolog-find-unmatched-paren, prolog-clause-end)
3067 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3068 (prolog-electric--if-then-else): Rename from
3069 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3070 (prolog-tokenize-searchkey): Remove const.
3071 (prolog-clause-info): Use forward-sexp.
3072 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3073 (prolog-electric-if-then-else): Remove commands.
3074 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3075 for use in post-self-insert-hook.
3076 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3077 for use in post-self-insert-hook.
3078 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3079 for use in post-self-insert-hook.
3080 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3081 adapt it for use in post-self-insert-hook.
3083 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3085 * emacs-lisp/ert.el (ert-run-tests-interactively):
3086 Use `completing-read'. (Bug#9756)
3088 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3090 * simple.el (line-move): Call line-move-1 instead of
3091 line-move-visual when the current window hscroll is zero, but
3092 temporary-goal-column indicates we will need to hscroll as result
3093 of the movement. (Bug#15712)
3095 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3097 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3098 capitalization. Use :visible instead of :active.
3099 Fix `ruby-indent-exp' reference. Add menu items for the generic
3100 commands that are used with SMIE.
3101 (ruby-do-end-to-brace): Insert space after `{'.
3103 2013-10-25 John Anthony <john@jo.hnanthony.com>
3105 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3107 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3109 2013-10-25 Glenn Morris <rgm@gnu.org>
3111 * vc/vc.el (vc-print-log): Don't use a working revision unless
3112 one was explicitly specified. (Bug#15322)
3114 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3116 * subr.el (add-to-list): Preserve return value in compiler-macro
3119 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3121 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3122 result. Ask user to retry using '-all' flag. (Bug#15701)
3124 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3126 * emacs-lisp/smie.el: New smie-config system.
3127 (smie-config): New defcustom.
3128 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3129 (smie-config-guess, smie-config-save): New commands.
3130 (smie-config--mode-local, smie-config--buffer-local)
3131 (smie-config--trace, smie-config--modefuns): New vars.
3132 (smie-config--advice, smie-config--mode-hook)
3133 (smie-config--setter, smie-config-local, smie-config--get-trace)
3134 (smie-config--guess-value, smie-config--guess): New functions.
3135 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3136 text properties. Treat "string fence" syntax like string syntax.
3138 * progmodes/sh-script.el (sh-use-smie): Change default.
3139 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3140 (sh-var-value): Simplify by CSE.
3141 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3142 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3144 (sh-guess-basic-offset): Use cl-incf.
3145 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3147 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3149 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3152 2013-10-24 Glenn Morris <rgm@gnu.org>
3154 * Makefile.in (abs_top_srcdir): Remove.
3155 (update-subdirs): Use relative path to update-subdirs.
3157 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3159 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3160 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3161 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3162 Call unmsys--file-name before expand-file-name, not after it.
3164 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3166 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3167 (ert-test-skipped): New error.
3168 (ert-skip, ert-stats-skipped): New defuns.
3169 (ert--skip-unless): New macro.
3170 (ert-test-skipped): New struct.
3171 (ert--run-test-debugger, ert-test-result-type-p)
3172 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3173 (ert--stats-set-test-and-result, ert-char-for-test-result)
3174 (ert-string-for-test-result, ert-run-tests-batch)
3175 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3176 Handle skipped tests. (Bug#9803)
3178 2013-10-24 Glenn Morris <rgm@gnu.org>
3180 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3182 * Makefile.in (abs_top_srcdir): New, set by configure.
3183 (update-subdirs): Correct build-aux location.
3185 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3187 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3188 value, whether we could auto-deduce `backend', or not.
3190 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3191 with parameters" example. Simplify the "is it block or is it
3192 hash" check, but also make it more thorough.
3194 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3196 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3198 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3200 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3203 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3206 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3208 * progmodes/compile.el (compilation-directory-matcher)
3209 (compilation-page-delimiter):
3210 Support GNU Make-4.0 directory quoting. (Bug#15678)
3212 2013-10-23 Leo Liu <sdl.web@gmail.com>
3214 * ido.el (ido-tidy): Handle read-only text.
3216 2013-10-23 Glenn Morris <rgm@gnu.org>
3218 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3219 (emacs, compile, compile-always):
3220 Quote entities that might contain whitespace.
3221 (custom-deps, finder-data, autoloads): Use abs_lisp.
3222 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3223 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3224 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3226 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3228 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3229 Use `following-char'.
3231 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3233 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3234 * progmodes/ruby-mode.el (ruby-smie-rules):
3235 Remove corresponding workaround. Fix indentation rule of ";" so it
3236 also applies when ";" is the parent.
3238 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3240 * frame.el (display-screens, display-pixel-height)
3241 (display-pixel-width, display-mm-width, display-backing-store)
3242 (display-save-under, display-planes, display-color-cells)
3243 (display-visual-class, display-monitor-attributes-list):
3244 Mention the optional ‘display’ argument in doc strings.
3246 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3248 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3249 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3251 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3253 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3254 TODO. Add "." after " @ ".
3255 (ruby-smie--at-dot-call): New function. Checks if point at method
3256 call with explicit target.
3257 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3258 to the method name tokens when it precedes them.
3259 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3260 (ruby-smie-rules): Add rule for indentation before and after "."
3263 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3265 * textmodes/remember.el (remember-diary-extract-entries):
3268 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3271 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3273 * progmodes/ruby-mode.el (ruby-smie-grammar):
3274 Add (almost) all infix operators.
3275 (ruby-smie--implicit-semi-p): Add new operator chars.
3277 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3279 (ruby-smie--args-separator-p): Check that there's no newline
3280 between method call and its arguments.
3282 2013-10-20 Alan Mackenzie <acm@muc.de>
3284 Allow comma separated lists after Java "implements".
3286 * progmodes/cc-engine.el (c-backward-over-enum-header):
3288 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3289 from a "disallowed" list in enum fontification.
3291 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3293 * startup.el (default-frame-background-mode): Remove unused defvar.
3295 * progmodes/verilog-mode.el (verilog-mode): Don't set
3296 comment-indent-function globally.
3298 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3300 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3301 Move Info menu item creation to ns-win.el.
3303 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3306 * menu-bar.el: Move GNUStep specific menus...
3308 * term/ns-win.el (ns-initialize-window-system): ... to here.
3310 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3312 * simple.el (newline): Only run post-self-insert-hook when
3313 called interactively.
3315 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3317 * icomplete.el (icomplete-with-completion-tables): Add :version.
3319 2013-10-19 Alan Mackenzie <acm@muc.de>
3321 Fix fontification bugs with constructors and const.
3323 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3324 CASE 2) Remove the check for the absence of a suffix construct
3325 after a function declaration with only types (no identifiers) in
3326 the parentheses. Also, accept a function declaration with just a
3327 type inside the parentheses, if this type can be positively
3328 recognised as such, or if a prefix keyword like "explicit" nails
3329 down the construct as a declaration.
3331 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3333 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3334 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3335 the problem whereby selecting a menu item that leads to a
3336 minibuffer prompt moves the cursor out of the minibuffer window,
3337 making it hard to type at the prompt. Suggested by Stefan Monnier
3338 <monnier@iro.umontreal.ca>.
3340 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3342 * menu-bar.el: Don't make Services menu.
3344 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3346 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3347 (ffap-alist): Use ffap-c++-mode for c++-mode.
3348 (ffap-c++-path): New variable.
3349 (ffap-c++-mode): New function.
3351 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3353 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3355 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3357 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3358 introduced on 2013-09-08, which results in an infinite loop
3359 requesting a password.
3361 2013-10-18 Glenn Morris <rgm@gnu.org>
3363 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3365 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3367 Sync with upstream verilog-mode revision 1a6ecec7.
3368 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3369 (verilog-mode-release-date): Remove.
3370 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3371 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3372 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3373 (verilog-auto-tieoff-ignore-regexp)
3374 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3375 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3376 (verilog-signals-with, verilog-dir-cache-preserving)
3377 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3379 (verilog-case-fold): New option, to control case folding in
3380 regexp searches, bug597.
3381 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3382 (verilog-string-match-fold, verilog-in-paren-count)
3383 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3384 (verilog-at-close-struct-p): New functions.
3385 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3386 (verilog-forward-sexp, verilog-set-auto-endcomments):
3387 (verilog-leap-to-case-head): Handle "unique0" case.
3388 (verilog-in-constraint-re): New constant.
3389 (verilog-keywords, verilog-type-font-keywords):
3390 Add some SystemVerilog 1800-2012 keywords.
3391 (verilog-label-be): Remove unimplemented argument, bug669.
3392 (verilog-batch-execute-func): When batch expanding clear
3393 create-lockfiles to prevent spurious user locks when a file ends
3395 (verilog-calculate-indent, verilog-calc-1)
3396 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3397 (verilog-do-indent): Fix indentation of nested constraints
3399 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3400 (verilog-auto-inst-param): Use verilog-string-match-fold.
3401 (verilog-read-inst-module-matcher):
3402 Fix AUTOINST on gate primitives with #1.
3403 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3404 Reads all user-defined typed variables.
3405 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3406 (verilog-signals-matching-regexp)
3407 (verilog-signals-not-matching-regexp, verilog-auto):
3408 Respect verilog-case-fold.
3409 (verilog-diff-report): Fix line count.
3410 (verilog-auto-assign-modport): Remove unused local `modi'.
3411 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3412 better handle multidimensional arrays.
3413 Fix packed array ports misadding bit index in AUTOINST, bug637.
3414 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3415 to not double-declare existing outputs and inputs, respectively.
3416 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3417 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3418 (verilog-sk-uvm-component): New skeleton.
3419 (verilog-submit-bug-report): Add verilog-case-fold,
3420 remove verilog-mode-release-date.
3422 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3424 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3427 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3429 * textmodes/remember.el (remember): Set buffer-offer-save in
3430 remember buffers (bug#13566).
3432 2013-10-18 Daniel Colascione <dancol@dancol.org>
3434 When evaluating forms in ielm, direct standard output to ielm
3435 buffer. Add new ielm-return-for-effect command. Remove trailing
3436 whitespace throughout.
3438 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3439 (ielm-return-for-effect): New command.
3440 (ielm-send-input): Accept optional `for-effect' parameter.
3441 (ielm-eval-input): Accept optional `for-effect' parameter.
3442 Bind `standard-output' to stream we create using
3443 `ielm-standard-output-impl'. Suppress printing result when
3445 (ielm-standard-output-impl): New function.
3446 (inferior-emacs-lisp-mode): Explain new features in documentation.
3448 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3452 * net/tramp.el (tramp-debug-message): Do not check for connection
3454 (tramp-message): Use "vector" connection property.
3456 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3457 (tramp-equal-remote, tramp-eshell-directory-change)
3458 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3459 (tramp-adb-handle-rename-file)
3460 * net/tramp-cmds.el (tramp-list-remote-buffers)
3461 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3462 * net/tramp-compat.el (tramp-compat-process-running-p)
3463 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3464 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3465 (tramp-gvfs-handle-rename-file)
3466 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3467 (tramp-set-file-uid-gid)
3468 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3469 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3472 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3473 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3474 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3475 (tramp-gw-open-network-stream): Suppress unrelated traces.
3477 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3478 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3479 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3480 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3481 connection property.
3483 * net/tramp-cache.el (top): Suppress traces when reading
3486 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3487 Refactor common code. Improve debug message.
3488 (tramp-maybe-open-connection)
3489 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3490 connection buffer too early.
3492 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3493 from `tramp-smb-actions-with-acl'.
3494 (tramp-smb-actions-set-acl): New defconst.
3495 (tramp-smb-handle-copy-directory)
3496 (tramp-smb-action-get-acl): New defun, renamed from
3497 `tramp-smb-action-with-acl'.
3498 (tramp-smb-action-set-acl): New defun.
3499 (tramp-smb-handle-set-file-acl): Rewrite.
3501 2013-10-17 Glenn Morris <rgm@gnu.org>
3503 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3505 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3507 * skeleton.el (skeleton-newline): Remove.
3508 (skeleton-internal-1): Use (insert "\n") instead.
3510 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3513 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3514 forward-sexp-function while we redo its job (bug#15613).
3516 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3518 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3519 represented by lists.
3521 2013-10-16 Glenn Morris <rgm@gnu.org>
3523 * tmm.el (tmm--history): New dynamic variable.
3524 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3526 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3528 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3529 (tramp-smb-errors): Add error messages.
3530 (tramp-smb-actions-with-acl): New defconst.
3531 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3532 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3533 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3534 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3535 (tramp-smb-get-stat-capability): Fix tests.
3537 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3539 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3542 2013-10-16 Glenn Morris <rgm@gnu.org>
3544 * ansi-color.el (ansi-color-drop-regexp):
3545 Add 1J, 1K, 2K. (Bug#15617)
3547 * files.el (hack-local-variables--warned-lexical): New.
3548 (hack-local-variables):
3549 Warn about misplaced lexical-binding. (Bug#15616)
3551 * net/eww.el (eww-render): Always set eww-current-url,
3552 and update header line. (Bug#15622)
3553 (eww-display-html): ... Rather than just doing it here.
3555 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3557 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3558 menu navigations commands.
3560 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3562 * progmodes/subword.el (subword-capitalize): Be careful when
3563 the search for [[:alpha:]] fails (bug#15580).
3565 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3567 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3568 to commands that scroll the menu.
3570 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3572 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3573 Handle methods ending with `?' and `!'.
3575 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3577 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3578 `japanese-cp932' to `cp932' to fix the problem where saving a
3579 source file written in Shift_JIS twice would end up having
3580 `coding: japanese-cp932' which Ruby could not recognize.
3581 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3582 in `ruby-encoding-map'.
3583 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3584 doesn't need to be explicitly declared in magic comment.
3585 (ruby-encoding-map): Add type declaration for better customize UI.
3587 2013-10-13 Glenn Morris <rgm@gnu.org>
3589 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3590 Occur buffers are read-only. http://bugs.debian.org/720775
3592 * emacs-lisp/authors.el (authors-fixed-entries):
3593 Comment out old alpha stuff.
3595 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3597 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3598 to `after-save-hook' instead of `before-save-hook'.
3599 (ruby-mode-set-encoding): Use the value of coding system used to
3600 write the file. Call `basic-save-buffer-1' after modifying the
3603 2013-10-13 Alan Mackenzie <acm@muc.de>
3605 Fix indentation/fontification of Java enum with
3606 "implements"/generic.
3608 * progmodes/cc-engine.el (c-backward-over-enum-header):
3609 Extracted from the three other places and enhanced to handle generics.
3610 (c-inside-bracelist-p): Uses new function above.
3611 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3613 (c-font-lock-enum-tail): Uses new function above.
3615 2013-10-13 Kenichi Handa <handa@gnu.org>
3617 * international/mule-cmds.el (select-safe-coding-system): Remove a
3618 superfluous condition in chekcing whether a coding system is safe
3621 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3623 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3625 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3627 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3629 2013-10-13 Glenn Morris <rgm@gnu.org>
3631 * menu-bar.el (menu-bar-update-buffers):
3632 Unify Buffers menu prompt string. (Bug#15576)
3634 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3636 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3638 (authors-fixed-entries): Use accented form of name.
3640 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3642 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3643 method calls (bug#15594).
3644 (ruby-smie--args-separator-p): New function.
3645 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3646 recognize paren-free method calls.
3648 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3649 internals of universal-argument.
3651 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3653 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3654 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3655 dropped menu on second mouse click on the menu bar.
3657 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3659 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3660 (explicit-shell-file-name): Declare.
3661 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3662 (sh-completion-at-point-function): New function.
3664 (sh-smie--keyword-p): Remove unused argument.
3665 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3667 (sh-set-shell): Always setup SMIE, even if we use the
3668 old indentation code.
3670 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3672 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3674 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3675 predicate would return nil are almost non-existent.
3676 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3678 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3679 cache also after commands that modify the buffer but don't move
3682 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3684 * env.el (substitute-env-in-file-name): New function.
3685 (substitute-env-vars): Extend the meaning of the optional arg.
3687 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3689 * term/w32-win.el (dynamic-library-alist): Define separate lists
3690 of GIF DLLs for versions before and after 5.0.0 of giflib.
3693 2013-10-10 João Távora <joaotavora@gmail.com>
3695 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3696 not locked, use last revision and current source as
3697 defaults. (Bug#15569)
3699 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3701 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3704 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3706 * window.el (pop-to-buffer-same-window): Fix doc-string.
3709 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3711 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3713 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3715 * calendar/icalendar.el (icalendar-import-file):
3716 Fix interactive spec. (Bug#15482)
3718 2013-10-10 Glenn Morris <rgm@gnu.org>
3720 * desktop.el (desktop-save): Default to saving in .emacs.d,
3721 since PWD is no longer in desktop-path by default. (Bug#15319)
3723 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3724 now that text mode has a menu with the same entry.
3725 (menu-bar-text-mode-auto-fill): Remove now unused func.
3726 * textmodes/text-mode.el (text-mode-map):
3727 Use auto-fill help text from menu-bar.el.
3729 2013-10-10 John Anthony <john@jo.hnanthony.com>
3731 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3733 2013-10-09 Juri Linkov <juri@jurta.org>
3735 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3736 instead of this-command-keys. Add universal-argument-more and
3737 universal-argument-minus to the list of prefix commands. (Bug#15568)
3739 2013-10-09 Glenn Morris <rgm@gnu.org>
3741 * vc/vc-svn.el (vc-svn-create-repo):
3742 Expand paths in file://... url. (Bug#15446)
3744 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3746 (authors): Remove unused local variables.
3748 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3750 * profiler.el: Create a more coherent calltree from partial backtraces.
3751 (profiler-format): Hide the tail with `invisible' so that C-s can still
3752 find the hidden elements.
3753 (profiler-calltree-depth): Don't recurse so enthusiastically.
3754 (profiler-function-equal): New hash-table-test.
3755 (profiler-calltree-build-unified): New function.
3756 (profiler-calltree-build): Use it.
3757 (profiler-report-make-name-part): Indent the calltree less.
3758 (profiler-report-mode): Add visibility specs for profiler-format.
3759 (profiler-report-expand-entry, profiler-report-toggle-entry):
3760 Expand the whole subtree when provided with a prefix arg.
3762 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3764 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3766 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3767 hanging iuwu-mod token.
3768 (ruby-smie--forward-token): Do not include a dot after a token in
3770 (ruby-smie--backward-token): Likewise.
3772 2013-10-08 Juri Linkov <juri@jurta.org>
3774 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3775 to isearch-other-control-char.
3776 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3777 and isearch-post-command-hook to post-command-hook.
3778 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3779 and isearch-post-command-hook from post-command-hook.
3780 (isearch-unread-key-sequence)
3781 (isearch-reread-key-sequence-naturally)
3782 (isearch-lookup-scroll-key, isearch-other-control-char)
3783 (isearch-other-meta-char): Remove functions.
3784 (isearch-pre-command-hook, isearch-post-command-hook):
3785 New functions based on isearch-other-meta-char rewritten
3786 relying on the new behavior of overriding-terminal-local-map
3787 that does not replace the local keymaps any more. (Bug#15200)
3789 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3791 Support menus on text-mode terminals.
3792 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3795 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3797 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3798 Move here from mouse.el.
3799 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3801 (tty-menu-navigation-map): New map for TTY menu navigation.
3803 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3805 * frame.el (display-mouse-p): Report text-mode mouse as available
3807 (display-popup-menus-p): Report availability if mouse is
3808 available; don't condition on window-system.
3810 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3811 (tty-menu-selected-face): New faces.
3813 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3815 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3816 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3817 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3818 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3820 (lisp-mode-variables): New `elisp' argument.
3821 (emacs-lisp-mode): Use it.
3822 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3823 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3825 * indent.el: Use lexical-binding.
3826 (indent-region): Add progress reporter.
3827 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3829 (indent--next-tab-stop): New function to implement this behavior.
3830 (tab-to-tab-stop, move-to-tab-stop): Use it.
3832 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3834 * indent.el (indent-rigidly--current-indentation): New function.
3835 (indent-rigidly-map): New var.
3836 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3838 2013-10-08 Bastien Guerry <bzg@gnu.org>
3840 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3842 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3844 * progmodes/perl-mode.el: Use lexical-binding.
3845 Remove redundant :group args.
3846 (perl-nochange): Change default to be closer to other major modes's
3848 (perl-indent-line): Don't consider text on current line as a
3849 valid beginning of function from which to indent.
3851 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3852 with more than one argument (bug#15538).
3854 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3856 * vc/pcvs.el: Use lexical-binding.
3857 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3858 environment of `eval'.
3859 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3860 than a list of expressions. Adjust callers.
3861 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3863 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3865 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3866 case of the dot in a chained method call being on the following line.
3868 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3870 * electric.el (electric-indent-inhibit): New var.
3871 (electric-indent-post-self-insert-function): Use it.
3872 * progmodes/python.el (python-mode): Set it.
3874 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3877 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3879 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3880 (css-mode): Use electric-indent-chars.
3882 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3883 (font-lock-beg, font-lock-end): Move before first use.
3884 (nxml-mode): Use syntax-propertize-function.
3885 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3886 (nxml-extend-after-change-region): Remove.
3887 * nxml/xmltok.el: Use lexical-binding.
3888 (xmltok-save): Use `declare'.
3889 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3890 * nxml/nxml-util.el: Use lexical-binding.
3891 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3893 * nxml/nxml-ns.el: Use lexical-binding.
3894 (nxml-ns-save): Use `declare'.
3895 (nxml-ns-prefixes-for): Avoid add-to-list.
3896 * nxml/rng-match.el: Use lexical-binding.
3897 (rng--ipattern): Use cl-defstruct.
3898 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3899 (rng-cons-group-after, rng-subst-group-after)
3900 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3901 Use closures instead of `(lambda...).
3903 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3905 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3908 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3909 Use `tramp-handle-insert-file-contents'.
3910 (tramp-gvfs-handle-insert-file-contents): Remove function.
3912 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3913 Use `save-restriction' in order to keep markers.
3915 * net/trampver.el: Update release number.
3917 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3919 * progmodes/compile.el (compilation-parse-errors):
3920 Use compilation--put-prop.
3921 (compilation--ensure-parse): Check compilation-multiline.
3923 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3925 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3928 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3930 * progmodes/ruby-mode.el: Fix recently added tests.
3931 (ruby-smie-grammar): Add - and +.
3932 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3933 (ruby-smie--backward-id): New functions.
3934 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3935 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3938 2013-10-07 Leo Liu <sdl.web@gmail.com>
3940 * register.el (register-preview-delay)
3941 (register-preview-functions): New variables.
3942 (register-read-with-preview, register-preview)
3943 (register-describe-oneline): New functions.
3944 (point-to-register, window-configuration-to-register)
3945 (frame-configuration-to-register, jump-to-register)
3946 (number-to-register, view-register, insert-register)
3947 (copy-to-register, append-to-register, prepend-to-register)
3948 (copy-rectangle-to-register): Use register-read-with-preview to
3949 read register. (Bug#15525)
3951 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3953 * net/network-stream.el (network-stream-open-starttls): Don't add
3954 --insecure if it's already present, because that gnutls-cli
3955 rejects getting that parameter twice.
3957 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3959 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3962 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3964 * newcomment.el (comment-use-global-state): Change default value
3965 to t, mark obsolete (Bug#15251).
3966 (comment-beginning): In addition to `comment-to-syntax', check the
3967 value of `comment-use-global-state'.
3969 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3971 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3972 (ruby-comment-column): Follow the global default, by default.
3973 (ruby-smie-grammar): Add assignment syntax.
3974 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3975 open-paren, a comma, or a \.
3976 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3977 and line continuations.
3978 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3979 followed by implicit semi-colons. Add rule for string concatenation
3980 and for indentation at BOB.
3981 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3983 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3984 calling next-sexp, since next-token may have skipped chars which
3985 next-sexp doesn't know should be skipped!
3987 2013-10-05 Leo Liu <sdl.web@gmail.com>
3989 * progmodes/octave.el (octave-send-region):
3990 Call compilation-forget-errors.
3992 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3994 * vc/vc-svn.el (vc-svn-find-admin-dir):
3995 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3996 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3997 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3998 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4000 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4002 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4004 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4006 * subr.el (read-passwd): Hide chars even when called within a context
4007 where after-change-functions is disabled (bug#15501).
4008 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4009 until we removed ourself from overriding-terminal-local-map.
4011 2013-10-04 Leo Liu <sdl.web@gmail.com>
4013 * progmodes/octave.el (inferior-octave-mode):
4014 Call compilation-forget-errors.
4016 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4018 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4020 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4022 * net/secrets.el (secrets-create-collection): Add optional
4023 argument ALIAS. Use proper Label keyword. Append ALIAS as
4024 dbus-call-method argument. (Bug#15516)
4026 2013-10-04 Leo Liu <sdl.web@gmail.com>
4028 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4029 (inferior-octave-compilation-font-lock-keywords): New variables.
4030 (compilation-error-regexp-alist)
4031 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4032 (inferior-octave-mode): Use compilation-shell-minor-mode.
4034 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4036 * minibuffer.el (completion--replace): Be careful that `end' might be
4039 2013-10-03 Daiki Ueno <ueno@gnu.org>
4041 Add support for package signature checking.
4042 * emacs-lisp/package.el (url-http-file-exists-p)
4043 (epg-make-context, epg-context-set-home-directory)
4044 (epg-verify-string, epg-context-result-for)
4045 (epg-signature-status, epg-signature-to-string)
4046 (epg-check-configuration, epg-configuration)
4047 (epg-import-keys-from-file): Declare.
4048 (package-check-signature): New user option.
4049 (package-unsigned-archives): New user option.
4050 (package-desc): Add `signed' field.
4051 (package-load-descriptor): Set `signed' field if .signed file exists.
4052 (package--archive-file-exists-p): New function.
4053 (package--check-signature): New function.
4054 (package-install-from-archive): Check package signature.
4055 (package--download-one-archive): Check archive signature.
4056 (package-delete): Remove .signed file.
4057 (package-import-keyring): New command.
4058 (package-refresh-contents): Import default keyring.
4059 (package-desc-status): Add "unsigned" status.
4060 (describe-package-1, package-menu--print-info)
4061 (package-menu-mark-delete, package-menu--find-upgrades)
4062 (package-menu--status-predicate): Support "unsigned" status.
4064 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4066 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4067 the new compilation scheme using the new byte-codes.
4069 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4070 (byte-pophandler): New byte codes.
4071 (byte-goto-ops): Adjust accordingly.
4072 (byte-compile--use-old-handlers): New var.
4073 (byte-compile-catch): Use new byte codes depending on
4074 byte-compile--use-old-handlers.
4075 (byte-compile-condition-case--old): Rename from
4076 byte-compile-condition-case.
4077 (byte-compile-condition-case--new): New function.
4078 (byte-compile-condition-case): New function that dispatches depending
4079 on byte-compile--use-old-handlers.
4080 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4083 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4084 Optimize under `condition-case' and `catch' if
4085 byte-compile--use-old-handlers is nil.
4086 (disassemble-offset): Handle new bytecodes.
4088 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4090 * subr.el (error): Use `declare'.
4091 (decode-char, encode-char): Use advertised-calling-convention instead
4092 of the docstring to discourage use of the `restriction' arg.
4094 2013-10-03 Daiki Ueno <ueno@gnu.org>
4096 * epg.el (epg-verify-file): Add a comment saying that it does not
4097 notify verification error as a return value nor a signal.
4098 (epg-verify-string): Ditto.
4100 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4102 * progmodes/compile.el (compilation-start): Try globbing the arg to
4105 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4107 Sync with Tramp 2.2.8.
4109 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4110 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4111 * net/trampver.el: Update release number.
4113 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4115 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4116 and default-process-coding-system for darwin only.
4118 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4120 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4122 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4124 * vc/vc-git.el (vc-git-grep): Disable pager.
4126 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4128 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4129 Use :url instead of :homepage, as per
4130 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4132 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4133 non-nil, use `syntax-ppss' (Bug#15251).
4135 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4137 * progmodes/octave.el (inferior-octave-startup-file):
4138 Prefer ~/.emacs.d/init_octave.m.
4140 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4142 * emacs-lisp/package.el (package-desc-from-define):
4143 Accept additional arguments as plist, convert them to an alist and store
4144 them in the `extras' slot.
4145 (package-generate-description-file): Convert extras alist back to
4146 plist and append to the `define-package' form arguments.
4147 (package--alist-to-plist): New function.
4148 (package--ac-desc): Add `extras' slot.
4149 (package--add-to-archive-contents): Check if the archive-contents
4150 vector is long enough, and if it is, pass its `extras' slot value
4151 to `package-desc-create'.
4152 (package-buffer-info): Call `lm-homepage', pass the returned value
4153 to `package-desc-from-define'.
4154 (describe-package-1): Render the homepage button (Bug#13291).
4156 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4157 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4159 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4161 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4162 and default-process-coding-system to utf-8-unix (Bug#15402).
4164 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4166 * subr.el (looking-back): Do not recommend using looking-back.
4168 2013-09-28 Alan Mackenzie <acm@muc.de>
4170 Fix indentation/fontification of Java enum with "implements".
4172 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4173 regexp which matches "implements", etc., in Java.
4174 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4175 specifier clauses coming after "enum".
4176 * progmodes/cc-fonts.el (c-font-lock-declarations)
4177 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4180 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4182 * faces.el (region): Change ns_selection_color to
4183 ns_selection_fg_color, add ns_selection_bg_color.
4185 2013-09-28 Leo Liu <sdl.web@gmail.com>
4187 * progmodes/octave.el (inferior-octave-completion-table)
4188 (inferior-octave-completion-at-point): Minor tweaks.
4190 * textmodes/ispell.el (ispell-lookup-words): Rename from
4191 lookup-words. (Bug#15460)
4192 (lookup-words): Obsolete.
4193 (ispell-complete-word, ispell-command-loop): All uses changed.
4195 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4197 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4198 (octave-mode-menu): Add octave-send-buffer.
4199 (octave-send-buffer): New function.
4201 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4203 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
4205 (octave-mode-menu): Add octave-lookfor.
4206 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4208 (octave-lookfor): New function.
4210 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4212 * emacs-lisp/cl-macs.el:
4213 (cl--loop-destr-temps): Remove.
4214 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4216 (cl--loop-set-iterator-function): New function.
4217 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4218 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4219 Bind `it' with `let' instead of substituting it with `cl-subst'.
4220 (cl--unused-var-p): New function.
4221 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4222 Eliminate some unused variable warnings (bug#15326).
4224 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4226 * doc-view.el (doc-view-scale-reset): Rename from
4227 `doc-view-reset-zoom-level'.
4228 (doc-view-scale-adjust): New command.
4229 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4230 `doc-view-scale-adjust'.
4232 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4234 * doc-view.el (doc-view-reset-zoom-level): New command.
4235 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4236 zoom commands (bug#15466).
4238 2013-09-26 Kenichi Handa <handa@gnu.org>
4240 * international/quail.el (quail-help): Make it not a command.
4242 2013-09-26 Leo Liu <sdl.web@gmail.com>
4244 * minibuffer.el (completion-all-sorted-completions): Make args
4245 optional as they are.
4247 2013-09-25 Daniel Colascione <dancol@dancol.org>
4249 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4250 specs are and that they're not evaluated.
4252 2013-09-24 Sam Steingold <sds@gnu.org>
4254 * midnight.el (clean-buffer-list-kill-regexps)
4255 (clean-buffer-list-kill-buffer-names): Update for the new Man
4256 buffer naming which includes the object name.
4258 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4260 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4261 (eshell-parse-command, eshell-parse-pipeline): Use it since
4262 eshell-separate-commands requires a dynamic scoped var.
4263 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4265 2013-09-23 Leo Liu <sdl.web@gmail.com>
4267 * autoinsert.el (auto-insert-alist): Make the value of
4268 lexical-binding match its file setting.
4270 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4272 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4274 * autoarg.el (autoarg-kp-digit-argument):
4275 * electric.el (Electric-command-loop):
4276 * kmacro.el (kmacro-step-edit-insert):
4277 Do not set universal-argument-num-events.
4279 2013-09-22 Leo Liu <sdl.web@gmail.com>
4281 * files.el (interpreter-mode-alist): Add octave.
4283 2013-09-21 Alan Mackenzie <acm@muc.de>
4285 C++: fontify identifier in declaration following "public:" correctly.
4286 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4287 to match "public", etc.
4288 (c-decl-prefix-re): Add ":" into the C++ value.
4289 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4290 bit. Add a check for a ":" preceded by "public", etc.
4292 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4294 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4295 recognized by GDB 7.5 and later.
4297 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4299 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4301 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4303 * subr.el (internal--call-interactively): New const.
4304 (called-interactively-p): Use it (bug#3984).
4306 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4308 * vc/pcvs.el (cvs-mode-ignore):
4309 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4310 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4312 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4314 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4315 (eshell-ls-orig-insert-directory): Remove.
4316 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4317 (eshell-ls-use-in-dired): Use advice-add/remove.
4318 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4319 Add `orig-fun' arg for use in :around advice.
4320 Make it check (redundantly) eshell-ls-use-in-dired.
4322 2013-09-19 Glenn Morris <rgm@gnu.org>
4324 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4326 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4328 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4330 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4332 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4333 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4334 (tramp-get-remote-python): New defuns.
4335 (tramp-get-remote-uid-with-perl)
4336 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4337 contributed by yary <not.com@gmail.com> (tiny change).
4338 (tramp-get-remote-uid-with-python)
4339 (tramp-get-remote-gid-with-python): New defuns. Python code
4340 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4341 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4343 2013-09-19 Glenn Morris <rgm@gnu.org>
4345 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4347 * eshell/em-unix.el (eshell-remove-entries):
4348 Rename argument to avoid name-clash with global `top-level'.
4350 * eshell/esh-proc.el (eshell-kill-process-function):
4351 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4352 (eshell-reset-after-proc): Remove unused arg `proc'.
4354 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4355 (directory-files-and-attributes): Mark unused arg.
4357 * eshell/em-unix.el (eshell-remove-entries):
4358 Remove unused arg `path'. Update callers.
4360 * eshell/em-hist.el (eshell-hist-parse-arguments):
4361 Remove unused arg `silent'. Update callers.
4363 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4364 Fix (f)boundp mix-up.
4366 * eshell/em-smart.el (eshell-smart-scroll-window)
4367 (eshell-disable-after-change):
4368 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4370 2013-09-18 Alan Mackenzie <acm@muc.de>
4372 Fix fontification of type when followed by "const".
4373 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4374 "known" types from fontification.
4376 2013-09-18 Glenn Morris <rgm@gnu.org>
4378 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4379 (chart-face-list): Drop Emacsen without display-color-p.
4381 * net/eww.el (libxml-parse-html-region): Declare.
4382 (eww-display-html): Explicit error if no libxml2 support.
4384 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4386 * image.el (image-type-from-buffer, image-multi-frame-p):
4387 Remove --without-x warning/error.
4389 * mouse.el (mouse-yank-primary):
4390 * term.el (term-mouse-paste):
4391 Reorder to silence --without-x compilation.
4393 * mpc.el (doc-view-mode): Silence --without-x compilation.
4395 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4396 Silence --without-x compilation.
4398 * progmodes/gud.el (gud-find-file, gud-mode):
4399 Silence --without-x compilation.
4400 (tooltip-mode): Declare.
4402 * wdired.el (dired-backup-overwrite): Remove declaration.
4403 (wdired-mode-map): Add doc string.
4405 * custom.el (x-get-resource): Declare.
4407 * eshell/em-glob.el (ange-cache):
4408 * eshell/em-unix.el (ange-cache): Declare.
4410 * faces.el (x-display-list, x-open-connection, x-get-resource):
4413 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4414 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4417 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4419 * net/gnutls.el (gnutls-log-level): Declare.
4421 * net/shr.el (image-size, image-animate): Declare.
4423 * simple.el (font-info): Declare.
4425 * subr.el (x-popup-dialog): Declare.
4427 * term/common-win.el (x-select-enable-primary)
4428 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4431 * term/ns-win.el (x-handle-args): Declare.
4433 * term/x-win.el (x-select-enable-clipboard): Declare.
4435 * term/w32-win.el (create-default-fontset): Declare.
4437 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4440 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4441 (fit-frame-to-buffer): Explicit error if --without-x.
4442 (mouse-autoselect-window-select): Silence compiler.
4444 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4446 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4447 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4448 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4449 * eshell/esh-util.el (eshell-sublist):
4450 Remove unused local variables.
4452 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4454 * textmodes/two-column.el: Make 2C-split work for --without-x.
4455 (scroll-bar-columns): Autoload.
4456 (top-level): Require fringe when compiling.
4458 2013-09-18 Leo Liu <sdl.web@gmail.com>
4460 * subr.el (add-hook): Robustify to handle closure as well.
4462 2013-09-17 Glenn Morris <rgm@gnu.org>
4464 * simple.el (messages-buffer-mode-map): Unbind "g".
4466 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4468 * help-mode.el (help-mode-finish): Use derived-mode-p.
4469 Remove obsolete highlighting.
4471 * play/life.el (life-mode): Use define-derived-mode. Derive from
4473 (life): Let-bind inhibit-read-only.
4474 (life-setup): Avoid `setq'. Use `life-mode'.
4476 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4477 which should not be needed any more.
4478 (package-menu-refresh, package-menu-describe-package): Use user-error.
4480 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4481 (eshell-post-rewrite-command-hook): Make obsolete.
4482 (eshell-parse-command): Simplify.
4483 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4484 (eshell--cmd): Declare.
4485 (eshell-parse-pipeline): Remove unused var `final-p'.
4486 Pass a dynvar to eshell-post-rewrite-command-hook.
4487 Implement the new eshell-post-rewrite-command-function.
4488 (eshell-invoke-directly): Remove unused arg `input'.
4489 * eshell/esh-io.el (eshell-io-initialize):
4490 Use eshell-post-rewrite-command-function (bug#15399).
4491 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4492 adjust to new calling convention.
4493 (eshell-create-handles): Rename args to avoid clashing with dynvar
4496 2013-09-17 Glenn Morris <rgm@gnu.org>
4498 * simple.el (messages-buffer-mode): New major mode.
4499 (messages-buffer): New function.
4500 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4501 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4502 (ert-run-test): Use `messages-buffer' function.
4503 (ert--force-message-log-buffer-truncation): Ignore read-only.
4504 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4505 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4507 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4509 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4511 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4513 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4515 * icomplete.el (icomplete-in-buffer): New var.
4516 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4517 vars and replace them with functions.
4518 (icomplete-minibuffer-setup): Adjust accordingly.
4519 (icomplete--completion-table, icomplete--completion-predicate)
4520 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4522 (icomplete-forward-completions, icomplete-backward-completions)
4523 (icomplete-simple-completing-p, icomplete-exhibit)
4524 (icomplete-completions): Use them.
4525 (icomplete--in-region-buffer): New var.
4526 (icomplete--in-region-setup): New function.
4527 (icomplete-mode): Use it.
4529 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4531 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4532 return args and options.
4533 (eshell-eval-using-options): Use the new return value of
4534 eshell--do-opts to set the options's vars in their scope.
4535 (eshell--set-option): Rename from eshell-set-option.
4537 (eshell--process-option): Rename from eshell-process-option.
4539 (eshell--process-args): Use an `opt-vals' alist to store the options's
4540 values during their processing and return them additionally to the
4543 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4545 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4546 continuation character an operator, as far as indentation is
4547 concerned (Bug#15369).
4549 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4551 * window.el (window--state-put-2): Don't process buffer state
4552 when buffer doesn't exist any more (Bug#15382).
4554 2013-09-15 Glenn Morris <rgm@gnu.org>
4556 * eshell/em-unix.el (eshell/rm):
4557 Make -f ignore missing files. (Bug#15373)
4559 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4560 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4561 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4563 2013-09-14 Glenn Morris <rgm@gnu.org>
4565 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4567 2013-09-13 Glenn Morris <rgm@gnu.org>
4569 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4570 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4572 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4574 * frame.el (x-focus-frame): Mark as declared in frame.c.
4576 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4578 * ls-lisp.el: Use advice-add.
4579 (original-insert-directory): Remove.
4580 (ls-lisp--insert-directory): Rename from insert-directory; add
4581 `orig-fun' argument.
4582 (insert-directory): Advise.
4584 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4586 * term.el (term-emulate-terminal): Decode the command string
4587 before passing it to term-command-hook. (Bug#15337)
4589 2013-09-13 Glenn Morris <rgm@gnu.org>
4591 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4593 * eshell/esh-ext.el (eshell-search-path): Declare.
4595 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4596 Otherwise an error occurs if eshell-dirs module not loaded.
4598 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4600 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4602 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4603 `tramp-check-proper-host'. Check for a valid method name.
4605 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4606 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4607 * net/tramp-sh.el (tramp-maybe-open-connection):
4608 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4610 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4611 also for hash values.
4613 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4615 * term/ns-win.el (parameters): Don't declare as dynamic.
4616 (before-make-frame-hook): Don't add ineffective function.
4618 * eshell/*.el: Use lexical-binding (bug#15231).
4620 2013-09-12 Kenichi Handa <handa@gnu.org>
4622 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4624 2013-09-12 Glenn Morris <rgm@gnu.org>
4626 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4627 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4629 * subr.el (do-after-load-evaluation): Also give compiler warnings
4630 when obsolete files are used (except by obsolete files).
4632 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4633 in the status output, assume `filename' is the first. (Bug#15322)
4635 * vc/vc.el (vc-deduce-fileset): Doc fix.
4637 * calc/calc-help.el (Info-goto-node):
4638 * progmodes/cperl-mode.el (Info-find-node):
4639 * vc/ediff.el (Info-goto-node): Update declarations.
4641 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4643 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4644 (vc-bzr-pull): Require vc-dispatcher.
4645 * vc/vc-git.el (vc-compilation-mode): Declare.
4646 (vc-git-pull): Require vc-dispatcher.
4648 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4650 * progmodes/octave.el (help-button-action): Declare.
4652 * shell.el (shell-directory-tracker): Output error as a message
4653 rather than just returning it as a string.
4654 (shell-process-pushd): Remove useless use of message.
4656 * dframe.el (dframe-timer-fn):
4657 * files.el (dir-locals-read-from-file):
4658 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4660 * reveal.el (reveal-post-command):
4661 * saveplace.el (load-save-place-alist-from-file):
4662 * shell.el (shell-resync-dirs):
4663 * w32-common-fns.el (x-get-selection-value):
4664 * emacs-lisp/copyright.el (copyright-find-copyright):
4665 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4666 * emulation/tpu-edt.el (tpu-copy-keyfile):
4667 * play/bubbles.el (bubbles--mark-neighbourhood):
4668 * progmodes/executable.el
4669 (executable-make-buffer-file-executable-if-script-p):
4670 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4672 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4674 Cleanup Eshell to rely less on dynamic scoping.
4675 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4676 last-value, and ext-command here. Bind `args' closer to `body'.
4677 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4678 (eshell--args): Declare new dynamic var.
4679 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4680 last-value, and ext-command. Pass `args' to `body'.
4681 (eshell-process-args): Bind eshell--args.
4682 (eshell-set-option): Use eshell--args.
4683 * eshell/eshell.el (eshell): Use derived-mode-p.
4684 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4685 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4686 (eshell-glob-function): Declare.
4687 * eshell/esh-util.el: Require cl-lib.
4688 (eshell-read-hosts-file): Avoid add-to-list.
4689 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4691 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4693 (eshell/diff): Remove unused var `err'.
4694 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4696 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4697 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4699 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4700 Move declaration before first use.
4701 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4702 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4705 2013-09-12 Glenn Morris <rgm@gnu.org>
4707 * term/ns-win.el (global-map): Remove binding for ispell-next,
4708 deleted 1999-05-29. (Bug#15357)
4710 2013-09-11 Glenn Morris <rgm@gnu.org>
4712 * echistory.el (electric-command-history): Remove call to deleted func.
4714 * play/landmark.el (landmark-mode): Fix typos.
4716 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4717 Check cvs-sort-ignore-file is bound.
4719 * savehist.el: No need for cl when compiling on Emacs.
4721 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4723 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4725 (eshell-self-insert-command, eshell-send-invisible):
4726 Remove unused argument.
4727 (eshell-handle-control-codes): Remove unused var `orig'.
4728 Avoid delete-backward-char.
4730 * files.el (set-auto-mode): Simplify a bit further.
4732 2013-09-11 Glenn Morris <rgm@gnu.org>
4734 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4735 (set-auto-mode): Don't regexp-quote elements.
4736 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4737 * progmodes/cc-mode.el (interpreter-mode-alist):
4738 * progmodes/ruby-mode.el (interpreter-mode-alist):
4739 Revert previous change.
4741 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4743 * play/snake.el (snake-mode):
4744 * play/mpuz.el (mpuz-mode):
4745 * play/landmark.el (lm-mode):
4746 * play/blackbox.el (blackbox-mode):
4747 * play/5x5.el (5x5-mode):
4748 * obsolete/options.el (Edit-options-mode):
4749 * net/quickurl.el (quickurl-list-mode):
4750 * net/newst-treeview.el (newsticker-treeview-mode):
4751 * mail/rmailsum.el (rmail-summary-mode):
4752 * mail/mspools.el (mspools-mode):
4753 * locate.el (locate-mode):
4754 * ibuffer.el (ibuffer-mode):
4755 * emulation/ws-mode.el (wordstar-mode):
4756 * emacs-lisp/debug.el (debugger-mode):
4757 * array.el (array-mode):
4758 * net/eudc.el (eudc-mode): Use define-derived-mode.
4759 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4760 Move initialization into declaration.
4761 (mairix-searches-mode): Use define-derived-mode.
4762 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4763 (eudc-edit-hotlist): Use dolist.
4764 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4765 (Man-mode): Use define-derived-mode.
4766 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4767 (Info-edit-mode): Use define-derived-mode.
4768 (Info-cease-edit): Use Info-mode.
4769 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4771 (eshell-mode): Use define-derived-mode.
4772 * chistory.el (command-history-mode-map): Rename from
4773 command-history-map.
4774 (command-history-mode): Use define-derived-mode.
4775 (Command-history-setup): Remove function.
4776 * calc/calc.el (calc-trail-mode-map): New var.
4777 (calc-trail-mode): Use define-derived-mode.
4778 (calc-trail-buffer): Set calc-main-buffer manually.
4779 * bookmark.el (bookmark-insert-annotation): New function.
4780 (bookmark-edit-annotation): Use it.
4781 (bookmark-edit-annotation-mode): Make it a proper major mode.
4782 (bookmark-send-edited-annotation): Use derived-mode-p.
4783 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4784 closer to its ideal place. Use \' to match EOS.
4786 * profiler.el (profiler-calltree-find): Use function-equal.
4788 2013-09-10 Glenn Morris <rgm@gnu.org>
4790 * files.el (interpreter-mode-alist): Convert to regexps.
4791 (set-auto-mode): Adapt for this. (Bug#15306)
4792 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4793 Comment out unused variable.
4794 * progmodes/cc-mode.el (interpreter-mode-alist):
4795 * progmodes/python.el (interpreter-mode-alist):
4796 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4797 * progmodes/sh-script.el (sh-set-shell):
4798 No longer use interpreter-mode-alist to get list of shells.
4800 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4802 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4804 * simple.el: Use set-temporary-overlay-map for universal-argument.
4805 (universal-argument-map): Don't use default-bindings (bug#15317).
4806 Bind switch-frame explicitly. Replace universal-argument-minus with
4807 a conditional binding.
4808 (universal-argument-num-events, saved-overriding-map): Remove.
4809 (restore-overriding-map): Remove.
4810 (universal-argument--mode): Rename from save&set-overriding-map,
4812 (universal-argument, universal-argument-more, negative-argument)
4813 (digit-argument): Adjust accordingly.
4814 (universal-argument-minus): Remove.
4815 (universal-argument-other-key): Remove.
4817 * subr.el (with-demoted-errors): Add `format' argument.
4819 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4821 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4822 `tramp-cleanup-connection'.
4824 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4825 parameters KEEP-DEBUG and KEEP-PASSWORD.
4827 * net/tramp.el (tramp-file-name-handler):
4828 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4829 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4830 (tramp-maybe-open-connection):
4831 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4832 Use `tramp-cleanup-connection'.
4834 * net/tramp-sh.el (tramp-maybe-open-connection):
4835 Catch 'uname-changed inside the progress reporter.
4837 2013-09-10 Glenn Morris <rgm@gnu.org>
4839 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4841 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4842 returns "alternate access method" in mode (eg "-rw-r--r--.").
4844 2013-09-08 Glenn Morris <rgm@gnu.org>
4846 * saveplace.el (load-save-place-alist-from-file):
4847 Demote errors. (Bug#15305)
4849 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4851 Improve compatibility with older Emacsen, and XEmacs.
4853 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4854 only if it is bound. It isn't for XEmacs.
4855 (with-tramp-progress-reporter): Do not let-bind `result'.
4856 This yields to scoping errors in XEmacs.
4857 (tramp-handle-make-auto-save-file-name): New function, moved from
4860 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4861 for `make-auto-save-file-name'.
4862 (tramp-adb--gnu-switches-to-ash):
4863 Use `tramp-compat-replace-regexp-in-string'.
4865 * net/tramp-cache.el (tramp-cache-print): Call
4866 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4868 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4869 bound. It isn't for XEmacs.
4871 * net/tramp-compat.el (tramp-compat-copy-file):
4872 Catch `wrong-number-of-arguments' error.
4873 (tramp-compat-replace-regexp-in-string): New defun.
4875 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4876 for `make-auto-save-file-name'.
4877 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4879 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4880 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4881 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4883 * net/tramp-gw.el (tramp-gw-open-network-stream):
4884 Use `tramp-compat-replace-regexp-in-string'.
4886 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4887 Call `tramp-handle-make-auto-save-file-name'.
4888 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4889 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4890 (tramp-sh-file-inotifywait-process-filter):
4891 Use `tramp-compat-replace-regexp-in-string'.
4892 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4894 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4895 for `make-auto-save-file-name'.
4896 (tramp-smb-handle-copy-directory):
4897 Call `tramp-compat-replace-regexp-in-string'.
4898 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4899 (tramp-smb-handle-copy-file): Improve error message.
4900 (tramp-smb-handle-rename-file): Rename directly only in case
4901 `newname' does not exist yet. This is a restriction of smbclient.
4902 (tramp-smb-maybe-open-connection): Rerun the function only when
4903 `auth-sources' is non-nil.
4905 2013-09-08 Kenichi Handa <handa@gnu.org>
4907 * international/characters.el: Set category "^" (Combining) for
4910 2013-09-07 Alan Mackenzie <acm@muc.de>
4912 Correctly fontify Java class constructors.
4913 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4915 (c-recognize-typeless-decls): Set the Java value to t.
4916 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4917 While handling a "(", add a check for, effectively, Java, and handle a
4918 "typeless" declaration there.
4920 2013-09-07 Roland Winkler <winkler@gnu.org>
4922 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4923 field subtitle for entry type book.
4925 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4927 * minibuffer.el: Make minibuffer-complete call completion-in-region
4928 rather than other way around.
4929 (completion--some, completion-pcm--find-all-completions):
4930 Don't delay signals when debugging.
4931 (minibuffer-completion-contents): Beware fields within the
4932 minibuffer contents.
4933 (completion-all-sorted-completions): Use defvar-local.
4934 (completion--do-completion, completion--cache-all-sorted-completions)
4935 (completion-all-sorted-completions, minibuffer-force-complete):
4936 Add args `beg' and `end'.
4937 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4938 (minibuffer-complete): Use completion-in-region.
4939 (completion-complete-and-exit): New fun, extracted from
4940 minibuffer-complete-and-exit.
4941 (minibuffer-complete-and-exit): Use it.
4942 (completion--complete-and-exit): Rename from
4943 minibuffer--complete-and-exit.
4944 (completion-in-region--single-word): New function, extracted from
4945 minibuffer-complete-word.
4946 (minibuffer-complete-word): Use it.
4947 (display-completion-list): Make `common-substring' argument obsolete.
4948 (completion--in-region): Call completion--in-region-1 instead of
4949 minibuffer-complete.
4950 (completion-help-at-point): Pass boundaries to
4951 minibuffer-completion-help as args rather than via an overlay.
4952 (completion-pcm--string->pattern): Use `any-delim'.
4953 (completion-pcm--optimize-pattern): New function.
4954 (completion-pcm--pattern->regex): Handle `any-delim'.
4955 * icomplete.el (icomplete-forward-completions)
4956 (icomplete-backward-completions, icomplete-completions):
4957 Adjust calls to completion-all-sorted-completions and
4958 completion--cache-all-sorted-completions.
4959 (icomplete-with-completion-tables): Default to t.
4960 * emacs-lisp/crm.el (crm--current-element): Rename from
4961 crm--select-current-element. Don't put an overlay but return the
4963 (crm--completion-command): Take two new args to bind to the boundaries.
4964 (crm-completion-help): Adjust accordingly.
4965 (crm-complete): Use completion-in-region.
4966 (crm-complete-word): Use completion-in-region--single-word.
4967 (crm-complete-and-exit): Use completion-complete-and-exit.
4969 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4971 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4974 2013-09-06 Juri Linkov <juri@jurta.org>
4976 * info.el (Info-display-images-node): When image file doesn't exist
4977 display text version of the image if it's provided in the Info file.
4978 Otherwise, display the location of missing image from SRC attribute.
4979 Add help-echo text property from ALT attribute. (Bug#15279)
4981 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4983 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4984 (edit-abbrevs-mode): Use define-derived-mode.
4986 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4987 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4989 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4990 Use define-derived-mode.
4992 * epg.el (epg-start-encrypt): Minor CSE simplification.
4994 2013-09-06 William Xu <william.xwl@gmail.com>
4996 * arc-mode.el: Add support for 7za (bug#15264).
4997 (archive-7z-program): New var.
4998 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4999 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5000 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5002 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5006 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5007 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5008 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5009 (tramp-postfix-host-format, tramp-file-name-regexp)
5010 (tramp-completion-file-name-regexp)
5011 (tramp-completion-dissect-file-name)
5012 (tramp-handle-substitute-in-file-name): Remove 'url case.
5013 (tramp-file-name-regexp-url)
5014 (tramp-completion-file-name-regexp-url): Remove constants.
5016 2013-09-06 Glenn Morris <rgm@gnu.org>
5018 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5020 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5022 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5023 keywords" below "here-doc beginnings" (Bug#15270).
5025 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5027 * subr.el (pop): Use `car-safe'.
5028 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5029 to detect unused `pop' return value.
5031 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5033 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5034 (python-fill-string): Remove unused var `marker'.
5035 (python-skeleton-add-menu-items): Remove unused var `items'.
5037 * international/mule-cmds.el: Require CL.
5038 (find-coding-systems-for-charsets): Avoid add-to-list.
5039 (sanitize-coding-system-list): New function, extracted from
5040 select-safe-coding-system-interactively.
5041 (select-safe-coding-system-interactively): Use it.
5042 (read-input-method-name): Accept symbols for `default'.
5044 * emacs-lisp/advice.el (defadvice): Add indent rule.
5046 2013-09-05 Daniel Hackney <dan@haxney.org>
5050 * net/browse-url.el:
5053 * net/eudcb-ldap.el:
5066 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5067 byte compiler. Remove some unused let-bound variables.
5069 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5071 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5072 a "ref-cell", since it gets better optimized (bug#14883).
5074 2013-09-05 Glenn Morris <rgm@gnu.org>
5076 * progmodes/cc-awk.el (c-forward-sws): Declare.
5078 2013-09-04 Glenn Morris <rgm@gnu.org>
5080 * generic-x.el [rul-generic-mode]: Require cc-mode.
5081 (c++-mode-syntax-table): Declare.
5082 (rul-generic-mode-syntax-table): Init in the defvar.
5084 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5086 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5087 (vc-do-command, vc-set-async-update):
5088 * vc/vc-mtn.el (vc-mtn-dir-status):
5089 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5090 (vc-hg-pull, vc-hg-merge-branch):
5091 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5092 (vc-git-merge-branch):
5093 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5094 (vc-cvs-dir-status-files):
5095 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5096 (vc-bzr-dir-status-files):
5097 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5098 * vc/vc-annotate.el: Use lexical-binding.
5099 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5100 (vc-sentinel-movepoint): Declare.
5101 (vc-annotate): Don't use `goto-line'.
5102 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5103 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5104 (vc-sentinel-movepoint): Declare.
5105 * vc/vc-svn.el: Use lexical-binding.
5106 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5108 * vc/vc-rcs.el: Use lexical-binding.
5110 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5111 `deleted'. Don't drop errors silently.
5113 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5115 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5117 * vc/vc.el (vc-ignore): Rewrite.
5118 (vc-default-ignore): New function.
5119 (vc-default-ignore-completion-table): Use find-ignore-file.
5121 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5122 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5123 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5124 Remove. Most code moved to vc.el.
5126 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5128 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5129 * net/tramp-smb.el (tramp-smb-get-file-entries):
5130 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5131 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5133 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5135 (eww-change-select): Remove unused var `properties'.
5136 (eww-make-unique-file-name): Remove unused var `base'.
5138 * finder.el (finder-compile-keywords): Don't mess with windows.
5140 * calculator.el (calculator-funcall): Fix typo in last change.
5142 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5144 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5145 <pkg>-autoloads.el file stop us.
5147 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5148 warnings, and factor out common code.
5150 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5152 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5153 two-character operators and whether the character preceding them
5154 changes their meaning (Bug#15208).
5156 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5158 Format code sent to Python shell for robustness.
5159 * progmodes/python.el (python-shell-buffer-substring):
5161 (python-shell-send-region, python-shell-send-buffer): Use it.
5163 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5165 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5166 * net/tramp.el (tramp-user-error): ... here.
5167 (tramp-find-method, tramp-check-proper-host)
5168 (tramp-dissect-file-name, tramp-debug-message)
5169 (tramp-handle-shell-command):
5170 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5171 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5173 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5175 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5177 * avoid.el (mouse-avoidance-point-position)
5178 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5181 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5183 * progmodes/python.el (python-shell-completion-get-completions):
5184 Drop use of deleted `comint-last-prompt-overlay'.
5185 (python-nav-if-name-main): New command.
5187 2013-09-01 Glenn Morris <rgm@gnu.org>
5189 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5190 Avoid leading space in $wins. Otherwise the sed command used by
5191 eg compile-main ends up containing "/*.el". (Bug#15170)
5193 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5195 2013-08-30 Glenn Morris <rgm@gnu.org>
5197 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5198 Fix is-this-a-directory logic. (Bug#15220)
5200 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5202 * textmodes/css-mode.el: Use SMIE.
5203 (css-smie-grammar): New var.
5204 (css-smie--forward-token, css-smie--backward-token)
5205 (css-smie-rules): New functions.
5206 (css-mode): Use them.
5207 (css-navigation-syntax-table): Remove var.
5208 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5209 (css-indent-calculate, css-indent-line): Remove functions.
5211 Misc changes to reduce use of `(lambda...); and other cleanups.
5212 * cus-edit.el: Use lexical-binding.
5213 (customize-push-and-save, customize-apropos)
5214 (custom-buffer-create-internal): Use closures.
5215 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5216 * progmodes/ada-xref.el: Use setq.
5217 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5218 * dframe.el: Use lexical-binding.
5219 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5220 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5221 * descr-text.el: Use lexical-binding.
5222 (describe-text-widget, describe-text-sexp, describe-property-list):
5224 * comint.el (comint-history-isearch-push-state): Use a closure.
5225 * calculator.el: Use lexical-binding.
5226 (calculator-number-to-string): Make it work with lexical-binding.
5227 (calculator-funcall): Same and use cl-letf.
5229 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5230 (lisp--company-doc-string, lisp--company-location): New functions.
5231 (lisp-completion-at-point): Use them to improve Company support.
5233 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5234 params of lambda expressions.
5235 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5236 (ruby-smie--opening-pipe-p): New function.
5237 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5238 symbols and matched |...| for formal params.
5239 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5240 from being treated as hanging. Handle "rescue".
5242 2013-08-29 Glenn Morris <rgm@gnu.org>
5244 * progmodes/cc-engine.el (c-pull-open-brace):
5245 Move definition before use.
5247 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5249 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5250 are immutable. Don't use `unsafe' any more.
5251 (cl--defsubst-expand): Don't substitute at the same time as keeping
5252 a residual unused let-binding. Don't use `unsafe' any more.
5254 2013-08-29 Glenn Morris <rgm@gnu.org>
5256 * calendar/cal-china.el (calendar-chinese-year-cache):
5259 * nxml/nxml-util.el (nxml-debug-clear-inside):
5260 Use cl-loop rather than loop.
5262 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5264 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5266 2013-08-28 Glenn Morris <rgm@gnu.org>
5268 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5270 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5272 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5274 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5276 * simple.el (repeat-complex-command--called-interactively-skip):
5278 (repeat-complex-command): Use it (bug#14136).
5280 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5281 (c-define-abbrev-table): Add `doc' argument.
5282 (c-mode-abbrev-table, c++-mode-abbrev-table)
5283 (objc-mode-abbrev-table, java-mode-abbrev-table)
5284 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5285 (awk-mode-abbrev-table): Use it.
5286 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5287 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5288 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5289 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5290 Move initialization into the declaration; and remove any
5293 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5294 and dynamic let binding.
5296 * vc/smerge-mode.el: Remove redundant :group args.
5298 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5301 2013-08-28 Juri Linkov <juri@jurta.org>
5303 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5304 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5305 (isearch-other-meta-char): Handle an undefined shifted printing
5306 character by downshifting it. (Bug#15200)
5308 2013-08-28 Juri Linkov <juri@jurta.org>
5310 * isearch.el (isearch-search): Change regexp error message for
5311 non-regexp searches. (Bug#15166)
5313 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5315 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5316 for portability to hosts where /bin/sh has problems.
5318 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5320 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5322 2013-08-27 Juri Linkov <juri@jurta.org>
5324 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5325 in the keyboard macro. (Bug#15126)
5327 2013-08-27 Juri Linkov <juri@jurta.org>
5329 * isearch.el (isearch-quote-char): Comment out converting unibyte
5330 to multibyte, thus syncing with its `quoted-insert' counterpart.
5333 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5335 * window.el (display-buffer-use-some-window): Add missing
5336 argument in call of get-largest-window (Bug#15185).
5337 Reported by Stephen Leake.
5339 2013-08-27 Glenn Morris <rgm@gnu.org>
5341 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5343 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5345 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5346 from a matcher-function unless there's no more matches (bug#15161).
5348 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5350 * minibuffer.el: Revert change from 2013-08-20.
5352 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5353 with text property `tramp-default', if appropriate.
5354 (tramp-check-proper-host): New defun.
5355 (tramp-dissect-file-name): Do not check hostname. Revert change
5357 (tramp-backtrace): Make VEC-OR-PROC optional.
5359 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5360 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5361 * net/tramp-sh.el (tramp-maybe-open-connection):
5362 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5363 Apply `tramp-check-proper-host'.
5365 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5367 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5368 lambda expression in order to have `describe-variable' display it.
5370 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5372 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5373 BUF can be optional. (Bug#15186)
5375 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5377 * progmodes/flymake.el (flymake-get-real-file-name-function):
5378 Fix broken customization. (Bug#15184)
5380 2013-08-25 Alan Mackenzie <acm@muc.de>
5382 Improve indentation of bracelists defined by macros (without "=").
5384 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5385 expansion begins with "{", regard it as bracelist when it doesn't
5388 Parse C++ inher-intro when there's a template split over 2 lines.
5390 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5391 rigorously the search for "class" etc. followed by ":".
5393 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5394 random languages a regexp which never matches rather than nil.
5396 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5398 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5399 (c-awk-regexp-one-line-possibly-open-char-list-re)
5400 (c-awk-one-line-possibly-open-regexp-re)
5401 (c-awk-one-line-non-syn-ws*-re): Remove.
5402 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5403 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5404 (c-awk-space*-unclosed-regexp-/-re): New constants.
5405 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5406 aren't regexp delimiters.
5408 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5409 handling for a rare situation in AWK Mode involving unterminated
5412 2013-08-23 Glenn Morris <rgm@gnu.org>
5414 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5416 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5418 * files.el (create-file-buffer): If the result would begin with
5419 spaces, prepend a "|" instead of removing them. (Bug#15162)
5421 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5423 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5424 text-properties (bug#15155).
5426 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5428 (calc-keypad-redraw): Remove unused var `pad'.
5429 (calc-keypad-press): Remove unused var `menu'.
5431 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5433 * window.el (display-buffer-pop-up-frame):
5434 Call pop-up-frame-function with BUFFER current so `make-frame' will
5435 use it as the new frame's buffer (Bug#15133).
5437 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5439 * calendar/timeclock.el: Minor cleanups.
5440 (timeclock-ask-before-exiting, timeclock-use-display-time):
5442 (timeclock-modeline-display): Define as alias before the
5444 (timeclock-mode-line-display): Use define-minor-mode.
5445 (timeclock-day-list-template): Make it a function, add an argument.
5446 (timeclock-day-list-required, timeclock-day-list-length)
5447 (timeclock-day-list-debt, timeclock-day-list-span)
5448 (timeclock-day-list-break): Adjust calls accordingly.
5450 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5452 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5453 Use read--expression so that completion works again.
5455 2013-08-21 Sam Steingold <sds@gnu.org>
5457 Add rudimentary inferior shell interaction
5458 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5459 (sh-set-shell): Reset it.
5460 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5461 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5463 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5465 * align.el: Use lexical-binding.
5466 (align-region): Simplify accordingly.
5468 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5470 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5472 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5475 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5479 * net/tramp-cmds.el:
5481 * net/tramp-gvfs.el:
5483 * net/tramp-sh.el: Don't wrap external variable declarations by
5484 `eval-when-compile'.
5486 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5488 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5489 now that Emacs supports ImageMagick animations.
5491 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5493 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5494 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5496 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5498 * window.el (mouse-autoselect-window-select): Do autoselect when
5499 mouse pointer is on margin.
5501 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5503 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5505 2013-08-16 Glenn Morris <rgm@gnu.org>
5507 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5508 Handle "Remote Directory" response of some clients. (Bug#15058)
5510 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5511 Tweak warning. (Bug#14926)
5513 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5514 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5516 * image-mode.el (image-mode-map): Add menu items to reverse,
5517 increase, decrease, reset animation speed.
5518 (image--set-speed, image-increase-speed, image-decrease-speed)
5519 (image-reverse-speed, image-reset-speed): New functions.
5520 (image-mode-map): Add bindings for speed commands.
5522 * image.el (image-animate-get-speed, image-animate-set-speed):
5524 (image-animate-timeout): Respect image :speed property.
5526 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5528 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5529 previous line (bug#15101).
5530 (debugger-eval-expression, debugger-record-expression):
5531 Use read--expression (bug#15102).
5533 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5535 Remove byte compiler warnings, visible when compiling with
5536 `byte-compile-force-lexical-warnings' set to t.
5538 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5539 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5540 (tramp-handle-unhandled-file-name-directory)
5541 (tramp-handle-file-notify-add-watch, tramp-action-login)
5542 (tramp-action-succeed, tramp-action-permission-denied)
5543 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5546 * net/tramp-adb.el (tramp-adb-parse-device-names)
5547 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5548 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5549 (tramp-adb-handle-file-truename): Remove unused arguments.
5551 * net/tramp-cache.el (tramp-flush-directory-property)
5552 (tramp-flush-connection-property, tramp-list-connections)
5553 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5555 * net/tramp-compat.el (tramp-compat-make-temp-file):
5556 Rename FILENAME to F.
5558 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5559 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5560 (tramp-zeroconf-parse-workstation-device-names)
5561 (tramp-zeroconf-parse-webdav-device-names)
5562 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5564 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5565 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5567 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5569 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5570 (tramp-sh-handle-insert-file-contents-literally)
5571 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5573 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5574 Remove unused variables.
5576 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5577 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5578 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5580 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5581 Make them a defconst.
5582 (tramp-uuencode-region): Remove unused variable.
5584 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5586 * frameset.el (frameset--prop-setter): New function.
5587 (frameset-prop): Add gv-setter declaration.
5588 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5589 parameter was already set in FILTERED. Doc fix.
5590 (frameset--record-minibuffer-relationships): Allow saving a
5591 minibufferless frame without its corresponding minibuffer frame.
5592 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5593 frame, if the frame id matches.
5594 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5595 frames before orphaned ones.
5596 (frameset-restore): Warn about orphaned windows, instead of error out.
5598 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5600 * window.el (window-make-atom): Don't overwrite parameter
5602 (display-buffer-in-atom-window): Handle special case where we
5603 split an already atomic window.
5604 (window--major-non-side-window, display-buffer-in-side-window)
5605 (window--side-check): Ignore minibuffer window when walking
5607 (window-deletable-p): Return 'frame only if no other frame uses
5608 our minibuffer window.
5609 (record-window-buffer): Run buffer-list-update-hook.
5610 (split-window): Make sure window--check-frame won't destroy an
5611 existing atomic window in case the new window gets nested
5613 (display-buffer-at-bottom): Ignore minibuffer window when
5614 walking window tree. Don't split a side window.
5615 (pop-to-buffer): Don't set-buffer here, the select-window call
5617 (mouse-autoselect-window-select): Autoselect only if we are in the
5618 text portion of the window.
5620 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5622 * net/shr.el (shr-parse-image-data): New function to grab both the
5623 data itself and the Content-Type.
5624 (shr-put-image): Use it.
5626 * net/eww.el (eww-display-image): Ditto.
5628 * image.el (image-content-type-suffixes): New variable.
5630 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5632 * progmodes/python.el (python-imenu--build-tree)
5633 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5635 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5637 * simple.el (backward-word): Mention the optional argument.
5639 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5641 * frameset.el (frameset--make): Rename constructor from make-frameset.
5642 (frameset-p, frameset-valid-p): Don't autoload.
5643 (frameset-valid-p): Use normal accessors.
5645 2013-08-13 Glenn Morris <rgm@gnu.org>
5647 * progmodes/compile.el (compile-command): Tweak example in doc.
5648 * obsolete/scribe.el (scribe-mode):
5649 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5651 * mail/feedmail.el (feedmail-confirm-outgoing)
5652 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5654 * cus-start.el (truncate-partial-width-windows): Fix type.
5656 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5658 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5660 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5662 * emacs-lisp/timer.el (timer--time-setter): New function.
5663 (timer--time): Use it as gv-setter.
5665 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5666 setter is not a symbol.
5668 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5670 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5671 if sending fails. This makes debugging easier.
5673 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5675 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5676 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5677 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5679 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5681 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5683 2013-08-12 Glenn Morris <rgm@gnu.org>
5685 * format.el (format-annotate-function):
5686 Handle read-only text properties in the source. (Bug#14887)
5688 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5690 * net/eww.el (eww-display-html): Ignore coding system errors.
5691 One web site uses "utf-8lias" as the coding system.
5693 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5695 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5697 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5699 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5700 (tutorial--detailed-help): Remove unused local variables.
5701 (tutorial--save-tutorial-to): Use ignore-errors.
5702 (help-with-tutorial): Use looking-at-p.
5704 * view.el (view-buffer-other-window, view-buffer-other-frame):
5705 Mark unused arguments.
5707 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5708 (woman-select-symbol-fonts, woman, woman-find-file)
5709 (woman-insert-file-contents, woman-non-underline-faces):
5711 (woman1-unquote): Move declaration.
5713 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5714 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5715 argument. Remove unused local variable.
5716 (xml-parse-elem-type): Use string-match-p.
5717 (xml-substitute-numeric-entities): Use ignore-errors.
5719 * calculator.el (calculator): Mark unused argument.
5720 (calculator-paste, calculator-quit, calculator-integer-p):
5722 (calculator-string-to-number, calculator-decimal, calculator-exp)
5723 (calculator-op-or-exp): Use string-match-p.
5725 * dired.el (dired-buffer-more-recently-used-p): Declare.
5726 (dired-insert-set-properties, dired-insert-old-subdirs):
5729 * dired-aux.el (dired-compress): Use ignore-errors.
5730 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5731 (dired-do-async-shell-command, dired-do-shell-command)
5732 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5733 (dired-insert-subdir-validate): Use string-match-p.
5734 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5735 (dired-add-entry): Use string-match-p, looking-at-p.
5736 (dired-insert-subdir-newpos): Remove unused local variable.
5738 * filenotify.el (file-notify-callback): Remove unused local variable.
5740 * filesets.el (filesets-error): Mark unused argument.
5741 (filesets-which-command-p, filesets-filter-dir-names)
5742 (filesets-directory-files, filesets-get-external-viewer)
5743 (filesets-ingroup-get-data): Use string-match-p.
5745 * find-file.el (ff-other-file-name, ff-other-file-name)
5746 (ff-find-the-other-file, ff-cc-hh-converter):
5747 Remove unused local variables.
5748 (ff-get-file-name): Use string-match-p.
5749 (ff-all-dirs-under): Use ignore-errors.
5751 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5752 (follow-select-if-visible): Remove unused local variable.
5754 * forms.el (read-file-filter): Move declaration.
5755 (forms--make-format, forms--make-parser, forms-insert-record):
5756 Quote function with #'.
5757 (forms--update): Use string-match-p. Quote function with #'.
5759 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5760 (help-make-xrefs): Use looking-at-p.
5761 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5763 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5764 (ibuffer-confirm-operation-on): Use string-match-p.
5766 * msb.el (msb-item-handler, msb-dired-item-handler):
5767 Mark unused arguments.
5769 * ses.el (ses-decode-cell-symbol)
5770 (ses-kill-override): Remove unused local variable.
5771 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5772 (ses-load): Use ignore-errors, looking-at-p.
5773 (ses-jump-safe): Use ignore-errors.
5774 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5776 * tabify.el (untabify, tabify): Mark unused arguments.
5778 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5779 Mark unused argument.
5780 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5781 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5783 * emacs-lisp/timer.el (timer--time): Define setter with
5784 gv-define-setter to avoid deprecation warning.
5786 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5787 (*record-cmpl-statistics-p*): Remove (was commented out).
5788 (cmpl-statistics-block): Remove (body was commented out).
5789 All callers changed.
5790 (add-completions-from-buffer, load-completions-from-file):
5791 Remove unused variables.
5793 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5795 * filecache.el (file-cache-delete-file-list):
5796 Print message only when told so.
5797 (file-cache-files-matching): Use #' in mapconcat argument.
5799 * ffap.el (ffap-url-at-point): Fix reference to variable
5800 thing-at-point-default-mail-uri-scheme.
5802 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5804 * subr.el (define-error): New function.
5805 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5806 error-file-not-found and define with define-error.
5807 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5808 and define with define-error.
5809 * userlock.el (file-locked, file-supersession):
5810 * simple.el (mark-inactive):
5811 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5812 * progmodes/ada-mode.el (ada-mode-errors):
5813 * play/life.el (life-extinct):
5814 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5815 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5816 * nxml/rng-util.el (rng-error):
5817 * nxml/rng-uri.el (rng-uri-error):
5818 * nxml/rng-match.el (rng-compile-error):
5819 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5820 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5821 * nxml/nxml-rap.el (nxml-scan-error):
5822 * nxml/nxml-outln.el (nxml-outline-error):
5823 * net/soap-client.el (soap-error):
5824 * net/gnutls.el (gnutls-error):
5825 * net/ange-ftp.el (ftp-error):
5826 * mpc.el (mpc-proc-error):
5827 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5828 (json-number-format, json-string-escape, json-string-format)
5829 (json-key-format, json-object-format):
5830 * jka-compr.el (compression-error):
5831 * international/quail.el (quail-error):
5832 * international/kkc.el (kkc-error):
5833 * emacs-lisp/ert.el (ert-test-failed):
5834 * calc/calc.el (calc-error, inexact-result, math-overflow)
5836 * bookmark.el (bookmark-error-no-filename):
5837 * epg.el (epg-error): Define with define-error.
5839 * time.el (display-time-event-handler)
5840 (display-time-next-load-average): Don't call sit-for since it seems
5841 unnecessary (bug#15045).
5843 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5844 Use #' instead of ' to quote functions.
5845 (checkdoc-output-mode): Use setq-local.
5846 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5847 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5848 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5849 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5850 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5851 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5852 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5853 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5855 * ido.el (ido-completion-help): Fix up compiler warning.
5857 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5859 * frameset.el (frameset-p): Add autoload cookie.
5860 (frameset--jump-to-register): New function, based on code moved from
5862 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5864 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5865 (frameset-restore, frameset-save, frameset-session-filter-alist):
5866 Remove declarations.
5867 (register-alist): Doc fix.
5868 (frameset-to-register): Move to frameset.el.
5869 (jump-to-register, describe-register-1): Remove frameset-specific code.
5871 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5873 * allout-widgets.el (allout-widgets-pre-command-business)
5874 (allout-widgets-post-command-business)
5875 (allout-widgets-after-change-handler)
5876 (allout-decorate-item-and-context, allout-set-boundary-marker)
5877 (allout-body-modification-handler)
5878 (allout-graphics-modification-handler): Mark ignored arguments.
5879 (allout-widgets-post-command-business)
5880 (allout-widgets-exposure-change-processor)
5881 (allout-widgets-exposure-undo-processor)
5882 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5883 (allout-parse-item-at-point, allout-decorate-item-guides)
5884 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5885 * allout.el (epa-passphrase-callback-function): Declare.
5886 (allout-overlay-insert-in-front-handler)
5887 (allout-overlay-interior-modification-handler)
5888 (allout-isearch-end-handler, allout-chart-siblings)
5889 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5890 (allout-yank-processing, allout-process-exposed)
5891 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5892 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5893 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5894 (lisp-indent-defform): Mark ignored arguments.
5895 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5896 (calculate-lisp-indent): Remove unused variables.
5897 * international/characters.el (indian-2-column, arabic-2-column)
5898 (tibetan): Mark ignored arguments.
5899 (use-cjk-char-width-table): Mark ignored arguments.
5900 Remove unused variables.
5901 * international/fontset.el (build-default-fontset-data)
5902 (x-compose-font-name, create-fontset-from-fontset-spec):
5903 Mark ignored arguments.
5904 (fontset-plain-name): Remove unused variables.
5905 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5906 (keyboard-coding-system): Mark ignored arguments.
5907 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5908 * help.el (resize-temp-buffer-window):
5909 * window.el (display-buffer-in-major-side-window)
5910 (display-buffer-in-side-window, display-buffer-in-previous-window):
5911 Remove unused variables.
5912 * isearch.el (isearch-forward-symbol):
5913 * version.el (emacs-bzr-version-bzr):
5914 * international/mule-cmds.el (current-language-environment):
5915 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5917 * term/pc-win.el (x-list-fonts, x-display-planes)
5918 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5919 (x-server-version, x-display-screens, x-display-mm-height)
5920 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5921 (x-selection-owner-p, x-own-selection-internal)
5922 (x-disown-selection-internal, x-get-selection-internal)
5923 (msdos-initialize-window-system):
5924 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5925 * term/x-win.el (x-handle-no-bitmap-icon):
5926 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5927 (vc-default-find-file-hook, vc-default-extra-menu):
5928 Mark ignored arguments.
5930 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5932 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5933 break-condition in the context of the debugged code (bug#12685).
5935 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5938 Do not use an overlay to highlight the last prompt. (Bug#14744)
5939 (comint-mode): Make comint-last-prompt buffer local.
5940 (comint-last-prompt): New variable.
5941 (comint-last-prompt-overlay): Remove. Superseded by
5943 (comint-snapshot-last-prompt, comint-output-filter):
5944 Use comint-last-prompt.
5946 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5948 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5949 (frameset-save): Check validity of the resulting frameset.
5951 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5953 * ido.el (ido-record-command): Add doc string.
5955 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5957 * frameset.el (frameset): Do not disable creation of the default
5958 frameset-p predicate. Doc fix.
5959 (frameset-valid-p): New function, copied from the old predicate-p.
5960 Add additional checks.
5961 (frameset-restore): Check with frameset-valid-p.
5962 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5963 (frameset-name, frameset-description, frameset-properties)
5964 (frameset-states): Add docstring.
5965 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5966 (frameset-filter-alist): Doc fixes.
5968 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5970 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5972 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5974 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5975 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5976 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5977 (byte-compile-normal-call): Remove obsolescence check.
5979 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5981 * frameset.el (frameset-restore): Doc fix.
5983 * register.el (frameset-frame-id, frameset-frame-with-id)
5984 (frameset-p, frameset-restore, frameset-save): Declare.
5985 (register-alist): Document framesets.
5986 (frameset-session-filter-alist): Declare.
5987 (frameset-to-register): New function.
5988 (jump-to-register): Implement jumping to framesets. Doc fix.
5989 (describe-register-1): Describe framesets.
5991 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5993 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5995 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5996 Use lexical-binding.
5998 * frameset.el (frameset): Use type vector, not list (incompatible
5999 change). Do not declare a new constructor, use the default one.
6000 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6001 `name' and `description', respectively, and add read-only slot
6002 `timestamp'. Doc fixes.
6003 (frameset-copy, frameset-persistent-filter-alist)
6004 (frameset-filter-alist, frameset-switch-to-gui-p)
6005 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6006 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6007 (frameset-filter-iconified, frameset-keep-original-display-p):
6009 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6010 Rename from frameset-filter-(save|restore)-param. All callers changed.
6012 (frameset-p): Adapt to change to vector and be more thorough.
6013 Change arg name to OBJECT. Doc fix.
6014 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6015 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6016 All callers changed.
6017 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6018 All callers changed.
6019 (frameset--record-minibuffer-relationships): Rename from
6020 frameset--process-minibuffer-frames. All callers changed.
6021 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6022 Use new default constructor (again). Doc fix.
6023 (frameset--find-frame-if): Rename from `frameset--find-frame.
6024 All callers changed.
6025 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6026 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6028 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6029 PARAMETERS and WINDOW-STATE, respectively.
6030 (frameset-restore): Add new keyword argument PREDICATE.
6031 Reset frameset--target-display to nil. Doc fix.
6033 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6035 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6037 (bat-mode-syntax-table): Mark \n as end-of-comment.
6038 (bat-font-lock-keywords): Remove comment rule.
6040 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6041 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6043 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6044 (byte-compile-callargs-warn): Use `push'.
6045 (byte-compile-arglist-warn): Ignore higher-order "calls".
6046 (byte-compile-file-form-autoload): Use `pcase'.
6047 (byte-compile-function-form): If quoting a symbol, check that it exists.
6049 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6051 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6052 and add a few popular commands found in batch files.
6053 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6054 (dos-mode): Doc fixes.
6056 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6058 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6059 (dos-mode): Use setq-local. Add space after "rem".
6060 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6061 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6063 2013-08-07 Arni Magnusson <arnima@hafro.is>
6065 * progmodes/dos.el: New file.
6066 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6069 2013-08-06 Glenn Morris <rgm@gnu.org>
6071 * calendar/calendar.el: Add new faces, and day-header-array.
6072 (calendar-weekday-header, calendar-weekend-header)
6073 (calendar-month-header): New faces.
6074 (calendar-day-header-construct): New function.
6075 (calendar-day-header-width): Also :set calendar-day-header-array.
6076 (calendar-american-month-header, calendar-european-month-header)
6077 (calendar-iso-month-header): Use calendar- faces.
6078 (calendar-generate-month):
6079 Use calendar-day-header-array for day headers; apply faces to them.
6080 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6081 (calendar-abbrev-construct): Add optional maxlen argument.
6082 (calendar-day-name-array): Doc fix.
6083 (calendar-day-name-array, calendar-abbrev-length)
6084 (calendar-day-abbrev-array):
6085 Also :set calendar-day-header-array, and maybe redraw.
6086 (calendar-day-header-array): New option. (Bug#15007)
6087 (calendar-font-lock-keywords): Set to nil and make obsolete.
6088 (calendar-day-name): Add option to use header array.
6090 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6092 * net/shr.el (shr-render-td): Remove debugging.
6093 (shr-render-td): Make width computation consistent by defaulting
6094 all zero-width columns to 10 characters. This may not be optimal,
6095 but it's at least consistent.
6096 (shr-make-table-1): Redo last change to fix the real problem in
6099 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6101 * files.el (cache-long-line-scans):
6102 Make obsolete alias to `cache-long-scans'.
6104 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6106 * frameset.el (frameset, frameset-filter-alist)
6107 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6108 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6109 (frameset-compute-pos): Rename from frameset--compute-pos,
6111 (frameset-move-onscreen): Use frameset-compute-pos.
6112 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6114 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6115 Fix typos in docstrings.
6117 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6119 * frame.el (get-other-frame): Tiny cleanup.
6121 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6123 * vc/vc.el (vc-default-ignore-completion-table):
6124 Silence byte-compiler warning.
6126 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6127 slot , which can indeed be nil.
6128 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6129 Move entry for `left' from persistent to live filter alist.
6130 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6132 (frameset-filter-params): When restoring a frame, copy items added to
6133 `filtered', to avoid unwittingly modifying the original parameters.
6134 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6135 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6137 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6138 to use looking-at-p instead of looking-at. (Bug#15028)
6140 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6142 Revert introduction of isearch-filter-predicates (bug#14714).
6143 Rely on add-function instead.
6144 * isearch.el (isearch-filter-predicates): Rename it back to
6145 isearch-filter-predicate.
6146 (isearch-message-prefix): Use advice-function-mapc and advice
6147 properties to get the isearch-message-prefix.
6148 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6149 instead of run-hook-with-args-until-failure.
6150 (isearch-filter-visible): Not obsolete any more.
6151 * loadup.el: Preload nadvice.
6152 * replace.el (perform-replace): Revert to funcall
6153 instead of run-hook-with-args-until-failure.
6154 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6155 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6156 dired-isearch-filenames-toggle; make it into a proper minor mode.
6157 Use add/remove-function.
6158 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6159 Call the minor-mode rather than add/remove-hook.
6160 (dired-isearch-filter-filenames):
6161 Remove isearch-message-prefix property.
6162 * info.el (Info--search-loop): New function, extracted from Info-search.
6163 Funcall isearch-filter-predicate instead of
6164 run-hook-with-args-until-failure isearch-filter-predicates.
6165 (Info-search): Use it.
6166 (Info-mode): Use isearch-filter-predicate instead of
6167 isearch-filter-predicates.
6169 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6171 Do not call to `selected-window' where it is assumed by default.
6172 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6173 `window-hscroll', `window-width', `window-height', `window-buffer',
6174 `window-frame', `window-start', `window-point', `next-window'
6175 and `window-display-table'.
6176 * abbrev.el (abbrev--default-expand):
6177 * bs.el (bs--show-with-configuration):
6178 * buff-menu.el (Buffer-menu-mouse-select):
6179 * calc/calc.el (calc):
6180 * calendar/calendar.el (calendar-generate-window):
6181 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6183 * comint.el (send-invisible, comint-dynamic-complete-filename)
6184 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6185 * completion.el (complete):
6186 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6187 * disp-table.el (describe-current-display-table):
6188 * doc-view.el (doc-view-insert-image):
6189 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6190 * ehelp.el (with-electric-help):
6191 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6192 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6193 * emacs-lisp/helper.el (Helper-help-scroller):
6194 * emulation/cua-base.el (cua--post-command-handler-1):
6195 * eshell/esh-mode.el (eshell-output-filter):
6196 * ffap.el (ffap-gnus-wrapper):
6197 * help-macro.el (make-help-screen):
6198 * hilit-chg.el (highlight-compare-buffers):
6199 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6200 * hl-line.el (global-hl-line-highlight):
6201 * icomplete.el (icomplete-simple-completing-p):
6202 * isearch.el (isearch-done):
6203 * jit-lock.el (jit-lock-stealth-fontify):
6204 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6205 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
6206 * mpc.el (mpc-tagbrowser, mpc):
6207 * net/rcirc.el (rcirc-any-buffer):
6208 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6209 * play/landmark.el (landmark-max-width, landmark-max-height):
6210 * play/zone.el (zone):
6211 * progmodes/compile.el (compilation-goto-locus):
6212 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6213 * progmodes/etags.el (find-tag-other-window):
6214 * progmodes/fortran.el (fortran-column-ruler):
6215 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6216 * progmodes/verilog-mode.el (verilog-point-text):
6217 * reposition.el (reposition-window):
6218 * rot13.el (toggle-rot13-mode):
6219 * server.el (server-switch-buffer):
6220 * shell.el (shell-dynamic-complete-command)
6221 (shell-dynamic-complete-environment-variable):
6222 * simple.el (insert-buffer, set-selective-display)
6223 (delete-completion-window):
6224 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6225 (speedbar-recenter):
6226 * startup.el (fancy-splash-head):
6227 * textmodes/ispell.el (ispell-command-loop):
6228 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6229 * tutorial.el (help-with-tutorial):
6230 * vc/add-log.el (add-change-log-entry):
6231 * vc/compare-w.el (compare-windows):
6232 * vc/ediff-help.el (ediff-indent-help-message):
6233 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6234 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6235 (ediff-setup-control-frame):
6236 * vc/emerge.el (emerge-position-region):
6237 * vc/pcvs-util.el (cvs-bury-buffer):
6238 * window.el (walk-windows, mouse-autoselect-window-select):
6239 * winner.el (winner-set-conf, winner-undo): Related users changed.
6241 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6243 * frameset.el (frameset--set-id): Doc fix.
6244 (frameset-frame-id, frameset-frame-id-equal-p)
6245 (frameset-locate-frame-id): New functions.
6246 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6247 (frameset-restore): Use them.
6249 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6251 Do not call to `selected-frame' where it is assumed by default.
6252 Affected functions are `raise-frame', `redraw-frame',
6253 `frame-first-window', `frame-terminal' and `delete-frame'.
6254 * calendar/appt.el (appt-disp-window):
6255 * epg.el (epg-wait-for-completion):
6256 * follow.el (follow-delete-other-windows-and-split)
6257 (follow-avoid-tail-recenter):
6258 * international/mule.el (set-terminal-coding-system):
6259 * mail/rmail.el (rmail-mail-return):
6260 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6261 * progmodes/f90.el (f90-add-imenu-menu):
6262 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6263 * server.el (server-switch-buffer):
6264 * simple.el (delete-completion-window):
6266 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6267 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6268 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6269 * vc/ediff.el (ediff-documentation): Related users changed.
6270 * frame.el (selected-terminal): Remove the leftover.
6272 2013-08-05 Glenn Morris <rgm@gnu.org>
6274 * calendar/calendar.el (calendar-generate-month):
6275 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6276 (calendar-generate-month, calendar-font-lock-keywords):
6277 Fix for calendar-day-header-width > length of any day name.
6279 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6281 * desktop.el (desktop-clear): Use new name of sort predicate.
6283 * frameset.el (frameset): Add docstring. Move :version property to its
6285 (frameset-copy): Rename from copy-frameset.
6286 (frameset-p): Check more thoroughly.
6287 (frameset-prop): Do not check for :version, which is no longer a prop.
6288 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6289 Use new :never value instead of t.
6290 (frameset-filter-alist): Expand and clarify docstring.
6291 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6292 (frameset-filter-minibuffer, frameset-filter-save-param)
6293 (frameset-filter-restore-param, frameset-filter-iconified):
6294 Add pointer to docstring of frameset-filter-alist.
6295 (frameset-filter-params): Rename filter values to be more meaningful:
6296 :never instead of t, and reverse the meanings of :save and :restore.
6297 (frameset--process-minibuffer-frames): Clarify error message.
6298 (frameset-save): Avoid unnecessary and confusing call to framep.
6299 Use new BOA constructor for framesets.
6300 (frameset--reuse-list): Doc fix.
6301 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6302 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6303 (frameset-minibufferless-first-p): Doc fix.
6304 Rename from frameset-sort-frames-for-deletion.
6305 (frameset-restore): Doc fixes. Use new function names.
6306 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6308 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6310 * desktop.el (desktop-restore-forces-onscreen)
6311 (desktop-restore-reuses-frames): Document :keyword constant values.
6312 (desktop-filter-parameters-alist): Remove, now identical to
6313 frameset-filter-alist.
6314 (desktop--filter-tty*): Remove, moved to frameset.el.
6315 (desktop-save-frameset, desktop-restore-frameset):
6316 Do not pass :filters argument.
6318 * frameset.el (frameset-live-filter-alist)
6319 (frameset-persistent-filter-alist): New variables.
6320 (frameset-filter-alist): Use them. Add autoload cookie.
6321 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6322 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6323 `frameset--id' (it's supposed to be internal to frameset.el).
6324 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6325 (frameset--initial-params): New function.
6326 (frameset--get-frame): Use it. Doc fix.
6327 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6328 Accept :all, not 'all.
6329 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6330 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6331 with fbound symbols. Fix frame id matching, and remove matching ids if
6332 the frame being restored is deleted. Obey :delete.
6334 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6336 * subr.el (macrop): New function.
6337 (text-clone--maintaining): New var.
6338 (text-clone--maintain): Rename from text-clone-maintain. Use it
6339 instead of inhibit-modification-hooks.
6341 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6342 a proxy, so as handle autoloads and redefinitions of the target.
6343 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6345 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6346 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6347 (pcase--mutually-exclusive-p): New function.
6348 (pcase--split-consp): Use it.
6349 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6350 mutually exclusive with the current predicate.
6352 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6353 (edebug-macrop): Remove. Use `macrop' instead.
6354 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6356 * eshell/esh-cmd.el (eshell-macrop):
6357 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6359 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6361 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6362 (advice-mapc): New function, using it.
6363 (advice-function-member-p): New function.
6364 (advice--normalize): Store the cdr in advice--saved-rewrite since
6365 that's the part that will be changed.
6366 (advice--symbol-function): New function.
6367 (advice-remove): Handle removal before the function is defined.
6368 Adjust to new advice--saved-rewrite.
6369 (advice-member-p): Use advice-function-member-p and
6370 advice--symbol-function.
6372 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6374 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6375 (frameset-filter-minibuffer): Doc fix.
6376 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6377 (frameset--set-id, frameset--process-minibuffer-frames)
6378 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6379 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6381 * desktop.el (desktop-clear): Only delete frames when called
6382 interactively and desktop-restore-frames is non-nil. Doc fix.
6383 (desktop-read): Set desktop-saved-frameset to nil.
6385 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6387 * vc/vc.el (vc-ignore): Rewrite.
6388 (vc-default-ignore-completion-table):
6390 (vc--add-line, vc--remove-regexp): New functions.
6392 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6393 (vc-svn-ignore-completion-table): New function.
6395 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6396 (vc-hg-ignore-completion-table):
6397 (vc-hg-find-ignore-file): New functions.
6399 * vc/vc-git.el (vc-git-ignore): Rewrite.
6400 (vc-git-ignore-completion-table):
6401 (vc-git-find-ignore-file): New functions.
6403 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6405 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6406 (vc-bzr-ignore-completion-table):
6407 (vc-bzr-find-ignore-file): New functions.
6409 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6411 * frameset.el (frameset-prop): New function and setter.
6412 (frameset-save): Do not modify frame list passed by the caller.
6414 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6416 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6418 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6420 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6421 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6423 * custom.el (custom-initialize-default, custom-initialize-set)
6424 (custom-initialize-reset, custom-initialize-changed): Affect the
6425 toplevel-default-value (bug#6275, bug#14586).
6426 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6429 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6431 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6432 Add cl-def* expressions.
6434 * frameset.el (frameset-filter-params): Fix order of arguments.
6436 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6438 Move code related to saving frames to frameset.el.
6439 * desktop.el: Require frameset.
6440 (desktop-restore-frames): Doc fix.
6441 (desktop-restore-reuses-frames): Rename from
6442 desktop-restoring-reuses-frames.
6443 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6444 (desktop-clear): Clear frames too.
6445 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6446 (desktop--filter-tty*, desktop-save, desktop-read):
6447 Use frameset functions.
6448 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6449 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6450 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6451 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6452 (desktop--process-minibuffer-frames, desktop-save-frames)
6453 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6454 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6455 (desktop--sort-states, desktop-restoring-frames-p)
6456 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6457 (desktop-restoring-frameset-p, desktop-restore-frameset)
6458 (desktop--check-dont-save, desktop-save-frameset): New functions.
6459 (desktop--app-id): New constant.
6460 (desktop-first-buffer, desktop-buffer-ok-count)
6461 (desktop-buffer-fail-count): Move before first use.
6462 * frameset.el: New file.
6464 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6466 * files.el: Use lexical-binding.
6467 (dir-locals-read-from-file): Remove unused `err' variable.
6468 (hack-dir-local-variables--warned-coding): New var.
6469 (hack-dir-local-variables): Use it to avoid repeated warnings.
6470 (make-backup-file-name--default-function): New function.
6471 (make-backup-file-name-function): Use it as default.
6472 (buffer-stale--default-function): New function.
6473 (buffer-stale-function): Use it as default.
6474 (revert-buffer-insert-file-contents--default-function): New function.
6475 (revert-buffer-insert-file-contents-function): Use it as default.
6476 (insert-directory): Avoid add-to-list.
6478 * autorevert.el (auto-revert-handler): Simplify.
6479 Use buffer-stale--default-function.
6481 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6483 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6485 * whitespace.el (whitespace-ensure-local-variables): New function.
6486 (whitespace-cleanup-region): Call it.
6487 (whitespace-turn-on): Call it.
6489 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6491 Complete file name handlers.
6493 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6494 (tramp-handle-verify-visited-file-modtime)
6495 (tramp-handle-file-notify-rm-watch): New functions.
6496 (tramp-call-process): Do not bind `default-directory'.
6498 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6499 Order alphabetically.
6500 [access-file, add-name-to-file, dired-call-process]:
6501 [dired-compress-file, file-acl, file-notify-rm-watch]:
6502 [file-ownership-preserved-p, file-selinux-context]:
6503 [make-directory-internal, make-symbolic-link, set-file-acl]:
6504 [set-file-selinux-context, set-visited-file-modtime]:
6505 [verify-visited-file-modtime]: Add handler.
6506 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6508 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6509 [file-notify-add-watch, file-notify-rm-watch]:
6510 [set-file-times, set-visited-file-modtime]:
6511 [verify-visited-file-modtime]: Add handler.
6512 (with-tramp-gvfs-error-message)
6513 (tramp-gvfs-handle-set-visited-file-modtime)
6514 (tramp-gvfs-fuse-file-name): Remove.
6515 (tramp-gvfs-handle-file-notify-add-watch)
6516 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6517 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6519 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6520 Order alphabetically.
6521 [file-notify-rm-watch ]: Use default Tramp handler.
6522 [executable-find]: Remove private handler.
6523 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6524 `default-directory'.
6525 (tramp-sh-handle-executable-find)
6526 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6527 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6528 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6529 Do not use `format' in `tramp-message'.
6531 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6532 [file-notify-rm-watch, set-visited-file-modtime]:
6533 [verify-visited-file-modtime]: Add handler.
6534 (tramp-smb-call-winexe): Do not bind `default-directory'.
6536 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6538 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6540 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6542 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6544 (log-view-diff-changeset): Same.
6545 (log-view-diff-common): Call backend command `previous-revision'
6546 to find out the previous revision, in both cases. Swap the
6547 variables `to' and `fr', so that `fr' usually refers to the
6548 earlier revision (Bug#14989).
6550 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6552 * ibuf-ext.el (ibuffer-filter-by-filename):
6553 Make it work with dired buffers too.
6555 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6557 * emacs-lisp/re-builder.el (reb-color-display-p):
6558 * files.el (save-buffers-kill-terminal):
6559 * net/browse-url.el (browse-url):
6560 * server.el (server-save-buffers-kill-terminal):
6561 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6562 Prefer nil to selected-frame for the first arg of frame-parameter.
6564 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6566 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6568 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6570 * minibuffer.el (completion--twq-all): Try and preserve each
6571 completion's case choice (bug#14907).
6573 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6575 * net/network-stream.el (open-network-stream): Mention the new
6576 :nogreeting parameter.
6577 (network-stream-open-starttls): Use the :nogreeting parameter
6580 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6582 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6583 more natural than popping.
6585 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6586 (shr-urlify): Highlight under mouse.
6588 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6590 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6592 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6594 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6597 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6598 point-min==1. Fix search string. Fix parentheses missing.
6600 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6601 assume point-min==1. Fix search string. Fix parentheses missing.
6603 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6605 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6608 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6610 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6611 initial frame is minibuffer-less. (Bug#14841)
6613 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6615 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6618 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6619 (tramp-maybe-open-connection): Use it.
6621 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6623 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6624 minimal set of parameters passed when creating a frame, because
6625 the minibuffer status of a frame cannot be changed later.
6627 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6629 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6630 replace-regexp-in-string and inadvertent omissions in previous change.
6631 (todo-filter-items): Ensure only file names are comma-separated in
6632 name of filtered items buffer.
6634 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6636 * desktop.el: Optionally force offscreen frames back onscreen.
6637 (desktop-restoring-reuses-frames): New option.
6638 (desktop--compute-pos, desktop--move-onscreen): New functions.
6639 (desktop--make-frame): Use desktop--move-onscreen.
6641 2013-07-27 Alan Mackenzie <acm@muc.de>
6643 Fontify a Java generic method as a function.
6644 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6647 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6649 * calendar/todo-mode.el: Add command to rename todo files.
6650 (todo-rename-file): New command.
6651 (todo-key-bindings-t): Add key binding for it. Change the
6652 bindings of todo-filter-regexp-items(-multifile) to use `x'
6653 instead of `r', since the latter is better suited to the new
6656 2013-07-27 Alan Mackenzie <acm@muc.de>
6658 Make Java try-with-resources statement parse properly.
6659 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6660 (c-block-stmt-1-2-key): New language constants/variables.
6661 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6662 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6663 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6664 with c-block-stmt-1-2-key.
6666 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6668 * desktop.el (desktop--make-frame): Apply most frame parameters after
6669 creating the frame to force (partially or totally) offscreen frames to
6670 be restored as such.
6672 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6674 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6677 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6679 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6680 `base' arg of backtrace-frame.
6682 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6684 * simple.el (list-processes): Doc fix.
6686 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6688 * desktop.el (desktop--select-frame):
6689 Try harder to reuse existing frames.
6691 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6693 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6694 (edebug-eval): Use backtrace-eval.
6695 (edebug--display, edebug--recursive-edit): Don't let-bind the
6696 edebug-outer-* vars that keep track of variables we locally let-bind.
6697 (edebug-outside-excursion): Don't restore outside values of locally
6699 (edebug--display): Use user-error.
6700 (cl-lexical-debug, cl-debug-env): Remove.
6702 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6704 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6705 are restored to be sure that they are visible before deleting any
6708 2013-07-26 Matthias Meulien <orontee@gmail.com>
6710 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6711 vc-print-root-log. (Bug#14948)
6713 2013-07-26 Richard Stallman <rms@gnu.org>
6715 Add aliases for encrypting mail.
6716 * epa.el (epa-mail-aliases): New option.
6717 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6718 Bind inhibit-read-only so read-only text doesn't ruin everything.
6719 (epa-mail-default-recipients): New subroutine broken out.
6720 Handle epa-mail-aliases.
6722 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6724 Add support for lexical variables to the debugger's `e' command.
6725 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6726 vars, except for debugger-outer-match-data.
6727 (debugger-frame-number): Move check for "on a function call" from
6728 callers into it. Add `skip-base' argument.
6729 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6730 (debugger-env-macro): Only reset the state stored in non-variables,
6731 i.e. current-buffer and match-data.
6732 (debugger-eval-expression): Rewrite using backtrace-eval.
6733 * subr.el (internal--called-interactively-p--get-frame): Remove.
6734 (called-interactively-p):
6735 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6736 `base' arg of backtrace-frame instead.
6738 2013-07-26 Glenn Morris <rgm@gnu.org>
6740 * align.el (align-regexp): Doc fix. (Bug#14857)
6741 (align-region): Explicit error if subexpression missing/does not match.
6743 * simple.el (global-visual-line-mode):
6744 Do not duplicate the mode lighter. (Bug#14858)
6746 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6748 * window.el (display-buffer): In display-buffer bind
6749 split-window-keep-point to t, bug#14829.
6751 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6753 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6754 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6755 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6756 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6758 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6759 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6761 2013-07-25 Glenn Morris <rgm@gnu.org>
6763 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6765 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6767 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6768 parameter to modify-frame-parameters if the value has not changed;
6769 this is a workaround for bug#14949.
6770 (desktop--make-frame): On cl-delete-if call, check parameter name,
6773 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6775 * vc/vc.el (vc-ignore): New function.
6777 * vc/vc-svn.el (vc-svn-ignore): New function.
6779 * vc/vc-hg.el (vc-hg-ignore): New function.
6781 * vc/vc-git.el (vc-git-ignore): New function.
6783 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6784 (vc-dir-ignore): New function.
6786 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6787 (cvs-append-to-ignore): Move here from pcvs.el.
6789 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6791 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6793 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6795 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6796 (desktop-restore-frames): Warn when deleting an existing frame failed.
6798 2013-07-24 Glenn Morris <rgm@gnu.org>
6800 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6802 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6804 * filenotify.el (file-notify-supported-p):
6805 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6808 * autorevert.el (auto-revert-use-notify):
6809 (auto-revert-notify-add-watch):
6810 * net/tramp.el (tramp-file-name-for-operation):
6811 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6812 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6813 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6814 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6815 Remove `file-notify-supported-p' entry.
6817 2013-07-24 Glenn Morris <rgm@gnu.org>
6819 * printing.el: Replace all uses of deleted ps-windows-system,
6820 ps-lp-system, ps-flatten-list with lpr- versions.
6822 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6824 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6825 checked with memq (bug#14935).
6827 * files.el (revert-buffer-function): Use a non-nil default.
6828 (revert-buffer-preserve-modes): Declare var to
6829 provide access to the `preserve-modes' argument.
6830 (revert-buffer): Let-bind it.
6831 (revert-buffer--default): New function, extracted from revert-buffer.
6833 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6835 * lpr.el: Signal print errors more prominently.
6836 (print-region-function): Don't default to nil.
6837 (lpr-print-region): New function, extracted from print-region-1.
6838 Check lpr's return value and signal an error in case of problem.
6839 (print-region-1): Use it.
6840 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6842 (ps-printer-name): Default to nil.
6843 (ps-printer-name-option): Default to lpr-printer-switch.
6844 (ps-print-region-function): Don't default to nil.
6845 (ps-postscript-code-directory): Simplify default.
6846 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6847 (ps-string-list, ps-eval-switch, ps-flatten-list)
6848 (ps-flatten-list-1): Remove.
6849 (ps-multibyte-buffer): Avoid setq.
6850 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6851 (print-region-function, ps-print-region-function): Don't set them here.
6853 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6855 * ido.el (ido-fractionp):
6856 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6857 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6858 (ido-max-directory-size, ido-max-dir-file-cache)
6859 (ido-decorations): Doc fix.
6861 * ansi-color.el: Fix old URL.
6863 2013-07-23 Michael R. Mauger <michael@mauger.com>
6865 * progmodes/sql.el: Version 3.3
6866 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6867 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6868 (sql-interactive-remove-continuation-prompt): Rewrite, use
6869 functions above. Fix continuation prompt and complete output line
6871 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6872 redirected output buffer.
6873 (sql-mode): Restore deleted code (Bug#13591).
6875 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6877 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6879 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6881 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6883 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6884 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6885 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6887 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6889 * desktop.el (desktop-clear): Simplify; remove useless checks
6890 against invalid buffer names.
6891 (desktop-list*): Use cl-list*.
6892 (desktop-buffer-info, desktop-create-buffer): Simplify.
6894 2013-07-23 Leo Liu <sdl.web@gmail.com>
6896 * bookmark.el (bookmark-make-record): Restore NAME as a default
6899 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6901 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6902 extracted from autoload--insert-text.
6903 (autoload--insert-text): Remove.
6904 (autoload--print-cookie-text): New function, extracted from
6905 autoload--insert-cookie-text.
6906 (autoload--insert-cookie-text): Remove.
6907 (autoload-generate-file-autoloads): Adjust calls accordingly.
6909 * winner.el (winner-hook-installed-p): Remove.
6910 (winner-mode): Simplify accordingly.
6912 * subr.el (add-to-list): Fix compiler-macro when `append' is
6913 not constant. Don't use `cl-member' for the base case.
6915 * progmodes/subword.el: Fix boundary case (bug#13758).
6916 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6918 (subword-backward-regexp): Make it a constant.
6919 (subword-forward-internal): Don't treat a trailing capital as the
6920 beginning of a word.
6922 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6924 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6925 global value of tabulated-list-revert-hook (bug#14930).
6927 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6929 * desktop.el: Require 'cl-lib.
6930 (desktop-before-saving-frames-functions): New hook.
6931 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6932 for frames being saved. Rename from desktop--save-minibuffer-frames.
6933 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6934 Do not save frames with non-nil `desktop-dont-save' parameter.
6935 Filter out deleted frames.
6936 (desktop--find-frame): Use cl-find-if.
6937 (desktop--select-frame): Use cl-(first|second|third) to access values
6939 (desktop--make-frame): Use cl-delete-if.
6940 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6941 (desktop-restore-frames): Use cl-(first|second|third) to access values
6942 of desktop-mini. Look for visible frame at the end, not while
6945 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6946 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6947 Use string-match-p, looking-at-p (bug#14927).
6949 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6951 * desktop.el (desktop-saved-frame-states):
6952 Rename from desktop--saved-states; all users changed.
6953 (desktop-save-frames): Rename from desktop--save-frames.
6954 Do not save state to desktop file.
6955 (desktop-save): Save desktop-saved-frame-states to desktop file
6957 (desktop-restoring-frames-p): New function.
6958 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6959 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6960 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6962 * desktop.el: Correctly restore iconified frames.
6963 (desktop--filter-iconified-position): New function.
6964 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6966 2013-07-20 Glenn Morris <rgm@gnu.org>
6968 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6969 Let `message' do the formatting.
6970 (def-gdb-preempt-display-buffer): Add explicit format.
6972 * image-dired.el (image-dired-track-original-file):
6973 Use with-current-buffer.
6974 (image-dired-track-thumbnail): Use with-current-buffer.
6975 Avoid changing point of wrong window.
6977 * image-dired.el (image-dired-track-original-file):
6978 Avoid changing point of wrong window. (Bug#14909)
6980 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6982 * progmodes/gdb-mi.el (gdb-done-or-error):
6983 Guard against "%" in gdb output. (Bug#14127)
6985 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6987 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6990 * international/mule.el (coding-system-iso-2022-flags): Fix last
6993 2013-07-20 Kenichi Handa <handa@gnu.org>
6995 * international/mule.el (coding-system-iso-2022-flags):
6996 Add `8-bit-level-4'. (Bug#8522)
6998 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7000 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7003 * net/eww.el (eww-process-text-input): Allow inputting when the
7004 point is at the start of the line, as the properties aren't
7007 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7010 2013-07-19 Richard Stallman <rms@gnu.org>
7012 * epa.el (epa-popup-info-window): Doc fix.
7014 * subr.el (split-string): New arg TRIM.
7016 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7018 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7019 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7021 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7023 * filenotify.el (file-notify--library): Rename from
7024 `file-notify-support'. Do not autoload. Adapt all uses.
7025 (file-notify-supported-p): New defun.
7027 * autorevert.el (auto-revert-use-notify):
7028 Use `file-notify-supported-p' instead of `file-notify-support'.
7030 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7032 * net/tramp.el (tramp-file-name-for-operation):
7033 Add `file-notify-supported-p'.
7035 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7037 (tramp-sh-file-name-handler-alist): Add it as handler for
7038 `file-notify-supported-p '.
7040 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7041 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7042 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7043 Add `ignore' as handler for `file-notify-*' functions.
7045 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7047 * simple.el (line-move-partial, line-move): Don't start vscroll or
7048 scroll-up if the current line is not taller than the window.
7051 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7053 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7054 highlight question marks in the method names as strings.
7055 (ruby-block-beg-keywords): Inline.
7056 (ruby-font-lock-keyword-beg-re): Extract from
7057 `ruby-font-lock-keywords'.
7059 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7061 * frame.el (blink-cursor-blinks): New defcustom.
7062 (blink-cursor-blinks-done): New defvar.
7063 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7064 (blink-cursor-timer-function): Check if number of blinks has been
7066 (blink-cursor-suspend, blink-cursor-check): New defuns.
7068 2013-07-15 Glenn Morris <rgm@gnu.org>
7070 * edmacro.el (edmacro-format-keys): Fix previous change.
7072 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7074 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7075 The hack didn't work outside English locales anyway.
7077 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7079 * simple.el (define-alternatives): Rename from alternatives-define,
7080 per RMS' suggestion.
7082 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7084 * desktop.el (desktop-restore-frames): Change default to t.
7085 (desktop-restore-in-current-display): Now offer more options.
7086 (desktop-restoring-reuses-frames): New customization option.
7087 (desktop--saved-states): Doc fix.
7088 (desktop-filter-parameters-alist): New variable, renamed and expanded
7089 from desktop--excluded-frame-parameters.
7090 (desktop--target-display): New variable.
7091 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7092 (desktop--filter-tty*, desktop--filter-*-color)
7093 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7094 (desktop--filter-save-desktop-parm)
7095 (desktop-restore-in-original-display-p): New functions.
7096 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7097 (desktop--save-minibuffer-frames): New function, inspired by a similar
7098 function from Martin Rudalics.
7099 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7100 (desktop--restore-in-this-display-p): Remove.
7101 (desktop--find-frame): Rename from desktop--find-frame-in-display
7102 and add predicate argument.
7103 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7104 (desktop--reuse-list): New variable.
7105 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7107 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7109 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7111 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7113 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7115 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7116 Highlight conversion methods on Kernel.
7118 2013-07-13 Alan Mackenzie <acm@muc.de>
7120 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7121 and comment it out. This out-commenting enables certain C++
7122 declarations to be parsed correctly.
7124 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7126 * international/mule.el (define-coding-system): Doc fix.
7128 * simple.el (default-font-height): Don't call font-info if the
7129 frame's default font didn't change since the frame was created.
7132 2013-07-13 Leo Liu <sdl.web@gmail.com>
7134 * ido.el (ido-read-file-name): Guard against non-symbol value.
7136 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7138 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7141 2013-07-13 Leo Liu <sdl.web@gmail.com>
7143 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7144 ido-set-matches call. (Bug#6852)
7146 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7148 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7149 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7151 (ruby-font-lock-keywords): Distinguish calls to functions with
7152 module-like names from module references. Highlight character
7155 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7157 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7158 (gdb-send): Handle continued commands. (Bug#14847)
7160 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7162 * desktop.el (desktop--v2s): Remove unused local variable.
7163 (desktop-save-buffer): Make defvar-local; adjust docstring.
7164 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7165 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7167 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7169 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7171 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7173 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7176 2013-07-12 Glenn Morris <rgm@gnu.org>
7178 * doc-view.el: Require cl-lib at runtime too.
7179 (doc-view-remove-if): Remove.
7180 (doc-view-search-next-match, doc-view-search-previous-match):
7183 * edmacro.el: Require cl-lib at runtime too.
7184 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7185 (edmacro-mismatch, edmacro-subseq): Remove.
7187 * shadowfile.el: Require cl-lib.
7188 (shadow-remove-if): Remove.
7189 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7192 * wid-edit.el: Require cl-lib.
7193 (widget-choose): Use cl-remove-if.
7194 (widget-remove-if): Remove.
7196 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7197 (ebrowse-delete-if-not): Remove.
7198 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7199 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7200 Use cl-delete-if-not.
7202 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7204 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7205 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7207 2013-07-12 Leo Liu <sdl.web@gmail.com>
7209 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7211 2013-07-11 Glenn Morris <rgm@gnu.org>
7213 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7214 (edebug-gensym-index, edebug-gensym):
7215 Remove reimplementation of cl-gensym.
7216 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7218 * thumbs.el: Require cl-lib at run-time too.
7219 (thumbs-gensym-counter, thumbs-gensym):
7220 Remove reimplementation of cl-gensym.
7221 (thumbs-temp-file): Use cl-gensym.
7223 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7224 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7225 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7226 (ert--union, ert--gensym-counter, ert--gensym-counter)
7227 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7228 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7229 (ert-make-test-unbound, ert--expand-should-1)
7230 (ert--expand-should, ert--should-error-handle-error)
7231 (should-error, ert--explain-equal-rec)
7232 (ert--plist-difference-explanation, ert-select-tests)
7233 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7234 Use cl-lib functions rather than reimplementations.
7236 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7238 * net/tramp.el (tramp-methods): Extend docstring.
7239 (tramp-connection-timeout): New defcustom.
7240 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7241 (with-tramp-progress-reporter): Simplify.
7242 (tramp-process-actions): Improve messages.
7244 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7245 * net/tramp-sh.el (tramp-maybe-open-connection):
7246 Use `tramp-connection-timeout'.
7247 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7250 2013-07-11 Leo Liu <sdl.web@gmail.com>
7252 * ido.el (ido-read-file-name): Conform to the requirements of
7253 read-file-name. (Bug#11861)
7254 (ido-read-directory-name): Conform to the requirements of
7255 read-directory-name.
7257 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7259 * subr.el (delay-warning): New function.
7261 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7263 * simple.el (default-line-height): New function.
7264 (line-move-partial, line-move): Use it instead of computing the
7266 (line-move-partial): Always compute ROWH. If the last line is
7267 partially-visible, but its text is completely visible, allow
7268 cursor to enter such a partially-visible line.
7270 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7272 Improve error messages. (Bug#14808)
7274 * net/tramp.el (tramp-current-connection): New defvar, moved from
7276 (tramp-message-show-progress-reporter-message): Remove, not
7278 (tramp-error-with-buffer): Show message in minibuffer.
7279 Discard input before waiting. Reset connection timestamp.
7280 (with-tramp-progress-reporter): Improve messages.
7281 (tramp-process-actions): Use progress reporter. Delete process in
7282 case of error. Improve messages.
7284 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7285 Call `tramp-error-with-buffer' with vector and buffer.
7286 (tramp-current-connection): Remove.
7287 (tramp-maybe-open-connection): The car of
7288 `tramp-current-connection' are the first 3 slots of the vector.
7290 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7292 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7293 inside continued strings.
7295 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7297 Timestamp fixes for undo (Bug#14824).
7298 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7300 2013-07-10 Leo Liu <sdl.web@gmail.com>
7302 * files.el (require-final-newline): Allow safe local value.
7305 2013-07-09 Leo Liu <sdl.web@gmail.com>
7307 * ido.el (ido-read-directory-name): Handle fallback.
7308 (ido-read-file-name): Update DIR to ido-current-directory.
7310 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7312 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7314 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7315 "autoload". Remove "warn lower camel case" section, previously
7316 commented out. Highlight negation char. Do not highlight the
7317 target in singleton method definitions.
7319 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7321 * faces.el (tty-setup-hook): Declare the hook.
7323 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7324 and detect when a guard/pred depends on local vars (bug#14773).
7325 (pcase--u1): Adjust caller.
7327 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7329 * simple.el (line-move-partial, line-move): Account for
7331 (line-move-partial): Avoid setting vscroll when the last
7332 partially-visible line in window is of default height.
7334 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7336 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7339 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7341 * subr.el (read-quoted-char): Remove unused local variable `char'.
7343 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7345 * ediff.el (ediff-version): Version update.
7346 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7347 (ediff-merge-with-ancestor-command, ediff-directories-command)
7348 (ediff-directories3-command, ediff-merge-directories-command)
7349 (ediff-merge-directories-with-ancestor-command): New functions.
7350 All are command-line interfaces to ediff: to facilitate calling
7351 Emacs with the appropriate ediff functions invoked.
7353 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7354 (viper-save-kill-buffer): Check if buffer is modified.
7356 * viper.el (viper-version): Version update.
7357 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7359 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7361 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7362 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7363 (viper-intercept-ESC-key): Simplify.
7364 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7365 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7366 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7367 (viper-setup-ESC-to-escape): New functions.
7368 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7369 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7371 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7373 * simple.el (default-font-height, window-screen-lines):
7375 (line-move, line-move-partial): Use them instead of
7376 frame-char-height and window-text-height. This makes scrolling
7377 text smoother when the buffer's default face uses a font that is
7378 different from the frame's default font.
7380 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7382 * files.el (write-file): Do not display confirm dialog for NS,
7383 it does its own dialog, which can't be canceled (Bug#14578).
7385 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7387 * simple.el (line-move-partial): Adjust the row returned by
7388 posn-at-point for the current window-vscroll. (Bug#14567)
7390 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7392 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7393 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7396 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7398 * window.el (window-state-put-stale-windows): New variable.
7399 (window--state-put-2): Save list of windows without matching buffer.
7400 (window-state-put): Remove "bufferless" windows if possible.
7402 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7404 * simple.el (alternatives-define): Remove leftover :group keyword.
7407 2013-07-06 Leo Liu <sdl.web@gmail.com>
7409 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7410 (ido-enable-virtual-buffers): New variable.
7411 (ido-buffer-internal, ido-toggle-virtual-buffers)
7412 (ido-make-buffer-list): Use it.
7413 (ido-exhibit): Support turning on and off virtual buffers
7416 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7418 * simple.el (alternatives-define): New macro.
7420 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7422 * subr.el (read-quoted-char): Use read-key.
7423 (sit-for): Let read-event decode tty input (bug#14782).
7425 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7427 * calendar/todo-mode.el: Add handling of file deletion, both by
7428 mode command and externally. Fix various related bugs.
7429 Clarify Commentary and improve some documentation strings and code.
7430 (todo-delete-file): New command.
7431 (todo-check-file): New function.
7432 (todo-show): Handle external deletion of the file we're trying to
7433 show (bug#14688). Replace called-interactively-p by an optional
7434 prefix argument to avoid problematic interaction with catch form
7435 when byte compiled (bug#14702).
7436 (todo-quit): Handle external deletion of the archive's todo file.
7437 Make sure the buffer that was visiting the archive file is still
7438 live before trying to bury it.
7439 (todo-category-completions): Handle external deletion of any
7440 category completion files.
7441 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7442 of todo files, in case of external deletion.
7443 (todo-add-file): Replace unnecessary setq by let-binding.
7444 (todo-find-archive): Check whether there are any archives.
7445 Replace unnecessary setq by let-binding.
7446 (todo-archive-done-item): Use find-file-noselect to get the
7447 archive buffer whether or not the archive already exists.
7448 Remove superfluous code. Use file size instead of buffer-file-name to
7449 check if the archive is new; if it is, update list of archives.
7450 (todo-default-todo-file): Allow nil to be a valid value for when
7451 there are no todo files.
7452 (todo-reevaluate-default-file-defcustom): Use corrected definition
7453 of todo-default-todo-file.
7454 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7455 (todo-delete-category, todo-show-categories-table)
7456 (todo-category-number): Clarify comment.
7457 (todo-filter-items): Clarify documentation string.
7458 (todo-show-current-file, todo-display-as-todo-file)
7459 (todo-reset-and-enable-done-separator): Tweak documentation string.
7460 (todo-done-separator): Make separator length window-width, since
7461 bug#2749 is now fixed.
7463 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7465 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7466 Support both "gvfs-monitor-dir" and "inotifywait".
7467 (tramp-sh-file-inotifywait-process-filter): Rename from
7468 `tramp-sh-file-notify-process-filter'.
7469 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7470 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7472 2013-07-05 Leo Liu <sdl.web@gmail.com>
7474 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7476 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7478 * frame.el (display-pixel-height, display-pixel-width)
7479 (display-mm-height, display-mm-width): Mention behavior on
7480 multi-monitor setups in docstrings.
7481 (w32-display-monitor-attributes-list): Declare function.
7482 (display-monitor-attributes-list): Use it.
7484 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7486 * filenotify.el: New package.
7488 * autorevert.el (top): Require filenotify.el.
7489 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7491 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7492 (auto-revert-notify-handler): Use `file-notify-*' functions.
7494 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7496 * net/tramp.el (tramp-file-name-for-operation):
7497 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7499 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7500 for `file-notify-add-watch' and `file-notify-rm-watch'.
7501 (tramp-process-sentinel): Improve trace.
7502 (tramp-sh-handle-file-notify-add-watch)
7503 (tramp-sh-file-notify-process-filter)
7504 (tramp-sh-handle-file-notify-rm-watch)
7505 (tramp-get-remote-inotifywait): New defuns.
7507 2013-07-03 Juri Linkov <juri@jurta.org>
7509 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7510 call of `occur-read-primary-args' to interactive spec.
7512 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7513 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7515 2013-07-03 Matthias Meulien <orontee@gmail.com>
7517 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7518 `Buffer-menu-multi-occur'. Add it to the menu.
7519 (Buffer-menu-mode): Document it in docstring.
7520 (Buffer-menu-multi-occur): New command. (Bug#14673)
7522 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7524 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7525 keywords and built-ins.
7527 2013-07-03 Glenn Morris <rgm@gnu.org>
7529 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7531 Make info-xref checks case-sensitive by default
7532 * info.el (Info-find-node, Info-find-in-tag-table)
7533 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7534 Add option for exact case matching of nodes.
7535 * info-xref.el (info-xref): New custom group.
7536 (info-xref-case-fold): New option.
7537 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7539 2013-07-03 Leo Liu <sdl.web@gmail.com>
7541 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7543 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7545 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7546 middle of block statement initially, lower the depth. Remove
7547 FIXME comment, not longer valid. Remove middle of block statement
7548 detection, no need to do that anymore since we've been using
7549 `ruby-parse-region' here.
7551 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7553 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7555 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7557 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7559 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7561 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7562 (desktop-restore-in-current-display): New customization option.
7563 (desktop--excluded-frame-parameters): Add `font'.
7564 (desktop--save-frames): Rename from desktop--save-windows.
7565 (desktop--restore-in-this-display-p): New function.
7566 (desktop--make-full-frame): Remove unwanted width/height from
7567 full(width|height) frames.
7568 (desktop--restore-frames): Rename from desktop--restore-windows.
7569 Obey desktop-restore-current-display. Do not delete old frames or
7570 select a new frame unless we were able to restore at least one frame.
7572 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7574 * files.el (find-file-noselect): Simplify conditional expression.
7576 * remember.el (remember-append-to-file):
7577 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7579 Add `remember-notes' function to store random notes across Emacs
7581 * remember.el (remember-data-file): Add :set callback to affect
7582 notes buffer (if any).
7583 (remember-notes): New command.
7584 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7585 New defcustoms for the `remember-notes' function.
7586 (remember-notes-save-and-bury-buffer): New command.
7587 (remember-notes-mode-map): New variable.
7588 (remember-mode): New minor mode.
7589 (remember-notes--kill-buffer-query): New function.
7590 * startup.el (initial-buffer-choice): Add notes to custom type.
7592 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7594 * bindings.el (right-char, left-char): Don't call sit-for, this is
7595 no longer needed. Use arithmetic comparison only for numerical
7598 * international/mule-cmds.el (select-safe-coding-system):
7599 Handle the case of FROM being a string correctly. (Bug#14755)
7601 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7603 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7604 progression on degenerate tables.
7605 (shr-rescale-image): ImageMagick animated images currently don't work.
7607 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7609 Some fixes and improvements for desktop frame restoration.
7610 It is still experimental and disabled by default.
7611 * desktop.el (desktop--save-windows): Put the selected frame at
7612 the head of the list.
7613 (desktop--make-full-frame): New function.
7614 (desktop--restore-windows): Try to re-select the frame that was
7615 selected upon saving. Do not abort if some frames fail to restore,
7616 just show an error message and continue. Set up maximized frames
7617 so they have default non-maximized dimensions.
7619 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7621 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7622 Don't start heredoc inside a string or comment.
7624 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7626 * bindings.el (visual-order-cursor-movement): New defcustom.
7627 (right-char, left-char): Provide visual-order cursor motion by
7628 calling move-point-visually. Update the doc strings.
7630 2013-06-28 Kenichi Handa <handa@gnu.org>
7632 * international/mule.el (define-coding-system): New coding system
7633 properties :inhibit-null-byte-detection,
7634 :inhibit-iso-escape-detection, and :prefer-utf-8.
7635 (set-buffer-file-coding-system): If :charset-list property of
7636 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7637 appropriate for setting.
7639 * international/mule-cmds.el (select-safe-coding-system):
7640 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7641 multibyte characters, return utf-8 (or one of its siblings).
7643 * international/mule-conf.el (prefer-utf-8): New coding system.
7644 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7647 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7649 * net/shr.el (shr-render-region): New function.
7651 * net/eww.el: Autoload `eww-browse-url'.
7653 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7655 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7656 Adapt to `package-desc-version' being a list.
7657 Use `package--ac-desc-version' to retrieve version from a package
7660 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7662 New experimental feature to save&restore window and frame setup.
7663 * desktop.el (desktop-save-windows): New defcustom.
7664 (desktop--saved-states): New var.
7665 (desktop--excluded-frame-parameters): New defconst.
7666 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7667 (desktop--restore-windows, desktop--save-windows): New functions.
7668 (desktop-save): Call `desktop--save-windows'.
7669 (desktop-read): Call `desktop--restore-windows'.
7671 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7673 * net/shr.el (add-face-text-property): Remove compat definition.
7675 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7677 * info.el (Info-try-follow-nearest-node): Move search for footnote
7678 above search for node name to prevent missing a footnote (bug#14717).
7680 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7682 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7684 2013-06-27 Leo Liu <sdl.web@gmail.com>
7686 * net/eww.el (eww-read-bookmarks): Check file size.
7688 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7690 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7691 advice--pending if newdef is nil or an autoload (bug#13820).
7692 (advice-mapc): New function.
7694 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7696 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7698 (eww-mode-map): Add a menu bar.
7699 (eww-add-bookmark): New command.
7700 (eww-bookmark-mode): New mode and commands.
7701 (eww-add-bookmark): Remove newlines from the title.
7702 (eww-bookmark-browse): Don't bug out if it's the only window.
7704 2013-06-26 Glenn Morris <rgm@gnu.org>
7706 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7707 (hfy-size): Handle ttys. (Bug#14668)
7709 * info-xref.el: Update for Texinfo 5 change in *note format.
7710 (info-xref-node-re, info-xref-note-re): New constants.
7711 (info-xref-check-buffer): Use info-xref-note-re.
7713 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7715 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7717 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7718 nil terminate the loop (bug#14718).
7720 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7722 * net/eww.el: Rework history traversal. When going forward/back,
7723 put these actions into the history, too, so that they can be
7725 (eww-render): Move the history reset to the correct buffer.
7727 2013-06-25 Juri Linkov <juri@jurta.org>
7729 * files-x.el (modify-dir-local-variable): Change the header comment
7730 in the file with directory local variables. (Bug#14692)
7732 * files-x.el (read-file-local-variable-value): Add `default'.
7735 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7737 * net/eww.el (eww-make-unique-file-name): Create a unique file
7738 name before saving to entering `y' accidentally asynchronously.
7740 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7742 * net/eww.el (eww-download): New command and keystroke.
7744 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7746 * net/eww.el (eww-copy-page-url): Change name of command.
7748 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7749 be more consistent with Info and dired.
7751 * net/eww.el (eww-mode-map): Ditto.
7753 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7755 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7756 packages from archives.
7757 (package-archive-contents): Change format; include obsolete packages.
7758 (package-desc): Use `dir' to mark builtin packages.
7759 (package--from-builtin): Set the `dir' field to `builtin'.
7760 (generated-autoload-file, version-control): Declare.
7761 (package-compute-transaction): Change first arg and return value to be
7762 lists of package-descs. Adjust to new package-archive-contents format.
7763 (package--add-to-archive-contents): Adjust to new
7764 package-archive-contents format.
7765 (package-download-transaction): Arg is now a list of package-descs.
7766 (package-install): If `pkg' is a package name, pass it as
7767 a requirement, so it is subject to the usual (e.g. disabled) checks.
7768 (describe-package): Accept package-desc as well.
7769 (describe-package-1): Describe a specific package-desc. Add links to
7770 other package-descs for the same package name.
7771 (package-menu-describe-package): Pass the actual package-desc.
7772 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7774 (package-desc-status): New function.
7775 (package-menu--refresh): New function, extracted
7776 from package-menu--generate.
7777 (package-menu--generate): Use it.
7778 (package-delete): Update package-alist.
7779 (package-menu-execute): Don't call package-initialize.
7781 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7782 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7783 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7784 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7785 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7786 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7788 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7790 * window.el (window--state-get-1): Workaround for bug#14527.
7791 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7793 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7795 * net/eww.el (eww-back-url): Implement the history by stashing all
7796 the data into a list.
7797 (eww-forward-url): Allow going forward in the history, too.
7799 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7801 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7802 for values and use read--expression for expressions (bug#14710).
7803 (read-file-local-variable): Avoid setq.
7804 (read-file-local-variable-mode): Use minor-mode-list.
7806 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7808 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7811 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7813 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7814 Update imenu-support when dialect changes.
7816 2013-06-25 Leo Liu <sdl.web@gmail.com>
7818 * ido.el (ido-read-internal): Allow forward slash on windows.
7820 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7822 * net/eww.el (eww): Start of strings is \\`, not ^.
7824 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7826 * net/shr.el (shr-browse-url): Fix interactive spec.
7828 * net/eww.el (eww): Add a trailing slash to domain names.
7830 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7832 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7834 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7836 * net/shr.el (shr-browse-url): Use an external browser if given a
7839 * net/eww.el (eww-external-browser): Move to shr.
7841 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7843 * net/eww.el (eww): Work more correctly for file: URLs.
7844 (eww-detect-charset): Allow quoted charsets.
7845 (eww-yank-page-url): New command and keystroke.
7847 2013-06-24 Daiki Ueno <ueno@gnu.org>
7849 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7850 file name of gpg executable.
7851 (epg-context-program): New function.
7852 (epg-context-home-directory): New function.
7853 (epg-context-set-program): New function.
7854 (epg-context-set-home-directory): New function.
7855 (epg--start): Use `epg-context-program' instead of
7857 (epg--list-keys-1): Likewise.
7859 2013-06-24 Leo Liu <sdl.web@gmail.com>
7861 * ido.el (ido-read-internal): Fix bug#14620.
7863 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7865 * faces.el (face-documentation): Simplify.
7866 (read-face-attribute, tty-find-type, x-resolve-font-name):
7867 Use `string-match-p'.
7868 (list-faces-display): Use `string-match-p'. Simplify.
7869 (face-spec-recalc): Check face to avoid face alias loops.
7870 (read-color): Use `string-match-p' and non-capturing parenthesis.
7872 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7874 * net/shr.el (shr-rescale-image): Use the new
7875 :max-width/:max-height functionality.
7877 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7879 * net/eww.el (eww-search-prefix): New variable.
7881 (eww-external-browser): New variable.
7882 (eww-mode-map): New keystroke.
7883 (eww-browse-with-external-browser): New command.
7885 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7887 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7889 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7890 Don't skip aligning the next header field when padding is 0;
7891 otherwise, field width is not respected unless the title is as
7894 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7896 * emacs-lisp/package.el (package-el-version): Remove.
7897 (package-process-define-package): Fix inf-loop.
7898 (package-install): Allow symbols as arguments again.
7900 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7902 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7903 add some more keyword-like methods.
7904 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7906 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7908 * bs.el (bs-buffer-show-mark): Make defvar-local.
7909 (bs-mode): Use setq-local.
7911 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7912 (emacs-lock--try-unlocking): Make defvar-local.
7914 2013-06-22 Glenn Morris <rgm@gnu.org>
7916 * play/cookie1.el (cookie-apropos): Minor simplification.
7918 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7920 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7922 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7923 `regexp-opt', it breaks the build during dumping.
7925 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7927 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7928 Highlight keyword-like methods on Kernel and Module with
7929 font-lock-builtin-face.
7930 (auto-mode-alist): Consolidate different entries into one regexp
7931 and add more *file-s.
7933 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7935 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7937 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7938 (diary-entry): Use it in the action of this button type instead of
7941 * calendar/todo-mode.el: New version.
7942 (todo-add-category): Append new category to end of file and give
7943 it the highest number, instead of putting it at the beginning and
7944 giving it 0. Incorporate noninteractive functionality.
7945 (todo-forward-category): Adapt to 1-based category numbering.
7946 Allow skipping over archived categories.
7947 (todo-backward-category): Derive from todo-forward-category.
7948 (todo-backward-item, todo-forward-item): Make noninteractive and
7949 delegate interactive part to new commands. Make sensitive to done items.
7950 (todo-categories): Make value an alist of category names and
7951 vectors of item counts.
7952 (todo-category-beg): Make a defconst.
7953 (todo-category-number): Use 1 instead of 0 as initial value.
7954 (todo-category-select): Make sensitive to overlays, optional item
7955 highlighting and done items.
7956 (todo-delete-item): Make sensitive to overlays and marked and done items.
7957 (todo-edit-item): Make sensitive to overlays and editing of
7958 date/time header optional. Add format checks.
7959 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7960 no-op if point is not on an item. Advertise using todo-edit-quit.
7961 (todo-edit-mode): Make sensitive to new format, font-locking, and
7962 multiple todo files.
7963 (todo-insert-item, todo-insert-item-here): Derive from
7964 todo-basic-insert-item and extend functionality.
7965 (todo-item-end, todo-item-start): Make sensitive to done items.
7966 (todo-item-string): Don't return text properties. Restore point.
7967 (todo-jump-to-category): Make sensitive to multiple todo files and
7968 todo archives. Use extended category completion.
7969 (todo-lower-item, todo-raise-item): Rename to *-priority and
7970 derive from todo-set-item-priority.
7971 (todo-mode): Derive from special-mode. Make sensitive to new
7972 format, font-locking and multiple todo files. Make read-only.
7973 (todo-mode-map): Don't suppress digit keys, so they can supply
7974 prefix arguments. Add many new key bindings.
7975 (todo-prefix): Insert as an overlay instead of file text.
7976 Change semantics from diary date expression to purely visual mark.
7977 (todo-print): Rename to todo-print-buffer. Make buffer display
7978 features printable. Remove option to restrict number of items
7979 printed. Add option to print to file.
7980 (todo-print-function): Rename to todo-print-buffer-function.
7981 (todo-quit): Extend to handle exiting new todo modes.
7982 (todo-remove-item): Make sensitive to overlays.
7983 (todo-save): Extend to buffers of filtered items.
7984 (todo-show): Make sensitive to done items, multiple todo files and
7985 new todo modes. Offer to convert legacy todo file before creating
7986 first new todo file.
7987 (todo-show-priorities): Rename to todo-top-priorities.
7988 Change semantics of value 0.
7989 (todo-top-priorities): Rename to todo-filter-top-priorities,
7990 derive from todo-filter-items and extend functionality.
7991 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7992 and extend functionality to other types of filtered items.
7993 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7994 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7995 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7996 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7997 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7998 (todo-edit-mode-hook, todo-entry-prefix-function)
7999 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8000 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8001 (todo-initials, todo-insert-threshold, todo-item-string-start)
8002 (todo-line-string, todo-menu, todo-mode-hook)
8003 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8004 (todo-print-priorities, todo-remove-separator)
8005 (todo-save-top-priorities-too, todo-string-count-lines)
8006 (todo-string-multiline-p, todo-time-string-format)
8007 (todo-tmp-buffer-name): Remove.
8008 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8009 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8010 (todo-edit-category-diary-inclusion)
8011 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8012 (todo-edit-file, todo-edit-item-date-day)
8013 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8014 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8015 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8016 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8017 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8018 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8019 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8020 (todo-filter-top-priorities-multifile, todo-find-archive)
8021 (todo-find-filtered-items-file, todo-go-to-source-item)
8022 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8023 (todo-jump-to-archive-category, todo-lower-category)
8024 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8025 (todo-move-category, todo-move-item, todo-next-button)
8026 (todo-next-item, todo-padded-string, todo-powerset)
8027 (todo-previous-button, todo-previous-item)
8028 (todo-print-buffer-to-file, todo-raise-category)
8029 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8030 (todo-set-category-number, todo-set-item-priority)
8031 (todo-set-top-priorities-in-category)
8032 (todo-set-top-priorities-in-file, todo-show-categories-table)
8033 (todo-sort-categories-alphabetically-or-numerically)
8034 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8035 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8036 (todo-toggle-item-header, todo-toggle-item-highlighting)
8037 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8038 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8039 (todo-unarchive-items, todo-unmark-category): New commands.
8040 (todo-absolute-file-name, todo-add-to-buffer-list)
8041 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8042 (todo-basic-insert-item, todo-category-completions)
8043 (todo-category-number, todo-category-string-matcher-1)
8044 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8045 (todo-check-format, todo-clear-matches)
8046 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8047 (todo-current-category, todo-date-string-matcher)
8048 (todo-define-insertion-command, todo-diary-expired-matcher)
8049 (todo-diary-goto-entry, todo-diary-item-p)
8050 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8051 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8052 (todo-done-item-section-p, todo-done-separator)
8053 (todo-done-string-matcher, todo-files, todo-filter-items)
8054 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8055 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8056 (todo-insert-category-line, todo-insert-item-from-calendar)
8057 (todo-insert-sort-button, todo-insert-with-overlays)
8058 (todo-insertion-command-name, todo-insertion-key-bindings)
8059 (todo-label-to-key, todo-longest-category-name-length)
8060 (todo-make-categories-list, todo-mode-external-set)
8061 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8062 (todo-modes-set-3, todo-multiple-filter-files)
8063 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8064 (todo-read-category, todo-read-date, todo-read-dayname)
8065 (todo-read-file-name, todo-read-time)
8066 (todo-reevaluate-category-completions-files-defcustom)
8067 (todo-reevaluate-default-file-defcustom)
8068 (todo-reevaluate-filelist-defcustoms)
8069 (todo-reevaluate-filter-files-defcustom)
8070 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8071 (todo-reset-done-separator, todo-reset-done-separator-string)
8072 (todo-reset-done-string, todo-reset-global-current-todo-file)
8073 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8074 (todo-reset-prefix, todo-set-categories)
8075 (todo-set-date-from-calendar, todo-set-show-current-file)
8076 (todo-set-top-priorities, todo-short-file-name)
8077 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8078 (todo-total-item-counts, todo-update-buffer-list)
8079 (todo-update-categories-display, todo-update-categories-sexp)
8080 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8082 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8084 (todo-categories, todo-display, todo-edit, todo-faces)
8085 (todo-filtered): New defgroups.
8086 (todo-archived-only, todo-button, todo-category-string, todo-date)
8087 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8088 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8089 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8090 (todo-add-item-if-new-category, todo-always-add-time-string)
8091 (todo-categories-align, todo-categories-archived-label)
8092 (todo-categories-category-label, todo-categories-diary-label)
8093 (todo-categories-done-label, todo-categories-number-separator)
8094 (todo-categories-todo-label, todo-categories-totals-label)
8095 (todo-category-completions-files, todo-completion-ignore-case)
8096 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8097 (todo-done-separator-string, todo-done-string)
8098 (todo-files-function, todo-filter-done-items, todo-filter-files)
8099 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8100 (todo-initial-category, todo-initial-file, todo-item-mark)
8101 (todo-legacy-date-time-regexp, todo-mode-line-function)
8102 (todo-nondiary-marker, todo-number-prefix)
8103 (todo-print-buffer-function, todo-show-current-file)
8104 (todo-show-done-only, todo-show-first, todo-show-with-done)
8105 (todo-skip-archived-categories, todo-top-priorities-overrides)
8106 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8107 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8109 (todo-category-done, todo-date-pattern, todo-date-string-start)
8110 (todo-diary-items-buffer, todo-done-string-start)
8111 (todo-filtered-items-buffer, todo-item-start)
8112 (todo-month-abbrev-array, todo-month-name-array)
8113 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8114 (todo-top-priorities-buffer): New defconsts.
8115 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8116 (todo-categories-with-marks, todo-category-string-face)
8117 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8118 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8119 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8120 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8121 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8122 (todo-font-lock-keywords, todo-global-current-todo-file)
8123 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8124 (todo-insertion-commands-args)
8125 (todo-insertion-commands-args-genlist)
8126 (todo-insertion-commands-names, todo-insertion-map)
8127 (todo-key-bindings-t, todo-key-bindings-t+a)
8128 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8129 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8130 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8131 (todo-visited): New variables.
8133 2013-06-21 Glenn Morris <rgm@gnu.org>
8135 * play/cookie1.el (cookie-apropos): Add optional display argument.
8136 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8137 (psychoanalyze-pinhead): Use cookie-doctor.
8139 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8141 * emacs-lisp/package.el (tar-get-file-descriptor)
8142 (tar--extract): Declare.
8144 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8146 Extend flymake's warning predicate to be a function (bug#14217).
8147 * progmodes/flymake.el (flymake-warning-predicate): New.
8148 (flymake-parse-line): Use it.
8149 (flymake-warning-re): Make obsolete alias to
8150 `flymake-warning-predicate'.
8152 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8154 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8155 (package-obsolete-list): Remove.
8156 (package-activate): Remove min-version argument. Add `force' argument.
8157 Adjust to new package-alist format.
8158 (package-mark-obsolete): Remove.
8159 (package-unpack): Force reload of the package's autoloads.
8160 (package-installed-p): Check builtins if the installed package is not
8162 (package-initialize): Don't reset package-obsolete-list.
8163 Don't specify which package version to activate.
8164 (package-process-define-package, describe-package-1)
8165 (package-menu--generate): Adjust to new package-alist format.
8167 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8169 * allout-widgets.el (allout-widgets-mode-off)
8170 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8171 (allout-widgets-post-command-business)
8172 (allout-widgets-after-copy-or-kill-function)
8173 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8174 (allout-decorate-item-and-context)
8175 (allout-graphics-modification-handler): Fix typos in docstrings.
8176 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8178 * cmuscheme.el (scheme-start-file): Doc fix.
8179 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8180 (scheme-input-filter): Use `string-match-p'.
8182 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8184 * dired-x.el: Use Dired consistently in docstrings.
8186 * dired.el: Use Dired consistently in docstrings.
8187 (dired-readin, dired-mode): Use `setq-local'.
8188 (dired-switches-alist): Make defvar-local.
8189 (dired-buffers-for-dir): Use `zerop'.
8190 (dired-safe-switches-p, dired-switches-escape-p)
8191 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8192 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8193 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8194 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8195 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8196 (dired-toggle-marks, dired-mark-files-containing-regexp)
8197 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8198 (dired-flag-auto-save-files, dired-flag-backup-files):
8200 (dired-mark-files-regexp, dired-build-subdir-alist):
8201 Use `string-match-p', `looking-at-p'.
8203 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8204 (direct-print-region-helper): Use `string-match-p'.
8206 2013-06-21 Leo Liu <sdl.web@gmail.com>
8208 * comint.el (comint-redirect-results-list-from-process):
8211 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8213 * net/eww.el (eww-update-header-line-format): Quote % characters.
8215 2013-06-21 Glenn Morris <rgm@gnu.org>
8217 * play/cookie1.el (cookie): New custom group.
8218 (cookie-file): New option.
8219 (cookie-check-file): New function.
8220 (cookie): Make it interactive. Make start and end messages optional.
8221 Interactively, display the result. Default to cookie-file.
8222 (cookie-insert): Default to cookie-file.
8223 (cookie-snarf): Make start and end messages optional.
8224 Default to cookie-file. Use with-temp-buffer.
8225 (cookie-read): Rename from read-cookie.
8226 Make start and end messages optional. Default to cookie-file.
8227 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8229 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8230 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8232 2013-06-21 Leo Liu <sdl.web@gmail.com>
8234 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8236 2013-06-21 Glenn Morris <rgm@gnu.org>
8238 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8240 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8241 Daniel Hackney <dan@haxney.org>
8243 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8244 Consolidate the single-file vs tarball code.
8245 (package-desc-suffix): New function.
8246 (package-desc-full-name): Don't bother inlining it.
8247 (package-load-descriptor): Return the new package-desc.
8248 (package-mark-obsolete): Remove unused arg `package'.
8249 (package-unpack): Make it work for single files as well.
8250 Make it update package-alist.
8251 (package--make-autoloads-and-stuff): Rename from
8252 package--make-autoloads-and-compile. Don't compile any more.
8253 (package--compile): New function.
8254 (package-generate-description-file): New function, extracted from
8255 package-unpack-single.
8256 (package-unpack-single): Remove.
8257 (package--with-work-buffer): Add indentation and debugging info.
8258 (package-download-single): Remove.
8259 (package-install-from-archive): Rename from package-download-tar, make
8260 it take a pkg-desc, and make it work for single files as well.
8261 (package-download-transaction): Simplify.
8262 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8263 external tar program.
8264 (package-install-from-buffer): Remove `pkg-desc' argument.
8265 Use package-tar-file-info for tar-mode buffers.
8266 (package-install-file): Simplify accordingly.
8267 (package-archive-base): Change to take a pkg-desc.
8268 * tar-mode.el (tar--check-descriptor): New function, extracted from
8270 (tar-get-descriptor): Use it.
8271 (tar-get-file-descriptor): New function.
8272 (tar--extract): New function, extracted from tar-extract.
8273 (tar--extract): Use it.
8274 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8275 case the summary uses non-ascii. Adjust to new calling convention of
8276 package-tar-file-info.
8278 2013-06-21 Leo Liu <sdl.web@gmail.com>
8280 * comint.el (comint-redirect-results-list-from-process):
8281 Fix random delay. (Bug#14681)
8283 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8285 * profiler.el (profiler-format-number): Use log, not log10.
8287 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8289 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8291 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8293 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8294 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8296 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8297 (AUTOGENEL): ... here.
8298 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8299 (cl--defsubst-expand): Use it.
8301 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8303 * subr.el (log10): Move here from C code, and declare as obsolete.
8304 All uses of (log10 X) replaced with (log X 10).
8306 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8308 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8309 Declare with `defvar-local'.
8310 (tabulated-list-use-header-line, tabulated-list-entries)
8311 (tabulated-list-padding, tabulated-list-printer)
8312 (tabulated-list-sort-key): Declare with `defvar-local'.
8313 (tabulated-list-init-header, tabulated-list-print-fake-header):
8316 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8318 * arc-mode.el (archive-mode): Add `archive-write-file' to
8319 `write-contents-functions' also for remote files. (Bug#14652)
8321 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8323 * cus-edit.el (custom-commands): Fix typos.
8324 (custom-display): Fix tooltip text.
8325 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8326 Fix typos in docstrings.
8327 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8328 (custom-unlispify-menu-entry, custom-magic-value-create)
8329 (custom-add-see-also, custom-group-value-create): Use ?\s.
8330 (custom-guess-type, customize-apropos, editable-field)
8331 (custom-face-value-create): Use `string-match-p'.
8332 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8334 * custom.el (custom-load-symbol): Use `string-match-p'.
8336 * ansi-color.el: Convert to lexical binding.
8337 (ansi-colors): Fix URL.
8338 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8339 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8340 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8342 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8344 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8346 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8348 2013-06-19 Tom Tromey <tromey@redhat.com>
8350 * net/eww.el (eww-top-url): Remove.
8351 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8352 (eww-render): Set new variables. Don't set eww-top-url.
8353 (eww-handle-link): Handle "prev", "home", and "contents".
8354 Downcase the rel text.
8355 (eww-top-url): Choose best top URL.
8357 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8359 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8360 relying in widget.el. Using widget.el leads to too many
8361 user interface inconsistencies.
8362 (eww-self-insert): Implement entering commands in text fields.
8363 (eww-process-text-input): New function to make text input field editing
8365 (eww-submit): Rewrite to use the new-style form methods.
8366 (eww-select-display): Display the correct selected item.
8367 (eww-change-select): Implement changing the select value.
8368 (eww-toggle-checkbox): Implement radio/checkboxes.
8369 (eww-update-field): Fix compilation error.
8370 (eww-tag-textarea): Implement <textarea>.
8372 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8373 we don't shadow mode-specific bindings.
8375 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8378 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8380 2013-06-19 Glenn Morris <rgm@gnu.org>
8382 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8384 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8386 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8389 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8391 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8393 * net/browse-url.el (browse-url-browser-function):
8394 `eww-browse-url' has the right calling signature, `eww' does not.
8396 2013-06-19 Glenn Morris <rgm@gnu.org>
8398 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8399 Only eval autoloaded macros.
8400 (byte-compile-autoload): Only give the macro warning for macros.
8402 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8403 (ps-underlined-faces): Declare.
8405 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8406 (speedbar-add-supported-extension): Declare.
8408 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8409 Don't include a date stamp in the header of the generated file;
8410 it leads to needless differences between output files.
8412 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8414 * net/secrets.el (secrets-struct-secret-content-type):
8415 Replace check of introspection data by a test call of "CreateItem".
8416 Some servers do not offer introspection.
8418 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8420 * electric.el (electric-pair-mode): Improve interaction with
8421 electric-layout-mode.
8422 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8423 (electric-pair-syntax): Use text-mode-syntax-table in comments
8425 (electric-pair--insert): New function.
8426 (electric-pair-post-self-insert-function): Use it and
8427 electric--after-char-pos.
8429 2013-06-19 Leo Liu <sdl.web@gmail.com>
8431 * progmodes/octave.el (octave-help): Fix regexp.
8433 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8435 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8436 (shr-table-horizontal-line): Allow nil as a value, and change the
8438 (shr-insert-table-ruler): Respect the nil value.
8440 2013-06-18 Tom Tromey <tromey@barimba>
8442 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8444 (eww-open-file): New defun.
8445 (eww-render): Initialize new variables.
8446 (eww-display-html): Handle "link" and "a".
8447 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8448 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8449 (eww-back-url): Rename from eww-previous-url.
8450 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8453 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8455 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8456 Distinguish ternary operator tokens from slash symbol and slash
8459 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8461 Convert symbol prettification into minor mode and global minor mode.
8463 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8464 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8465 (prettify-symbols--keywords): Rename from
8466 `prog-prettify-symbols-alist' and make a local defvar.
8467 (prettify-symbols--compose-symbol): Rename from
8468 `prog--prettify-font-lock-compose-symbol'.
8469 (prettify-symbols--make-keywords): Rename from
8470 `prog-prettify-font-lock-symbols-keywords' and simplify.
8471 (prog-prettify-install): Remove.
8472 (prettify-symbols-mode): New minor mode, based on
8473 `prog-prettify-install'.
8474 (turn-on-prettify-symbols-mode): New function.
8475 (global-prettify-symbols-mode): New globalized minor mode.
8477 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8478 * progmodes/cfengine.el (cfengine3-mode):
8479 * progmodes/perl-mode.el (perl-mode): Don't call
8480 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8482 2013-06-18 Juri Linkov <juri@jurta.org>
8484 * files-x.el (modify-file-local-variable-message): New function.
8485 (modify-file-local-variable)
8486 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8487 and call `modify-file-local-variable-message' when it's non-nil.
8488 (add-file-local-variable, delete-file-local-variable)
8489 (add-file-local-variable-prop-line)
8490 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8491 and use it. (Bug#9820)
8493 2013-06-18 Juri Linkov <juri@jurta.org>
8495 * emulation/vi.el (vi-shell-op):
8496 * emulation/vip.el (vip-execute-com, ex-command):
8497 * emulation/viper-cmd.el (viper-exec-bang):
8498 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8499 the call of `shell-command-on-region'. (Bug#14637)
8501 * simple.el (shell-command-on-region): Doc fix.
8503 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8505 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8508 2013-06-18 Glenn Morris <rgm@gnu.org>
8510 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8512 * newcomment.el (comment-search-forward, comment-search-backward):
8513 Doc fix. (Bug#14376)
8515 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8517 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8518 (buffer-face-mode-invoke): Doc fix.
8520 2013-06-18 Matthias Meulien <orontee@gmail.com>
8522 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8523 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8525 2013-06-18 Glenn Morris <rgm@gnu.org>
8527 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8528 Replace obsolete function generic-make-keywords with its expansion.
8530 * progmodes/python.el (ffap-alist): Declare.
8532 * textmodes/reftex.el (bibtex-mode-map): Declare.
8534 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8536 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8537 (package-unpack, package-unpack-single): Return the pkg-dir.
8538 (package-download-transaction): Use it to update package-alist.
8540 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8542 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8545 2013-06-17 Juri Linkov <juri@jurta.org>
8547 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8549 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8551 * emacs-lisp/package.el (package-load-descriptor):
8552 Remove `with-syntax-table' call, `read' doesn't need it.
8553 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8555 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8557 * startup.el (command-line): Expand package name returned by
8558 `package--description-file' (bug#14639).
8560 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8562 * emacs-lisp/package.el (package-load-descriptor): Do not call
8563 `emacs-lisp-mode', just use its syntax table.
8565 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8567 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8568 `font-lock-extra-managed-props' if any prettifying keyword is added.
8569 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8570 (prog-mode): Use `setq-local'.
8572 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8574 * international/characters.el (standard-case-table): Set syntax of ?»
8575 and ?« to punctuation.
8577 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8579 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8580 Save relevant match data before calling `syntax-ppss' (bug#14595).
8582 2013-06-15 Juri Linkov <juri@jurta.org>
8584 * files-x.el (modify-file-local-variable-prop-line): Add local
8585 variables to the end of the existing comment on the first line.
8586 Use `file-auto-mode-skip' to skip interpreter magic line,
8587 and also skip XML declaration.
8589 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8591 * startup.el (package--builtin-versions): New var.
8592 (package-subdirectory-regexp): Remove.
8593 (package--description-file): Hard code its value instead.
8595 * emacs-lisp/package.el: Don't activate packages older than builtin.
8596 (package-obsolete-list): Rename from package-obsolete-alist, and make
8597 it into a simple list of package-desc.
8598 (package-strip-version): Remove.
8599 (package-built-in-p): Use package--builtin-versions.
8600 (package-mark-obsolete): Simplify.
8601 (package-process-define-package): Mark it obsolete if older than the
8603 (package-handle-response): Use line-end-position.
8604 (package-read-archive-contents, package--download-one-archive):
8606 (package--add-to-archive-contents): Skip if older than the builtin or
8608 (package-menu-describe-package): Fix last change.
8609 (package-list-unversioned): New var.
8610 (package-menu--generate): Use it.
8612 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8613 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8614 (autoload-builtin-package-versions): New variable.
8615 (autoload-generate-file-autoloads): Use them.
8616 Remove the list of autoloaded functions/macros from the
8617 (autoload...) comments.
8619 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8621 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8623 * simple.el (line-move-partial): Don't jump to the next screen
8624 line as soon as it becomes visible. Instead, continue enlarging
8625 the vscroll until the portion of a tall screen line that's left on
8626 display is about the height of the frame's default font.
8629 2013-06-15 Glenn Morris <rgm@gnu.org>
8631 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8632 compilation-error-regexp-alist void, or local while let-bound.
8634 * progmodes/make-mode.el (makefile-mode-syntax-table):
8635 Treat "=" as punctuation. (Bug#14614)
8637 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8639 * help-fns.el (describe-variable):
8640 Add extra line for permanent-local variables.
8642 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8644 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8645 Add export, import, library. (Bug#9164)
8646 (library): Set indent function.
8648 2013-06-14 Glenn Morris <rgm@gnu.org>
8650 * term/xterm.el (xterm--query):
8651 Stop after first matching handler. (Bug#14615)
8653 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8655 Add support for dired in saveplace.
8656 * dired.el (dired-initial-position-hook): New variable.
8657 (dired-initial-position): Call hook to place cursor position.
8658 * saveplace.el (save-place-to-alist): Add dired position.
8659 (save-place-dired-hook): New function.
8661 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8663 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8664 through a symbol rather than letrec.
8666 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8667 (package-desc): Add `dir' field.
8668 (package-desc-full-name): New function.
8669 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8670 (package-maybe-load-descriptor): Remove.
8671 (package-load-all-descriptors): Just call package-load-descriptor.
8672 (package--disabled-p): New function.
8673 (package-desc-vers, package-desc-doc): Remove aliases.
8674 (package--dir): Remove function.
8675 (package-activate): Check if a package is disabled.
8676 (package-process-define-package): New function, extracted from
8678 (define-package): Turn into a place holder.
8679 (package-unpack-single, package-tar-file-info):
8680 Use package--description-file.
8681 (package-compute-transaction): Use package--disabled-p.
8682 (package-download-transaction): Don't call
8683 package-maybe-load-descriptor since they're all loaded anyway.
8684 (package-install): Change argument to be a pkg-desc.
8685 (package-delete): Use a single pkg-desc argument.
8686 (describe-package-1): Use package-desc-dir instead of package--dir.
8687 Use package-desc property instead of package-symbol.
8688 (package-install-button-action): Adjust accordingly.
8689 (package--push): Rewrite.
8690 (package-menu--print-info): Adjust accordingly. Change the ID format
8692 (package-menu-describe-package, package-menu-get-status)
8693 (package-menu--find-upgrades, package-menu-mark-upgrades)
8694 (package-menu-execute, package-menu--name-predicate):
8696 * startup.el (package--description-file): New function.
8697 (command-line): Use it.
8698 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8699 Use package-desc-version.
8701 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8702 (byte-compile-preprocess): Use it.
8703 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8704 can't quite recognize.
8705 (byte-compile-add-to-list): Remove.
8706 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8707 (cconv-closure-convert): Add assertion.
8709 * emacs-lisp/map-ynp.el: Use lexical-binding.
8710 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8711 Factor out some repeated code.
8713 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8715 * subr.el (with-eval-after-load): New macro.
8716 (eval-after-load): Allow form to be a function.
8717 take advantage of lexical-binding.
8718 (do-after-load-evaluation): Use dolist and adjust to new format.
8719 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8721 2013-06-13 Juri Linkov <juri@jurta.org>
8723 * replace.el (perform-replace): Display "symbol " and other search
8724 modes from `isearch-message-prefix' in the *Help* buffer.
8726 * isearch.el (isearch-query-replace): Add " symbol" and other
8727 possible search modes from `isearch-message-prefix' to the prompt.
8728 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8729 when reading a regexp to collect.
8731 2013-06-13 Juri Linkov <juri@jurta.org>
8733 * isearch.el (word-search-regexp): Match whitespace if the search
8734 string begins or ends in whitespace. The LAX arg is applied to
8735 both ends of the search string. Use `regexp-quote' and explicit
8736 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8737 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8738 boundaries are replaced with symbol boundaries, and characters
8739 between symbols match non-word non-symbol syntax. (Bug#14602)
8741 2013-06-13 Juri Linkov <juri@jurta.org>
8743 * isearch.el (isearch-del-char): Don't exceed the length of
8744 `isearch-string' by the prefix arg. (Bug#14563)
8746 2013-06-13 Juri Linkov <juri@jurta.org>
8748 * isearch.el (isearch-yank-word, isearch-yank-line)
8749 (isearch-char-by-name, isearch-quote-char)
8750 (isearch-printing-char, isearch-process-search-char):
8751 Add optional count prefix arg. (Bug#14563)
8753 * international/isearch-x.el
8754 (isearch-process-search-multibyte-characters):
8755 Add optional count prefix arg.
8757 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8759 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8760 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8763 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8765 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8767 2013-06-13 Glenn Morris <rgm@gnu.org>
8769 * startup.el (tty-handle-args):
8770 Don't just discard "--" and anything after. (Bug#14608)
8772 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8774 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8776 Implement changes in Secret Service API. Make it backward compatible.
8777 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8778 (secrets-create-item): Use it. Prefix properties with interface.
8780 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8782 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8783 (term-emulate-terminal): Respect term-suppress-hard-newline.
8785 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8787 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8788 Only remove a `thumb-file' overlay. (Bug#14548)
8790 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8792 * mail/reporter.el (reporter-submit-bug-report):
8793 Handle missing package-name. (Bug#14600)
8795 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8797 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8798 (reftex-citation-prompt, reftex-default-bibliography)
8799 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8800 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8801 (reftex-bib-sort-author, reftex-bib-sort-year)
8802 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8803 (reftex-extract-bib-entries-from-thebibliography)
8804 (reftex-get-bibkey-default, reftex-get-bib-names)
8805 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8806 (reftex-format-bib-entry, reftex-parse-bibitem)
8807 (reftex-format-bibitem, reftex-do-citation)
8808 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8809 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8810 (reftex-insert-bib-matches, reftex-format-citation)
8811 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8812 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8813 existing comments into docstrings.
8815 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8817 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8819 2013-06-12 Andreas Schwab <schwab@suse.de>
8821 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8822 for auto-save files.
8824 2013-06-12 Glenn Morris <rgm@gnu.org>
8826 * ido.el (ido-delete-ignored-files): Remove.
8827 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8828 Go back to calling ido-ignore-item-p directly.
8830 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8832 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8834 * ido.el (ido-delete-ignored-files): New function,
8835 split from ido-make-file-list-1.
8836 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8837 (ido-make-file-list-1): Use ido-delete-ignored-files.
8839 2013-06-12 Leo Liu <sdl.web@gmail.com>
8841 * progmodes/octave.el (inferior-octave-startup)
8842 (inferior-octave-completion-table)
8843 (inferior-octave-track-window-width-change)
8844 (octave-eldoc-function-signatures, octave-help)
8845 (octave-find-definition): Use single quoted strings.
8846 (inferior-octave-startup-args): Change default value.
8847 (inferior-octave-startup): Do not hard code "-i" and
8848 "--no-line-editing".
8849 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8850 (inferior-octave-directory-tracker): Use it.
8851 (octave-goto-function-definition): Robustify.
8852 (octave-help): Support highlighting operators in 'See also'.
8853 (octave-find-definition): Find subfunctions only in Octave mode.
8855 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8857 * help-fns.el (help-fns--compiler-macro): If the handler function is
8858 named, then put a link to it.
8859 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8860 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8862 (cl-eval-when): Simplify debug spec.
8863 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8864 compiler-macro function instead of setting `compiler-macro-file'.
8866 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8868 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8869 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8871 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8872 Daniel Hackney <dan@haxney.org>
8874 First part of Daniel Hackney's patch to package.el.
8875 * emacs-lisp/package.el: Use defstruct.
8876 (package-desc): New, main struct.
8877 (package--bi-desc, package--ac-desc): New structs, used to describe the
8878 format in external files.
8879 (package-desc-vers): Replace with package-desc-version accessor.
8880 (package-desc-doc): Replace with package-desc-summary accessor.
8881 (package-activate-1): Remove `package' arg since the pkg-vec now
8883 (define-package): Use package-desc-from-define.
8884 (package-unpack-single): Change file-name arg to be a symbol.
8885 (package--add-to-archive-contents): Use package-desc-create and new
8886 accessor functions to package--ac-desc.
8887 (package-buffer-info, package-tar-file-info): Return a package-desc.
8888 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8889 arg to be a package-desc.
8890 (package-install-file): Adjust accordingly. Use \' to match EOS.
8891 (package--from-builtin): New function.
8892 (describe-package-1, package-menu--generate): Use it.
8893 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8894 (package-generate-autoloads): Idem and return the name of the file.
8895 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8896 Change pkg-info arg to be a package-desc.
8897 Use package-make-ac-desc.
8898 (package-upload-file): Use \' to match EOS.
8899 * finder.el (finder-compile-keywords): Use package-make-builtin.
8901 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8903 * vc/vc.el (vc-deduce-fileset): Change error message.
8904 (vc-read-backend): New function.
8905 (vc-next-action): Use it.
8907 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8909 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8910 (prolog-font-lock-keywords): Use regexp-opt instead.
8911 Don't manually highlight strings.
8912 (prolog-mode-variables): Simplify comment-start-skip.
8913 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8915 * emacs-lisp/generic.el (generic--normalise-comments)
8916 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8917 (generic-mode-set-comments): Use them.
8918 (generic-bracket-support): Use setq-local.
8919 (generic-make-keywords-list): Declare obsolete.
8921 2013-06-11 Glenn Morris <rgm@gnu.org>
8923 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8924 Prettify after setting font-lock-defaults. (Bug#14574)
8926 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8928 * replace.el (query-replace, occur-read-regexp-defaults-function)
8930 * subr.el (declare-function, number-sequence, local-set-key)
8931 (substitute-key-definition, locate-user-emacs-file)
8932 (with-silent-modifications, split-string, eval-after-load):
8933 Fix typos, remove unneeded backslashes and reflow some docstrings.
8935 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8937 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8938 default for Elisp files.
8940 2013-06-11 Glenn Morris <rgm@gnu.org>
8942 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8943 although define-derived-mode was doing this anyway. (Bug#14583)
8945 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8947 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8948 Fix make-variable-buffer-local call to refer to the correct variable.
8950 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8952 * eshell/em-term.el (eshell-visual-commands)
8953 (eshell-visual-subcommands, eshell-visual-options):
8954 Add summary line to docstrings. Add cross-references.
8956 2013-06-10 Glenn Morris <rgm@gnu.org>
8958 * epa.el (epa-read-file-name): New function. (Bug#14510)
8959 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8961 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8963 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8964 output redirection to be ignored with visual commands.
8966 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8968 * eshell/em-term.el (eshell-visual-command-p): New function.
8969 (eshell-term-initialize): Move long lambda to separate function
8970 eshell-visual-command-p.
8971 * eshell/em-dirs.el (eshell-dirs-initialise):
8972 * eshell/em-script.el (eshell-script-initialize):
8973 Add missing #' to lambda.
8975 2013-06-08 Leo Liu <sdl.web@gmail.com>
8977 * progmodes/octave.el (octave-add-log-current-defun): New function.
8978 (octave-mode): Set add-log-current-defun-function.
8979 (octave-goto-function-definition): Do not move point if not found.
8980 (octave-find-definition): Enhance to try subfunctions first.
8982 2013-06-08 Glenn Morris <rgm@gnu.org>
8984 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8985 (byte-compile-backward-char, byte-compile-backward-word):
8986 Improve previous change, to handle non-explicit nil.
8988 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8990 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8991 (smie--opener/closer-at-point): New function.
8992 (smie--matching-block-data): Use it. Don't match from right after an
8993 opener or right before a closer. Obey smie-blink-matching-inners.
8994 Don't signal a mismatch for repeated inners like "switch..case..case".
8996 2013-06-07 Leo Liu <sdl.web@gmail.com>
8998 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9000 (octave-function-header-regexp): Fix. (Bug#14570)
9001 (octave-help-mode-finish-hook, octave-help-mode-finish):
9002 Remove. Just use temp-buffer-show-hook.
9004 * newcomment.el (comment-search-backward): Revert last change.
9007 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9009 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9011 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9012 through xargs, to avoid failure due to MS-Windows limitations on
9013 command-line length.
9015 2013-06-06 Glenn Morris <rgm@gnu.org>
9017 * font-lock.el (lisp-font-lock-keywords-2):
9018 Treat user-error like error.
9020 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9021 (byte-compile-backward-char, byte-compile-backward-word):
9022 Handle explicit nil arguments. (Bug#14565)
9024 2013-06-05 Alan Mackenzie <acm@muc.de>
9026 * isearch.el (isearch-allow-prefix): New user option.
9027 (isearch-other-meta-char): Don't exit isearch when a prefix
9028 argument is typed whilst `isearch-allow-prefix' is non-nil.
9031 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9033 * autorevert.el (auto-revert-notify-handler): Use memq.
9034 Hide assertion failure.
9036 * skeleton.el: Use cl-lib.
9037 (skeleton-further-elements): Use defvar-local.
9038 (skeleton-insert): Use cl-progv.
9040 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9042 * progmodes/prog-mode.el (prog-prettify-symbols)
9043 (prog-prettify-install): Update docstrings.
9045 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9047 * simple.el: Move all the prog-mode code to prog-mode.el.
9048 * progmodes/prog-mode.el: New file.
9049 * loadup.el: Add prog-mode.el.
9051 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9053 * simple.el (prog-prettify-symbols): Add version.
9054 (prog-prettify-install): Add convenience function to prettify symbols.
9056 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9057 (perl--augmented-font-lock-keywords-1)
9058 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9059 variables and use it.
9061 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9062 (cfengine3-mode): Remove unneeded variable and use it.
9064 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9065 (lisp--augmented-font-lock-keywords-1)
9066 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9067 Remove unneeded variables and use it.
9069 2013-06-05 João Távora <joaotavora@gmail.com>
9071 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9072 to point when opening the connection. (Bug#14380)
9074 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9076 * subr.el (load-history-regexp, load-history-filename-element)
9077 (eval-after-load, after-load-functions, do-after-load-evaluation)
9078 (eval-next-after-load, display-delayed-warnings)
9079 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9080 definition of save-match-data.
9081 (overriding-local-map): Remove accidental obsolescence declaration.
9083 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9085 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9087 Generalize symbol prettify support to prog-mode and implement it
9088 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9089 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9090 (prog--prettify-font-lock-compose-symbol)
9091 (prog-prettify-font-lock-symbols-keywords): New variables and
9092 functions to support symbol prettification.
9093 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9094 (lisp--augmented-font-lock-keywords-1)
9095 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9096 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9097 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9098 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9099 Implement prettify of -> => :: strings.
9100 * progmodes/perl-mode.el (perl-prettify-symbols)
9101 (perl--font-lock-compose-symbol)
9102 (perl--font-lock-symbols-keywords): Move to prog-mode.
9103 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9104 (perl-font-lock-keywords-1)
9105 (perl-font-lock-keywords-2): Remove explicit prettify support.
9106 (perl--augmented-font-lock-keywords)
9107 (perl--augmented-font-lock-keywords-1)
9108 (perl--augmented-font-lock-keywords-2, perl-mode):
9109 Implement prettify support.
9111 2013-06-05 Leo Liu <sdl.web@gmail.com>
9113 Re-implement smie matching block highlight using
9114 show-paren-data-function. (Bug#14395)
9115 * emacs-lisp/smie.el (smie-matching-block-highlight)
9116 (smie--highlight-matching-block-overlay)
9117 (smie--highlight-matching-block-lastpos)
9118 (smie-highlight-matching-block)
9119 (smie-highlight-matching-block-mode): Remove.
9120 (smie--matching-block-data-cache): New variable.
9121 (smie--matching-block-data): New function.
9122 (smie-setup): Use smie--matching-block-data for
9123 show-paren-data-function.
9125 * progmodes/octave.el (octave-mode-menu): Fix.
9126 (octave-find-definition): Skip garbage lines.
9128 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9130 Fix compilation error with simultaneous dynamic+lexical scoping.
9131 Add warning when a defvar appears after the first let-binding.
9132 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9133 (byte-compile-close-variables): Initialize it.
9134 (byte-compile--declare-var): New function.
9135 (byte-compile-file-form-defvar)
9136 (byte-compile-file-form-define-abbrev-table)
9137 (byte-compile-file-form-custom-declare-variable): Use it.
9138 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9139 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9140 (byte-compile-bind): Handle dynamic bindings that shadow
9142 (byte-compile-unbind): Make arg non-optional.
9143 (byte-compile-let): Simplify.
9144 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9145 (cconv--analyse-function, cconv-analyse-form): Populate it.
9146 Protect byte-compile-bound-variables to limit the scope of defvars.
9147 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9148 Remove unneeded rule for `declare'.
9150 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9151 so as to avoid depending on cl-adjoin at run-time.
9152 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9154 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9155 (macroexp--warn-and-return): Use it.
9157 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9159 * lisp/subr.el: Convert to lexical binding.
9160 (overriding-local-map): Make obsolete.
9161 (add-to-list): Doc fix. Add compiler macro.
9162 (read-key): Swap values of local maps.
9164 2013-06-05 Leo Liu <sdl.web@gmail.com>
9166 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9168 2013-06-04 Leo Liu <sdl.web@gmail.com>
9170 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9171 (compilation-auto-jump): Suppress the "Mark set" message to give
9172 way to exit message.
9174 2013-06-04 Alan Mackenzie <acm@muc.de>
9176 Remove faulty optimisation from indentation calculation.
9177 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9178 search limit based on 2000 characters back from indent-point.
9180 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9182 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9184 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9186 * emacs-lisp/lisp.el: Use lexical-binding.
9187 (lisp--local-variables-1, lisp--local-variables): New functions.
9188 (lisp--local-variables-completion-table): New var.
9189 (lisp-completion-at-point): Use it complete let-bound vars.
9191 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9192 eagerly (bug#14422).
9194 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9196 * autorevert.el (auto-revert-notify-enabled)
9197 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9198 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9199 (auto-revert-notify-handler): Handle also gfilenotify.
9201 * subr.el (file-notify-handle-event): New defun. Replacing ...
9202 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9205 2013-06-03 Juri Linkov <juri@jurta.org>
9207 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9208 `M-s h .'. (Bug#14427)
9210 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9211 command `hi-lock-face-symbol-at-point'.
9212 (hi-lock-face-symbol-at-point): New command.
9213 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9214 (hi-lock-menu): Add `highlight-symbol-at-point'.
9215 (hi-lock-mode): Doc fix.
9217 * isearch.el (isearch-forward-symbol-at-point): New command.
9218 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9219 (isearch-highlight-regexp): Add a regexp which matches
9220 words/symbols for word/symbol mode.
9222 * subr.el (find-tag-default-bounds): New function with the body
9223 mostly moved from `find-tag-default'.
9224 (find-tag-default): Move most code to `find-tag-default-bounds',
9225 call it and apply `buffer-substring-no-properties' afterwards.
9227 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9229 * eshell/em-term.el (eshell-term-initialize):
9230 Use `cl-intersection' rather than `intersection'.
9232 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9234 * vc/log-view.el: Doc fix.
9235 (log-view-mode-map): Copy keymap from `special-mode-map'.
9237 2013-06-02 Eric Ludlam <zappo@gnu.org>
9239 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9240 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9241 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9242 (eieio-unbound, eieio-default-superclass)
9243 (eieio--define-field-accessors, method-static, method-before)
9244 (method-primary, method-after, method-num-lists)
9245 (method-generic-before, method-generic-primary)
9246 (method-generic-after, method-num-slots)
9247 (eieio-specialized-key-to-generic-key)
9248 (eieio--check-type, class-v, class-p)
9249 (eieio-class-name, define-obsolete-function-alias)
9250 (eieio-class-parents-fast, eieio-class-children-fast)
9251 (same-class-fast-p, class-constructor, generic-p)
9252 (generic-primary-only-p, generic-primary-only-one-p)
9253 (class-option-assoc, class-option, eieio-object-p)
9254 (class-abstract-p, class-method-invocation-order)
9255 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9256 (eieio-class-un-autoload, eieio-defclass)
9257 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9258 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9259 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9260 (eieio-defgeneric-reset-generic-form)
9261 (eieio-defgeneric-form-primary-only)
9262 (eieio-defgeneric-reset-generic-form-primary-only)
9263 (eieio-defgeneric-form-primary-only-one)
9264 (eieio-defgeneric-reset-generic-form-primary-only-one)
9265 (eieio-unbind-method-implementations)
9266 (eieio--defmethod, eieio--typep)
9267 (eieio-perform-slot-validation, eieio-validate-slot-value)
9268 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9269 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9270 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9271 (eieio-slot-name-index, eieio-class-slot-name-index)
9272 (eieio-set-defaults, eieio-initarg-to-attribute)
9273 (eieio-attribute-to-initarg, eieio-c3-candidate)
9274 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9275 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9276 (eieio-class-precedence-list, eieio-generic-call-methodname)
9277 (eieio-generic-call-arglst, eieio-generic-call-key)
9278 (eieio-generic-call-next-method-list)
9279 (eieio-pre-method-execution-functions, eieio-generic-call)
9280 (eieio-generic-call-primary-only, eieiomt-method-list)
9281 (eieiomt-optimizing-obarray, eieiomt-install)
9282 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9283 (eieio-generic-form, eieio-defmethod, make-obsolete)
9284 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9285 (defclass): Remove `eval-and-compile' from macro.
9286 (call-next-method, shared-initialize): Instead of using
9287 `scoped-class' variable, use new eieio--scoped-class, and
9288 eieio--with-scoped-class.
9289 (initialize-instance): Rename local variable 'scoped-class' to
9290 'this-class' to remove ambiguitity from old global.
9292 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9294 (eieio--scoped-class-stack): New variable.
9295 (eieio--scoped-class): New fcn.
9296 (eieio--with-scoped-class): New scoping macro.
9297 (eieio-defclass): Use pushnew instead of add-to-list.
9298 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9299 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9300 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9301 `scoped-class' variable, use new eieio--scoped-class, and
9302 eieio--with-scoped-class.
9304 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9306 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9308 * eshell/esh-ext.el (eshell-external-command): Pass args to
9309 `eshell-find-interpreter'.
9310 (eshell-find-interpreter): Add new second parameter ARGS.
9312 * eshell/em-script.el (eshell-script-initialize): Add second arg
9313 to the function added as MATCH to `eshell-interpreter-alist'.
9315 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9316 the function added as MATCH to `eshell-interpreter-alist'.
9318 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9319 (eshell-visual-options): New defcustom.
9320 (eshell-escape-control-x): Adapt docstring.
9321 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9322 `eshell-visual-options' in addition to `eshell-visual-commands'.
9323 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9325 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9327 * progmodes/python.el (python-indent-block-enders): Add break,
9328 continue and raise keywords.
9330 2013-06-01 Glenn Morris <rgm@gnu.org>
9332 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9334 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9335 * progmodes/cc-cmds.el (delete-forward-p):
9336 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9337 * progmodes/cc-engine.el (buffer-syntactic-context):
9338 * progmodes/cc-fonts.el (face-property-instance):
9339 * progmodes/cc-mode.el (set-keymap-parents):
9340 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9341 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9342 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9343 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9344 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9346 * progmodes/cc-vars.el (other): Emacs has this widget since
9347 at least 21.1, so don't (re)define it.
9349 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9350 Replace the obsolete alias pcomplete-arg-quote-list.
9352 2013-06-01 Leo Liu <sdl.web@gmail.com>
9354 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9356 (inferior-octave-minimal-columns)
9357 (inferior-octave-last-column-width): New variables.
9358 (inferior-octave-track-window-width-change): New function.
9359 (inferior-octave-mode): Adjust column width so that Octave output,
9360 for example from 'ls', can fit into the window nicely.
9362 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9364 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9365 Highlight expansions inside regexp literals.
9367 2013-05-31 Glenn Morris <rgm@gnu.org>
9369 * obsolete/sym-comp.el (symbol-complete):
9370 Replace obsolete completion-annotate-function.
9372 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9374 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9376 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9377 New function, checks if point is inside a literal that allows
9378 expression expansion.
9379 (ruby-syntax-propertize-expansion): Use it.
9380 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9383 2013-05-30 Juri Linkov <juri@jurta.org>
9385 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9387 (isearch-invisible): New variable.
9388 (isearch-forward): Doc fix.
9389 (isearch-mode): Set `isearch-invisible'
9390 to the value of `search-invisible'.
9391 (isearch-toggle-case-fold): Doc fix.
9392 (isearch-toggle-invisible): New command.
9393 (isearch-query-replace): Let-bind `search-invisible'
9394 to the value of `isearch-invisible'.
9395 (isearch-search): Use `isearch-invisible' instead of
9396 `search-invisible'. Let-bind `search-invisible'
9397 to the value of `isearch-invisible'. (Bug#11378)
9399 2013-05-30 Juri Linkov <juri@jurta.org>
9401 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9402 call when `query-flag' is nil and `search-invisible' is non-nil.
9405 2013-05-30 Glenn Morris <rgm@gnu.org>
9407 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9409 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9410 (cc-require): Suppress spurious "noruntime" warnings.
9411 (cc-require-when-compile): Use fboundp, for sake of compiler.
9413 * progmodes/cc-mode.el: Move load of cc-vars before that of
9414 cc-langs (which in turn loads cc-vars), to quieten compiler.
9416 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9418 * paren.el: Simplify the code.
9419 (show-paren-mode): Always start the timer.
9420 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9421 (show-paren--overlay, show-paren--overlay-1): Rename from
9422 show-paren-overlay and show-paren-overlay-1, and initialize to an
9423 overlay rather than to nil.
9424 (show-paren-function): Misc cleanup and simplifications.
9426 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9428 * paren.el (show-paren-data-function): New hook.
9429 (show-paren--default): New function, extracted from show-paren-function.
9430 (show-paren-function): Use show-paren-data-function.
9432 2013-05-30 Glenn Morris <rgm@gnu.org>
9434 * ielm.el (ielm-map, ielm-complete-symbol):
9435 Use completion-at-point rather than obsolete functions.
9436 (inferior-emacs-lisp-mode): Doc fix.
9437 Set completion-at-point-functions, rather than
9438 comint-dynamic-complete-functions.
9440 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9441 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9442 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9444 * image.el (image-animated-p): Tweak definition.
9446 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9447 (rlogin-process-connection-type): Tweak default. Add set-after.
9448 (rlogin-host): Doc fix.
9449 (rlogin): Tweak prompt.
9450 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9452 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9453 * progmodes/tcl.el (inferior-tcl-mode-map):
9454 Use completion-at-point rather than obsolete alias.
9456 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9458 * minibuffer.el (read-file-name-completion-ignore-case):
9459 Move before completion--in-region, for eager macro expansion.
9461 2013-05-29 Juri Linkov <juri@jurta.org>
9463 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9464 for total count of matching lines. Add `global-matches' for total
9465 count of matches. Rename `matches' to `lines' for count of
9466 matching lines. Add `matches' for count of matches.
9467 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9468 to `prev-line' for line number of prev match endpt.
9469 Increment `matches' for every match. Print the number of
9470 matching lines in the header.
9471 (occur-context-lines): Rename `lines' to `curr-line'.
9472 Rename `prev-lines' to `prev-line'. (Bug#14017)
9474 2013-05-29 Juri Linkov <juri@jurta.org>
9476 * replace.el (perform-replace): Add `skip-read-only-count',
9477 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9478 Increment them for corresponding conditions and report the number
9479 of skipped occurrences in the final message. (Bug#11746)
9480 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9481 (replace-string, replace-regexp): Doc fix.
9483 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9485 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9487 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9488 prog-mode-map (bug#14504).
9490 2013-05-29 Leo Liu <sdl.web@gmail.com>
9492 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9493 (octave-help): Small simplification.
9495 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9496 off the highlight first.
9498 2013-05-29 Glenn Morris <rgm@gnu.org>
9500 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9501 Handle idlwave-last-system-routine-info-cons-cell being nil.
9503 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9504 (idlwave-write-paths): Simplify via with-temp-buffer.
9506 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9507 * emulation/cua-rect.el: Also load cua-base at run time.
9509 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9510 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9511 (cperl-imenu-on-info): Require imenu.
9513 2013-05-28 Alan Mackenzie <acm@muc.de>
9515 Handle "capitalised keywords" correctly.
9516 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9518 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9520 * eshell/em-unix.el: Add -r option to cp.
9522 2013-05-28 Glenn Morris <rgm@gnu.org>
9524 * vc/vc-arch.el (vc-exec-after): Declare.
9525 (vc-switches): Autoload.
9526 * vc/vc-bzr.el: No need to require vc when compiling.
9527 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9528 (vc-resynch-buffer, vc-dir-refresh): Declare.
9529 (vc-setup-buffer, vc-switches): Autoload.
9530 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9531 (vc-resynch-buffer): Declare.
9532 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9533 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9534 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9535 (grep-read-regexp, grep-read-files, grep-expand-template)
9536 (vc-dir-refresh): Declare.
9537 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9538 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9539 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9540 * vc/vc-mtn.el (vc-exec-after): Declare.
9541 (vc-switches): Autoload.
9542 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9543 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9544 (vc-file-tree-walk): Declare.
9545 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9546 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9547 (vc-tag-precondition, vc-rename-master): Autoload.
9548 * vc/vc-svn.el (vc-exec-after): Declare.
9549 (vc-switches, vc-setup-buffer): Autoload.
9550 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9552 (vc-resynch-buffer): Declare.
9554 * obsolete/fast-lock.el (byte-compile-warnings):
9555 Don't warn about obsolete features in this obsolete file.
9557 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9558 Move definition before use.
9560 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9561 (dun-unix-verbs): Remove dun-zippy.
9562 (dun-zippy): Remove function.
9564 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9566 2013-05-27 Juri Linkov <juri@jurta.org>
9568 * replace.el (replace-search): New function with code moved out
9569 from `perform-replace'.
9570 (replace-highlight, replace-dehighlight): Move function definitions
9571 up closer to `replace-search'. (Bug#11746)
9573 2013-05-27 Juri Linkov <juri@jurta.org>
9575 * replace.el (perform-replace): Ignore invisible matches.
9576 In addition to checking `query-replace-skip-read-only', also
9577 filter out matches by calling `run-hook-with-args-until-failure'
9578 on `isearch-filter-predicates', and also check `search-invisible'
9579 for t or call `isearch-range-invisible'.
9580 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9582 2013-05-27 Juri Linkov <juri@jurta.org>
9584 * isearch.el (isearch-filter-predicates): Rename from
9585 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9586 (isearch-message-prefix): Display text from the property
9587 `isearch-message-prefix' of the currently active filters.
9588 (isearch-search): Don't compare `isearch-filter-predicate' with
9589 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9590 on `isearch-filter-predicates'. Also check `search-invisible' for t
9591 or call `isearch-range-invisible'.
9592 (isearch-filter-visible): Make obsolete.
9593 (isearch-lazy-highlight-search):
9594 Call `run-hook-with-args-until-failure' on
9595 `isearch-filter-predicates' and use `isearch-range-invisible'.
9597 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9598 `isearch-filter-predicates' instead of `funcall'ing
9599 `isearch-filter-predicate'.
9600 (Info-mode): Set `Info-isearch-filter' to
9601 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9603 * dired-aux.el (dired-isearch-filter-predicate-orig):
9605 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9606 (dired-isearch-filenames-end): Add and remove
9607 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9608 instead of changing the value of `isearch-filter-predicate'.
9609 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9610 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9611 Put property `isearch-message-prefix' to "filename " on
9612 `dired-isearch-filter-filenames'.
9614 * wdired.el (wdired-change-to-wdired-mode):
9615 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9616 locally instead of changing `isearch-filter-predicate'.
9617 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9619 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9621 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9622 return the commit hash (Bug#14459). Also set the
9623 `vc-git-detached' property.
9624 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9625 (vc-git-mode-line-string): Use the same help-echo format whether
9626 in detached mode or not, because we know the actual revision now.
9627 When in detached mode, shorten the revision to 7 chars.
9629 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9631 * emacs-lisp/easy-mmode.el (define-minor-mode):
9632 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9633 mode hook and provide a docstring.
9635 2013-05-27 Alan Mackenzie <acm@muc.de>
9637 Remove spurious syntax-table text properties inserted by C-y.
9638 * progmodes/cc-mode.el (c-after-change): Also clear hard
9639 syntax-table property with value nil.
9641 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9643 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9644 when reading the events; the buffer layout shall not be changed.
9646 2013-05-27 Leo Liu <sdl.web@gmail.com>
9648 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9650 (inferior-octave-directory-tracker): Automatically re-sync
9652 (octave-help): Improve handling of 'See also'.
9654 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9656 * doc-view.el: Minor naming convention tweaks.
9657 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9659 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9660 even if there's no `display' property yet (bug#14435).
9662 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9664 * subr.el (unmsys--file-name): Rename from reveal-filename.
9666 * Makefile.in (custom-deps, finder-data, autoloads)
9667 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9668 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9669 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9671 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9673 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9674 error-completion on the first 2 args of condition-case (bug#14446).
9677 2013-05-25 Leo Liu <sdl.web@gmail.com>
9679 * comint.el (comint-previous-matching-input): Do not flood the
9680 *Messages* buffer with trivial messages.
9682 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9684 * progmodes/flymake.el (flymake-nop): Don't return a string.
9685 (flymake-set-at): Fix typo.
9687 * simple.el (read--expression): New function, extracted from
9688 eval-expression. Set completion-at-point-functions (bug#14465).
9689 (eval-expression, eval-minibuffer): Use it.
9691 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9693 * progmodes/flymake.el (flymake-save-buffer-in-file)
9694 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9695 (flymake-selected-frame, flymake-log, flymake-ins-after)
9696 (flymake-set-at, flymake-get-buildfile-from-cache)
9697 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9698 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9699 Refine the doc string.
9700 (flymake-get-file-name-mode-and-masks): Reformat.
9701 (flymake-get-real-file-name-function): Fix a minor bug.
9703 2013-05-24 Juri Linkov <juri@jurta.org>
9705 * progmodes/grep.el (grep-mode-font-lock-keywords):
9706 Support =linenumber= format used by git-grep for lines with
9707 function names. (Bug#13549)
9709 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9711 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9712 0 after a semi-colon; it works better for smie-auto-fill.
9713 (octave--indent-new-comment-line): New function.
9714 (octave-indent-new-comment-line): Use it (indirectly).
9715 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9716 modify comment-line-break-function.
9718 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9719 (smie-setup): Use add-function to set it.
9721 2013-05-24 Sam Steingold <sds@gnu.org>
9723 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9724 argument (before the `interactive' argument).
9726 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9728 * image-mode.el (image-mode-winprops): Add winprops to
9729 image-mode-winprops-alist before running
9730 image-mode-new-window-functions.
9731 * doc-view.el (doc-view-new-window-function): Don't delay
9732 doc-view-goto-page via timers (bug#14435).
9734 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9736 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9737 (doc-view-desktop-save-buffer): New function.
9738 (doc-view-restore-desktop-buffer): New function.
9739 (desktop-buffer-mode-handlers):
9740 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9742 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9743 `desktop-save-buffer' function.
9745 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9747 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9748 (tramp-gvfs-file-name-handler): Raise a user error when
9749 `tramp-gvfs-enabled' is nil.
9750 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9751 Do not raise a user error when loading package. (Bug#14447)
9753 * net/xesam.el: Move to obsolete/.
9755 2013-05-24 Glenn Morris <rgm@gnu.org>
9757 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9759 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9761 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9762 (Info-find-node, Man-getpage-in-background): Declare.
9764 * mail/unrmail.el (unrmail):
9765 Replace obsolete detect-coding-with-priority.
9767 * net/socks.el (socks-split-string): Use this rather than split-string.
9768 (socks-nslookup-host): Update for above change.
9769 (dynamic-choice, s5-dynamic-choice-match)
9770 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9771 Comment out unused code.
9773 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9774 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9775 (gud-tooltip-echo-area): Make obsolete.
9776 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9778 * progmodes/js.el (js--optimize-arglist): Declare.
9780 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9782 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9783 (ediff-window-C): Declare.
9785 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9786 Tweak requires to silence compiler.
9788 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9789 (he-search-string, he-tried-table, he-expand-list)
9790 (he-init-string, he-string-member, he-substitute-string)
9791 (he-reset-string): Declare.
9793 * obsolete/options.el (list-options): Use custom-variable-p,
9794 rather than obsolete alias.
9796 2013-05-23 Sam Steingold <sds@gnu.org>
9798 * simple.el (shell-command-on-region): Pass the `replace' argument
9799 down to `call-process-region' to comply with the doc as reported on
9800 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9802 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9804 * emacs-lisp/smie.el (smie-indent-forward-token)
9805 (smie-indent-backward-token): Handle string tokens (bug#14381).
9807 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9809 * ielm.el (ielm-menu): New menu.
9810 (inferior-emacs-lisp-mode): Set comment-start.
9812 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9814 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9815 Fix deactivate action.
9817 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9818 Add cleveref macros.
9820 * lisp/textmodes/reftex-parse.el
9821 (reftex-locate-bibliography-files): Accept options for
9822 bibliography commands.
9823 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9824 Add addbibresource. Basic Biblatex support.
9826 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9828 * net/tramp-gvfs.el (top):
9829 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9830 when loading package. (Bug#14447)
9832 2013-05-23 Glenn Morris <rgm@gnu.org>
9834 * progmodes/js.el: No need to load comint when compiling.
9835 (ring-insert, comint-send-string, comint-send-input)
9836 (comint-last-input-end, ido-chop): Declare.
9838 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9839 * vc/ediff-mult.el: Adjust requires.
9840 (ediff-directories-internal, ediff-directory-revisions-internal)
9841 (ediff-patch-file-internal): Declare.
9842 * vc/ediff-ptch.el: Adjust requires.
9843 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9844 (ediff-find-file): Autoload.
9845 * vc/ediff-util.el: No need to load ediff when compiling.
9846 (ediff-regions-internal): Declare.
9847 * vc/ediff-wind.el: Adjust requires.
9848 (ediff-compute-toolbar-width): Define when compiling.
9849 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9850 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9851 (dired-get-filename, dired-get-marked-files)
9852 (ediff-last-dir-patch, ediff-patch-default-directory)
9853 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9854 (ediff-patch-buffer-internal): Declare.
9856 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9857 (ispell-process, ispell-buffer-local-words, lm-summary)
9858 (lm-section-start, lm-section-end): Declare.
9859 (checkdoc-ispell-init): Simplify.
9861 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9862 (he-string-member, he-reset-string, he-substitute-string): Declare.
9864 * eshell/em-ls.el: Adjust requires.
9865 (eshell-glob-regexp): Declare.
9866 * eshell/em-tramp.el: Adjust requires.
9867 (eshell-parse-command): Autoload.
9868 * eshell/em-xtra.el: Adjust requires.
9869 (eshell-parse-command): Autoload.
9870 * eshell/esh-ext.el: Adjust requires.
9871 (eshell-parse-command, eshell-close-handles): Autoload.
9872 * eshell/esh-io.el: Adjust requires.
9873 (eshell-output-filter): Autoload.
9874 * eshell/esh-util.el: No need to load tramp when compiling.
9875 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9877 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9878 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9879 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9880 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9881 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9882 * eshell/esh-opt.el, eshell/esh-proc.el:
9883 * eshell/esh-var.el: Adjust requires.
9884 * eshell/eshell.el: Do not require esh-util twice.
9885 (eshell-add-input-to-history): Declare.
9886 (eshell-command): Check history module is active before using it.
9888 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9890 2013-05-22 Leo Liu <sdl.web@gmail.com>
9892 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9894 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9896 * autorevert.el (auto-revert-notify-add-watch)
9897 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9898 it indicates changes in file modification time.
9900 2013-05-22 Glenn Morris <rgm@gnu.org>
9902 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9903 Always delete the autoloaded function from the noruntime and
9904 unresolved functions lists.
9906 * allout.el: No need to load epa, epg, overlay when compiling.
9907 (epg-context-set-passphrase-callback, epg-list-keys)
9908 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9909 (epg-key-user-id-list): Declare.
9911 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9912 (viper-set-parsing-style-toggling-macro)
9913 (viper-set-emacs-state-searchstyle-macros):
9914 Use called-interactively-p on Emacs.
9915 (viper-looking-back): Make it an obsolete alias. Update callers.
9916 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9917 Use looking-back rather than viper-looking-back.
9918 (viper-tmp-insert-at-eob, viper-enlarge-region)
9919 (viper-read-string-with-history, viper-register-to-point)
9920 (viper-append-to-register, viper-change-state-to-vi)
9921 (viper-backward-char-carefully, viper-forward-char-carefully)
9922 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9923 (viper-change-state-to-emacs): Declare.
9924 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9925 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9926 * emulation/viper-mous.el: Do not load viper-cmd.
9927 (viper-backward-char-carefully, viper-forward-char-carefully)
9928 (viper-forward-word, viper-adjust-window): Declare.
9930 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9932 * progmodes/idlw-help.el (idlwave-help-fontify):
9933 Use called-interactively-p.
9935 * term/w32console.el (w32-get-console-codepage)
9936 (w32-get-console-output-codepage): Declare.
9938 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9939 Remove unnecessary declarations.
9940 (dframe-message): Doc fix.
9942 * info.el (dframe-select-attached-frame, dframe-current-frame):
9945 * speedbar.el (speedbar-message): Make it an obsolete alias.
9947 (speedbar-with-attached-buffer)
9948 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9949 (speedbar-with-writable): Use backquote.
9950 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9951 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9952 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9953 rather than speedbar- aliases.
9954 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9955 (speedbar-make-specialized-keymap, speedbar-insert-button)
9956 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9957 (speedbar-do-function-pointer): Declare.
9958 (rmail-speedbar-button, rmail-speedbar-find-file)
9959 (rmail-speedbar-move-message):
9960 Use dframe-with-attached-buffer rather than speedbar- alias.
9961 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9962 (dframe-message, speedbar-make-specialized-keymap)
9963 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9964 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9965 (speedbar-insert-button, dframe-select-attached-frame)
9966 (dframe-maybee-jump-to-attached-frame)
9967 (speedbar-change-initial-expansion-list)
9968 (speedbar-previously-used-expansion-list-name): Declare.
9969 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9970 Use dframe-message, dframe-with-attached-buffer rather than
9972 (gud-sentinel): Silence compiler.
9973 * progmodes/vhdl-mode.el (speedbar-refresh)
9974 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9975 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9976 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9977 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9978 (speedbar-file-lists, speedbar-make-tag-line)
9979 (speedbar-line-directory, speedbar-goto-this-file)
9980 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9981 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9982 (speedbar-make-button, speedbar-reset-scanners)
9983 (speedbar-files-item-info, speedbar-line-text)
9984 (speedbar-find-file-in-frame, speedbar-set-timer)
9985 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9986 (speedbar-with-writable): Do not (re)define it.
9987 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9988 rather than speedbar- alias.
9990 2013-05-21 Leo Liu <sdl.web@gmail.com>
9992 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9994 (octave-mode): Tweak fill-nobreak-predicate.
9995 (inferior-octave-startup): Check process to avoid infinite loop.
9996 (inferior-octave): Pop to buffer first to show abornmal process
9999 2013-05-21 Glenn Morris <rgm@gnu.org>
10001 * printing.el (pr-menu-bar): Define when compiling.
10003 2013-05-21 Leo Liu <sdl.web@gmail.com>
10005 * progmodes/octave.el (octave-auto-fill): Remove.
10006 (octave-indent-new-comment-line): Improve.
10007 (octave-mode): Use auto fill mode through
10008 comment-line-break-function and fill-nobreak-predicate.
10009 (octave-goto-function-definition): Support DEFUN_DLD.
10010 (octave-beginning-of-defun): Small tweak.
10011 (octave-help): Show parent directory.
10013 2013-05-21 Glenn Morris <rgm@gnu.org>
10015 * files.el (dired-unmark):
10016 * progmodes/gud.el (gdb-input): Update declarations.
10018 * calculator.el (electric, ehelp): No need to load when compiling.
10019 (Electric-command-loop, electric-describe-mode): Declare.
10021 * doc-view.el (doc-view-current-converter-processes): Move before use.
10023 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10024 Move MODE-set-explicitly definition before use.
10026 * international/mule-diag.el (mule-diag):
10027 Don't use obsolete window-system-version.
10029 * mail/feedmail.el (smtpmail): No need to load when compiling.
10030 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10032 * mail/mail-utils.el (rfc822): No need to load when compiling.
10033 (rfc822-addresses): Autoload it.
10034 (mail-strip-quoted-names): Trivial simplification.
10036 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10037 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10039 * net/snmp-mode.el (tempo): Don't duplicate requires.
10041 * progmodes/prolog.el (info): No need to load when compiling.
10042 (comint): Require before shell requires it.
10043 (Info-goto-node): Autoload it.
10044 (Info-follow-nearest-node): Declare.
10045 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10047 * textmodes/artist.el (picture-mode-exit): Declare.
10049 * textmodes/reftex-parse.el (reftex-parse-from-file):
10050 Trivial rewrite so the compiler can parse it better.
10052 2013-05-20 Leo Liu <sdl.web@gmail.com>
10054 * progmodes/octave.el (octave-help-mode-map)
10055 (octave-help-mode-finish-hook): New variables.
10056 (octave-help-mode, octave-help-mode-finish): New functions.
10057 (octave-help): Use octave-help-mode.
10059 2013-05-20 Glenn Morris <rgm@gnu.org>
10061 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10063 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10065 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10066 start at point, so that expansion starting right after opening
10067 slash in a regexp is recognized.
10068 (ruby-syntax-before-regexp-re): New defvar, extracted from
10069 ruby-syntax-propertize-function. Since the value of this regexp
10070 is looked up at runtime now, we should be able to turn
10071 `ruby-syntax-methods-before-regexp' into a defcustom later.
10072 (ruby-syntax-propertize-function): Split regexp matching into two
10073 parts, for opening and closing slashes. That allows us to skip
10074 over string interpolations and support multiline regexps.
10075 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10076 for them, which calls `ruby-syntax-propertize-expansion'.
10077 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10078 call to `ruby-syntax-propertize-function'.
10079 (ruby-syntax-propertize-expansion): Extracted from
10080 `ruby-syntax-propertize-expansions'. Handles one expansion.
10081 (ruby-syntax-propertize-percent-literal): Leave point right after
10082 the percent symbol, so that the expression expansion rule can
10083 propertize the contents.
10084 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10086 (ruby-syntax-propertize-expansions): Remove.
10088 2013-05-18 Juri Linkov <juri@jurta.org>
10090 * man.el (Man-default-man-entry): Remove `-' from the end
10091 of the default value. (Bug#14400)
10093 2013-05-18 Glenn Morris <rgm@gnu.org>
10095 * comint.el (comint-password-prompt-regexp):
10096 Allow "password for XXX" where XXX contains colons (eg https://...).
10098 2013-05-18 Leo Liu <sdl.web@gmail.com>
10100 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10101 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10102 (octave-source-directories): Don't check process.
10103 (octave-source-directories, octave-find-definition): Doc fix.
10105 2013-05-18 Glenn Morris <rgm@gnu.org>
10107 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10108 Remove backspace/delete bindings. (Bug#14392)
10110 * cus-dep.el (custom-make-dependencies): Sort the output.
10111 (custom-versions-load-alist): Convert comment to doc.
10113 2013-05-17 Leo Liu <sdl.web@gmail.com>
10115 * newcomment.el (comment-search-backward): Stricter in finding
10116 comment start. (Bug#14303)
10118 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10119 (octave-comment-start-skip): Properly anchored.
10121 2013-05-17 Leo Liu <sdl.web@gmail.com>
10123 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10124 Clean up when turned off. (Bug#14395)
10125 (smie--highlight-matching-block-overlay): No longer buffer-local.
10126 (smie-highlight-matching-block): Adjust.
10128 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10130 Doc string fix for "nanoseconds" (Bug#14406).
10131 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10132 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10134 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10136 * calc/calc-units.el (math-extract-units): Preserve powers
10139 2013-05-17 Leo Liu <sdl.web@gmail.com>
10141 * subr.el (delete-consecutive-dups): New function.
10142 * ido.el (ido-set-matches-1): Use it.
10143 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10144 * ido.el (ido-remove-consecutive-dups): Remove.
10146 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10148 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10149 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10150 regexp-opt's `words'.
10152 2013-05-16 Leo Liu <sdl.web@gmail.com>
10154 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10155 (smie--highlight-matching-block-overlay)
10156 (smie--highlight-matching-block-lastpos)
10157 (smie--highlight-matching-block-timer): New variables.
10158 (smie-highlight-matching-block): New function.
10159 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10160 (smie-setup): Conditionally enable smie-blink-matching-open.
10162 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10164 Sync with upstream verilog-mode r840.
10165 * progmodes/verilog-mode.el (verilog-mode-version)
10166 (verilog-mode-release-date): Update.
10167 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10168 (verilog-sig-tieoff): Fix string error on
10169 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10170 (verilog-read-decls): Fix parameters confusing
10171 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10173 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10175 * subr.el (reveal-filename): New function.
10177 * loadup.el: Compute Emacs executable versions on MS-Windows,
10178 where executables have the .exe extension. Add a hard link
10179 emacs-XX.YY.ZZ.exe on MS-Windows.
10181 * Makefile.in (XARGS_LIMIT): New variable.
10182 (custom-deps, finder-data, autoloads)
10183 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10184 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10185 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10186 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10188 2013-05-16 Leo Liu <sdl.web@gmail.com>
10190 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10191 (octave-mode-menu, octave-mode-map): Remove its uses.
10193 2013-05-16 Reto Zimmermann <reto@gnu.org>
10195 Sync with upstream vhdl mode v3.34.2.
10196 * progmodes/vhdl-mode.el: Use `push' throughout.
10197 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10198 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10199 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10200 (vhdl-actual-generic-name): New option to derive actual generic name.
10201 (vhdl-port-paste-signals): Replace formal by actual generics.
10202 (vhdl-beautify): New name for old group vhdl-align. Update users.
10203 (vhdl-beautify-options): New option.
10204 (vhdl-last-input-event): New compat alias. Use throughout.
10205 (vhdl-goto-line): Replace user level function `goto-line'.
10206 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10207 vhdl-fix-statement-buffer.
10208 (vhdl-create-mode-menu): Add some entries.
10209 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10210 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10211 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10212 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10213 to force statements on one line.
10214 (vhdl-remove-trailing-spaces-region):
10215 New, split from vhdl-remove-trailing-spaces.
10216 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10217 Respect vhdl-beautify-options.
10218 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10219 (vhdl-update-sensitivity-list): Not add with index if exists without.
10220 Not include array index with signal. Ignore keywords in comments.
10221 (vhdl-get-visible-signals): Regexp tweaks.
10222 (vhdl-template-component-inst): Handle empty library.
10223 (vhdl-template-type): Add template for 'enum' type.
10224 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10225 Use vhdl-replace-string.
10226 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10227 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10228 (vhdl-speedbar-initialize): Update for above name change.
10229 (vhdl-compose-wire-components): Fix in handling of constants.
10230 (vhdl-error-regexp-emacs-alist): New variable.
10231 (vhdl-error-regexp-add-emacs): New function;
10232 adds support for new compile.el (Emacs 22+)
10233 (vhdl-generate-makefile-1): Change target order for single lib. units.
10234 Allow use of absolute file names.
10236 2013-05-16 Leo Liu <sdl.web@gmail.com>
10238 * simple.el (prog-indent-sexp): Indent enclosing defun.
10240 2013-05-15 Glenn Morris <rgm@gnu.org>
10242 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10243 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10244 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10245 (whitespace-highlight): Move to whitespace group.
10247 * comint.el (comint-source):
10248 * pcmpl-linux.el (pcmpl-linux):
10249 * shell.el (shell-faces):
10250 * eshell/esh-opt.el (eshell-opt):
10251 * international/ccl.el (ccl): Remove empty custom groups.
10253 * completion.el (dynamic-completion-mode):
10254 * jit-lock.el (jit-lock-debug-mode):
10255 * minibuffer.el (completion-in-region-mode):
10256 * type-break.el (type-break-mode-line-message-mode)
10257 (type-break-query-mode):
10258 * emulation/tpu-edt.el (tpu-edt-mode):
10259 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10260 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10261 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10263 * term/xterm.el (xterm): Change parent group to terminals.
10265 * master.el (master): Remove empty custom group.
10266 (master-mode): Remove unused :group argument.
10267 * textmodes/refill.el (refill): Remove empty custom group.
10268 (refill-mode): Remove unused :group argument.
10270 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10272 * cus-dep.el: Provide a feature.
10273 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10274 Don't mistakenly ignore files whose basenames match a basename
10275 from preloaded-file-list (eg cedet/ede/simple.el).
10276 Add a fallback method for getting :group.
10278 2013-05-15 Juri Linkov <juri@jurta.org>
10280 * isearch.el (isearch-char-by-name): Rename from
10281 `isearch-insert-char-by-name'. Doc fix.
10282 (isearch-forward): Mention `isearch-char-by-name' in
10283 the docstring. (Bug#13348)
10285 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10286 `exit-minibuffer' instead of
10287 `isearch-nonincremental-exit-minibuffer'.
10288 (isearch-edit-string): Remove mention of
10289 `isearch-nonincremental-exit-minibuffer' from docstring.
10290 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10291 (isearch-forward-exit-minibuffer)
10292 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10294 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10296 * loadup.el: Just use unversioned DOC.
10298 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10299 literals as extending to EOB.
10300 (nxml-last-fontify-end): Remove unused variable.
10301 (nxml-after-change1): Use with-silent-modifications.
10302 (nxml-extend-after-change-region): Simplify.
10303 (nxml-extend-after-change-region1): Remove function.
10304 (nxml-after-change1): Don't adjust for dependent regions.
10305 (nxml-fontify-matcher): Simplify.
10306 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10307 (xmltok-add-dependent): Remove function.
10308 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10309 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10310 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10311 unclosed <[[, <?, comment, and other literals as extending to EOB.
10312 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10313 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10315 (rng-do-some-validation-1): Don't mark dependent regions.
10316 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10317 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10318 (nxml-clear-dependent-regions): Remove functions.
10319 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10320 (nxml-ensure-scan-up-to-date):
10321 Don't clear&mark dependent regions.
10323 2013-05-15 Leo Liu <sdl.web@gmail.com>
10325 * progmodes/octave.el (octave-goto-function-definition):
10326 Improve and fix callers.
10328 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10330 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10331 the setter (bug#14387).
10333 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10334 surrounding group (bug#14402).
10336 2013-05-14 Juri Linkov <juri@jurta.org>
10338 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10341 2013-05-14 Glenn Morris <rgm@gnu.org>
10343 * progmodes/f90.el (f90-imenu-generic-expression):
10344 Fix typo in 2013-05-08 change. (Bug#14402)
10346 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10348 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10349 Remove signals for which replies are never received.
10351 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10353 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10354 (gdb-handler-alist, gdb-handler-number): Remove variables.
10355 (gdb-handler-list): New variable.
10356 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10357 (gdb-pending-handler-p, gdb-handle-reply)
10358 (gdb-remove-all-pending-triggers): New functions.
10359 (gdb-discard-unordered-replies): New defcustom.
10360 (gdb-handler): New defstruct.
10361 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10362 instead of gdb-pending-triggers. Update docstring.
10363 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10364 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10365 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10366 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10367 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10368 (gdb-frame-handler): Pending triggers are now automatically managed.
10369 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10371 (gdb-input): Automatically handles pending triggers. Update docstring.
10372 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10373 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10375 (gdb-done-or-error): Now use gdb-handle-reply.
10377 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10379 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10382 2013-05-14 Glenn Morris <rgm@gnu.org>
10384 * subr.el (user-emacs-directory-warning): New option.
10385 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10387 2013-05-14 Leo Liu <sdl.web@gmail.com>
10389 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10391 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10392 (octave-font-lock-texinfo-comment): Fix invalid search bound
10393 error: wrong side of point.
10395 2013-05-14 Glenn Morris <rgm@gnu.org>
10397 * progmodes/flymake.el (flymake-xml-program): New option.
10398 (flymake-xml-init): Use it.
10400 * term/xterm.el: Provide a feature.
10402 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10404 2013-05-13 Glenn Morris <rgm@gnu.org>
10406 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10407 Add compat aliases as a hack workaround. (Bug#14384)
10409 2013-05-13 Leo Liu <sdl.web@gmail.com>
10411 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10413 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10415 (octave-comment-start-skip): Include %!.
10416 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10418 2013-05-12 Leo Liu <sdl.web@gmail.com>
10420 * progmodes/octave.el (inferior-octave-startup): Store the value
10421 of __octave_srcdir__ for octave-source-directories.
10422 (inferior-octave-check-process): New function refactored out of
10423 inferior-octave-send-list-and-digest.
10424 (octave-source-directories)
10425 (octave-find-definition-filename-function): New variables.
10426 (octave-source-directories)
10427 (octave-find-definition-default-filename): New functions.
10428 (octave-find-definition): Improve to find functions implemented in C++.
10430 2013-05-12 Glenn Morris <rgm@gnu.org>
10432 * calendar/diary-lib.el (diary-outlook-format-1):
10433 Don't include dayname in the output. (Bug#14349)
10435 2013-05-11 Glenn Morris <rgm@gnu.org>
10437 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10439 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10440 Treat cc-provide like provide.
10442 2013-05-11 Kevin Ryde <user42@zip.com.au>
10444 * cus-dep.el (custom-make-dependencies):
10445 Use generated-autoload-load-name for the sake of files such
10446 such cedet/semantic/bovine/c.el, where the base file name
10447 is not in load-path. (Bug#5277)
10449 2013-05-11 Glenn Morris <rgm@gnu.org>
10451 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10454 2013-05-11 Leo Liu <sdl.web@gmail.com>
10456 * progmodes/octave.el (octave-indent-comment): Improve.
10457 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10458 (octave-eldoc-function-signatures, octave-eldoc-function):
10460 (octave-mode, inferior-octave-mode): Add eldoc support.
10462 2013-05-11 Richard Stallman <rms@gnu.org>
10464 * epa.el (epa-decrypt-file): Take output file name as argument
10465 and read it using `interactive'.
10467 2013-05-11 Leo Liu <sdl.web@gmail.com>
10469 * progmodes/octave.el (octave-beginning-of-line)
10470 (octave-end-of-line): Check before using up-list because it jumps
10471 out of more syntactic contructs since moving to smie.
10472 (octave-indent-comment): New function.
10473 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10474 (octave-begin-keywords, octave-end-keywords)
10475 (octave-reserved-words, octave-smie-bnf-table)
10476 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10478 2013-05-11 Glenn Morris <rgm@gnu.org>
10480 * faces.el (internal-face-x-get-resource):
10481 * frame.el (ns-display-monitor-attributes-list):
10482 * calc/calc-aent.el (math-to-radians-2):
10483 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10486 * calc/calc-menu.el: Make it loadable in isolation.
10488 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10489 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10490 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10491 (eudc-bbdb-query-internal): Require 'bbdb.
10493 * lpr.el (lpr-headers-switches):
10494 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10496 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10498 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10500 * term.el (term-set-escape-char): Make it idempotent.
10502 2013-05-10 Leo Liu <sdl.web@gmail.com>
10504 * progmodes/octave.el (inferior-octave-completion-table):
10505 No longer a function and all uses changed. Use cache to speed up
10506 completion due to bug#11906.
10507 (octave-beginning-of-defun): Re-write to be more general.
10509 2013-05-10 Glenn Morris <rgm@gnu.org>
10511 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10513 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10515 * comint.el (comint-redirect-send-command-to-process): Use :around
10516 rather than :override for comint-redirect-filter.
10517 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10518 Call it instead of comint-redirect-original-filter-function (which
10519 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10521 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10523 * frame.el (display-monitor-attributes-list): Add NS case.
10524 (ns-display-monitor-attributes-list): Declare.
10526 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10528 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10530 2013-05-09 Glenn Morris <rgm@gnu.org>
10532 * international/fontset.el (vertical-centering-font-regexp):
10533 Set standard-value.
10535 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10537 * bookmark.el (bookmark-search-delay):
10538 * cus-start.el (vertical-centering-font-regexp):
10539 * ps-mule.el (ps-mule-font-info-database-default):
10540 * ps-print.el (ps-default-fg, ps-default-bg):
10541 * type-break.el (type-break-good-break-interval):
10542 * whitespace.el (whitespace-indentation-regexp)
10543 (whitespace-space-after-tab-regexp):
10544 * emacs-lisp/testcover.el (testcover-1value-functions)
10545 (testcover-noreturn-functions, testcover-progn-functions)
10546 (testcover-prog1-functions):
10547 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10548 * eshell/em-glob.el (eshell-glob-translate-alist):
10549 * play/tetris.el (tetris-tty-colors):
10550 * progmodes/cpp.el (cpp-face-default-list):
10551 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10552 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10553 (idlwave-help-browser-generic-args):
10554 * progmodes/make-mode.el (makefile-special-targets-list):
10555 * progmodes/python.el (python-shell-virtualenv-path):
10556 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10557 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10558 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10559 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10560 * textmodes/reftex-vars.el (reftex-format-label-function):
10561 * textmodes/remember.el (remember-diary-file): Fix custom types.
10563 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10566 2013-05-09 Leo Liu <sdl.web@gmail.com>
10568 * progmodes/octave.el (inferior-octave-completion-at-point):
10569 Restore file completion. (Bug#14300)
10570 (inferior-octave-startup): Fix incorrect highlighting for the
10573 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10575 * progmodes/ruby-mode.el: First cut at SMIE support.
10576 (ruby-use-smie): New var.
10577 (ruby-smie-grammar): New constant.
10578 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10579 (ruby-smie--forward-token, ruby-smie--backward-token)
10580 (ruby-smie-rules): New functions.
10581 (ruby-mode-variables): Setup SMIE if applicable.
10583 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10585 * simple.el (line-move-visual): Signal beginning/end of buffer
10586 only if vertical-motion moved less than it was requested. Avoids
10587 silly incorrect error messages when there are display strings with
10588 multiple newlines at EOL.
10590 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10592 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10593 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10594 (prolog-char-quote-workaround):
10595 * progmodes/cperl-mode.el (cperl-under-as-char):
10596 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10598 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10600 (vhdl-mode-syntax-table-init): Remove.
10602 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10605 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10607 (ld-script-font-lock-keywords):
10608 Change regexps to use things like \_< and \_>.
10610 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10611 Change all regexps to use things like \_< and \_>.
10613 * progmodes/autoconf.el (autoconf-definition-regexp)
10614 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10615 Handle a _ with symbol syntax.
10616 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10618 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10619 Consolidate declaration.
10620 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10622 (ada-create-syntax-table): Remove.
10623 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10624 already has the right syntax nowadays.
10625 (ada-goto-next-word): Don't change the syntax of "_".
10627 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10630 2013-05-08 Sam Steingold <sds@gnu.org>
10632 * thingatpt.el (thing-at-point): Accept optional second argument
10633 NO-PROPERTIES to strip the text properties from the return value.
10634 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10635 to `thing-at-point' instead of stripping the properties ourselves.
10636 Also, when `thing-at-point' fails to find a url, prepend "http://"
10637 to the filename at point on the assumption that the user is
10638 pointing at something like gnu.org/gnu.
10640 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10642 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10643 * faces.el (crm-separator):
10644 Silence byte-compiler.
10646 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10647 (tool-bar-map): Remove unneeded defvars.
10649 2013-05-08 Leo Liu <sdl.web@gmail.com>
10651 Re-work a fix for bug#10994 based on Le Wang's patch.
10652 * ido.el (ido-remove-consecutive-dups): New helper.
10653 (ido-completing-read): Use it.
10654 (ido-chop): Revert fix for bug#10994.
10656 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10658 * cus-edit.el (custom-save-variables):
10659 Pretty-print long values. (Bug#14187)
10661 2013-05-08 Glenn Morris <rgm@gnu.org>
10663 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10664 (m4-mode-syntax-table): Init in the defvar.
10665 (m4-mode-abbrev-table): Let define-derived-mode define it.
10667 2013-05-08 Tom Tromey <tromey@redhat.com>
10669 * progmodes/m4-mode.el (m4-mode-syntax-table):
10670 Do not treat "_" as word constituent. (Bug#14167)
10672 2013-05-07 Glenn Morris <rgm@gnu.org>
10674 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10675 Remove explicit eshell-isearch-cancel-map.
10677 * progmodes/f90.el (f90-smart-end-names): New option.
10678 (f90-smart-end): Doc fix.
10679 (f90-end-block-optional-name): New constant.
10680 (f90-block-match): Respect f90-smart-end-names.
10682 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10684 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10685 about implicit semi-colons (bug#14218).
10687 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10689 * frame.el (display-monitor-attributes-list)
10690 (frame-monitor-attributes): New functions.
10692 2013-05-06 Leo Liu <sdl.web@gmail.com>
10694 * progmodes/octave.el (octave-syntax-propertize-function): Change
10695 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10696 (octave-font-lock-keywords): Use octave-operator-regexp.
10697 (octave-completion-at-point): Rename from
10698 octave-completion-at-point-function.
10699 (inferior-octave-directory-tracker): Robustify.
10700 (octave-text-functions): Remove and fix its uses. No such things
10703 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10705 * emacs-lisp/trace.el (trace--display-buffer): New function.
10706 (trace-make-advice): Use it.
10708 2013-05-06 Juri Linkov <juri@jurta.org>
10710 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10711 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10713 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10714 in the help string. (Bug#12985)
10716 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10718 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10720 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10722 * progmodes/perl-mode.el: Add support for here documents.
10723 (perl-syntax-propertize-function): Match here-doc markers.
10724 (perl-syntax-propertize-special-constructs): Find their end.
10725 (perl-imenu-generic-expression): Use [:alnum:].
10727 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10728 (advice--add-function): Refresh the advice if already present
10731 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10733 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10735 2013-05-06 Glenn Morris <rgm@gnu.org>
10737 * w32-fns.el (w32-charset-info-alist): Declare.
10739 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10740 of its defcustom properties.
10741 (eshell-cmpl-initialize): No need to load pcomplete.
10743 * generic-x.el: No need to require comint when compiling.
10745 * net/eudc-export.el: Make it loadable without bbdb.
10746 (top-level): Use require rather than load-library.
10747 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10748 (eudc-batch-export-records-to-bbdb)
10749 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10752 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10754 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10755 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10756 some tweaks, instead.
10758 2013-05-05 Leo Liu <sdl.web@gmail.com>
10760 * progmodes/octave.el (octave-font-lock-keywords)
10761 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10762 (inferior-octave-send-list-and-digest): Improve error message.
10763 (octave-mode, inferior-octave-mode): Use setq-local.
10764 (octave-help): Set info-lookup-mode.
10766 2013-05-05 Richard Stallman <rms@gnu.org>
10768 * vc/compare-w.el (compare-windows-whitespace):
10769 Treat no-break space as whitespace.
10771 * mail/rmailsum.el (rmail-summary-rmail-update):
10772 Detect empty summary and don't change selected message.
10773 (rmail-summary-goto-msg): Likewise.
10775 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10776 Doc fixes, rename args.
10778 2013-05-05 Alan Mackenzie <acm@muc.de>
10780 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10782 2013-05-05 Juri Linkov <juri@jurta.org>
10784 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10785 to not add the length of the summary segment to the return value.
10788 2013-05-05 Leo Liu <sdl.web@gmail.com>
10790 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10791 (inferior-octave-output-filter): Remove.
10792 (octave-send-region, inferior-octave-startup): Fix callers.
10793 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10794 (octave-binary-file-extensions): New user variable.
10795 (octave-find-definition): Confirm if opening binary files.
10796 (octave-help-file): Use octave-find-definition to get the binary
10798 (octave-help): Adjust for octave-help-file change.
10800 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10802 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10803 Merge the two entries that handle function definitions.
10804 (pascal--syntax-propertize): New const.
10805 (pascal-mode): Use it. Use setq-local.
10807 2013-05-04 Glenn Morris <rgm@gnu.org>
10809 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10810 (diary-from-outlook): Respect diary-from-outlook-function.
10812 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10814 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10815 Move the declaration from C.
10816 (read-minibuffer, eval-minibuffer): Move from C.
10817 (completion-setup-function): Avoid minibuffer-completion-contents.
10819 2013-05-03 Leo Liu <sdl.web@gmail.com>
10821 * progmodes/octave.el (octave-font-lock-keywords): Do not
10822 dehighlight 'end' in comments or strings.
10823 (octave-completing-read, octave-goto-function-definition):
10825 (octave-help-buffer): New user variable.
10826 (octave-help-file, octave-help-function): New button types.
10827 (octave-help): New command and bind it to C-h ;.
10828 (octave-find-definition): New command and bind it to M-.
10829 (user-error): Alias to error if not defined.
10831 2013-05-02 Leo Liu <sdl.web@gmail.com>
10833 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10835 (octave-font-lock-keywords): Include [ and {.
10837 2013-05-02 Leo Liu <sdl.web@gmail.com>
10839 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10840 (inferior-octave): Remove calling comint-mode and return the buffer.
10841 (inferior-octave-startup): Cosmetic changes.
10843 2013-05-02 Leo Liu <sdl.web@gmail.com>
10845 * progmodes/octave.el (octave-syntax-propertize-function):
10846 Include the case when ' is at line beginning. (Bug#14336)
10848 2013-05-02 Glenn Morris <rgm@gnu.org>
10850 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10851 * desktop.el (vc-dir-mode): Just autoload it here.
10853 2013-05-02 Alan Mackenzie <acm@muc.de>
10855 Eliminate variable c-standard-font-lock-fontify-region-function.
10856 * progmodes/cc-mode.el
10857 (c-standard-font-lock-fontify-region-function): Remove.
10858 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10860 2013-05-01 Leo Liu <sdl.web@gmail.com>
10862 * progmodes/octave.el: Compatible with older emacs-24 releases.
10863 (inferior-octave-has-built-in-variables): Remove. Built-in
10864 variables were removed from Octave in 2007.
10865 (inferior-octave-startup): Fix uses.
10866 (comint-line-beginning-position): Remove compatibility code for
10869 2013-05-01 Juri Linkov <juri@jurta.org>
10871 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10873 2013-05-01 Juri Linkov <juri@jurta.org>
10875 * comint.el (comint-previous-matching-input): Don't print message
10876 "History item: %d" when `isearch-mode' is active.
10877 (comint-history-isearch-message): Print message "History item: %d"
10878 when `comint-input-ring-index' is not empty and this function is
10879 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10881 2013-05-01 Leo Liu <sdl.web@gmail.com>
10883 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10884 definitions. Use completion-at-point to insert keywords.
10885 (octave-abbrev-start): Remove.
10886 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10888 2013-04-30 Leo Liu <sdl.web@gmail.com>
10890 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10893 2013-04-30 Alan Mackenzie <acm@muc.de>
10895 Handle arbitrarily long C++ member initialisation lists.
10896 * progmodes/cc-engine.el (c-back-over-member-initializers):
10898 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10899 (most) member init lists.
10901 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10903 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10906 2013-04-30 Leo Liu <sdl.web@gmail.com>
10908 * progmodes/octave.el (octave-variables): Remove. No builtin
10909 variables any more. All converted to functions.
10910 (octave-font-lock-keywords, octave-completion-at-point-function):
10912 (octave-font-lock-texinfo-comment): New user variable.
10913 (octave-texinfo-font-lock-keywords): New variable for texinfo
10915 (octave-function-comment-block): New face.
10916 (octave-font-lock-texinfo-comment): New function.
10917 (octave-mode): Font lock texinfo comment block.
10919 2013-04-29 Leo Liu <sdl.web@gmail.com>
10921 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10922 indexing expression.
10923 (octave-continuation-string): Do not use \.
10924 (inferior-octave-complete-impossible): Remove.
10925 (inferior-octave-completion-table)
10926 (inferior-octave-completion-at-point): Remove its uses.
10927 (inferior-octave-startup): completion_matches was introduced to
10928 Octave in 1996 so safe to assume it.
10929 (octave-function-file-comment): Improve to follow how Octave does it.
10930 (octave-update-function-file-comment): Tweak.
10932 2013-04-29 Leo Liu <sdl.web@gmail.com>
10934 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10935 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10936 (octave-function-file-comment): Fix typo.
10937 (octave-sync-function-file-names): Use read-char-choice.
10939 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10941 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10942 to t for the less important warnings.
10944 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10946 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10948 2013-04-27 Glenn Morris <rgm@gnu.org>
10950 * vc/log-view.el (log-view-current-entry):
10951 Treat "---" separator lines as part of the following rev. (Bug#14169)
10953 2013-04-27 Juri Linkov <juri@jurta.org>
10955 * subr.el (read-number): Doc fix about using it by interactive
10956 code letter `n'. (Bug#14254)
10958 2013-04-27 Juri Linkov <juri@jurta.org>
10960 * desktop.el (desktop-auto-save-timeout): New option.
10961 (desktop-file-checksum): New variable.
10962 (desktop-save): Add optional arg `auto-save' and don't auto-save
10963 if nothing changed.
10964 (desktop-auto-save-timer): New variable.
10965 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10966 (after-init-hook): Call `desktop-auto-save-set-timer'.
10967 Suggested by Reuben Thomas <rrt@sc3d.org> in
10968 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10970 2013-04-27 Leo Liu <sdl.web@gmail.com>
10972 * progmodes/octave.el (octave-function-file-p)
10973 (octave-skip-comment-forward, octave-function-file-comment)
10974 (octave-update-function-file-comment): New functions.
10975 (octave-mode-map): Bind C-c ; to
10976 octave-update-function-file-comment.
10977 (octave-mode-menu): Add octave-update-function-file-comment.
10978 (octave-mode, inferior-octave-mode): Fix doc-string.
10979 (octave-insert-defun): Conform to Octave's coding convention.
10982 * files.el (basic-save-buffer): Don't let errors in
10983 before-save-hook prevent saving buffer.
10985 2013-04-20 Roland Winkler <winkler@gnu.org>
10987 * faces.el (read-face-name): Use completing-read if arg multiple
10990 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10992 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10993 displayed, move point to after the totals line.
10994 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10997 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10999 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11000 Add current dir to the load-path.
11001 (package-generate-autoloads): Don't rely on
11002 autoload-ensure-default-file.
11004 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11006 * textmodes/remember.el (remember-store-in-files): Document that
11007 the file name format is passed to `format-time-string'.
11009 2013-04-26 Leo Liu <sdl.web@gmail.com>
11011 * progmodes/octave.el (octave-sync-function-file-names): New function.
11012 (octave-mode): Use it in before-save-hook.
11014 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11016 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11019 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11020 \n and comment, even if it's not an implicit ; (bug#14218).
11022 2013-04-26 Glenn Morris <rgm@gnu.org>
11024 * subr.el (read-number): Once more use `read' rather than
11025 `string-to-number', to trap non-numeric input. (Bug#14254)
11027 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11029 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11030 Use `syntax-multiline' text property consistently instead of
11031 `font-lock-multiline'. (Bug#14237)
11033 2013-04-26 Glenn Morris <rgm@gnu.org>
11035 * emacs-lisp/shadow.el (list-load-path-shadows):
11036 No longer necessary to check for duplicate simple.el, since
11037 2012-07-07 change to init_lread to not include installation lisp
11038 directories in load-path when running uninstalled. (Bug#14270)
11040 2013-04-26 Leo Liu <sdl.web@gmail.com>
11042 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11043 (octave-mode, inferior-octave-mode): Use setq-local.
11044 (octave-not-in-string-or-comment-p): Rename to
11045 octave-in-string-or-comment-p.
11046 (octave-in-comment-p, octave-in-string-p)
11047 (octave-in-string-or-comment-p): Replace defsubst with defun.
11049 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11051 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11053 2013-04-25 Bastien Guerry <bzg@gnu.org>
11055 * textmodes/remember.el (remember-data-directory)
11056 (remember-directory-file-name-format): Fix custom types.
11058 2013-04-25 Leo Liu <sdl.web@gmail.com>
11060 * progmodes/octave.el (octave-completion-at-point-function):
11061 Make use of inferior octave process.
11062 (octave-initialize-completions): Remove.
11063 (inferior-octave-completion-table): New function.
11064 (inferior-octave-completion-at-point): Use it.
11065 (octave-completion-alist): Remove.
11067 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11069 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11070 (opascal-mode-syntax-table): New var.
11071 (opascal-literal-kind, opascal-is-literal-end)
11072 (opascal-literal-token-at): Rewrite.
11073 (opascal--literal-start-re, opascal-font-lock-keywords)
11074 (opascal--syntax-propertize): New constants.
11075 (opascal-font-lock-defaults): Adjust.
11076 (opascal-mode): Use them. Set comment-<foo> variables as well.
11077 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11078 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11079 (delphi-other-face, opascal-other-face): Remove face variables.
11080 (opascal-save-state): Remove macro.
11081 (opascal-fontifying-progress-step): Remove constant.
11082 (opascal--ignore-changes): Remove var.
11083 (opascal-set-token-property, opascal-parse-next-literal)
11084 (opascal-is-stable-literal, opascal-complete-literal)
11085 (opascal-is-literal-start, opascal-face-of)
11086 (opascal-parse-region, opascal-parse-region-until-stable)
11087 (opascal-fontify-region, opascal-after-change)
11088 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11089 (opascal-debug-parse-region, opascal-debug-parse-window)
11090 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11091 (opascal-debug-fontify-buffer): Remove.
11092 (opascal-debug-mode-map): Adjust accordingly.
11094 2013-04-25 Leo Liu <sdl.web@gmail.com>
11096 Merge octave-mod.el and octave-inf.el into octave.el with some
11098 * progmodes/octave.el: New file renamed from octave-mod.el.
11099 * progmodes/octave-inf.el: Merged into octave.el.
11100 * progmodes/octave-mod.el: Renamed to octave.el.
11102 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11104 * textmodes/reftex-vars.el
11105 (reftex-label-ignored-macros-and-environments): New defcustom.
11107 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11109 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11111 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11112 (smie-indent-keyword): Improve the check to ensure that the next
11113 comment is really on the same line.
11114 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11116 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11117 semi-colons if the line is not otherwise empty (bug#14218).
11119 2013-04-25 Glenn Morris <rgm@gnu.org>
11121 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11123 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11125 * progmodes/opascal.el (opascal-set-token-property): Rename from
11126 opascal-set-text-properties and only set `token' (bug#14134).
11127 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11128 (opascal-literal-text-properties): Remove.
11129 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11132 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11134 * textmodes/remember.el (remember-handler-functions): Add an
11135 option for a new handler `remember-store-in-files'.
11136 (remember-data-directory, remember-directory-file-name-format):
11138 (remember-store-in-files): New function to store remember notes
11139 as separate files within a directory.
11141 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11143 * progmodes/compile.el (compilation-next-error-function):
11144 Pass "formats" to compilation-find-file (bug#11777).
11146 2013-04-24 Glenn Morris <rgm@gnu.org>
11148 * vc/vc-bzr.el (vc-bzr-print-log):
11149 * vc/vc-hg.el (vc-hg-print-log):
11150 * vc/vc-svn.el (vc-svn-print-log):
11151 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11153 * vc/vc-bzr.el (vc-bzr-print-log):
11154 * vc/vc-cvs.el (vc-cvs-print-log):
11155 * vc/vc-git.el (vc-git-print-log):
11156 * vc/vc-hg.el (vc-hg-print-log):
11157 * vc/vc-mtn.el (vc-mtn-print-log):
11158 * vc/vc-rcs.el (vc-rcs-print-log):
11159 * vc/vc-sccs.el (vc-sccs-print-log):
11160 * vc/vc-svn.el (vc-svn-print-log):
11161 * vc/vc.el (vc-print-log-internal): Doc fixes.
11163 2013-04-23 Glenn Morris <rgm@gnu.org>
11165 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11166 Remove venerable code attempting to avoid substitute-command-keys.
11168 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11170 * textmodes/reftex-vars.el (reftex-label-regexps):
11171 Call `reftex-compile-variables' after changes to this variable.
11173 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11175 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11176 Use lexical-binding.
11177 (jit-lock-force-redisplay): Use markers, check buffer's continued
11178 existence and beware narrowed buffers.
11179 (jit-lock-fontify-now): Adjust call accordingly.
11181 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11183 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11184 to avoid misleading the user.
11186 2013-04-22 Leo Liu <sdl.web@gmail.com>
11188 * info-look.el: Prefer latex2e.info. (Bug#14240)
11190 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11192 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11194 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11195 * net/tramp.el (tramp-call-process): ... here.
11196 (tramp-set-completion-function, tramp-parse-putty):
11197 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11198 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11199 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11200 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11201 (tramp-call-local-coding-command): Use `tramp-call-process'
11202 instead of `tramp-compat-call-process'.
11204 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11205 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11206 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11207 (tramp-find-inline-compress): Improve traces.
11208 (tramp-maybe-send-script): Check for Perl binary.
11209 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11211 2013-04-22 Daiki Ueno <ueno@gnu.org>
11213 * epg.el (epg-context-pinentry-mode): New function.
11214 (epg-context-set-pinentry-mode): New function.
11215 (epg--start): Pass --pinentry-mode option to gpg command.
11217 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11219 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11220 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11221 `completion-at-point'. (Bug#13774)
11223 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11224 default key binding for `describe-distribution' has been moved to
11225 `C-h C-o'. (Bug#13970)
11227 2013-04-21 Glenn Morris <rgm@gnu.org>
11229 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11231 (vc-print-log): Clarify interactive prompt.
11233 2013-04-20 Glenn Morris <rgm@gnu.org>
11235 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11236 No longer include timestamp etc information.
11238 2013-04-20 Roland Winkler <winkler@gnu.org>
11240 * faces.el (read-face-name): Bug fix, return just one face if arg
11241 multiple is nil. (Bug#14209)
11243 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11245 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11246 (remove-function): Autoload.
11248 * comint.el (comint-redirect-original-filter-function): Remove.
11249 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11250 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11251 (vc-cvs-annotate-command):
11252 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11253 * progmodes/prolog.el (prolog-consult-compile):
11254 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11255 Use add/remove-function instead.
11256 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11257 (gud-tooltip-process-output, gud-tooltip-tips):
11258 Use add/remove-function instead.
11259 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11260 (scheme-interaction-mode, exit-scheme-interaction-mode):
11261 Use add/remove-function instead.
11263 * vc/vc-dispatcher.el: Use lexical-binding.
11264 (vc--process-sentinel): Rename from vc-process-sentinel.
11265 Change last arg to be the code to run. Don't use vc-previous-sentinel
11266 and vc-sentinel-commands any more.
11267 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11268 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11270 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11272 * progmodes/sh-script.el (sh-imenu-generic-expression):
11273 Handle function names with a single character. (Bug#14111)
11275 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11277 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11278 for subroutines defined in an eval (bug#14182).
11280 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11282 * bookmark.el (bookmark-completing-read): Improve handling of empty
11283 string (bug#14176).
11285 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11287 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11289 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11291 New faster Imenu implementation (bug#14058).
11292 * progmodes/python.el:
11293 (python-imenu-prev-index-position):
11294 (python-imenu-format-item-label-function)
11295 (python-imenu-format-parent-item-label-function)
11296 (python-imenu-format-parent-item-jump-label-function):
11298 (python-imenu-format-item-label)
11299 (python-imenu-format-parent-item-label)
11300 (python-imenu-format-parent-item-jump-label)
11301 (python-imenu--put-parent, python-imenu--build-tree)
11302 (python-imenu-create-index, python-imenu-create-flat-index)
11303 (python-util-popn): New functions.
11304 (python-mode): Set imenu-create-index-function to
11305 python-imenu-create-index.
11307 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11309 * winner.el (winner-active-region): Use region-active-p, activate-mark
11310 and deactivate-mark (bug#14225).
11312 * simple.el (deactivate-mark): Don't inline it.
11314 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11316 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11318 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11320 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11321 file extensions from the archive-mode entry in order to prefer
11322 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11324 2013-04-18 Leo Liu <sdl.web@gmail.com>
11326 * bindings.el (help-event-list): Add ?\?.
11328 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11330 * subr.el (with-wrapper-hook): Declare obsolete.
11331 * simple.el (filter-buffer-substring-function): New hook.
11332 (filter-buffer-substring): Use it.
11333 (filter-buffer-substring-functions): Mark obsolete.
11334 * minibuffer.el (completion-in-region-function): New hook.
11335 (completion-in-region): Use it.
11336 (completion-in-region-functions): Mark obsolete.
11337 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11338 * abbrev.el (abbrev-expand-function): New hook.
11339 (expand-abbrev): Use it.
11340 (abbrev-expand-functions): Mark obsolete.
11341 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11342 and :filter-return.
11344 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11346 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11347 and do not care about match data.
11349 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11351 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11352 completion tables when completing error conditions and
11353 `declare' arguments.
11354 (lisp-complete-symbol, field-complete): Mark as obsolete.
11355 (check-parens): Unmatched parens are user errors.
11356 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11358 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11360 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11361 command changed buffer (ie. `flyspell-pre-buffer' is not current
11362 buffer), which prevents making decisions based on invalid value of
11363 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11364 cause an error when `flyspell-pre-point' was nil after switching
11366 (flyspell-post-command-hook): No longer needs to change buffers when
11367 checking pre-word. While at it remove unnecessary progn.
11369 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11371 * textmodes/ispell.el (ispell-add-per-file-word-list):
11372 Fix `flyspell-correct-word-before-point' error when accepting
11373 words and `coment-padding' is an integer by using
11374 `comment-normalize-vars' (Bug #14214).
11376 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11378 New defun movement commands.
11379 * progmodes/python.el (python-nav--syntactically)
11380 (python-nav--forward-defun, python-nav-backward-defun)
11381 (python-nav-forward-defun): New functions.
11383 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11385 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11386 (python-syntax-context): Use named compiler-macro for backwards
11387 compatibility with Emacs 24.x.
11389 2013-04-17 Leo Liu <sdl.web@gmail.com>
11391 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11392 octave-hide-process-buffer.
11394 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11396 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11399 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11401 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11402 Fix adjustment of offset when receiving incomplete responses from GDB
11405 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11407 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11408 python-mode-abbrev-table.
11409 (python-skeleton-define): Adjust accordingly.
11410 (python-mode-abbrev-table): New table that inherits from it so that
11411 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11413 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11414 (abbrev-symbol): Use it.
11415 (abbrev--before-point): Use it since we already handle inheritance.
11417 2013-04-16 Leo Liu <sdl.web@gmail.com>
11419 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11420 binding to info-lookup-symbol.
11422 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11424 * minibuffer.el (completion--twq-all):
11425 * term/ns-win.el (ns-initialize-window-system):
11426 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11428 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11430 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11433 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11435 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11437 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11438 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11440 (ruby-end-of-defun): Remove the unused arg, change the docstring
11441 to reflect that this function is only used as the value of
11442 `end-of-defun-function'.
11443 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11444 to reflect an earlier change that beginning/end-of-defun functions
11445 jump between methods in a class definition, as well as top-level
11448 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11450 * minibuffer.el (minibuffer-complete): Don't just scroll
11451 a *Completions* that's been iconified.
11452 (minibuffer-force-complete): Make sure repetitions do cycle when going
11453 through completion-in-region -> minibuffer-complete.
11455 2013-04-15 Alan Mackenzie <acm@muc.de>
11457 Correct the placement of c-cpp-delimiters when there're #s not at
11460 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11461 place a submatch around the #.
11462 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11463 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11466 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11468 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11469 (advice--member-p): New arg `name'.
11470 (advice--add-function, advice-member-p): Use it (bug#14202).
11472 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11474 Reformulate java imenu-generic-expression.
11475 The old expression contained ill formed regexps.
11477 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11478 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11479 (cc-imenu-java-method-arg-regexp): New defconsts.
11480 (cc-imenu-java-build-type-args-regex): New defun.
11481 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11482 handling of spaces in the regexp.
11484 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11486 * textmodes/ispell.el (ispell-command-loop): Remove
11487 flyspell highlight of a word when ispell accepts it (bug #14178).
11489 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11491 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11492 uses code from the previous `ange-ftp-run-real-handler'.
11493 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11494 only in case that function exist. This is needed for proper
11495 unloading of Tramp.
11497 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11499 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11501 * textmodes/reftex.el (reftex-compile-variables): Use it.
11503 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11505 * files.el (normal-mode): Only use default major-mode if no other mode
11508 * emacs-lisp/trace.el (trace-values): New function.
11510 * files.el: Allow : in local variables (bug#14089).
11511 (hack-local-variable-regexp): New var.
11512 (hack-local-variables-prop-line, hack-local-variables): Use it.
11514 2013-04-13 Roland Winkler <winkler@gnu.org>
11516 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11517 data before it gets modified by bibtex-beginning-of-entry.
11519 2013-04-13 Roland Winkler <winkler@gnu.org>
11521 * textmodes/bibtex.el (bibtex-url): Doc fix.
11523 2013-04-13 Roland Winkler <winkler@gnu.org>
11525 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11526 does not visit a BibTeX file, exclude it from the list of buffers
11527 returned by bibtex-initialize.
11529 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11531 * window.el (split-window): Remove interactive form, since as a
11532 command this function is a special case of split-window-below.
11533 Correct doc string.
11535 2013-04-12 Roland Winkler <winkler@gnu.org>
11537 * faces.el (read-face-name): Do not override value of arg default.
11538 Allow single faces and strings as default values. Remove those
11539 elements from return value that are not faces.
11540 (describe-face): Simplify.
11541 (face-at-point): New optional args thing and multiple so that this
11542 function can provide the same functionality previously provided by
11544 (make-face-bold, make-face-unbold, make-face-italic)
11545 (make-face-unitalic, make-face-bold-italic, invert-face)
11546 (modify-face, read-face-and-attribute): Use face-at-point.
11548 * cus-edit.el (customize-face, customize-face-other-window)
11549 * cus-theme.el (custom-theme-add-face)
11550 * face-remap.el (buffer-face-set)
11551 * facemenu.el (facemenu-set-face): Use face-at-point.
11553 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11555 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11557 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11559 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11560 off leading { and trailing } from field values.
11562 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11564 * emacs-lisp/timer.el (timer--check): New function.
11565 (timer--time, timer-set-function, timer-event-handler): Use it.
11566 (timer-set-idle-time): Simplify.
11567 (timer--activate): CSE.
11568 (timer-event-handler): Give more info in error message.
11569 (internal-timer-start-idle): New function, moved from C.
11571 * mpc.el (mpc-proc): Add `restart' argument.
11572 (mpc-proc-cmd): Use it.
11573 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11574 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11577 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11579 * progmodes/sh-script.el: Implement `sh-mode' own
11580 `add-log-current-defun-function' (bug#14112).
11581 (sh-current-defun-name): New function.
11582 (sh-mode): Use the function.
11584 2013-04-09 Bastien Guerry <bzg@gnu.org>
11586 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11588 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11590 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11592 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11595 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11597 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11600 2013-04-07 Leo Liu <sdl.web@gmail.com>
11602 * pcmpl-x.el: New file.
11604 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11606 Do not set x-display-name until X connection is established.
11607 This is needed to prevent from weird situation described at
11608 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11609 * frame.el (make-frame): Set x-display-name after call to
11610 window system initialization function, not before.
11611 * term/x-win.el (x-initialize-window-system): Add optional
11612 display argument and use it.
11613 * term/w32-win.el (w32-initialize-window-system):
11614 * term/ns-win.el (ns-initialize-window-system):
11615 * term/pc-win.el (msdos-initialize-window-system):
11616 Add compatible optional display argument.
11618 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11620 * files.el (normal-backup-enable-predicate): On MS-Windows and
11621 MS-DOS compare truenames of temporary-file-directory and of the
11622 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11623 don't fail comparison by compare-strings. Also, compare file
11624 names case-insensitively on MS-Windows and MS-DOS.
11626 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11628 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11629 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11631 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11633 * whitespace.el (whitespace-color-on, whitespace-color-off):
11634 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11636 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11638 * ispell.el (ispell-set-spellchecker-params):
11639 Really set `ispell-args' for all equivs.
11641 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11643 * ido.el (ido-completions): Use extra elements of ido-decorations
11645 (ido-decorations): Update docstring.
11647 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11649 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11650 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11651 nil during initialization, in order not to miss changes since the
11652 file was opened. (Bug#14140)
11654 2013-04-05 Leo Liu <sdl.web@gmail.com>
11656 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11658 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11660 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11662 2013-04-04 Glenn Morris <rgm@gnu.org>
11664 * electric.el (electric-pair-inhibit-predicate): Add :version.
11666 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11668 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11669 when a package is required several times (bug#14082).
11671 2013-04-04 Roland Winkler <winkler@gnu.org>
11673 * faces.el (read-face-name): Behave as promised by the docstring.
11674 Assume that arg default is a list of faces.
11675 (describe-face): Call read-face-name with list of default faces.
11677 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11679 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11680 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11681 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11683 (bookmark-exit-hook-internal): Save even if list is empty.
11685 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11687 * emacs-lisp/package.el (package-pinned-packages): New var.
11688 (package--add-to-archive-contents): Obey it (bug#14118).
11690 2013-04-03 Alan Mackenzie <acm@muc.de>
11692 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11693 Also adapt to the new values of element 7 of a parse state.
11695 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11696 parameter `not-in-delimiter'. Handle being inside comment opener.
11697 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11698 character in case we're typing a '*' after a '/'.
11699 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11700 instead by passing the parameter to c-state-pp-to-literal.
11702 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11703 for elt. 7 of a parse state.
11705 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11707 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11708 * international/latin1-disp.el, international/mule-util.el:
11709 * language/cyril-util.el, language/european.el, language/ind-util.el:
11710 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11711 * language/tibetan.el, language/viet-util.el:
11712 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11714 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11716 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11717 (electric-pair-post-self-insert-function): Use it.
11718 (electric-pair-default-inhibit): New function, extracted from
11719 electric-pair-post-self-insert-function.
11721 2013-03-31 Roland Winkler <winkler@gnu.org>
11723 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11725 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11727 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11729 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11731 Un-indent after "pass" and "return" statements (Bug#13888)
11732 * progmodes/python.el (python-indent-block-enders): New var.
11733 (python-indent-calculate-indentation): Use it.
11735 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11737 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11738 defun. Defining it as defalias could introduce too eager
11739 byte-compiler optimization. (Bug#14030)
11741 2013-03-30 Chong Yidong <cyd@gnu.org>
11743 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11745 2013-03-30 Leo Liu <sdl.web@gmail.com>
11747 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11748 (kmacro-execute-from-register): Pass the keyboard macro to
11749 kmacro-call-macro or repeating won't work correctly.
11751 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11753 * progmodes/subword.el: Back to using `forward-symbol'.
11755 * subr.el (forward-whitespace, forward-symbol)
11756 (forward-same-syntax): Move from thingatpt.el.
11758 2013-03-29 Leo Liu <sdl.web@gmail.com>
11760 * kmacro.el (kmacro-to-register): New command.
11761 (kmacro-execute-from-register): New function.
11762 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11764 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11766 * mpc.el: Use defvar-local and setq-local.
11767 (mpc--proc-connect): Connection failures are not bugs.
11768 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11769 (mpc-volume-map): Bind to the up-events.
11771 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11773 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11774 instead of `forward-symbol'.
11776 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11778 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11779 (edebug--recursive-edit): Use it.
11780 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11781 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11783 2013-03-28 Leo Liu <sdl.web@gmail.com>
11785 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11787 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11789 * facemenu.el (list-colors-callback): New defvar.
11790 (list-colors-redisplay): New function.
11791 (list-colors-display): Install list-colors-redisplay as the
11792 revert-buffer-function. (Bug#14063)
11794 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11796 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11797 and suffixes don't overlap (bug#14061).
11799 * case-table.el: Use lexical-binding.
11800 (case-table-get-table): New function.
11801 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11803 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11805 * progmodes/subword.el: Add `superword-mode' to do word motion
11806 over symbol_words (parallels and leverages `subword-mode' which
11807 does word motion inside MixedCaseWords).
11809 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11811 * eshell/em-unix.el: Move su and sudo to...
11812 * eshell/em-tramp.el: ...Eshell tramp module.
11814 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11816 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11817 Change return value to be a sexp. Delay `get-buffer' to after
11818 restoring the desktop (bug#13951).
11820 2013-03-26 Leo Liu <sdl.web@gmail.com>
11822 * register.el: Move semantic tag handling back to
11823 cedet/semantic/senator.el. (Bug#14052)
11825 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11827 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11828 into the prompt either (bug#13963).
11830 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11832 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11833 part of "(error-foo)".
11835 2013-03-24 Juri Linkov <juri@jurta.org>
11837 * replace.el (list-matching-lines-prefix-face): New defcustom.
11838 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11839 `occur-engine' if `face-differs-from-default-p' returns t.
11840 (occur-engine): Add `,' inside backquote construct to evaluate
11841 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11842 Pass `prefix-face' to the functions `occur-context-lines' and
11843 `occur-engine-add-prefix'.
11844 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11845 `prefix-face' and propertize the prefix with `prefix-face'.
11848 2013-03-24 Leo Liu <sdl.web@gmail.com>
11850 * nxml/rng-valid.el (rng-validate-while-idle)
11851 (rng-validate-quick-while-idle): Guard against deleted buffer.
11854 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11855 is the last entry in kill-buffer-hook.
11857 * files.el (kill-buffer-hook): Doc fix.
11859 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11861 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11862 Make it safe-local.
11864 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11866 2013-03-23 Leo Liu <sdl.web@gmail.com>
11868 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11871 * nxml/rng-valid.el (rng-validate-mode)
11872 (rng-after-change-function, rng-do-some-validation):
11873 * nxml/rng-maint.el (rng-validate-buffer):
11874 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11875 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11876 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11877 (nxml-extend-after-change-region): Use with-silent-modifications.
11879 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11882 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11883 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11884 timer-idle-list. (Bug#13999)
11886 2013-03-23 Juri Linkov <juri@jurta.org>
11888 * info.el (info-index-match): New face.
11889 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11890 main pattern and add text properties with the new face to matches
11891 in index entries relative to the beginning of the index entry.
11894 2013-03-21 Eric Ludlam <zappo@gnu.org>
11896 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11897 Inhibit read only while inserting objects.
11899 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11901 * progmodes/cfengine.el: Update docs to mention
11902 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11903 symbol motion. Remove "_" from the word syntax.
11905 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11907 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11908 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11910 2013-03-20 Juri Linkov <juri@jurta.org>
11912 * info.el (Info-next-reference-or-link)
11913 (Info-prev-reference-or-link): New functions.
11914 (Info-next-reference, Info-prev-reference): Use them.
11915 (Info-try-follow-nearest-node): Handle footnote navigation.
11916 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11918 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11920 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11921 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11923 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11925 Suppress unnecessary non-ASCII chatter during build process.
11926 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11927 (batch-skkdic-convert): Suppress most of the chatter.
11928 It's not needed so much now that machines are faster,
11929 and its non-ASCII component was confusing; see Dmitry Gutov in
11930 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11932 2013-03-20 Leo Liu <sdl.web@gmail.com>
11934 * ido.el (ido-chop): Fix bug#10994.
11936 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11938 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11940 (whitespace-color-on, whitespace-color-off):
11941 Use `font-lock-fontify-buffer' (Bug#13817).
11943 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11945 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11946 remapping in mode-line.
11947 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11949 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11951 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11952 value for `whitespace-line' face (Bug#13875).
11953 (whitespace-font-lock-keywords): Change description.
11954 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11955 the constructed keywords instead.
11956 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11958 2013-03-19 Leo Liu <sdl.web@gmail.com>
11960 * progmodes/compile.el (compilation-display-error): New command.
11961 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11964 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11966 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11968 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11970 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11972 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11974 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11976 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11977 * net/tramp-gvfs.el (top):
11978 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11979 (tramp-handle-shell-command): Use it.
11980 (tramp-dissect-file-name): Raise an error when hostname is a
11981 method name, and neither method nor user is specified.
11983 * net/trampver.el: Update release number.
11985 2013-03-18 Leo Liu <sdl.web@gmail.com>
11987 Make sure eldoc can be turned off properly.
11988 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11990 (eldoc-display-message-p): Revert last change.
11991 (eldoc-display-message-no-interference-p)
11992 (eldoc-print-current-symbol-info): Tweak.
11994 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11996 * doc-view.el (doc-view-new-window-function): Check the new window
11997 overlay's display property instead the char property of the
11998 buffer's first char. Use `with-selected-window' instead of
11999 `save-window-excursion' with `select-window'.
12000 (doc-view-document->bitmap): Check the current doc-view overlay's
12001 display property instead the char property of the buffer's first char.
12003 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12005 Automate the build of ja-dic.el (Bug#13984).
12006 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12007 from the input, rather than assume that it's been done for us by the
12008 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12009 the current date into a ja-dic.el comment, as that complicates
12010 regression testing.
12012 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12014 * whitespace.el: Fix double evaluation.
12015 (whitespace-space, whitespace-hspace, whitespace-tab)
12016 (whitespace-newline, whitespace-trailing, whitespace-line)
12017 (whitespace-space-before-tab, whitespace-indentation)
12018 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12020 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12021 (whitespace-color-on): Use a single font-lock-add-keywords call.
12022 Fix double-evaluation of face variables.
12024 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12026 * net/tramp-adb.el (tramp-adb-parse-device-names):
12027 Use `start-process' instead of `call-process'. Otherwise, the
12028 function might be blocked under MS Windows. (Bug#13299)
12030 2013-03-17 Leo Liu <sdl.web@gmail.com>
12032 Extend eldoc to display info in the mode-line. (Bug#13978)
12033 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12034 (eldoc-mode-line-string): New variable.
12035 (eldoc-minibuffer-message): New function.
12036 (eldoc-message-function): New variable.
12037 (eldoc-message): Use it.
12038 (eldoc-display-message-p)
12039 (eldoc-display-message-no-interference-p):
12040 Support eldoc-post-insert-mode.
12042 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12043 (eval-expression): Run it.
12045 2013-03-17 Roland Winkler <winkler@gnu.org>
12047 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12048 strings in the list of return values.
12050 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12052 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12053 radix before checking for HMS forms.
12055 2013-03-16 Leo Liu <sdl.web@gmail.com>
12057 * progmodes/scheme.el: Add indentation and font-locking for λ.
12060 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12062 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12063 token before point (bug#13942).
12065 2013-03-16 Leo Liu <sdl.web@gmail.com>
12067 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12069 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12071 * startup.el (command-line-normalize-file-name): Fix handling of
12072 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12073 <xfq.free@gmail.com> in
12074 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12076 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12078 Sync with Tramp 2.2.7.
12080 * net/trampver.el: Update release number.
12082 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12084 * doc-view.el: Fix bug#13887.
12085 (doc-view-insert-image): Don't modify overlay associated to
12086 non-live windows, and implement horizontal centering of image in
12087 case it's smaller than the window.
12088 (doc-view-new-window-function): Force redisplay of new windows on
12091 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12093 * saveplace.el (save-place-alist-to-file): Don't sort
12094 `save-place-alist', just pretty-print it (bug#13882).
12096 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12098 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12099 Check whether `default-file-name-coding-system' is bound.
12100 It isn't in XEmacs.
12102 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12104 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12105 backquotes for `obsolete' (bug#13929).
12107 * international/mule.el (find-auto-coding): Include file name in
12108 obsolescence warning (bug#13922).
12110 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12112 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12113 for CFEngine 3-specific indentation.
12114 (cfengine3-indent-line): Use it. Fix up category regex.
12115 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12117 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12119 * type-break.el (type-break-file-name):
12120 * textmodes/remember.el (remember-data-file):
12121 * strokes.el (strokes-file):
12122 * shadowfile.el (shadow-initialize):
12123 * saveplace.el (save-place-file):
12124 * ps-bdf.el (bdf-cache-file):
12125 * progmodes/idlwave.el (idlwave-config-directory):
12126 * net/quickurl.el (quickurl-url-file):
12127 * international/kkc.el (kkc-init-file-name):
12128 * ido.el (ido-save-directory-list-file):
12129 * emulation/viper.el (viper-custom-file-name):
12130 * emulation/vip.el (vip-startup-file):
12131 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12132 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12134 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12136 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12137 * language/thai-word.el: Switch to UTF-8.
12139 See ChangeLog.16 for earlier changes.
12141 ;; Local Variables:
12145 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12147 This file is part of GNU Emacs.
12149 GNU Emacs is free software: you can redistribute it and/or modify
12150 it under the terms of the GNU General Public License as published by
12151 the Free Software Foundation, either version 3 of the License, or
12152 (at your option) any later version.
12154 GNU Emacs is distributed in the hope that it will be useful,
12155 but WITHOUT ANY WARRANTY; without even the implied warranty of
12156 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12157 GNU General Public License for more details.
12159 You should have received a copy of the GNU General Public License
12160 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.