1 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
6 2014-01-10 Eli Zaretskii <eliz@gnu.org>
8 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
10 2014-01-10 Chong Yidong <cyd@gnu.org>
12 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is
15 2014-01-10 Anders Lindgren <andlind@gmail.com>
17 * follow.el (follow-cache-command-list): Include right-char and
20 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
23 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
24 * woman.el (woman-mark-horizontal-position):
25 Rename from woman-mark-horizonal-position. Use changed.
27 2014-01-10 Glenn Morris <rgm@gnu.org>
29 * info.el (info-initialize): If running uninstalled, ensure our
30 own info files are always found first, even if INFOPATH is set.
32 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
34 2014-01-09 David Engster <deng@randomsample.de>
36 * emacs-lisp/eieio-custom.el:
37 * emacs-lisp/eieio-opt.el: Set generated autoload file to
38 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
39 * emacs-lisp/eieio.el: Regenerate autoloads.
41 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
43 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
44 following renames. (Bug#8756)
46 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
48 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
50 (activate-mark): Add `no-tmm' argument.
51 (set-mark, push-mark-command): Use it instead of running
52 activate-mark-hook by hand.
54 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
56 In preparation for the move to git, sanitize out some
57 Bazaar-specific names.
59 * version.el (emacs-bzr-version): Name changed to
60 emacs-repository-version. Obsolete-variable alias made.
61 * loadup.el: Follow through on this name change.
62 * lisp/mail/emacsbug.el (report-emacs-bug): Factor out any
63 assumption about the version control system in use.
65 2014-01-08 David Engster <deng@randomsample.de>
67 * help-fns.el (help-fns-describe-function-functions):
68 New variable to call functions for augmenting help buffers.
69 (describe-function-1): Remove explicit calls to
70 `help-fns--compiler-macro', `help-fns--parent-mode' and
71 `help-fns--obsolete'. Put them in above new variable instead, and
72 call them through `run-hook-with-args'.
73 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
74 `eieio-describe-class'. Not meant for interactive use anymore,
75 but to augment existing help buffers. Remove optional second
76 argument. Create proper button for file location.
77 Rewrite function to use `insert' instead of `princ' and `prin1' where
79 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
80 (eieio-method-def, eieio-class-def): Move further up.
81 (describe-method, describe-generic, eieio-describe-method):
83 (eieio-help-constructor, eieio-help-generic): Rename from
84 `eieio-describe-constructor' and `eieio-describe-generic', resp.
85 Rewrite to use `insert' in the current buffer and use proper help
87 (eieio-help-find-method-definition)
88 (eieio-help-find-class-definition): Also accept symbols as
90 (eieio-help-mode-augmentation-maybee): Remove.
91 (eieio-describe-class-sb): Use `describe-function'.
92 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
93 Add `eieio-help-generic' and `eieio-help-constructor'.
95 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
98 * language/china-util.el (hz-ascii-designation):
99 Rename from hz-ascii-designnation.
100 (hz-ascii-designation): Rename from hz-ascii-designnation.
103 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
105 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
108 2014-01-08 Bastien Guerry <bzg@gnu.org>
110 * emacs-lisp/package.el (package-delete):
111 Correctly delete the package from package-alist.
113 2014-01-08 Daiki Ueno <ueno@gnu.org>
115 * emacs-lisp/package.el (url-recreate-url): Declare.
116 (url-http-target-url): Declare.
117 (package-handle-response): Include requested URL in the error message.
118 (package--check-signature): Don't re-signal errors from
119 package--with-work-buffer. Suggested by Stefan Monnier.
121 2014-01-07 Bastien Guerry <bzg@gnu.org>
123 * minibuffer.el (completion--try-word-completion): When both a
124 hyphen and a space are possible candidates for the character
125 following a word, display both candidates. (Bug#15980)
127 2014-01-07 Martin Rudalics <rudalics@gmx.at>
129 * window.el (balance-windows-2): While rounding don't give a
130 window more than the remainder. Bug#16351, Bug#16383.
132 2014-01-07 Glenn Morris <rgm@gnu.org>
134 * menu-bar.el (menu-bar-help-extra-packages): Remove.
135 (menu-bar-help-menu): Use view-external-packages instead.
137 2014-01-07 Bastien Guerry <bzg@gnu.org>
139 * emacs-lisp/package.el (package-delete): Also delete the package
140 name from `package-alist', not its description only.
142 2014-01-07 Glenn Morris <rgm@gnu.org>
144 * help.el (view-external-packages):
145 * menu-bar.el (menu-bar-help-extra-packages):
146 Visit efaq.info rather than etc/MORE.STUFF.
148 2014-01-07 Juri Linkov <juri@jurta.org>
150 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
151 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
153 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
154 that shadows RET. (Bug#16342)
156 2014-01-07 Chong Yidong <cyd@gnu.org>
158 * isearch.el (isearch-yank-char, isearch-yank-word)
159 (isearch-yank-line): Doc fix.
161 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
163 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
164 * emacs-lisp/elint.el (elint-find-builtins):
165 * emacs-lisp/eldoc.el (eldoc-symbol-function):
166 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
167 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
168 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
169 * apropos.el (apropos-safe-documentation):
170 * subr.el (symbol-file): Remove redundant fboundp.
171 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
173 2014-01-06 Bastien Guerry <bzg@gnu.org>
175 * hl-line.el (global-hl-line-overlay): Make a local variable.
176 (global-hl-line-overlays): New variable to store all overlays.
177 (global-hl-line-mode): Don't delete overlays from the current
178 buffer when `global-hl-line-sticky-flag' is non-nil.
179 (global-hl-line-highlight): Add new overlays to
180 `global-hl-line-overlays'.
181 (global-hl-line-unhighlight-all): New function to delete all
182 overlays when turning off `global-hl-line-mode'.
183 This fixes Bug#16183.
185 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
187 * subr.el (set-transient-map): Fix nested case and docstring.
189 2014-01-06 Tassilo Horn <tsdh@gnu.org>
191 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
194 2014-01-06 Daniel Colascione <dancol@dancol.org>
196 Fix defun navigation in vc log view.
198 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
199 like `beginning-of-defun'.
200 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
201 log-view-end-of-defun to log-view-end-of-defun-1. Replace
202 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
203 (log-view-extract-comment): Call `log-view-current-entry' directly
204 instead of relying on broken `log-view-beginning-of-defun' behavior.
206 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
209 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
210 * emacs-lisp/debug.el (cancel-debug-on-entry):
211 * epg.el (epg-error-to-string):
212 * files.el (recover-file):
213 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
214 * mail/emacsbug.el (report-emacs-bug-hook):
215 * mail/sendmail.el (mail-recover):
216 * ses.el (ses-yank-resize):
217 * term/ns-win.el (ns-print-buffer):
218 Spelling fixes in diagnostics, mostly for "canceled" with one L.
219 * epg.el (epg-key-capability-alist): Rename from misspelled version.
221 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
223 2014-01-06 Leo Liu <sdl.web@gmail.com>
225 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
226 to avoid shadowning global key. (Bug#16354)
228 2014-01-06 Daniel Colascione <dancol@dancol.org>
230 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
233 2014-01-05 Martin Rudalics <rudalics@gmx.at>
235 * window.el (balance-windows): Add mising t to fix Bug#16351.
237 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
239 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
241 (shr-insert): If we have a word that's longer than `shr-width',
242 break after it anyway. Otherwise we'll do no breaking once we get
245 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
247 * net/eww.el (eww): Support single/double quote for search.
248 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
249 (eww-history-quit): Delete and use quit-window.
250 (eww-history-kill): Delete, because it doesn't work well and
252 (eww-history-mode-map): Delete some keys and add easy-menu.
254 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
256 Fix misspelling of 'chinese' in rx (Bug#16237).
257 * emacs-lisp/rx.el (rx-categories): Correct spelling of
260 Change subword regexps back to vars (Bug#16296).
261 * progmodes/subword.el (subword-forward-regexp)
262 (subword-backward-regexp): Change these back to variables.
264 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
266 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
267 syntax-begin-function (bug#16247).
269 2014-01-03 Chong Yidong <cyd@gnu.org>
271 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
272 (advice--docstring): Delete variable.
273 (advice--make-1): Leave the docstring empty.
274 (advice-add): Use function-documentation for advised docstring.
276 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
277 Ignore function-documentation property when getting documentation.
278 (ad-activate-advised-definition): Use function-documentation
279 generate the docstring.
280 (ad-make-advised-definition): Don't call
281 ad-make-advised-definition-docstring.
282 (ad-make-advised-definition-docstring, ad-advised-definition-p):
285 * progmodes/sql.el (sql-help): Use function-documentation instead
286 of dynamic-docstring-function property. No need to autoload now.
287 (sql--help-docstring): New variable.
288 (sql--make-help-docstring): Use it.
290 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
292 * ielm.el (ielm-tab): Retarget.
293 (ielm-map): Use ielm-tab for tab.
294 (ielm-complete-filename): Use comint-filename-completion.
295 (ielm-complete-symbol): Remove.
296 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
297 remove ielm-tab from completion-at-point-functions (bug#16224).
299 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
300 Beware signals raised by predicates (bug#16201).
302 2014-01-02 Richard Stallman <rms@gnu.org>
304 * dired-aux.el (dired-do-print): Handle printer-name.
306 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
307 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
308 (rmail-epa-decrypt): Turn off mime processing.
310 * mail/rmail.el (rmail-make-in-reply-to-field):
311 Add parens in message-id.
313 * mail/rmail.el (rmail-get-coding-function): Variable.
314 (rmail-get-coding-system): Use it.
316 2013-12-31 Eli Zaretskii <eliz@gnu.org>
318 * international/mule-conf.el: Unify the charset indian-is13194.
319 (indian-is13194): Specify unify-map.
321 2013-12-31 Leo Liu <sdl.web@gmail.com>
323 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
325 2013-12-30 Daniel Colascione <dancol@dancol.org>
327 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
328 of printing a useless when we resume from sleep.
330 * progmodes/sh-script.el
331 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
332 in indentation code. (Bug#16233)
334 2013-12-28 João Távora <joaotavora@gmail.com>
336 * elec-pair.el (electric-pair-post-self-insert-function):
337 Don't open extra newlines at beginning of buffer. (Bug#16272)
339 2013-12-28 Eli Zaretskii <eliz@gnu.org>
341 * frame.el (window-system-for-display): Don't allow to create a
342 GUI frame from a -nw session on MS-Windows. (Bug#14739)
344 2013-12-28 Glenn Morris <rgm@gnu.org>
346 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
349 * apropos.el (apropos-match-face):
350 * calculator.el (calculator-displayer):
351 * dabbrev.el (dabbrev-search-these-buffers-only):
352 * face-remap.el (buffer-face-mode-face):
353 * simple.el (yank-handled-properties):
354 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
355 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
356 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
357 (hashcash-double-spend-database):
358 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
359 (ruby-deep-indent-paren-style):
360 * textmodes/flyspell.el (flyspell-auto-correct-binding):
361 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
362 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
363 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
364 Specify custom types.
366 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
367 * bookmark.el (bookmark-bmenu-use-header-line):
368 * doc-view.el (doc-view-scale-internally):
369 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
370 * register.el (register-preview-delay):
371 * net/shr.el (shr-bullet):
372 * progmodes/cfengine.el (cfengine-cf-promises)
373 (cfengine-parameters-indent):
374 * progmodes/octave.el (inferior-octave-error-regexp-alist):
375 * textmodes/reftex-vars.el (reftex-label-regexps):
376 * vc/log-edit.el (log-edit-setup-add-author): Add version.
378 * net/tls.el (tls-certtool-program): Fix default value.
380 * desktop.el (desktop-restore-in-current-display):
381 * newcomment.el (comment-empty-lines):
382 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
383 (idlwave-pad-keyword):
384 * progmodes/tcl.el (tcl-tab-always-indent):
385 * textmodes/reftex-vars.el (reftex-index-default-tag):
386 * elec-pair.el (electric-pair-skip-whitespace):
387 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
389 * emacs-lisp/authors.el (authors-ignored-files)
390 (authors-valid-file-names, authors-renamed-files-alist): Additions.
392 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
394 * shell.el (shell-dynamic-complete-command): Doc fix.
395 (shell--command-completion-data): Shell completion now matches
396 executable filenames from the current buffer's directory, on
397 systems in which this behavior is the default (windows-nt, ms-dos).
399 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
401 * net/shr.el (shr-insert): Don't infloop if the width is zero.
403 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
405 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
408 * electric.el: Move all electric-pair-* to elec-pair.el.
409 * elec-pair.el: New file, split from electric.el.
411 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
413 * net/shr.el (shr-find-fill-point): Don't try to fill if the
414 indentation level is larger than the width, because that will
416 (shr-insert): Fill repeatedly long texts, so that Japanese is
417 formatted correctly (bug#16263).
418 (shr-find-fill-point): Off by one error in comparison with the
421 2013-12-26 João Távora <joaotavora@gmail.com>
423 * electric.el (electric-pair-mode): More flexible engine for skip-
424 and inhibit predicates, new options for pairing-related functionality.
425 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
426 if that keeps or improves their balance in buffers.
427 (electric-pair-delete-adjacent-pairs): Delete the pair when
428 backspacing over adjacent matched delimiters.
429 (electric-pair-open-extra-newline): Open extra newline when
430 inserting newlines between adjacent matched delimiters.
431 (electric--sort-post-self-insertion-hook):
432 Sort post-self-insert-hook according to priority values when
433 minor-modes are activated.
434 * simple.el (newline-and-indent): Call newline with interactive
436 (blink-paren-post-self-insert-function): Set priority to 100.
437 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
438 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
439 comments. Locally set electric-pair-skip-whitespace to 'chomp and
440 electric-pair-open-newline-between-pairs to nil.
442 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
444 * progmodes/python.el: Use lexical-binding.
445 (python-nav-beginning-of-defun): Stop searching ASAP.
447 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
449 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
450 Fix interactive spec. Doc fix. (Bug#15754)
452 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
454 * emacs-lisp/byte-run.el (eval-when-compile):
455 * progmodes/cc-defs.el (cc-eval-when-compile):
456 Fix edebug spec (bug#16184).
458 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
460 * net/shr.el (shr-visit-file): Remove debugging function.
461 (shr-insert): Don't infloop if we can't find a good place to break
462 the line (bug#16256).
464 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
466 * progmodes/python.el:
467 (python-nav--lisp-forward-sexp): New function.
468 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
469 python-nav-lisp-forward-sexp-safe.
470 (python-nav--forward-sexp): New argument SAFE allows switching
471 forward sexp movement behavior for parens.
472 (python-nav-forward-sexp): Throw errors on unterminated parens
474 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
475 (python-nav-backward-sexp-safe): New functions.
476 (python-shell-buffer-substring):
477 Use `python-nav-forward-sexp-safe'.
479 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
481 * net/shr.el (shr-find-fill-point): Don't break lines before a
483 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
484 (shr-find-fill-point): Remove the special checks for the quotation
485 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
487 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
489 * net/eww.el (eww-form-textarea): Use a different face for
490 textareas than text input since they have different keymaps
493 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
495 * progmodes/python.el (python-nav-beginning-of-statement):
496 Speed up (Bug#15295).
498 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
500 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
501 the window configuration.
503 2013-12-24 Eli Zaretskii <eliz@gnu.org>
505 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
506 we run on MS-Windows or MS-DOS.
508 2013-12-24 Martin Rudalics <rudalics@gmx.at>
510 * window.el (balance-windows-area): Call window-size instead of
511 window-height and window-width. Bug#16241.
513 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
515 * net/eww.el (eww-bookmark-quit): Remove.
516 (eww-bookmark-browse): Restore the window configuration when you
517 choose a bookmark (bug#16144).
519 2013-12-24 Daniel Colascione <dancol@dancol.org>
521 * icomplete.el: Remove redundant :group arguments to `defcustom'
523 (icomplete-show-matches-on-no-input): New customizable variable.
524 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
525 we have something to show.
526 (icomplete-exhibit): Compute completions even if we have no user input.
528 2013-12-23 Daniel Colascione <dancol@dancol.org>
530 * icomplete.el: Move `provide' to end of file.
532 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
534 * net/gnutls.el (gnutls-verify-error): Add version tag.
536 2013-12-23 Chong Yidong <cyd@gnu.org>
538 * subr.el (set-transient-map): Rename from
539 set-temporary-overlay-map. Doc fix.
541 * face-remap.el (text-scale-adjust):
542 * indent.el (indent-rigidly):
543 * kmacro.el (kmacro-call-macro):
544 * minibuffer.el (minibuffer-force-complete):
545 * repeat.el (repeat):
546 * simple.el (universal-argument--mode):
547 * calendar/todo-mode.el (todo-insert-item--next-param):
548 * progmodes/f90.el (f90-abbrev-start): Callers changed.
550 * indent.el (indent-rigidly): Use substitute-command-keys.
552 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
554 * net/eww.el (eww-tag-select): Add text-property to jump to next
556 (eww): Add non-supported ftp error.
558 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
560 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
561 comments. Handle electric indent after typing `?' and `!'.
563 2013-12-22 Chong Yidong <cyd@gnu.org>
565 * faces.el (face-spec-recalc): If the theme specs are not
566 applicable to a frame, fall back on the defface spec.
567 This prevents themes from obliterating faces on low-color terminals.
569 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
571 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
572 after `{'. We need it after block openers, and it doesn't seem
573 to hurt after hash openers.
575 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
577 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
578 extracted from `ruby-smie-rules'.
579 (ruby--electric-indent-chars): New variable.
580 (ruby--electric-indent-p): New function.
581 (ruby-mode): Use `electric-indent-functions' instead of
582 `electric-indent-chars'.
584 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
586 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
588 (ruby-smie-rules): Indent plus one level after `=>'.
590 2013-12-21 Richard Stallman <rms@gnu.org>
592 * simple.el (newline): Doc fix.
594 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
596 * net/eww.el (eww-list-histories, eww-list-histories)
597 (eww-history-browse, eww-history-quit, eww-history-kill)
598 (eww-history-mode-map, eww-history-mode): New command and
599 functions to list browser histories.
600 (eww-form-text): Support text form with disabled
601 and readonly attributes.
602 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
604 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
606 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
607 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
608 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
609 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
611 (eww-bookmark-mode-map): Add menu.
612 (eww-render, eww-mode): Use `setq-local'.
613 (eww-tool-bar-map): New variable.
614 (eww-mode): Set `tool-bar-map'.
615 (eww-view-source): Check for `html-mode' with `fboundp'.
617 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
619 * net/shr.el (shr--extract-best-source): Don't bug out on audio
620 elements with text inside. Also remove debugging.
622 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
624 * cus-start.el (all): Add ns-use-srgb-colorspace.
626 2013-12-21 Chong Yidong <cyd@gnu.org>
628 * custom.el (custom-theme-recalc-face): Do nothing if the face is
629 undefined. Thus, theme settings for undefined faces do not take
630 effect until the faces are defined with defface, the same as with
633 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
634 (face-spec-reset-face): Don't assign extra properties in temacs.
635 (face-spec-recalc): Apply X resources too.
637 2013-12-21 Chong Yidong <cyd@gnu.org>
639 * faces.el (face-spec-set):
640 * cus-face.el (custom-theme-set-faces, custom-set-faces):
641 * custom.el (defface): Doc fixes (Bug#16203).
643 * indent.el (indent-rigidly-map): Add docstring, and move commands
644 into named functions.
645 (indent-rigidly-left, indent-rigidly-right)
646 (indent-rigidly-left-to-tab-stop)
647 (indent-rigidly-right-to-tab-stop): New functions. Decide on
648 indentation direction based on bidi direction, and accumulate
649 sequential commands in a single undo boundary.
650 (indent-rigidly--pop-undo): New utility function.
652 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
654 * faces.el (read-face-name): Require crm.el when using crm-separator.
656 2013-12-20 Daniel Colascione <dancol@dancol.org>
658 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
659 so that we don't reflow comments into the shebang line.
661 2013-12-20 Juri Linkov <juri@jurta.org>
663 * saveplace.el (save-place-to-alist): Add `dired-filename' as
664 a position when `dired-directory' is non-nil. Check integer
665 positions with `integerp'.
666 (toggle-save-place, save-places-to-alist): Add check for
668 (save-place-find-file-hook): Check integer positions with
670 (save-place-dired-hook): Use `dired-goto-file' when
671 `dired-filename' is found in the assoc list. Check integer
672 positions with `integerp'.
673 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
675 * dired.el (dired-initial-position-hook): Rename back from
676 `dired-initial-point-hook'.
677 (dired-initial-position): Rename `dired-initial-point-hook' to
678 `dired-initial-position-hook'.
679 (dired-file-name-at-point): Doc fix. (Bug#15329)
681 2013-12-20 Juri Linkov <juri@jurta.org>
683 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
684 (read-regexp-suggestions): New function.
685 (read-regexp): Use `read-regexp-defaults-function' to get default values.
686 Use `read-regexp-suggestions'. Add non-empty default to history
688 (occur-read-regexp-defaults-function): Remove function.
689 (occur-read-primary-args): Use `regexp-history-last' instead of
690 `occur-read-regexp-defaults-function'.
692 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
693 (hi-lock-line-face-buffer, hi-lock-face-buffer)
694 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
695 `hi-lock-read-regexp-defaults-function'. Doc fix.
696 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
697 with `find-tag-default-as-symbol-regexp'. Doc fix.
698 (hi-lock-read-regexp-defaults): Remove function.
699 (hi-lock-regexp-okay): Add check for null.
701 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
702 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
704 * subr.el (find-tag-default-as-symbol-regexp): New function.
705 (find-tag-default-as-regexp): Move symbol regexp formatting to
706 `find-tag-default-as-symbol-regexp'.
708 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
710 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
713 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
715 * calendar/todo-mode.el: New implementation of item insertion
716 commands and key bindings.
717 (todo-key-prompt): New face.
718 (todo-insert-item): New command.
719 (todo-insert-item--parameters): New defconst, replacing defvar
720 todo-insertion-commands-args-genlist.
721 (todo-insert-item--param-key-alist): New defconst, replacing
722 defvar todo-insertion-commands-arg-key-list.
723 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
724 (todo-insert-item--argsleft, todo-insert-item--apply-args)
725 (todo-insert-item--next-param): New functions.
726 (todo-insert-item--args, todo-insert-item--argleft)
727 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
729 (todo-key-bindings-t): Change binding of "i" from
730 todo-insertion-map to todo-insert-item.
731 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
732 (todo-insertion-command-name, todo-insertion-commands-names)
733 (todo-define-insertion-command, todo-insertion-commands)
734 (todo-insertion-key-bindings, todo-insertion-map): Remove.
736 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
738 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
739 (todo-toggle-item-highlighting): Use eval-and-compile instead of
741 (todo-move-category): Allow choosing a non-existing todo file to
742 move the category to, and create that file.
743 (todo-default-priority): New user option.
744 (todo-set-item-priority): Use it.
745 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
746 (desktop-restore-file-buffer): Declare.
747 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
748 (todo-modes-set-2): Locally set desktop-save-buffer to
749 todo-desktop-save-buffer.
750 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
751 (auto-mode-alist): Add autoload cookie.
753 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
755 * emacs-lisp/subr-x.el: Renamed from helpers.el.
756 helpers.el was a poor choice of name.
757 (string-remove-prefix): New function.
758 (string-remove-suffix): New function.
760 2013-12-20 Martin Rudalics <rudalics@gmx.at>
762 Fix assignment for new window total sizes.
763 * window.el (window--pixel-to-size): Remove function.
764 (window--pixel-to-total-1, window--pixel-to-total):
765 Fix calculation of new total sizes.
767 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
769 * comint.el (comint-output-filter): Fix rear-nonsticky property
770 placement (Bug#16010).
772 2013-12-20 Chong Yidong <cyd@gnu.org>
774 * faces.el (read-color): Minor fix for completion function.
776 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
778 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
779 New option. (Bug#16182)
780 (ruby-smie--indent-to-stmt-p): Use it.
781 (ruby-smie-rules): Revert the logic in the handling of `when'.
782 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
783 (ruby-deep-arglist, ruby-deep-indent-paren)
784 (ruby-deep-indent-paren-style): Update docstrings to note that the
785 vars don't have any effect with SMIE.
787 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
789 * calc/calc.el (calc-enter, calc-pop): Use the variable
790 `calc-context-sensitive-enter'.
792 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
794 * net/shr.el (shr-insert): Protect against infloops in degenerate
797 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
799 * progmodes/octave.el (octave): Add link to manual and octave
801 (octave-mode-menu): Link to octave-mode manual.
803 2013-12-20 Leo Liu <sdl.web@gmail.com>
805 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
806 insertion using skeleton-end-newline. (Bug#16138)
808 2013-12-20 Juri Linkov <juri@jurta.org>
810 * replace.el (occur-engine): Use `add-face-text-property'
811 to add the face property to matches and titles. (Bug#14645)
813 * hi-lock.el (hi-green): Use lighter color "light green" closer to
814 the palette of other hi-lock colors.
815 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
817 2013-12-19 Juri Linkov <juri@jurta.org>
819 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
820 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
821 (minibuffer-history-symbol): Move variable declaration closer to
824 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
827 2013-12-19 Juri Linkov <juri@jurta.org>
829 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
831 (log-edit-hook): Add it to :options. (Bug#16170)
833 2013-12-19 Juri Linkov <juri@jurta.org>
835 * simple.el (eval-expression-print-format): Don't check for
836 command names and the last command. Always display additional
837 formats of the integer result in the echo area, and insert them
838 to the current buffer only with a zero prefix arg.
839 Display character when char-displayable-p is non-nil.
840 (eval-expression): With a zero prefix arg, set `print-length' and
841 `print-level' to nil, and insert the integer values from
842 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
844 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
845 `eval-last-sexp-arg-internal'. Doc fix.
846 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
847 `eval-last-sexp-print-value'. Doc fix.
848 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
849 Set `print-length' and `print-level' to nil when arg is zero.
850 (eval-last-sexp): Doc fix.
851 (eval-defun-2): Print the integer values from
852 `eval-expression-print-format' at the end.
854 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
855 values from `eval-expression-print-format' at the end.
857 * ielm.el (ielm-eval-input): Print the integer
858 values from `eval-expression-print-format' at the end.
860 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
862 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
863 2013-12-11T19:01:44Z!tzz@lifelogs.com.
865 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
867 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
868 (hl-line-highlight, global-hl-line-highlight): Use it.
869 (hl-line-overlay): Use defvar-local.
871 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
873 * term/ns-win.el: Require dnd.
874 (global-map): Remove drag items.
875 (ns-insert-text, ns-set-foreground-at-mouse)
876 (ns-set-background-at-mouse):
877 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
878 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
881 2013-12-19 Glenn Morris <rgm@gnu.org>
883 * emacs-lisp/ert.el (ert-select-tests):
884 Fix string/symbol mixup. (Bug#16121)
886 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
888 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
889 keywords to their parent.
891 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
893 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
894 first arg to be a string (fixed dead code), or an operator symbol.
895 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
897 (ruby-smie-rules): Remove parent token check in the `.' clause, it
898 did nothing. Don't respond to `(:after ".")', it will be called
899 with :before anyway. Remove the ` @ ' rule, it didn't seem to
900 change anything. Only return indentation for binary operators
901 when they are hanging. De-dent opening paren when its parent is
902 `.', otherwise it looks bad when the dot is not at bol or eol
905 2013-12-19 Juri Linkov <juri@jurta.org>
907 * replace.el (query-replace-read-args): Split a non-negative arg
908 and a negative arg into separate elements.
909 (query-replace, query-replace-regexp, replace-string)
910 (replace-regexp): Add arg `backward'. Doc fix.
911 (replace-match-maybe-edit): When new arg `backward' is non-nil,
912 move point to the beginning of the match.
913 (replace-search, replace-highlight): Use new arg `backward'
914 to set the value of `isearch-forward'.
915 (perform-replace): Add arg `backward' and use it to perform
916 replacement backward. (Bug#14979)
918 * isearch.el (isearch-query-replace): Use a negative prefix arg
919 to call `perform-replace' with a non-nil arg `backward'.
921 2013-12-18 Juri Linkov <juri@jurta.org>
923 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
924 to the default list. Move `log-edit-show-files' to the end.
925 Add more available functions to options.
926 (log-edit): Move default specific settings to
927 `log-edit-insert-message-template'. Don't move point.
928 (log-edit-insert-message-template): New function.
929 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
932 2013-12-18 Juri Linkov <juri@jurta.org>
934 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
935 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
937 2013-12-18 Leo Liu <sdl.web@gmail.com>
939 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
942 2013-12-18 Eli Zaretskii <eliz@gnu.org>
944 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
945 formats for displaying file sizes when the -s switch is given.
946 Instead, compute a separate format for displaying the size in
947 blocks, which is displayed in addition to the "regular" size.
948 When -h is given in addition to -s, produce size in blocks in
949 human-readable form as well. (Bug#16179)
951 2013-12-18 Tassilo Horn <tsdh@gnu.org>
953 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
954 Reference tables with ~\ref{...} instead of only \ref{...}.
956 2013-12-18 Chong Yidong <cyd@gnu.org>
958 * cus-edit.el (custom-magic-alist): Fix "themed" description
961 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
962 is non-nil, do not create a new entry in the symbol's theme-value
963 or theme-face property; update theme-settings only (Bug#14664).
964 (custom-available-themes): Doc fix.
966 * cus-theme.el (custom-new-theme-mode-map): Add bindings
969 * replace.el (occur-engine): Avoid infloop (Bug#7593).
971 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
973 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
976 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
978 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
980 2013-12-18 Glenn Morris <rgm@gnu.org>
982 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
983 * cus-start.el (load-prefer-newer): New option.
985 2013-12-18 Le Wang <l26wang@gmail.com>
987 * comint.el (comint-previous-matching-input-from-input):
988 Retain point (Bug#13404).
990 2013-12-18 Chong Yidong <cyd@gnu.org>
992 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
994 2013-12-18 Glenn Morris <rgm@gnu.org>
996 * mail/emacsbug.el (report-emacs-bug):
997 Only mention enable-multibyte-characters if non-standard.
999 2013-12-17 Juri Linkov <juri@jurta.org>
1001 * arc-mode.el (archive-extract-by-file): Check if directory exists
1002 before deletion to not show irrelevant errors if it doesn't exist.
1004 2013-12-17 Juri Linkov <juri@jurta.org>
1006 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1009 * net/eww.el (browse-web): Add alias to `eww'.
1010 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1011 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1013 * net/browse-url.el (browse-url-browser-function): Move `eww'
1014 closer to similar functions.
1016 * startup.el (fancy-startup-screen, fancy-about-screen):
1017 Set browse-url-browser-function to eww-browse-url locally.
1020 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1022 * window.el (window--pixel-to-total): Remove unused `mini' var.
1023 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1024 (split-window): Remove unused `new' var.
1025 (window--display-buffer): Remove unused `frame' and `delta' vars.
1026 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1029 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1031 * dired.el (dired-mark-pop-up):
1032 * register.el (register-preview): Don't bind
1033 split-height-threshold here since it's now done in
1034 display-buffer-below-selected.
1036 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1038 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1039 xterm-rgb-convert-to-16bit.
1040 (rxvt-register-default-colors): Standardize with
1041 xterm-register-default-colors (Bug#14078).
1043 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1045 * simple.el (kill-region): Pass mark first, then point, so that
1046 kill-append works right (Bug#12819).
1047 (copy-region-as-kill, kill-ring-save): Likewise.
1049 2013-12-17 Leo Liu <sdl.web@gmail.com>
1051 * net/rcirc.el (rcirc-add-face):
1052 * eshell/em-prompt.el (eshell-emit-prompt):
1053 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1056 2013-12-17 Chong Yidong <cyd@gnu.org>
1058 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1059 Suggested by Xue Fuqiao.
1061 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1063 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1065 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1067 * net/shr.el (shr-insert-document): Remove unused var
1068 `shr-preliminary-table-render'.
1069 (shr-rescale-image): Remove unused arg `force'.
1070 (shr-put-image): Update calls accordingly.
1071 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1073 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1075 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1076 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1077 :close-all, to see which indentation method to use (Bug#16116).
1078 (smie-rules-function): Document the method :close-all.
1080 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1082 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1084 * net/eww.el (eww-display-html): If we can't find the anchor we're
1085 looking for, then go to point-min.
1087 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1089 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1090 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1091 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1092 Expand dir too, in case it's relative.
1094 2013-12-16 Juri Linkov <juri@jurta.org>
1096 * desktop.el (desktop-auto-save-timeout): Change default to
1097 `auto-save-timeout'. Doc fix.
1098 (desktop-save): Skip the timestamp in desktop-saved-frameset
1099 when checking for auto-save changes.
1100 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1101 `desktop-auto-save' is called repeatedly by the idle timer.
1102 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1103 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1106 2013-12-16 Juri Linkov <juri@jurta.org>
1108 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1110 (isearch-pre-command-hook): Check `this-command' for symbolp.
1112 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1114 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1116 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1118 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1119 (cfengine3--current-function): Bring in the current-function
1120 functionality from `cfengine3--current-word'.
1121 (cfengine3-completion-function): Bring in the
1122 bounds-of-current-word functionality from
1123 `cfengine3--current-word'.
1125 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1127 * window.el (display-buffer-below-selected):
1128 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1130 2013-12-16 Leo Liu <sdl.web@gmail.com>
1132 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1133 Remove NOMSG arg and all uses changed.
1135 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1137 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1138 (cua--deactivate-rectangle): Don't deactivate the mark.
1139 (cua-set-rectangle-mark): Don't set mark-active since
1140 cua--activate-rectangle already does it for us.
1141 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1142 non-rectangular region.
1144 * emulation/cua-base.el (cua-repeat-replace-region):
1145 Use with-current-buffer.
1147 * net/gnutls.el: Use cl-lib.
1148 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1150 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1152 * emacs-lisp/package.el (package-built-in-p): Support both
1153 built-in and the package.el converted package descriptions.
1154 (package-show-package-list): Allow keywords.
1155 (package-keyword-button-action): Use it instead of
1156 `finder-list-matches'.
1157 (package-menu-filter-interactive): Interactive filtering (by
1159 (package-menu--generate): Support keywords and change keymappings
1160 and headers when they are given.
1161 (package--has-keyword-p): Helper function.
1162 (package-menu--refresh): Use it.
1163 (package--mapc): Helper function.
1164 (package-all-keywords): Use it.
1165 (package-menu-mode-map): Set up menu items and keybindings to
1166 provide a filtering UI.
1168 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1170 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1171 the behavior when a certificate fails validation. Defaults to
1172 old behavior: never abort, just warn.
1173 (gnutls-negotiate): Use it.
1175 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1177 * window.el (display-buffer-below-selected): Never split window
1178 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1180 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1182 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1183 (package-buffer-info): Use it (bug#15108).
1185 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1187 * icomplete.el (icomplete-completions): Make sure the prefix is already
1188 displayed elsewhere before hiding it (bug#16219).
1190 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1192 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1193 open-paren tokens when preceded by a open-paren, too.
1194 (ruby-smie-rules): Handle virtual indentation after open-paren
1195 tokens specially. If there is code between it and eol, return the
1196 column where is starts (Bug#16118).
1198 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1200 * progmodes/cfengine.el: Fix `add-hook' doc.
1201 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1202 (cfengine3--current-word): Fix parameters.
1203 (cfengine3-make-syntax-cache): Simplify further.
1204 (cfengine3-completion-function, cfengine3--current-function):
1205 Use `assq' for symbols.
1206 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1208 2013-12-13 Glenn Morris <rgm@gnu.org>
1210 * loadup.el (load-path): Warn if site-load or site-init changes it.
1211 No more need to reset it when bootstrapping.
1213 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1215 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1216 locations for cf-promises.
1217 (cfengine-mode-syntax-functions-regex): New caching variable.
1218 (cfengine3-fallback-syntax): Fallback syntax for cases where
1219 cf-promises doesn't run.
1220 (cfengine3--current-word): Reimplement using
1221 `cfengine-mode-syntax-functions-regex'.
1222 (cfengine3-completion-function, cfengine3--current-function):
1223 Use `cfengine3-make-syntax-cache' directly.
1224 (cfengine3-clear-syntax-cache): New function.
1225 (cfengine3-make-syntax-cache): Simplify and create
1226 `cfengine-mode-syntax-functions-regex' on demand.
1227 (cfengine3-format-function-docstring): Don't call
1228 `cfengine3-make-syntax-cache' explicitly.
1230 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1232 Fix windmove-find-other-window broken after pixelwise resizing
1234 * windmove.el (windmove-other-window-loc): Revert change from
1236 (windmove-find-other-window): Call window-in-direction.
1237 * window.el (window-in-direction): New arguments SIGN, WRAP and
1238 MINI to emulate original windmove-find-other-window behavior.
1240 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1242 * simple.el (blink-matching--overlay): New variable.
1243 (blink-matching-open): Instead of moving point, highlight the
1244 matching paren with an overlay
1245 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1247 * faces.el (paren-showing-faces, show-paren-match)
1248 (show-paren-mismatch): Move from paren.el.
1250 2013-12-13 Leo Liu <sdl.web@gmail.com>
1252 * indent.el (indent-region): Disable progress reporter in
1253 minibuffer. (Bug#16108)
1255 * bindings.el (visual-order-cursor-movement): Fix version.
1257 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1259 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1260 Also match after beginning of line.
1261 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1262 files. Thanks to Russell Sim. (Bug#15378)
1264 2013-12-13 Juri Linkov <juri@jurta.org>
1266 * simple.el <Keypad support>: Remove key bindings duplicated
1267 with bindings.el. (Bug#14397)
1269 2013-12-13 Juri Linkov <juri@jurta.org>
1271 * comint.el (comint-mode-map): Replace `delete-char' with
1272 `delete-forward-char'. (Bug#16109)
1274 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1276 * progmodes/python.el (python-indent-calculate-indentation):
1277 Fix de-denters cornercase. (Bug#15731)
1279 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1281 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1282 (advice--make): Pay attention to `depth'.
1283 (advice--make-1): Don't autoload commands eagerly.
1284 * emacs-lisp/elp.el (elp-instrument-function):
1285 * emacs-lisp/trace.el (trace-function-internal):
1286 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1288 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1290 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1292 * term/w32-win.el (w32-handle-dropped-file):
1293 * startup.el (normal-top-level):
1294 * net/browse-url.el (browse-url-file-url):
1295 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1296 decode file names using 'utf-8' rather than
1297 file-name-coding-system.
1299 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1301 * progmodes/python.el (python-indent-context)
1302 (python-indent-calculate-indentation): Fix auto-identation
1303 behavior for comment blocks. (Bug#15916)
1305 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1307 * progmodes/python.el (python-indent-calculate-indentation):
1308 When determining indentation, don't treat "return", "pass", etc., as
1309 operators when they are just string constituents. (Bug#15812)
1311 2013-12-12 Juri Linkov <juri@jurta.org>
1313 * uniquify.el (uniquify-buffer-name-style): Change default to
1314 `post-forward-angle-brackets'.
1316 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1317 `uniquify'. Change default to `post-forward-angle-brackets'.
1319 2013-12-11 Glenn Morris <rgm@gnu.org>
1321 * emacs-lisp/package.el (finder-list-matches):
1322 Autoload rather than falsely declaring.
1324 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1326 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1327 (eww-mode-map): Use them.
1329 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1331 * window.el (display-buffer-in-side-window): Fix doc-string
1334 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1336 * vc/vc-git.el: Silence byte-compiler warnings.
1337 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1338 (log-edit-set-header): Declare.
1340 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1342 * Makefile.in (custom-deps, finder-data): Run output file names
1343 through unmsys--file-name. (Bug#16099)
1345 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1347 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1348 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1350 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1351 instead of deleting the selection "by hand" (bug#16098).
1352 Rely on insert-for-yank to yank rectangles.
1353 (cua-highlight-region-shift-only): Mark obsolete.
1354 (cua-mode): Don't enable/disable transient-mark-mode,
1355 shift-select-mode (cua-mode works both with and without them), and
1356 pc-selection-mode (obsolete).
1357 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1358 (cua--deactivate-rectangle): Deactivate it.
1360 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1361 (delete-selection-helper): Make sure yank starts at the top of the
1363 (minibuffer-keyboard-quit): Use region-active-p.
1365 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1367 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1368 to `delete' (bug#16109).
1370 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1372 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1373 info manual and show keybindings and set `:group' keyword.
1375 2013-12-11 Juri Linkov <juri@jurta.org>
1377 * delsel.el (delete-active-region): Let-bind `this-command'
1378 to prevent `kill-region' from changing its original value.
1379 (delete-selection-helper): Handle `overwrite-mode' for the type
1380 `kill' exactly the same way as for the type `t'.
1381 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1382 Support more commands. (Bug#13312)
1384 2013-12-11 Juri Linkov <juri@jurta.org>
1386 * bindings.el: Map kp keys to non-kp keys systematically
1387 with basic modifiers control, meta and shift. (Bug#14397)
1389 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1391 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1392 "Close browser" menu items. Fix wrong function of "List
1395 2013-12-11 Juri Linkov <juri@jurta.org>
1397 * misearch.el (multi-isearch-buffers): Set the value of
1398 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1399 arg of isearch-forward to t.
1400 (multi-isearch-buffers-regexp): Set the value of
1401 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1402 arg of isearch-forward-regexp to t.
1403 (multi-isearch-files): Set the value of
1404 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1405 arg of isearch-forward to t.
1406 (multi-isearch-files-regexp): Set the value of
1407 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1408 arg of isearch-forward-regexp to t. (Bug#16035)
1410 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1411 arg of isearch-forward to t.
1412 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1413 arg of isearch-forward-regexp to t.
1414 (dired-isearch-filter-filenames): Remove unnecessary check for
1415 `dired-isearch-filenames'.
1417 * comint.el (comint-history-isearch-backward):
1418 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1419 (comint-history-isearch-backward-regexp):
1420 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1422 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1424 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1425 unmsys--file-name. (Bug#16099)
1427 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1429 * emacs-lisp/package.el (package-keyword-button-action):
1430 Remove finder.el require dependency.
1432 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1434 * emacs-lisp/package.el: Require finder.el.
1435 (describe-package-1): Add keyword buttons.
1436 (package-make-button): New convenience function.
1437 (package-keyword-button-action): Keyword button action using
1438 `finder-list-matches'.
1440 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1442 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1445 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1447 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1450 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1452 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1453 after the end of a percent literal.
1455 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1457 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1458 Handle caret-delimited strings (Bug#16079).
1460 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1462 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1463 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1464 `ruby-parse-partial' (Bug#16078).
1466 2013-12-09 Leo Liu <sdl.web@gmail.com>
1468 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1470 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1472 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1473 (js-switch-indent-offset): New option.
1474 (js--proper-indentation): Use it. And handle the case when
1475 "default" is actually a key in an object literal.
1476 (js--same-line): New function.
1477 (js--multi-line-declaration-indentation): Use it.
1478 (js--indent-in-array-comp, js--array-comp-indentation):
1480 (js--proper-indentation): Use them, to handle array comprehension
1483 2013-12-08 Leo Liu <sdl.web@gmail.com>
1485 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1486 (flymake-make-overlay): Remove arg MOUSE-FACE.
1487 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1489 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1491 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1493 (redisplay-highlight-region-function): Use it.
1495 * emulation/cua-base.el (cua--explicit-region-start)
1496 (cua--last-region-shifted): Remove.
1497 (cua--deactivate): Use deactivate-mark.
1498 (cua--pre-command-handler-1): Don't handle shift-selection.
1499 (cua--post-command-handler-1): Don't change transient-mark-mode.
1500 (cua--select-keymaps): Use region-active-p rather than
1501 cua--explicit-region-start or cua--last-region-shifted.
1502 (cua-mode): Enable shift-select-mode.
1504 2013-12-08 Leo Liu <sdl.web@gmail.com>
1506 * progmodes/flymake.el (flymake-popup-current-error-menu):
1507 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1508 (flymake-posn-at-point-as-event, flymake-popup-menu)
1509 (flymake-make-emacs-menu): Remove. (Bug#16077)
1511 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1513 * rect.el (rectangle-mark-mode): Activate mark even if
1514 transient-mark-mode is off (bug#16066).
1515 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1516 is > mark and at bolp.
1518 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1519 (region-extract-function): Use it.
1520 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1521 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1523 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1524 kill-ring-save, kill-region, delete-char, delete-forward-char.
1525 Ignore self-insert-iso.
1527 * emulation/cua-gmrk.el (cua--init-global-mark):
1528 Ignore `self-insert-iso'.
1530 * emulation/cua-base.el (cua--prefix-copy-handler)
1531 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1532 checking cua--rectangle.
1533 (cua-delete-region): Use region-extract-function.
1534 (cua-replace-region): Delete function.
1535 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1536 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1537 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1538 (cua--init-keymaps): Don't remap delete-selection commands.
1539 (cua-mode): Use delete-selection-mode instead of rolling our own
1542 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1543 Obey region-extract-function.
1545 Make registers and delete-selection-mode work on rectangles.
1546 * register.el (describe-register-1): Don't modify the register's value.
1547 (copy-to-register): Obey region-extract-function.
1548 * delsel.el (delete-active-region): Obey region-extract-function.
1550 2013-12-08 Leo Liu <sdl.web@gmail.com>
1552 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1553 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1554 (flymake-compilation-prevents-syntax-check)
1555 (flymake-start-syntax-check-on-newline)
1556 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1557 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1558 (flymake-xml-program, flymake-master-file-dirs)
1559 (flymake-master-file-count-limit)
1560 (flymake-allowed-file-name-masks): Relocate.
1561 (flymake-makehash, flymake-float-time)
1562 (flymake-replace-regexp-in-string, flymake-split-string)
1563 (flymake-get-temp-dir): Remove.
1564 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1565 (flymake-current-row, flymake-selected-frame)
1566 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1567 related functions. (Bug#16077)
1569 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1571 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1573 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1575 * help-fns.el (describe-function-1): Use new advice-* functions
1576 rather than old ad-* functions. Fix function type description and
1577 source links for advised functions and subrs.
1579 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1581 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1583 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1585 * progmodes/compile.el (compilation-start):
1586 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1588 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1589 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1591 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1593 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1594 Touch up the last change.
1596 2013-12-06 Leo Liu <sdl.web@gmail.com>
1598 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1599 (inferior-octave-startup): Always use "octave> " for prompt.
1600 (octave-goto-function-definition)
1601 (octave-sync-function-file-names)
1602 (octave-find-definition-default-filename): Remove redundant backquotes.
1604 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1606 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1608 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1609 where appropriate already.
1610 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1611 end of method names (Bug#15874).
1613 2013-12-06 Juri Linkov <juri@jurta.org>
1615 * isearch.el (isearch--saved-overriding-local-map):
1616 New internal variable.
1617 (isearch-mode): Set it to the initial value of
1618 `overriding-terminal-local-map'.
1619 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1620 with `isearch--saved-overriding-local-map'. (Bug#16035)
1622 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1624 * progmodes/octave.el (inferior-octave-completion-table):
1625 Turn back into function, use `completion-table-with-cache'
1626 (Bug#11906). Update all references.
1628 * minibuffer.el (completion-table-with-cache): New function.
1630 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1632 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1634 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1636 * net/eww.el (eww-current-source): New variable to store page
1638 (eww-display-html, eww-mode, eww-save-history)
1639 (eww-restore-history): Use it.
1640 (eww-view-source): New command to view page source.
1641 Opportunistically uses `html-mode' to highlight the buffer.
1642 (eww-mode-map): Install it.
1644 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1646 * net/dbus.el (dbus-unregister-service)
1647 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1649 (dbus-unregister-service): Skip :serial entries in
1650 `dbus-registered-objects-table'.
1651 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1653 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1655 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1656 around keywords with extra `split-string' argument.
1658 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1660 * windmove.el (windmove-other-window-loc): Handle navigation
1661 between windows (excluding the minibuffer window - Bug#16017).
1663 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1665 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1666 in D-Bus type syntax.
1667 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1668 preserve unibyte strings. (Bug#16048)
1670 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1672 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1673 Call force-mode-line-update is the proper buffer (bug#16042).
1675 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1677 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1678 `log-edit-remember-comment', make argument optional. Adjust all
1680 (log-edit-mode): Add `log-edit-remember-comment' to
1681 `kill-buffer-hook' locally.
1682 (log-edit-kill-buffer): Don't remember comment explicitly since
1683 the buffer is killed anyway.
1685 2013-12-04 Juri Linkov <juri@jurta.org>
1687 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1688 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1690 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1692 * notifications.el (notifications-close-notification): Call the
1693 D-Bus method with ID being a `:uint32'. (Bug#16030)
1695 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1697 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1699 2013-12-03 Juri Linkov <juri@jurta.org>
1701 * progmodes/compile.el (compilation-start): Rename window alist
1702 entry `no-display-ok' to `allow-no-window'.
1704 * simple.el (shell-command): Add window alist entry
1705 `allow-no-window' to `display-buffer'.
1706 (async-shell-command): Doc fix.
1708 * window.el (display-buffer-no-window): New action function.
1709 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1711 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1713 * vc/log-edit.el (log-edit-set-header): Extract from
1714 `log-edit-toggle-header'.
1715 (log-edit-extract-headers): Separate the summary, when extracted
1716 from header, from the rest of the message with an empty line.
1718 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1719 line, if present, to the Summary header.
1721 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1723 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1724 in current-buffer (bug#16029).
1726 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1728 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1729 (debugger-mode-map): Bind it.
1730 (debugger--backtrace-base): New function.
1731 (debugger-eval-expression): Use it.
1732 (debugger-frame-number): Skip local vars when present.
1733 (debugger--locals-visible-p, debugger--insert-locals)
1734 (debugger--show-locals, debugger--hide-locals): New functions.
1736 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1738 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1740 (tramp-get-remote-locale): New defun.
1741 (tramp-open-connection-setup-interactive-shell): Use it.
1743 2013-12-02 Leo Liu <sdl.web@gmail.com>
1745 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1747 * progmodes/sh-script.el (sh-shell-process):
1748 * progmodes/octave.el (inferior-octave-process-live-p):
1749 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1750 (gdb-inferior-io-sentinel):
1751 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1753 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1755 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1756 `save-selected-window' to `log-edit-hide-buf'. This makes
1757 `log-edit-show-files' idempotent.
1758 (log-edit-show-files): Mark the new window as dedicated.
1760 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1762 * vc/log-edit.el (log-edit-mode-map): Add binding for
1763 `log-edit-kill-biffer'.
1764 (log-edit-hide-buf): Add a FIXME comment.
1765 (log-edit-add-new-comment): New function, extracted from
1767 (log-edit-done, log-edit-add-to-changelog): Use it.
1768 (log-edit-kill-buffer): New command.
1770 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1772 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1773 instead of killing the buffer.
1775 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1777 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1779 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1781 * net/eww.el (eww-form-checkbox-selected-symbol)
1782 (eww-form-checkbox-symbol): New customizable variable.
1783 (eww-form-checkbox, eww-toggle-checkbox):
1784 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1786 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1787 (shr--get-media-pref, shr--extract-best-source): New function.
1788 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1789 no :src tag was specified.
1791 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1792 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1793 Use \\` to match beginning of string instead of ^.
1794 (eww-browse-with-external-browser): Provide optional URL parameter.
1795 (eww-render): Set `eww-current-title' back to "".
1797 * net/shr.el (shr-tag-video): Display content for video if no
1798 poster is available.
1799 (shr-tag-audio): Add support for <audio> tag.
1801 * net/eww.el (eww-text-input-types): New const.
1802 (eww-process-text-input): Treat input types in
1803 `eww-text-input-types' as text.
1805 * net/shr.el (shr-tag-table): Fix comment typo.
1807 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1809 * net/eww.el (eww-follow-link): New command to avoid reloading
1810 pages when we follow #target links (bug#15243).
1811 (eww-quit): Special mode buffers shouldn't query before exiting.
1813 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1815 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1818 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1820 * net/eww.el (eww-restore-history): Update the window title after
1821 moving in the history.
1822 (eww-current-dom): New variable used to save the current DOM.
1824 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1826 * vc/log-edit.el (log-edit-mode-map): Add binding for
1827 `log-edit-beginning-of-line'.
1828 (log-edit-setup-add-author): New user option.
1829 (log-edit-beginning-of-line): New command.
1830 (log-edit): Move major mode call above the contents setup so that
1831 the local variable values are already applied.
1832 (log-edit): Only insert "Author: " when
1833 `log-edit-setup-add-author' is non-nil.
1834 (log-edit): When SETUP is non-nil, position point after ": "
1835 instead of point-min.
1837 2013-12-01 Glenn Morris <rgm@gnu.org>
1839 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1841 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1843 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1844 redisplay to make sure the initial frame gets a chance to become
1845 visible. (Bug#16014)
1847 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1849 Support resizing frames and windows pixelwise.
1850 * cus-start.el (frame-resize-pixelwise)
1851 (window-resize-pixelwise): New entries.
1852 * emacs-lisp/debug.el (debug): Use window-total-height instead
1853 of window-total-size.
1854 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1855 * help.el (describe-bindings-internal): Call help-buffer
1856 (temp-buffer-max-width): New option.
1857 (resize-temp-buffer-window, help-window-setup)
1858 (with-help-window): Rewrite.
1859 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1861 * window.el (frame-char-size, window-min-pixel-height)
1862 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1863 (window-min-pixel-width, window-safe-min-pixel-size)
1864 (window-combination-p, window-safe-min-size)
1865 (window-resizable-p, window--size-to-pixel)
1866 (window--pixel-to-size, window--resize-apply-p): New functions.
1867 (window-safe-min-height): Fix doc-string.
1868 (window-size, window-min-size, window--min-size-1)
1869 (window-sizable, window-sizable-p, window--min-delta-1)
1870 (window-min-delta, window--max-delta-1, window-max-delta)
1871 (window--resizable, window--resizable-p, window-resizable)
1872 (window-full-height-p, window-full-width-p, window-at-side-p)
1873 (window--in-direction-2, window-in-direction)
1874 (window--resize-reset-1, window--resize-mini-window)
1875 (window-resize, window-resize-no-error)
1876 (window--resize-child-windows-normal)
1877 (window--resize-child-windows, window--resize-siblings)
1878 (window--resize-this-window, window--resize-root-window)
1879 (window--resize-root-window-vertically)
1880 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1881 (maximize-window, minimize-window, delete-window)
1882 (quit-restore-window, window-split-min-size, split-window)
1883 (balance-windows-2, balance-windows)
1884 (balance-windows-area-adjust, balance-windows-area)
1885 (window--state-get-1, window-state-get, window--state-put-1)
1886 (window--state-put-2, window-state-put)
1887 (display-buffer-record-window, window--display-buffer):
1888 Make functions handle pixelwise sizing of windows.
1889 (display-buffer--action-function-custom-type)
1890 (display-buffer-fallback-action):
1891 Add display-buffer-in-previous-window.
1892 (display-buffer-use-some-window): Resize window to height it had
1894 (fit-window-to-buffer-horizontally): New option.
1895 (fit-frame-to-buffer): Describe new values.
1896 (fit-frame-to-buffer-bottom-margin): Replace with
1897 fit-frame-to-buffer-margins.
1898 (window--sanitize-margin): New function.
1899 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1900 using window-text-pixel-size.
1902 2013-11-30 Glenn Morris <rgm@gnu.org>
1904 * emacs-lisp/bytecomp.el (byte-compile-form):
1905 Make the `interactive-only' warning like the `obsolete' one.
1906 * comint.el (comint-run):
1907 * files.el (insert-file-literally, insert-file):
1908 * replace.el (replace-string, replace-regexp):
1909 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1910 (goto-line, insert-buffer, next-line, previous-line):
1911 Tweak `interactive-only' spec.
1913 Stop keeping (most) generated cedet grammar files in the repository.
1914 * Makefile.in (semantic): New.
1915 (compile-main): Depend on semantic.
1917 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1919 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1920 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1922 * uniquify.el (uniquify-buffer-name-style): Change default.
1924 * loadup.el: Preload "uniquify".
1926 * time.el (display-time-update): Update all mode lines (bug#15999).
1928 * electric.el (electric-indent-mode): Enable by default.
1929 * loadup.el: Preload "electric".
1931 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1933 * emacs-lisp/helpers.el (string-empty-p): New function.
1934 (string-blank-p): New function.
1936 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1938 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1941 2013-11-29 Andreas Politz <politza@fh-trier.de>
1942 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1943 allow non-lambda lists as functions.
1944 (imenu--in-alist): Don't recurse into non-subalists.
1945 (imenu): Don't pass function itself as an argument (Bug#14029).
1947 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1949 * progmodes/python.el (python-mode-map): Remove binding for ":".
1950 (python-indent-electric-colon): Remove command.
1951 (python-indent-post-self-insert-function): Integrate the previous code
1952 of python-indent-electric-colon. Make it conditional on
1953 electric-indent-mode.
1954 (python-mode): Add ?: to electric-indent-chars.
1955 Move python-indent-post-self-insert-function to the end of
1956 post-self-insert-hook.
1958 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1960 * doc-view.el (doc-view-goto-page): Update mode-line.
1962 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1964 2013-11-27 Glenn Morris <rgm@gnu.org>
1966 * international/charprop.el, international/uni-bidi.el:
1967 * international/uni-category.el, international/uni-combining.el:
1968 * international/uni-comment.el, international/uni-decimal.el:
1969 * international/uni-decomposition.el, international/uni-digit.el:
1970 * international/uni-lowercase.el, international/uni-mirrored.el:
1971 * international/uni-name.el, international/uni-numeric.el:
1972 * international/uni-old-name.el, international/uni-titlecase.el:
1973 * international/uni-uppercase.el:
1974 Remove generated files from VCS repository.
1976 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1978 * filenotify.el (file-notify-add-watch): Don't special-case
1979 w32notify when computing the directory to watch.
1981 2013-11-27 Glenn Morris <rgm@gnu.org>
1983 Make bootstrap without generated uni-*.el files possible again.
1984 * loadup.el: Update command-line-args checking for unidata-gen.
1985 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1986 * composite.el, international/characters.el:
1987 Handle unicode tables being undefined.
1989 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1990 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1991 (compile-main): Depend on leim rule.
1993 * loadup.el: Move leim-list.el to leim/ subdirectory.
1994 * startup.el (normal-top-level): No more leim directory.
1995 * international/ja-dic-cnv.el (skkdic-convert):
1996 Disable version-control and autoloads in output files.
1997 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1998 Disable version-control and autoloads in output files.
1999 * leim/quail: Move here from ../leim.
2000 * leim/quail/hangul.el (hangul-input-method-activate):
2001 Add autoload cookie.
2002 (generated-autoload-load-name): Set file-local value.
2003 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2004 (generated-autoload-load-name): Set file-local value.
2006 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2008 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2009 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2010 (eww-quit): Ask confirmation before quitting eww.
2012 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2014 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2015 reading output from Diff on MS-Windows and MS-DOS.
2017 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2019 * emacs-lisp/helpers.el (string-reverse): New function.
2021 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2023 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2024 names on MS Windows, like "/[::1]:".
2026 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2029 2013-11-26 Glenn Morris <rgm@gnu.org>
2031 * progmodes/python.el (python-indent-guess-indent-offset):
2032 Avoid corner-case error. (Bug#15975)
2034 Preload leim-list.el. (Bug#4789)
2035 * loadup.el: Load leim-list.el when found.
2036 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2038 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2040 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2042 * emacs-lisp/helpers.el (string-join): New function.
2044 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2046 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2047 Mark as obsolete and replace it with a symbol property.
2048 (byte-compile-form): Use new 'interactive-only property.
2049 * comint.el, files.el, replace.el, simple.el:
2050 Apply new 'interactive-only properly.
2052 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2054 * window.el (display-buffer-at-bottom): Make sure that
2055 split-window-sensibly creates the new window on bottom
2058 2013-11-23 David Kastrup <dak@gnu.org>
2060 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2061 on the conflict markers when available.
2062 (smerge--get-marker): New function.
2063 (smerge-end-re, smerge-base-re): Add subgroup.
2065 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2067 * frame.el (handle-focus-in, handle-focus-out): Add missing
2070 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2072 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2073 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2075 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2077 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2078 (gomoku--last-pos): New var.
2079 (gomoku--intangible-chars): New const.
2080 (gomoku--intangible): New function.
2081 (gomoku-mode): Use it. Derive from special-mode.
2082 (gomoku-move-up): Adjust line count.
2083 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2084 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2085 Simplify accordingly.
2087 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2088 Remove blink-cursor code.
2089 (blink-cursor-timer-function, blink-cursor-suspend):
2090 Don't special-case GUIs.
2091 (blink-cursor-mode): Use focus-in/out-hook.
2093 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2095 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2096 work when annotation is invisible (Bug#13886).
2098 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2100 * json.el (json-alist-p): Only return non-nil if the alist has
2101 simple keys (Bug#13518).
2103 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2105 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2106 when control-statement is the first statement in a buffer (Bug#15956).
2108 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2110 * imenu.el (imenu-generic-skip-comments-and-strings):
2111 New option (Bug#15560).
2112 (imenu--generic-function): Use it.
2114 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2116 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2119 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2121 * emacs-lisp/helpers.el: Add some string helpers.
2122 (string-trim-left): Removes leading whitespace.
2123 (string-trim-right): Removes trailing whitespace.
2124 (string-trim): Removes leading and trailing whitespace.
2126 * subr.el (string-suffix-p): New function.
2128 2013-11-23 Glenn Morris <rgm@gnu.org>
2130 * progmodes/python.el (python-shell-send-file):
2131 Add option to delete file when done. (Bug#15647)
2132 (python-shell-send-string, python-shell-send-region): Use it.
2134 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2136 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2137 to set buffer-read-only to t, never to nil. (Bug#15938)
2139 * textmodes/tex-mode.el (latex-noindent-environments):
2140 Add safe-local-variable property. (Bug#15936)
2142 2013-11-23 Glenn Morris <rgm@gnu.org>
2144 * textmodes/enriched.el (enriched-mode): Doc fix.
2145 * emacs-lisp/authors.el (authors-renamed-files-alist):
2146 Add enriched.doc -> enriched.txt.
2148 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2150 2013-11-22 Leo Liu <sdl.web@gmail.com>
2152 * progmodes/octave.el (inferior-octave-startup): Spit out error
2155 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2157 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2160 (ruby-encoding-magic-comment-style): Add :version.
2162 2013-11-22 Leo Liu <sdl.web@gmail.com>
2164 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2166 (octave-help-mode): Adapt to change to help-mode-finish to use
2167 derived-mode-p on 2013-09-17.
2168 (inferior-octave-prompt): Also match octave-gui.
2169 (octave-kill-process): Don't ask twice. (Bug#10564)
2171 2013-11-22 Leo Liu <sdl.web@gmail.com>
2173 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2174 (inferior-octave-startup, inferior-octave-check-process)
2175 (inferior-octave-track-window-width-change)
2176 (octave-completion-at-point, octave-eldoc-function): Use it.
2177 (octave-kill-process): Provide confirmation. (Bug#10564)
2179 2013-11-21 Leo Liu <sdl.web@gmail.com>
2181 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2182 Fix obsolete variable comment-use-global-state.
2184 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2186 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2187 Add `octave-source-file'.
2188 (octave-source-file): New function. (Bug#15935)
2190 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2192 * net/eww.el (eww-local-regex): New variable.
2193 (eww): Use it to detect localhost and similar.
2195 2013-11-21 Leo Liu <sdl.web@gmail.com>
2197 Add completion for command `ag'.
2198 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2199 (pcomplete/ag): New function.
2200 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2202 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2204 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2206 (make-obsolete): Remove interactive spec.
2208 2013-11-21 Glenn Morris <rgm@gnu.org>
2210 * startup.el (command-line-1): Use path-separator with -L.
2212 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2214 * emacs-lisp/package.el (describe-package-1): Add package archive
2217 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2219 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2220 Change default to "# encoding: %s" to differentiate it from the
2221 default Ruby encoding comment template.
2223 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2225 * ses.el (ses-mode): Doc fix. (Bug#14748)
2227 2013-11-20 Leo Liu <sdl.web@gmail.com>
2229 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2231 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2233 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2234 when rebase or bisect are in progress.
2236 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2238 * filenotify.el (file-notify-add-watch): Doc fix.
2240 2013-11-19 Leo Liu <sdl.web@gmail.com>
2242 * obsolete/rcompile.el: Mark obsolete.
2244 * progmodes/compile.el (compilation-start)
2245 (compilation-goto-locus, compilation-find-file):
2246 Pass no-display-ok and handle nil value from display-buffer.
2249 * window.el (display-buffer-alist, display-buffer): Document the
2250 new parameter no-display-ok. Return either a window or nil
2251 but never a non-window value.
2253 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2255 * electric.el (electric-indent-mode-map): Remove.
2256 (electric-indent-mode): Change the global-map instead (bug#15915).
2258 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2261 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2263 * emacs-lisp/nadvice.el (remove-function): Align with
2264 add-function's behavior.
2266 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2267 (gdb--string-regexp): New constant.
2268 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2269 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2270 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2272 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2273 Adjust use accordingly.
2274 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2276 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2278 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2279 interpolation curlies (Bug#15914).
2281 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2283 * calc/calc.el (calc-context-sensitive-enter): New variable.
2284 (calc-enter): Use `calc-context-sensitive-enter'.
2286 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2288 * progmodes/cfengine.el: Version bump.
2289 (cfengine-cf-promises): New defcustom to locate cf-promises.
2290 (cfengine3-vartypes): Add new "data" type.
2291 (cfengine3--current-word): New function to get current name-like
2293 (cfengine3--current-function): New function to look up a CFEngine
2294 function's definition.
2295 (cfengine3-format-function-docstring): New function.
2296 (cfengine3-make-syntax-cache): New function.
2297 (cfengine3-documentation-function): New function: ElDoc glue.
2298 (cfengine3-completion-function): New function: completion glue.
2299 (cfengine3-mode): Set `compile-command',
2300 `eldoc-documentation-function', and add to
2301 `completion-at-point-functions'.
2303 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2305 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2306 `tramp-current-connection'.
2308 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2310 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2311 nil/self/true/false with "end of symbol".
2313 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2315 * subr.el (version-regexp-alist): Fix a typo.
2317 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2319 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2320 "en_US.utf8" and "LC_CTYPE" to "".
2321 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2322 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2324 2013-11-15 Leo Liu <sdl.web@gmail.com>
2326 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2328 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2330 * progmodes/gud.el (ctl-x-map):
2331 Remove C-x SPC binding. (Bug#12342)
2332 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2334 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2336 * subr.el (version-regexp-alist):
2337 Recognize hg, svn and darcs versions as snapshot versions.
2339 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2340 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2341 (ruby--encoding-comment-required-p): Extract from
2342 `ruby-mode-set-encoding'.
2343 (ruby-mode-set-encoding): Add the ability to always insert an
2344 utf-8 encoding comment. Fix and simplify coding comment update
2347 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2349 * net/tramp-gvfs.el (top): Run init code only when
2350 `tramp-gvfs-enabled' is not nil.
2351 (tramp-gvfs-enabled): Check also :system bus.
2353 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2355 Sync with upstream verilog-mode revision 78e66ba.
2356 * progmodes/verilog-mode.el (verilog-end-of-defun)
2357 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2358 (verilog-get-end-of-defun): Remove unused argument.
2359 (verilog-comment-depth): Remove unused local `e'.
2360 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2361 Don't pass arg to verilog-get-end-of-defun.
2363 2013-11-14 Glenn Morris <rgm@gnu.org>
2365 * obsolete/assoc.el (aget): Prefix dynamic variable.
2367 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2369 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2371 * widget.el, hfy-cmap.el: Remove bogus package version number.
2373 2013-11-13 Glenn Morris <rgm@gnu.org>
2375 * replace.el (replace-eval-replacement):
2376 Try to give more helpful error message. (Bug#15836)
2378 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2379 (archive-7z-update): Avoid custom type mismatches.
2381 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2383 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2385 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2386 address can be empty.
2388 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2389 Accept nil SWITCHES.
2390 (tramp-gvfs-handle-write-region): Implement APPEND.
2392 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2394 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2395 binary "|" operator and closing block args delimiter.
2396 Remove FIXME comment referring to Ruby 1.8-only syntax.
2397 (ruby-smie--implicit-semi-p): Not after "|" operator.
2398 (ruby-smie--closing-pipe-p): New function.
2399 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2400 (ruby-smie-rules): Indent after "|".
2402 2013-11-12 Glenn Morris <rgm@gnu.org>
2404 * ps-print.el (ps-face-attribute-list):
2405 Handle anonymous faces. (Bug#15827)
2407 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2409 * window.el (display-buffer-other-frame): Fix doc-string.
2412 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2414 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2416 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2418 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2419 (tramp-sh-handle-file-local-copy): Don't write a message when
2420 saving temporary files.
2422 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2423 both directories are remote.
2424 (tramp-smb-handle-directory-files): Do not return double entries.
2425 Do not expand full file names.
2426 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2427 (tramp-smb-handle-write-region): Implement APPEND.
2428 (tramp-smb-get-stat-capability): Fix a stupid bug.
2430 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2432 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2434 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2436 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2437 throwing error over malformed let/let* (bug#15814).
2439 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2441 * iswitchb.el (iswitchb-mode): Mark obsolete.
2443 2013-11-11 Glenn Morris <rgm@gnu.org>
2445 * international/uni-bidi.el, international/uni-category.el:
2446 * international/uni-name.el, international/uni-numeric.el:
2447 Regenerate for Unicode 6.3.0.
2449 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2451 * net/tramp.el (tramp-methods):
2452 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2453 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2455 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2457 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2458 Force highlighting text after Summary keyword in doc face for rpm.
2460 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2462 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2463 available and the word has no wildcards, append one to the grep pattern.
2464 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2465 (ispell-complete-word): Call `ispell-lookup-words' with the value
2466 independent of `ispell-look-p'.
2468 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2470 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2472 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2475 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2477 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2478 (ruby-font-lock-keywords): Use backquote.
2480 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2482 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2483 (ruby-smie--backward-token): Only consider full-string matches.
2485 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2487 * faces.el (describe-face): Add distant-foreground.
2489 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2491 * progmodes/ruby-mode.el: Improve encoding comment handling.
2492 (ruby-encoding-magic-comment-style): New option.
2493 (ruby-custom-encoding-magic-comment-template): New option.
2494 (ruby--insert-coding-comment, ruby--detect-encoding):
2495 New functions extracted from `ruby-mode-set-encoding'.
2496 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2497 to control the style of the auto-inserted encoding comment.
2499 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2501 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2502 Use `smie-backward-sexp' with token argument.
2504 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2506 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2507 Remove instrumentation code.
2509 2013-11-08 Glenn Morris <rgm@gnu.org>
2511 * progmodes/autoconf.el (autoconf-mode):
2512 Tweak comment-start-skip. (Bug#15822)
2514 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2516 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2517 at bobp (bug#15826).
2518 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2520 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2522 * man.el (Man-start-calling): New macro, extracted from
2523 Man-getpage-in-background.
2524 (Man-getpage-in-background): Use it.
2525 (Man-update-manpage): New command.
2526 (Man-mode-map): Bind it.
2528 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2530 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2531 of "and", "or", "&&" and "||".
2532 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2533 argument. Prohibit opening curly brace because it could only be a
2534 block opener in that position.
2535 (ruby-smie--forward-token, ruby-smie--backward-token):
2536 Separate "|" from "&" or "*" going after it. That can happen in block
2538 (ruby-smie--indent-to-stmt): New function, seeks the end of
2539 previous statement or beginning of buffer.
2540 (ruby-smie-rules): Use it.
2541 (ruby-smie-rules): Check if there's a ":" before a curly block
2542 opener candidate; if there is, it's a hash.
2544 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2546 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2547 (cl--block-wrapper): Fix last accidental change.
2549 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2551 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2552 Instrument, in order to hunt failure on hydra.
2554 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2556 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2557 malformed bindings form (bug#15814).
2559 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2561 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2562 "." compared to " @ ". This incidentally fixes some indentation
2564 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2565 (ruby-smie-grammar): New tokens: "and" and "or".
2566 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2567 Exclude "and" and "or". Remove "do" in order to work around token
2569 (ruby-smie-rules): Add all infix tokens. Handle the case of
2570 beginning-of-buffer.
2572 2013-11-06 Glenn Morris <rgm@gnu.org>
2574 * Makefile.in (setwins_almost, setwins_for_subdirs):
2575 Avoid accidental matches.
2577 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2579 * menu-bar.el (popup-menu): Use key-binding.
2581 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2583 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2584 menus, support also the menus produced by minor modes.
2587 2013-11-06 Leo Liu <sdl.web@gmail.com>
2589 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2590 DISTANCE to bound the search. All uses changed. (Bug#15808)
2592 2013-11-06 Glenn Morris <rgm@gnu.org>
2594 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2595 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2596 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2598 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2600 * electric.el (electric-indent-just-newline): New command.
2601 (electric-indent-mode-map): New keymap.
2602 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2603 Re-add :group which weren't redundant.
2605 * electric.el (electric-indent-local-mode): New minor mode.
2606 (electric-indent-functions-without-reindent): New var.
2607 (electric-indent-post-self-insert-function): Use it.
2608 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2610 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2612 * international/quail.el (quail-help): Be more explicit about the
2613 meaning of the labels shown on the keys. (Bug#15800)
2615 * startup.el (normal-top-level): Load the subdirs.el files before
2616 setting the locale environment. (Bug#15805)
2618 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2620 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2621 via arguments so as to get the right ones (bug#15418).
2623 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2625 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2627 Fix problems found while writing a test suite.
2629 * net/tramp-compat.el (tramp-compat-load): New defun.
2630 * net/tramp.el (tramp-handle-load): Use it.
2632 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2633 "(numberp ok-if-already-exists)" correctly.
2635 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2637 * international/characters.el (glyphless-char-display-control):
2640 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2642 * progmodes/python.el (python-mode):
2643 * progmodes/scheme.el (scheme-mode):
2644 * progmodes/prolog.el (prolog-mode):
2645 * progmodes/ruby-mode.el (ruby-mode):
2646 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2647 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2649 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2651 * rect.el (rectangle--highlight-for-redisplay):
2652 * emacs-lisp/smie.el (smie--next-indent-change):
2653 Use buffer-chars-modified-tick.
2655 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2657 * electric.el (electric-indent-post-self-insert-function):
2658 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2660 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2662 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2664 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2666 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2669 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2671 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2673 * progmodes/python.el: Fix up last change.
2674 (python-shell--save-temp-file): New function.
2675 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2676 `string' comes from the current buffer.
2677 (python-shell-send-string-no-output): Remove `msg' arg.
2678 (python--use-fake-loc): New var.
2679 (python-shell-buffer-substring): Obey it. Try to compensate for the
2680 extra coding line added by python-shell--save-temp-file.
2681 (python-shell-send-region): Use python-shell--save-temp-file and
2682 python-shell-send-file directly. Add `nomain' argument.
2683 (python-shell-send-buffer): Use python-shell-send-region.
2684 (python-electric-pair-string-delimiter): New function.
2685 (python-mode): Use it.
2687 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2689 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2690 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2691 environment and decoding all of the default-directory's to here
2693 (command-line): Decode also argv[0].
2695 * loadup.el: Error out if default-directory is a multibyte string
2696 when we are dumping.
2698 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2700 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2702 * emacs-lisp/package.el (package-menu-mode)
2703 (package-menu--print-info, package-menu--archive-predicate):
2704 Add Archive column to package list.
2706 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2708 Fix problems found while writing a test suite.
2710 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2711 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2712 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2713 to nil when running original file name handler. Otherwise,
2714 there are problems with constructs like "$$FOO".
2716 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2719 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2721 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2723 * subr.el (version<, version<=, version=):
2724 Update docstrings with information for snapshot versions.
2726 * helpers.el: New library for misc helper functions.
2727 (hash-table-keys): New function returning a list of hash keys.
2728 (hash-table-values): New function returning a list of hash values.
2730 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2732 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2733 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2735 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2737 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2738 checking whether point is after a 1-letter word.
2740 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2742 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2743 Don't infloop when expanding region over `multiline' syntax-type that
2744 begins a line (bug#15778).
2746 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2748 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2749 Make it into a proper minor mode.
2750 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2751 (rectangle-mark-mode-map): New keymap.
2752 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2754 2013-11-04 Glenn Morris <rgm@gnu.org>
2756 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2758 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2760 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2761 (ruby-smie-rules): Use smie-rule-parent instead.
2763 * emacs-lisp/smie.el (smie-rule-parent): Always call
2764 smie-indent-virtual rather than only for hanging tokens.
2765 (smie--next-indent-change): New helper command.
2767 2013-11-03 Glenn Morris <rgm@gnu.org>
2769 * Makefile.in (abs_srcdir): Remove.
2770 (emacs): Unset EMACSLOADPATH.
2772 2013-11-02 Glenn Morris <rgm@gnu.org>
2774 * Makefile.in (EMACS): Use a relative filename.
2775 (abs_top_builddir): Remove.
2776 (custom-deps, finder-data, autoloads): Use --chdir.
2778 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2780 Use relative filenames in TAGS files.
2781 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2782 (lisptagsfiles4, TAGS): Use relative file names.
2783 (TAGS-LISP): Remove.
2784 (maintainer-clean): No more TAGS-LISP file.
2786 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2787 (lisptagsfiles4): Use absolute filenames again.
2788 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2789 Remove all *loaddefs files, not just the first. Remove esh-groups.
2790 (maintainer-clean): Delete TAGS, TAGS-LISP.
2792 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2794 * emacs-lisp/package.el (package-version-join):
2795 Recognize snapshot versions.
2797 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2799 * subr.el (version-regexp-alist): Add support for snapshot versions.
2801 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2803 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2804 New function, replacement for `smie-rule-parent' for when we want to
2805 skip over our direct parent if it's an assignment token..
2806 (ruby-smie-rules): Use it.
2808 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2810 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2811 unconditionally. Remove now unnecessary forward declarations.
2812 Remove XEmacs-specific setup.
2813 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2814 (ruby-font-lock-syntactic-keywords)
2815 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2816 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2817 (ruby-here-doc-end-syntax): Remove.
2818 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2819 defined as function.
2821 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2823 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2825 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2827 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2828 table and abbrev table, `define-derived-mode' does that for us
2831 2013-11-01 Glenn Morris <rgm@gnu.org>
2833 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2834 files is atomic for some time, so no parallel compilation issues).
2836 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2838 * faces.el (face-x-resources): Add :distant-foreground.
2839 (region): Use :distant-foreground for gtk and ns.
2841 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2843 Allow multiple bibliographies when BibLaTeX is used rather than
2845 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2846 (reftex-locate-bibliography-files): Us it.
2848 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2850 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2851 allow comments in pbm files.
2853 * term/w32-win.el (dynamic-library-alist): Support newer versions
2854 of libjpeg starting with v7: look only for the DLL from the
2855 version against which Emacs was built.
2856 Support versions of libpng beyond 1.4.x.
2857 Support libtiff v4.x.
2859 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2861 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2862 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2864 (ruby-deep-arglist): Add property :type.
2866 2013-10-31 Glenn Morris <rgm@gnu.org>
2868 * Makefile.in (custom-deps, finder-data): No need to setq the target
2869 variables, we are in the right directory and the defaults work fine.
2871 2013-10-30 Glenn Morris <rgm@gnu.org>
2873 * Makefile.in (autoloads): Do not use abs_lisp.
2875 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2876 `newline' does not respect `standard-output', so use `princ'.
2878 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2880 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2881 * buff-menu.el (Buffer-menu--unmark): New function.
2882 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2884 2013-10-30 Glenn Morris <rgm@gnu.org>
2886 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2888 * emacs-lisp/package.el (lm-homepage): Declare.
2890 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2893 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2895 * Makefile.in (finder-data, autoloads, update-subdirs)
2896 (compile-main, compile-clean, compile-always, bootstrap-clean):
2897 Check return value of cd.
2898 (compile-calc): Remove.
2900 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2902 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2904 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2905 (byte-compile-and-folded): New function.
2906 (=, <, >, <=, >=): Use it.
2908 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2909 (path-separator, null-device, buffer-file-coding-system)
2910 (lpr-headers-switches): Check system-type before modifying them.
2911 (find-buffer-file-type-coding-system): Mark obsolete.
2912 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2913 find-file-not-found-set-buffer-file-coding-system.
2914 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2915 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2916 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2917 (w32-direct-print-region-helper, w32-direct-print-region-function)
2918 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2919 * startup.el (normal-top-level-add-subdirs-to-load-path):
2920 * ps-print.el (ps-print-region-function):
2921 * lpr.el (print-region-function): Use new name.
2923 * subr.el (custom-declare-variable-early): Remove function.
2924 (custom-declare-variable-list): Remove var.
2925 (error, user-error): Remove `while' loop.
2926 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2927 (user-emacs-directory-warning, locate-user-emacs-file):
2929 * simple.el (read-quoted-char-radix, read-quoted-char):
2930 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2932 * custom.el (custom-declare-variable-list): Don't process
2933 custom-declare-variable-list.
2935 * progmodes/python.el (python-shell-get-buffer): New function.
2936 (python-shell-get-process): Use it.
2937 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2938 Python which encoding was used. Don't split-string since we only care
2939 about the first line. Return the temp-file, if applicable.
2940 (python-shell-send-region): Tell compile.el how to turn locations in
2941 the temp-file into locations in the source buffer.
2943 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2945 * subr.el (undefined): Add missing behavior from the C code for
2948 * rect.el: Use lexical-binding. Add new rectangular region support.
2949 (rectangle-mark): New command.
2950 (rectangle--region): New var.
2951 (deactivate-mark-hook): Reset rectangle--region.
2952 (rectangle--extract-region, rectangle--insert-for-yank)
2953 (rectangle--highlight-for-redisplay)
2954 (rectangle--unhighlight-for-redisplay): New functions.
2955 (region-extract-function, redisplay-unhighlight-region-function)
2956 (redisplay-highlight-region-function): Use them to handle
2958 * simple.el (region-extract-function): New var.
2959 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2960 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2961 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2962 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2963 (redisplay-unhighlight-region-function)
2964 (redisplay-highlight-region-function): New vars.
2965 (redisplay--update-region-highlight): New function.
2966 (pre-redisplay-function): Use it.
2967 (exchange-point-and-mark): Don't deactivate the mark before
2968 reactivate-it anyway.
2969 * comint.el (comint-kill-region): Remove yank-handler argument.
2970 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2971 (delete-char): Remove property, since it's now part of their
2973 (self-insert-iso): Remove property since this command doesn't exist.
2975 * emacs-lisp/package.el (package--download-one-archive)
2976 (describe-package-1): Don't query the user about final newline.
2978 2013-10-29 Daniel Colascione <dancol@dancol.org>
2980 * net/tramp.el (tramp-methods): Document new functionality.
2981 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2982 tramp-hostname-checker if method provides one instead of scanning
2983 argument list for "%h" to decide hostname acceptability.
2985 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2987 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2988 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2989 Handle COPY-CONTENTS. (Bug#15737)
2991 2013-10-28 Daiki Ueno <ueno@gnu.org>
2994 (epa-file-cache-passphrase-for-symmetric-encryption):
2995 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2997 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2999 * image.el (defimage):
3000 (image-load-path): Doc fixes.
3002 2013-10-27 Alan Mackenzie <acm@muc.de>
3004 Indent statements in macros following "##" correctly.
3005 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3006 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3008 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3010 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3012 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3014 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3015 after `=' is probably a new expression.
3017 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3019 * man.el (man-imenu-title): New option.
3020 (Man-mode-map): Add menu. (Bug#15722)
3021 (Man-mode): Add imenu to menu.
3023 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3025 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3026 specific in what the first arg can be: a non-keyword word,
3027 string/regexp/percent literal opener, opening paren, or unary
3028 operator followed directly by word.
3030 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3032 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3033 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3034 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3035 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3036 Remove vars, they do not apply any more.
3037 (prolog-mode-abbrev-table): Remove redundant declaration.
3038 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3039 (prolog-use-smie): Remove.
3040 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3041 supported by prolog-electric-if-then-else-flag.
3042 (prolog-mode-variables, prolog-menu): Use setq-local.
3043 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3044 Remove binding to `Backspace' since this key doesn't exist anyway.
3045 Remove bindings for electric self-inserting keys.
3046 (prog-mode): Assume it's defined.
3047 (prolog-post-self-insert): New function.
3048 (prolog-mode): Use it.
3049 (prolog-indent-line, prolog-indent-level)
3050 (prolog-find-indent-of-matching-paren)
3051 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3052 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3053 (prolog-goto-next-paren, prolog-in-string-or-comment)
3054 (prolog-tokenize, prolog-inside-mline-comment)
3055 (prolog-find-start-of-mline-comment): Remove functions.
3056 (prolog-find-unmatched-paren, prolog-clause-end)
3057 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3058 (prolog-electric--if-then-else): Rename from
3059 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3060 (prolog-tokenize-searchkey): Remove const.
3061 (prolog-clause-info): Use forward-sexp.
3062 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3063 (prolog-electric-if-then-else): Remove commands.
3064 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3065 for use in post-self-insert-hook.
3066 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3067 for use in post-self-insert-hook.
3068 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3069 for use in post-self-insert-hook.
3070 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3071 adapt it for use in post-self-insert-hook.
3073 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3075 * emacs-lisp/ert.el (ert-run-tests-interactively):
3076 Use `completing-read'. (Bug#9756)
3078 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3080 * simple.el (line-move): Call line-move-1 instead of
3081 line-move-visual when the current window hscroll is zero, but
3082 temporary-goal-column indicates we will need to hscroll as result
3083 of the movement. (Bug#15712)
3085 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3087 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3088 capitalization. Use :visible instead of :active.
3089 Fix `ruby-indent-exp' reference. Add menu items for the generic
3090 commands that are used with SMIE.
3091 (ruby-do-end-to-brace): Insert space after `{'.
3093 2013-10-25 John Anthony <john@jo.hnanthony.com>
3095 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3097 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3099 2013-10-25 Glenn Morris <rgm@gnu.org>
3101 * vc/vc.el (vc-print-log): Don't use a working revision unless
3102 one was explicitly specified. (Bug#15322)
3104 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3106 * subr.el (add-to-list): Preserve return value in compiler-macro
3109 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3111 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3112 result. Ask user to retry using '-all' flag. (Bug#15701)
3114 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3116 * emacs-lisp/smie.el: New smie-config system.
3117 (smie-config): New defcustom.
3118 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3119 (smie-config-guess, smie-config-save): New commands.
3120 (smie-config--mode-local, smie-config--buffer-local)
3121 (smie-config--trace, smie-config--modefuns): New vars.
3122 (smie-config--advice, smie-config--mode-hook)
3123 (smie-config--setter, smie-config-local, smie-config--get-trace)
3124 (smie-config--guess-value, smie-config--guess): New functions.
3125 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3126 text properties. Treat "string fence" syntax like string syntax.
3128 * progmodes/sh-script.el (sh-use-smie): Change default.
3129 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3130 (sh-var-value): Simplify by CSE.
3131 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3132 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3134 (sh-guess-basic-offset): Use cl-incf.
3135 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3137 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3139 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3142 2013-10-24 Glenn Morris <rgm@gnu.org>
3144 * Makefile.in (abs_top_srcdir): Remove.
3145 (update-subdirs): Use relative path to update-subdirs.
3147 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3149 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3150 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3151 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3152 Call unmsys--file-name before expand-file-name, not after it.
3154 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3156 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3157 (ert-test-skipped): New error.
3158 (ert-skip, ert-stats-skipped): New defuns.
3159 (ert--skip-unless): New macro.
3160 (ert-test-skipped): New struct.
3161 (ert--run-test-debugger, ert-test-result-type-p)
3162 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3163 (ert--stats-set-test-and-result, ert-char-for-test-result)
3164 (ert-string-for-test-result, ert-run-tests-batch)
3165 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3166 Handle skipped tests. (Bug#9803)
3168 2013-10-24 Glenn Morris <rgm@gnu.org>
3170 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3172 * Makefile.in (abs_top_srcdir): New, set by configure.
3173 (update-subdirs): Correct build-aux location.
3175 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3177 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3178 value, whether we could auto-deduce `backend', or not.
3180 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3181 with parameters" example. Simplify the "is it block or is it
3182 hash" check, but also make it more thorough.
3184 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3186 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3188 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3190 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3193 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3196 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3198 * progmodes/compile.el (compilation-directory-matcher)
3199 (compilation-page-delimiter):
3200 Support GNU Make-4.0 directory quoting. (Bug#15678)
3202 2013-10-23 Leo Liu <sdl.web@gmail.com>
3204 * ido.el (ido-tidy): Handle read-only text.
3206 2013-10-23 Glenn Morris <rgm@gnu.org>
3208 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3209 (emacs, compile, compile-always):
3210 Quote entities that might contain whitespace.
3211 (custom-deps, finder-data, autoloads): Use abs_lisp.
3212 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3213 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3214 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3216 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3218 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3219 Use `following-char'.
3221 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3223 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3224 * progmodes/ruby-mode.el (ruby-smie-rules):
3225 Remove corresponding workaround. Fix indentation rule of ";" so it
3226 also applies when ";" is the parent.
3228 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3230 * frame.el (display-screens, display-pixel-height)
3231 (display-pixel-width, display-mm-width, display-backing-store)
3232 (display-save-under, display-planes, display-color-cells)
3233 (display-visual-class, display-monitor-attributes-list):
3234 Mention the optional ‘display’ argument in doc strings.
3236 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3238 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3239 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3241 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3243 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3244 TODO. Add "." after " @ ".
3245 (ruby-smie--at-dot-call): New function. Checks if point at method
3246 call with explicit target.
3247 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3248 to the method name tokens when it precedes them.
3249 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3250 (ruby-smie-rules): Add rule for indentation before and after "."
3253 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3255 * textmodes/remember.el (remember-diary-extract-entries):
3258 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3261 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3263 * progmodes/ruby-mode.el (ruby-smie-grammar):
3264 Add (almost) all infix operators.
3265 (ruby-smie--implicit-semi-p): Add new operator chars.
3267 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3269 (ruby-smie--args-separator-p): Check that there's no newline
3270 between method call and its arguments.
3272 2013-10-20 Alan Mackenzie <acm@muc.de>
3274 Allow comma separated lists after Java "implements".
3276 * progmodes/cc-engine.el (c-backward-over-enum-header):
3278 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3279 from a "disallowed" list in enum fontification.
3281 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3283 * startup.el (default-frame-background-mode): Remove unused defvar.
3285 * progmodes/verilog-mode.el (verilog-mode): Don't set
3286 comment-indent-function globally.
3288 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3290 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3291 Move Info menu item creation to ns-win.el.
3293 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3296 * menu-bar.el: Move GNUStep specific menus...
3298 * term/ns-win.el (ns-initialize-window-system): ... to here.
3300 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3302 * simple.el (newline): Only run post-self-insert-hook when
3303 called interactively.
3305 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3307 * icomplete.el (icomplete-with-completion-tables): Add :version.
3309 2013-10-19 Alan Mackenzie <acm@muc.de>
3311 Fix fontification bugs with constructors and const.
3313 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3314 CASE 2) Remove the check for the absence of a suffix construct
3315 after a function declaration with only types (no identifiers) in
3316 the parentheses. Also, accept a function declaration with just a
3317 type inside the parentheses, if this type can be positively
3318 recognised as such, or if a prefix keyword like "explicit" nails
3319 down the construct as a declaration.
3321 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3323 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3324 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3325 the problem whereby selecting a menu item that leads to a
3326 minibuffer prompt moves the cursor out of the minibuffer window,
3327 making it hard to type at the prompt. Suggested by Stefan Monnier
3328 <monnier@iro.umontreal.ca>.
3330 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3332 * menu-bar.el: Don't make Services menu.
3334 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3336 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3337 (ffap-alist): Use ffap-c++-mode for c++-mode.
3338 (ffap-c++-path): New variable.
3339 (ffap-c++-mode): New function.
3341 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3343 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3345 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3347 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3348 introduced on 2013-09-08, which results in an infinite loop
3349 requesting a password.
3351 2013-10-18 Glenn Morris <rgm@gnu.org>
3353 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3355 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3357 Sync with upstream verilog-mode revision 1a6ecec7.
3358 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3359 (verilog-mode-release-date): Remove.
3360 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3361 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3362 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3363 (verilog-auto-tieoff-ignore-regexp)
3364 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3365 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3366 (verilog-signals-with, verilog-dir-cache-preserving)
3367 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3369 (verilog-case-fold): New option, to control case folding in
3370 regexp searches, bug597.
3371 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3372 (verilog-string-match-fold, verilog-in-paren-count)
3373 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3374 (verilog-at-close-struct-p): New functions.
3375 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3376 (verilog-forward-sexp, verilog-set-auto-endcomments):
3377 (verilog-leap-to-case-head): Handle "unique0" case.
3378 (verilog-in-constraint-re): New constant.
3379 (verilog-keywords, verilog-type-font-keywords):
3380 Add some SystemVerilog 1800-2012 keywords.
3381 (verilog-label-be): Remove unimplemented argument, bug669.
3382 (verilog-batch-execute-func): When batch expanding clear
3383 create-lockfiles to prevent spurious user locks when a file ends
3385 (verilog-calculate-indent, verilog-calc-1)
3386 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3387 (verilog-do-indent): Fix indentation of nested constraints
3389 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3390 (verilog-auto-inst-param): Use verilog-string-match-fold.
3391 (verilog-read-inst-module-matcher):
3392 Fix AUTOINST on gate primitives with #1.
3393 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3394 Reads all user-defined typed variables.
3395 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3396 (verilog-signals-matching-regexp)
3397 (verilog-signals-not-matching-regexp, verilog-auto):
3398 Respect verilog-case-fold.
3399 (verilog-diff-report): Fix line count.
3400 (verilog-auto-assign-modport): Remove unused local `modi'.
3401 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3402 better handle multidimensional arrays.
3403 Fix packed array ports misadding bit index in AUTOINST, bug637.
3404 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3405 to not double-declare existing outputs and inputs, respectively.
3406 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3407 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3408 (verilog-sk-uvm-component): New skeleton.
3409 (verilog-submit-bug-report): Add verilog-case-fold,
3410 remove verilog-mode-release-date.
3412 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3414 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3417 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3419 * textmodes/remember.el (remember): Set buffer-offer-save in
3420 remember buffers (bug#13566).
3422 2013-10-18 Daniel Colascione <dancol@dancol.org>
3424 When evaluating forms in ielm, direct standard output to ielm
3425 buffer. Add new ielm-return-for-effect command. Remove trailing
3426 whitespace throughout.
3428 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3429 (ielm-return-for-effect): New command.
3430 (ielm-send-input): Accept optional `for-effect' parameter.
3431 (ielm-eval-input): Accept optional `for-effect' parameter.
3432 Bind `standard-output' to stream we create using
3433 `ielm-standard-output-impl'. Suppress printing result when
3435 (ielm-standard-output-impl): New function.
3436 (inferior-emacs-lisp-mode): Explain new features in documentation.
3438 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3442 * net/tramp.el (tramp-debug-message): Do not check for connection
3444 (tramp-message): Use "vector" connection property.
3446 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3447 (tramp-equal-remote, tramp-eshell-directory-change)
3448 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3449 (tramp-adb-handle-rename-file)
3450 * net/tramp-cmds.el (tramp-list-remote-buffers)
3451 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3452 * net/tramp-compat.el (tramp-compat-process-running-p)
3453 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3454 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3455 (tramp-gvfs-handle-rename-file)
3456 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3457 (tramp-set-file-uid-gid)
3458 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3459 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3462 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3463 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3464 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3465 (tramp-gw-open-network-stream): Suppress unrelated traces.
3467 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3468 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3469 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3470 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3471 connection property.
3473 * net/tramp-cache.el (top): Suppress traces when reading
3476 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3477 Refactor common code. Improve debug message.
3478 (tramp-maybe-open-connection)
3479 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3480 connection buffer too early.
3482 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3483 from `tramp-smb-actions-with-acl'.
3484 (tramp-smb-actions-set-acl): New defconst.
3485 (tramp-smb-handle-copy-directory)
3486 (tramp-smb-action-get-acl): New defun, renamed from
3487 `tramp-smb-action-with-acl'.
3488 (tramp-smb-action-set-acl): New defun.
3489 (tramp-smb-handle-set-file-acl): Rewrite.
3491 2013-10-17 Glenn Morris <rgm@gnu.org>
3493 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3495 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3497 * skeleton.el (skeleton-newline): Remove.
3498 (skeleton-internal-1): Use (insert "\n") instead.
3500 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3503 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3504 forward-sexp-function while we redo its job (bug#15613).
3506 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3508 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3509 represented by lists.
3511 2013-10-16 Glenn Morris <rgm@gnu.org>
3513 * tmm.el (tmm--history): New dynamic variable.
3514 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3516 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3518 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3519 (tramp-smb-errors): Add error messages.
3520 (tramp-smb-actions-with-acl): New defconst.
3521 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3522 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3523 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3524 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3525 (tramp-smb-get-stat-capability): Fix tests.
3527 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3529 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3532 2013-10-16 Glenn Morris <rgm@gnu.org>
3534 * ansi-color.el (ansi-color-drop-regexp):
3535 Add 1J, 1K, 2K. (Bug#15617)
3537 * files.el (hack-local-variables--warned-lexical): New.
3538 (hack-local-variables):
3539 Warn about misplaced lexical-binding. (Bug#15616)
3541 * net/eww.el (eww-render): Always set eww-current-url,
3542 and update header line. (Bug#15622)
3543 (eww-display-html): ... Rather than just doing it here.
3545 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3547 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3548 menu navigations commands.
3550 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3552 * progmodes/subword.el (subword-capitalize): Be careful when
3553 the search for [[:alpha:]] fails (bug#15580).
3555 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3557 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3558 to commands that scroll the menu.
3560 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3562 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3563 Handle methods ending with `?' and `!'.
3565 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3567 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3568 `japanese-cp932' to `cp932' to fix the problem where saving a
3569 source file written in Shift_JIS twice would end up having
3570 `coding: japanese-cp932' which Ruby could not recognize.
3571 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3572 in `ruby-encoding-map'.
3573 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3574 doesn't need to be explicitly declared in magic comment.
3575 (ruby-encoding-map): Add type declaration for better customize UI.
3577 2013-10-13 Glenn Morris <rgm@gnu.org>
3579 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3580 Occur buffers are read-only. http://bugs.debian.org/720775
3582 * emacs-lisp/authors.el (authors-fixed-entries):
3583 Comment out old alpha stuff.
3585 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3587 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3588 to `after-save-hook' instead of `before-save-hook'.
3589 (ruby-mode-set-encoding): Use the value of coding system used to
3590 write the file. Call `basic-save-buffer-1' after modifying the
3593 2013-10-13 Alan Mackenzie <acm@muc.de>
3595 Fix indentation/fontification of Java enum with
3596 "implements"/generic.
3598 * progmodes/cc-engine.el (c-backward-over-enum-header):
3599 Extracted from the three other places and enhanced to handle generics.
3600 (c-inside-bracelist-p): Uses new function above.
3601 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3603 (c-font-lock-enum-tail): Uses new function above.
3605 2013-10-13 Kenichi Handa <handa@gnu.org>
3607 * international/mule-cmds.el (select-safe-coding-system): Remove a
3608 superfluous condition in chekcing whether a coding system is safe
3611 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3613 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3615 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3617 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3619 2013-10-13 Glenn Morris <rgm@gnu.org>
3621 * menu-bar.el (menu-bar-update-buffers):
3622 Unify Buffers menu prompt string. (Bug#15576)
3624 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3626 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3628 (authors-fixed-entries): Use accented form of name.
3630 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3632 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3633 method calls (bug#15594).
3634 (ruby-smie--args-separator-p): New function.
3635 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3636 recognize paren-free method calls.
3638 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3639 internals of universal-argument.
3641 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3643 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3644 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3645 dropped menu on second mouse click on the menu bar.
3647 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3649 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3650 (explicit-shell-file-name): Declare.
3651 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3652 (sh-completion-at-point-function): New function.
3654 (sh-smie--keyword-p): Remove unused argument.
3655 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3657 (sh-set-shell): Always setup SMIE, even if we use the
3658 old indentation code.
3660 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3662 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3664 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3665 predicate would return nil are almost non-existent.
3666 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3668 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3669 cache also after commands that modify the buffer but don't move
3672 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3674 * env.el (substitute-env-in-file-name): New function.
3675 (substitute-env-vars): Extend the meaning of the optional arg.
3677 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3679 * term/w32-win.el (dynamic-library-alist): Define separate lists
3680 of GIF DLLs for versions before and after 5.0.0 of giflib.
3683 2013-10-10 João Távora <joaotavora@gmail.com>
3685 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3686 not locked, use last revision and current source as
3687 defaults. (Bug#15569)
3689 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3691 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3694 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3696 * window.el (pop-to-buffer-same-window): Fix doc-string.
3699 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3701 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3703 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3705 * calendar/icalendar.el (icalendar-import-file):
3706 Fix interactive spec. (Bug#15482)
3708 2013-10-10 Glenn Morris <rgm@gnu.org>
3710 * desktop.el (desktop-save): Default to saving in .emacs.d,
3711 since PWD is no longer in desktop-path by default. (Bug#15319)
3713 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3714 now that text mode has a menu with the same entry.
3715 (menu-bar-text-mode-auto-fill): Remove now unused func.
3716 * textmodes/text-mode.el (text-mode-map):
3717 Use auto-fill help text from menu-bar.el.
3719 2013-10-10 John Anthony <john@jo.hnanthony.com>
3721 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3723 2013-10-09 Juri Linkov <juri@jurta.org>
3725 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3726 instead of this-command-keys. Add universal-argument-more and
3727 universal-argument-minus to the list of prefix commands. (Bug#15568)
3729 2013-10-09 Glenn Morris <rgm@gnu.org>
3731 * vc/vc-svn.el (vc-svn-create-repo):
3732 Expand paths in file://... url. (Bug#15446)
3734 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3736 (authors): Remove unused local variables.
3738 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3740 * profiler.el: Create a more coherent calltree from partial backtraces.
3741 (profiler-format): Hide the tail with `invisible' so that C-s can still
3742 find the hidden elements.
3743 (profiler-calltree-depth): Don't recurse so enthusiastically.
3744 (profiler-function-equal): New hash-table-test.
3745 (profiler-calltree-build-unified): New function.
3746 (profiler-calltree-build): Use it.
3747 (profiler-report-make-name-part): Indent the calltree less.
3748 (profiler-report-mode): Add visibility specs for profiler-format.
3749 (profiler-report-expand-entry, profiler-report-toggle-entry):
3750 Expand the whole subtree when provided with a prefix arg.
3752 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3754 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3756 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3757 hanging iuwu-mod token.
3758 (ruby-smie--forward-token): Do not include a dot after a token in
3760 (ruby-smie--backward-token): Likewise.
3762 2013-10-08 Juri Linkov <juri@jurta.org>
3764 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3765 to isearch-other-control-char.
3766 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3767 and isearch-post-command-hook to post-command-hook.
3768 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3769 and isearch-post-command-hook from post-command-hook.
3770 (isearch-unread-key-sequence)
3771 (isearch-reread-key-sequence-naturally)
3772 (isearch-lookup-scroll-key, isearch-other-control-char)
3773 (isearch-other-meta-char): Remove functions.
3774 (isearch-pre-command-hook, isearch-post-command-hook):
3775 New functions based on isearch-other-meta-char rewritten
3776 relying on the new behavior of overriding-terminal-local-map
3777 that does not replace the local keymaps any more. (Bug#15200)
3779 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3781 Support menus on text-mode terminals.
3782 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3785 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3787 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3788 Move here from mouse.el.
3789 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3791 (tty-menu-navigation-map): New map for TTY menu navigation.
3793 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3795 * frame.el (display-mouse-p): Report text-mode mouse as available
3797 (display-popup-menus-p): Report availability if mouse is
3798 available; don't condition on window-system.
3800 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3801 (tty-menu-selected-face): New faces.
3803 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3805 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3806 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3807 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3808 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3810 (lisp-mode-variables): New `elisp' argument.
3811 (emacs-lisp-mode): Use it.
3812 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3813 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3815 * indent.el: Use lexical-binding.
3816 (indent-region): Add progress reporter.
3817 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3819 (indent--next-tab-stop): New function to implement this behavior.
3820 (tab-to-tab-stop, move-to-tab-stop): Use it.
3822 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3824 * indent.el (indent-rigidly--current-indentation): New function.
3825 (indent-rigidly-map): New var.
3826 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3828 2013-10-08 Bastien Guerry <bzg@gnu.org>
3830 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3832 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3834 * progmodes/perl-mode.el: Use lexical-binding.
3835 Remove redundant :group args.
3836 (perl-nochange): Change default to be closer to other major modes's
3838 (perl-indent-line): Don't consider text on current line as a
3839 valid beginning of function from which to indent.
3841 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3842 with more than one argument (bug#15538).
3844 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3846 * vc/pcvs.el: Use lexical-binding.
3847 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3848 environment of `eval'.
3849 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3850 than a list of expressions. Adjust callers.
3851 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3853 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3855 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3856 case of the dot in a chained method call being on the following line.
3858 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3860 * electric.el (electric-indent-inhibit): New var.
3861 (electric-indent-post-self-insert-function): Use it.
3862 * progmodes/python.el (python-mode): Set it.
3864 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3867 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3869 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3870 (css-mode): Use electric-indent-chars.
3872 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3873 (font-lock-beg, font-lock-end): Move before first use.
3874 (nxml-mode): Use syntax-propertize-function.
3875 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3876 (nxml-extend-after-change-region): Remove.
3877 * nxml/xmltok.el: Use lexical-binding.
3878 (xmltok-save): Use `declare'.
3879 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3880 * nxml/nxml-util.el: Use lexical-binding.
3881 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3883 * nxml/nxml-ns.el: Use lexical-binding.
3884 (nxml-ns-save): Use `declare'.
3885 (nxml-ns-prefixes-for): Avoid add-to-list.
3886 * nxml/rng-match.el: Use lexical-binding.
3887 (rng--ipattern): Use cl-defstruct.
3888 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3889 (rng-cons-group-after, rng-subst-group-after)
3890 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3891 Use closures instead of `(lambda...).
3893 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3895 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3898 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3899 Use `tramp-handle-insert-file-contents'.
3900 (tramp-gvfs-handle-insert-file-contents): Remove function.
3902 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3903 Use `save-restriction' in order to keep markers.
3905 * net/trampver.el: Update release number.
3907 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3909 * progmodes/compile.el (compilation-parse-errors):
3910 Use compilation--put-prop.
3911 (compilation--ensure-parse): Check compilation-multiline.
3913 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3915 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3918 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3920 * progmodes/ruby-mode.el: Fix recently added tests.
3921 (ruby-smie-grammar): Add - and +.
3922 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3923 (ruby-smie--backward-id): New functions.
3924 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3925 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3928 2013-10-07 Leo Liu <sdl.web@gmail.com>
3930 * register.el (register-preview-delay)
3931 (register-preview-functions): New variables.
3932 (register-read-with-preview, register-preview)
3933 (register-describe-oneline): New functions.
3934 (point-to-register, window-configuration-to-register)
3935 (frame-configuration-to-register, jump-to-register)
3936 (number-to-register, view-register, insert-register)
3937 (copy-to-register, append-to-register, prepend-to-register)
3938 (copy-rectangle-to-register): Use register-read-with-preview to
3939 read register. (Bug#15525)
3941 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3943 * net/network-stream.el (network-stream-open-starttls): Don't add
3944 --insecure if it's already present, because that gnutls-cli
3945 rejects getting that parameter twice.
3947 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3949 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3952 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3954 * newcomment.el (comment-use-global-state): Change default value
3955 to t, mark obsolete (Bug#15251).
3956 (comment-beginning): In addition to `comment-to-syntax', check the
3957 value of `comment-use-global-state'.
3959 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3961 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3962 (ruby-comment-column): Follow the global default, by default.
3963 (ruby-smie-grammar): Add assignment syntax.
3964 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3965 open-paren, a comma, or a \.
3966 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3967 and line continuations.
3968 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3969 followed by implicit semi-colons. Add rule for string concatenation
3970 and for indentation at BOB.
3971 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3973 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3974 calling next-sexp, since next-token may have skipped chars which
3975 next-sexp doesn't know should be skipped!
3977 2013-10-05 Leo Liu <sdl.web@gmail.com>
3979 * progmodes/octave.el (octave-send-region):
3980 Call compilation-forget-errors.
3982 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3984 * vc/vc-svn.el (vc-svn-find-admin-dir):
3985 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3986 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3987 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3988 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3990 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3992 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3994 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3996 * subr.el (read-passwd): Hide chars even when called within a context
3997 where after-change-functions is disabled (bug#15501).
3998 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3999 until we removed ourself from overriding-terminal-local-map.
4001 2013-10-04 Leo Liu <sdl.web@gmail.com>
4003 * progmodes/octave.el (inferior-octave-mode):
4004 Call compilation-forget-errors.
4006 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4008 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4010 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4012 * net/secrets.el (secrets-create-collection): Add optional
4013 argument ALIAS. Use proper Label keyword. Append ALIAS as
4014 dbus-call-method argument. (Bug#15516)
4016 2013-10-04 Leo Liu <sdl.web@gmail.com>
4018 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4019 (inferior-octave-compilation-font-lock-keywords): New variables.
4020 (compilation-error-regexp-alist)
4021 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4022 (inferior-octave-mode): Use compilation-shell-minor-mode.
4024 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4026 * minibuffer.el (completion--replace): Be careful that `end' might be
4029 2013-10-03 Daiki Ueno <ueno@gnu.org>
4031 Add support for package signature checking.
4032 * emacs-lisp/package.el (url-http-file-exists-p)
4033 (epg-make-context, epg-context-set-home-directory)
4034 (epg-verify-string, epg-context-result-for)
4035 (epg-signature-status, epg-signature-to-string)
4036 (epg-check-configuration, epg-configuration)
4037 (epg-import-keys-from-file): Declare.
4038 (package-check-signature): New user option.
4039 (package-unsigned-archives): New user option.
4040 (package-desc): Add `signed' field.
4041 (package-load-descriptor): Set `signed' field if .signed file exists.
4042 (package--archive-file-exists-p): New function.
4043 (package--check-signature): New function.
4044 (package-install-from-archive): Check package signature.
4045 (package--download-one-archive): Check archive signature.
4046 (package-delete): Remove .signed file.
4047 (package-import-keyring): New command.
4048 (package-refresh-contents): Import default keyring.
4049 (package-desc-status): Add "unsigned" status.
4050 (describe-package-1, package-menu--print-info)
4051 (package-menu-mark-delete, package-menu--find-upgrades)
4052 (package-menu--status-predicate): Support "unsigned" status.
4054 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4056 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4057 the new compilation scheme using the new byte-codes.
4059 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4060 (byte-pophandler): New byte codes.
4061 (byte-goto-ops): Adjust accordingly.
4062 (byte-compile--use-old-handlers): New var.
4063 (byte-compile-catch): Use new byte codes depending on
4064 byte-compile--use-old-handlers.
4065 (byte-compile-condition-case--old): Rename from
4066 byte-compile-condition-case.
4067 (byte-compile-condition-case--new): New function.
4068 (byte-compile-condition-case): New function that dispatches depending
4069 on byte-compile--use-old-handlers.
4070 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4073 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4074 Optimize under `condition-case' and `catch' if
4075 byte-compile--use-old-handlers is nil.
4076 (disassemble-offset): Handle new bytecodes.
4078 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4080 * subr.el (error): Use `declare'.
4081 (decode-char, encode-char): Use advertised-calling-convention instead
4082 of the docstring to discourage use of the `restriction' arg.
4084 2013-10-03 Daiki Ueno <ueno@gnu.org>
4086 * epg.el (epg-verify-file): Add a comment saying that it does not
4087 notify verification error as a return value nor a signal.
4088 (epg-verify-string): Ditto.
4090 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4092 * progmodes/compile.el (compilation-start): Try globbing the arg to
4095 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4097 Sync with Tramp 2.2.8.
4099 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4100 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4101 * net/trampver.el: Update release number.
4103 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4105 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4106 and default-process-coding-system for darwin only.
4108 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4110 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4112 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4114 * vc/vc-git.el (vc-git-grep): Disable pager.
4116 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4118 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4119 Use :url instead of :homepage, as per
4120 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4122 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4123 non-nil, use `syntax-ppss' (Bug#15251).
4125 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4127 * progmodes/octave.el (inferior-octave-startup-file):
4128 Prefer ~/.emacs.d/init_octave.m.
4130 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4132 * emacs-lisp/package.el (package-desc-from-define):
4133 Accept additional arguments as plist, convert them to an alist and store
4134 them in the `extras' slot.
4135 (package-generate-description-file): Convert extras alist back to
4136 plist and append to the `define-package' form arguments.
4137 (package--alist-to-plist): New function.
4138 (package--ac-desc): Add `extras' slot.
4139 (package--add-to-archive-contents): Check if the archive-contents
4140 vector is long enough, and if it is, pass its `extras' slot value
4141 to `package-desc-create'.
4142 (package-buffer-info): Call `lm-homepage', pass the returned value
4143 to `package-desc-from-define'.
4144 (describe-package-1): Render the homepage button (Bug#13291).
4146 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4147 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4149 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4151 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4152 and default-process-coding-system to utf-8-unix (Bug#15402).
4154 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4156 * subr.el (looking-back): Do not recommend using looking-back.
4158 2013-09-28 Alan Mackenzie <acm@muc.de>
4160 Fix indentation/fontification of Java enum with "implements".
4162 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4163 regexp which matches "implements", etc., in Java.
4164 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4165 specifier clauses coming after "enum".
4166 * progmodes/cc-fonts.el (c-font-lock-declarations)
4167 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4170 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4172 * faces.el (region): Change ns_selection_color to
4173 ns_selection_fg_color, add ns_selection_bg_color.
4175 2013-09-28 Leo Liu <sdl.web@gmail.com>
4177 * progmodes/octave.el (inferior-octave-completion-table)
4178 (inferior-octave-completion-at-point): Minor tweaks.
4180 * textmodes/ispell.el (ispell-lookup-words): Rename from
4181 lookup-words. (Bug#15460)
4182 (lookup-words): Obsolete.
4183 (ispell-complete-word, ispell-command-loop): All uses changed.
4185 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4187 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4188 (octave-mode-menu): Add octave-send-buffer.
4189 (octave-send-buffer): New function.
4191 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4193 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
4195 (octave-mode-menu): Add octave-lookfor.
4196 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4198 (octave-lookfor): New function.
4200 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4202 * emacs-lisp/cl-macs.el:
4203 (cl--loop-destr-temps): Remove.
4204 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4206 (cl--loop-set-iterator-function): New function.
4207 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4208 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4209 Bind `it' with `let' instead of substituting it with `cl-subst'.
4210 (cl--unused-var-p): New function.
4211 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4212 Eliminate some unused variable warnings (bug#15326).
4214 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4216 * doc-view.el (doc-view-scale-reset): Rename from
4217 `doc-view-reset-zoom-level'.
4218 (doc-view-scale-adjust): New command.
4219 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4220 `doc-view-scale-adjust'.
4222 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4224 * doc-view.el (doc-view-reset-zoom-level): New command.
4225 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4226 zoom commands (bug#15466).
4228 2013-09-26 Kenichi Handa <handa@gnu.org>
4230 * international/quail.el (quail-help): Make it not a command.
4232 2013-09-26 Leo Liu <sdl.web@gmail.com>
4234 * minibuffer.el (completion-all-sorted-completions): Make args
4235 optional as they are.
4237 2013-09-25 Daniel Colascione <dancol@dancol.org>
4239 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4240 specs are and that they're not evaluated.
4242 2013-09-24 Sam Steingold <sds@gnu.org>
4244 * midnight.el (clean-buffer-list-kill-regexps)
4245 (clean-buffer-list-kill-buffer-names): Update for the new Man
4246 buffer naming which includes the object name.
4248 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4250 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4251 (eshell-parse-command, eshell-parse-pipeline): Use it since
4252 eshell-separate-commands requires a dynamic scoped var.
4253 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4255 2013-09-23 Leo Liu <sdl.web@gmail.com>
4257 * autoinsert.el (auto-insert-alist): Make the value of
4258 lexical-binding match its file setting.
4260 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4262 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4264 * autoarg.el (autoarg-kp-digit-argument):
4265 * electric.el (Electric-command-loop):
4266 * kmacro.el (kmacro-step-edit-insert):
4267 Do not set universal-argument-num-events.
4269 2013-09-22 Leo Liu <sdl.web@gmail.com>
4271 * files.el (interpreter-mode-alist): Add octave.
4273 2013-09-21 Alan Mackenzie <acm@muc.de>
4275 C++: fontify identifier in declaration following "public:" correctly.
4276 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4277 to match "public", etc.
4278 (c-decl-prefix-re): Add ":" into the C++ value.
4279 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4280 bit. Add a check for a ":" preceded by "public", etc.
4282 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4284 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4285 recognized by GDB 7.5 and later.
4287 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4289 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4291 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4293 * subr.el (internal--call-interactively): New const.
4294 (called-interactively-p): Use it (bug#3984).
4296 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4298 * vc/pcvs.el (cvs-mode-ignore):
4299 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4300 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4302 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4304 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4305 (eshell-ls-orig-insert-directory): Remove.
4306 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4307 (eshell-ls-use-in-dired): Use advice-add/remove.
4308 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4309 Add `orig-fun' arg for use in :around advice.
4310 Make it check (redundantly) eshell-ls-use-in-dired.
4312 2013-09-19 Glenn Morris <rgm@gnu.org>
4314 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4316 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4318 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4320 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4322 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4323 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4324 (tramp-get-remote-python): New defuns.
4325 (tramp-get-remote-uid-with-perl)
4326 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4327 contributed by yary <not.com@gmail.com> (tiny change).
4328 (tramp-get-remote-uid-with-python)
4329 (tramp-get-remote-gid-with-python): New defuns. Python code
4330 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4331 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4333 2013-09-19 Glenn Morris <rgm@gnu.org>
4335 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4337 * eshell/em-unix.el (eshell-remove-entries):
4338 Rename argument to avoid name-clash with global `top-level'.
4340 * eshell/esh-proc.el (eshell-kill-process-function):
4341 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4342 (eshell-reset-after-proc): Remove unused arg `proc'.
4344 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4345 (directory-files-and-attributes): Mark unused arg.
4347 * eshell/em-unix.el (eshell-remove-entries):
4348 Remove unused arg `path'. Update callers.
4350 * eshell/em-hist.el (eshell-hist-parse-arguments):
4351 Remove unused arg `silent'. Update callers.
4353 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4354 Fix (f)boundp mix-up.
4356 * eshell/em-smart.el (eshell-smart-scroll-window)
4357 (eshell-disable-after-change):
4358 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4360 2013-09-18 Alan Mackenzie <acm@muc.de>
4362 Fix fontification of type when followed by "const".
4363 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4364 "known" types from fontification.
4366 2013-09-18 Glenn Morris <rgm@gnu.org>
4368 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4369 (chart-face-list): Drop Emacsen without display-color-p.
4371 * net/eww.el (libxml-parse-html-region): Declare.
4372 (eww-display-html): Explicit error if no libxml2 support.
4374 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4376 * image.el (image-type-from-buffer, image-multi-frame-p):
4377 Remove --without-x warning/error.
4379 * mouse.el (mouse-yank-primary):
4380 * term.el (term-mouse-paste):
4381 Reorder to silence --without-x compilation.
4383 * mpc.el (doc-view-mode): Silence --without-x compilation.
4385 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4386 Silence --without-x compilation.
4388 * progmodes/gud.el (gud-find-file, gud-mode):
4389 Silence --without-x compilation.
4390 (tooltip-mode): Declare.
4392 * wdired.el (dired-backup-overwrite): Remove declaration.
4393 (wdired-mode-map): Add doc string.
4395 * custom.el (x-get-resource): Declare.
4397 * eshell/em-glob.el (ange-cache):
4398 * eshell/em-unix.el (ange-cache): Declare.
4400 * faces.el (x-display-list, x-open-connection, x-get-resource):
4403 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4404 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4407 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4409 * net/gnutls.el (gnutls-log-level): Declare.
4411 * net/shr.el (image-size, image-animate): Declare.
4413 * simple.el (font-info): Declare.
4415 * subr.el (x-popup-dialog): Declare.
4417 * term/common-win.el (x-select-enable-primary)
4418 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4421 * term/ns-win.el (x-handle-args): Declare.
4423 * term/x-win.el (x-select-enable-clipboard): Declare.
4425 * term/w32-win.el (create-default-fontset): Declare.
4427 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4430 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4431 (fit-frame-to-buffer): Explicit error if --without-x.
4432 (mouse-autoselect-window-select): Silence compiler.
4434 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4436 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4437 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4438 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4439 * eshell/esh-util.el (eshell-sublist):
4440 Remove unused local variables.
4442 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4444 * textmodes/two-column.el: Make 2C-split work for --without-x.
4445 (scroll-bar-columns): Autoload.
4446 (top-level): Require fringe when compiling.
4448 2013-09-18 Leo Liu <sdl.web@gmail.com>
4450 * subr.el (add-hook): Robustify to handle closure as well.
4452 2013-09-17 Glenn Morris <rgm@gnu.org>
4454 * simple.el (messages-buffer-mode-map): Unbind "g".
4456 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4458 * help-mode.el (help-mode-finish): Use derived-mode-p.
4459 Remove obsolete highlighting.
4461 * play/life.el (life-mode): Use define-derived-mode. Derive from
4463 (life): Let-bind inhibit-read-only.
4464 (life-setup): Avoid `setq'. Use `life-mode'.
4466 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4467 which should not be needed any more.
4468 (package-menu-refresh, package-menu-describe-package): Use user-error.
4470 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4471 (eshell-post-rewrite-command-hook): Make obsolete.
4472 (eshell-parse-command): Simplify.
4473 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4474 (eshell--cmd): Declare.
4475 (eshell-parse-pipeline): Remove unused var `final-p'.
4476 Pass a dynvar to eshell-post-rewrite-command-hook.
4477 Implement the new eshell-post-rewrite-command-function.
4478 (eshell-invoke-directly): Remove unused arg `input'.
4479 * eshell/esh-io.el (eshell-io-initialize):
4480 Use eshell-post-rewrite-command-function (bug#15399).
4481 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4482 adjust to new calling convention.
4483 (eshell-create-handles): Rename args to avoid clashing with dynvar
4486 2013-09-17 Glenn Morris <rgm@gnu.org>
4488 * simple.el (messages-buffer-mode): New major mode.
4489 (messages-buffer): New function.
4490 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4491 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4492 (ert-run-test): Use `messages-buffer' function.
4493 (ert--force-message-log-buffer-truncation): Ignore read-only.
4494 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4495 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4497 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4499 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4501 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4503 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4505 * icomplete.el (icomplete-in-buffer): New var.
4506 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4507 vars and replace them with functions.
4508 (icomplete-minibuffer-setup): Adjust accordingly.
4509 (icomplete--completion-table, icomplete--completion-predicate)
4510 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4512 (icomplete-forward-completions, icomplete-backward-completions)
4513 (icomplete-simple-completing-p, icomplete-exhibit)
4514 (icomplete-completions): Use them.
4515 (icomplete--in-region-buffer): New var.
4516 (icomplete--in-region-setup): New function.
4517 (icomplete-mode): Use it.
4519 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4521 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4522 return args and options.
4523 (eshell-eval-using-options): Use the new return value of
4524 eshell--do-opts to set the options's vars in their scope.
4525 (eshell--set-option): Rename from eshell-set-option.
4527 (eshell--process-option): Rename from eshell-process-option.
4529 (eshell--process-args): Use an `opt-vals' alist to store the options's
4530 values during their processing and return them additionally to the
4533 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4535 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4536 continuation character an operator, as far as indentation is
4537 concerned (Bug#15369).
4539 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4541 * window.el (window--state-put-2): Don't process buffer state
4542 when buffer doesn't exist any more (Bug#15382).
4544 2013-09-15 Glenn Morris <rgm@gnu.org>
4546 * eshell/em-unix.el (eshell/rm):
4547 Make -f ignore missing files. (Bug#15373)
4549 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4550 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4551 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4553 2013-09-14 Glenn Morris <rgm@gnu.org>
4555 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4557 2013-09-13 Glenn Morris <rgm@gnu.org>
4559 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4560 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4562 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4564 * frame.el (x-focus-frame): Mark as declared in frame.c.
4566 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4568 * ls-lisp.el: Use advice-add.
4569 (original-insert-directory): Remove.
4570 (ls-lisp--insert-directory): Rename from insert-directory; add
4571 `orig-fun' argument.
4572 (insert-directory): Advise.
4574 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4576 * term.el (term-emulate-terminal): Decode the command string
4577 before passing it to term-command-hook. (Bug#15337)
4579 2013-09-13 Glenn Morris <rgm@gnu.org>
4581 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4583 * eshell/esh-ext.el (eshell-search-path): Declare.
4585 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4586 Otherwise an error occurs if eshell-dirs module not loaded.
4588 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4590 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4592 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4593 `tramp-check-proper-host'. Check for a valid method name.
4595 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4596 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4597 * net/tramp-sh.el (tramp-maybe-open-connection):
4598 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4600 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4601 also for hash values.
4603 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4605 * term/ns-win.el (parameters): Don't declare as dynamic.
4606 (before-make-frame-hook): Don't add ineffective function.
4608 * eshell/*.el: Use lexical-binding (bug#15231).
4610 2013-09-12 Kenichi Handa <handa@gnu.org>
4612 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4614 2013-09-12 Glenn Morris <rgm@gnu.org>
4616 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4617 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4619 * subr.el (do-after-load-evaluation): Also give compiler warnings
4620 when obsolete files are used (except by obsolete files).
4622 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4623 in the status output, assume `filename' is the first. (Bug#15322)
4625 * vc/vc.el (vc-deduce-fileset): Doc fix.
4627 * calc/calc-help.el (Info-goto-node):
4628 * progmodes/cperl-mode.el (Info-find-node):
4629 * vc/ediff.el (Info-goto-node): Update declarations.
4631 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4633 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4634 (vc-bzr-pull): Require vc-dispatcher.
4635 * vc/vc-git.el (vc-compilation-mode): Declare.
4636 (vc-git-pull): Require vc-dispatcher.
4638 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4640 * progmodes/octave.el (help-button-action): Declare.
4642 * shell.el (shell-directory-tracker): Output error as a message
4643 rather than just returning it as a string.
4644 (shell-process-pushd): Remove useless use of message.
4646 * dframe.el (dframe-timer-fn):
4647 * files.el (dir-locals-read-from-file):
4648 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4650 * reveal.el (reveal-post-command):
4651 * saveplace.el (load-save-place-alist-from-file):
4652 * shell.el (shell-resync-dirs):
4653 * w32-common-fns.el (x-get-selection-value):
4654 * emacs-lisp/copyright.el (copyright-find-copyright):
4655 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4656 * emulation/tpu-edt.el (tpu-copy-keyfile):
4657 * play/bubbles.el (bubbles--mark-neighbourhood):
4658 * progmodes/executable.el
4659 (executable-make-buffer-file-executable-if-script-p):
4660 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4662 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4664 Cleanup Eshell to rely less on dynamic scoping.
4665 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4666 last-value, and ext-command here. Bind `args' closer to `body'.
4667 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4668 (eshell--args): Declare new dynamic var.
4669 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4670 last-value, and ext-command. Pass `args' to `body'.
4671 (eshell-process-args): Bind eshell--args.
4672 (eshell-set-option): Use eshell--args.
4673 * eshell/eshell.el (eshell): Use derived-mode-p.
4674 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4675 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4676 (eshell-glob-function): Declare.
4677 * eshell/esh-util.el: Require cl-lib.
4678 (eshell-read-hosts-file): Avoid add-to-list.
4679 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4681 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4683 (eshell/diff): Remove unused var `err'.
4684 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4686 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4687 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4689 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4690 Move declaration before first use.
4691 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4692 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4695 2013-09-12 Glenn Morris <rgm@gnu.org>
4697 * term/ns-win.el (global-map): Remove binding for ispell-next,
4698 deleted 1999-05-29. (Bug#15357)
4700 2013-09-11 Glenn Morris <rgm@gnu.org>
4702 * echistory.el (electric-command-history): Remove call to deleted func.
4704 * play/landmark.el (landmark-mode): Fix typos.
4706 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4707 Check cvs-sort-ignore-file is bound.
4709 * savehist.el: No need for cl when compiling on Emacs.
4711 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4713 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4715 (eshell-self-insert-command, eshell-send-invisible):
4716 Remove unused argument.
4717 (eshell-handle-control-codes): Remove unused var `orig'.
4718 Avoid delete-backward-char.
4720 * files.el (set-auto-mode): Simplify a bit further.
4722 2013-09-11 Glenn Morris <rgm@gnu.org>
4724 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4725 (set-auto-mode): Don't regexp-quote elements.
4726 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4727 * progmodes/cc-mode.el (interpreter-mode-alist):
4728 * progmodes/ruby-mode.el (interpreter-mode-alist):
4729 Revert previous change.
4731 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4733 * play/snake.el (snake-mode):
4734 * play/mpuz.el (mpuz-mode):
4735 * play/landmark.el (lm-mode):
4736 * play/blackbox.el (blackbox-mode):
4737 * play/5x5.el (5x5-mode):
4738 * obsolete/options.el (Edit-options-mode):
4739 * net/quickurl.el (quickurl-list-mode):
4740 * net/newst-treeview.el (newsticker-treeview-mode):
4741 * mail/rmailsum.el (rmail-summary-mode):
4742 * mail/mspools.el (mspools-mode):
4743 * locate.el (locate-mode):
4744 * ibuffer.el (ibuffer-mode):
4745 * emulation/ws-mode.el (wordstar-mode):
4746 * emacs-lisp/debug.el (debugger-mode):
4747 * array.el (array-mode):
4748 * net/eudc.el (eudc-mode): Use define-derived-mode.
4749 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4750 Move initialization into declaration.
4751 (mairix-searches-mode): Use define-derived-mode.
4752 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4753 (eudc-edit-hotlist): Use dolist.
4754 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4755 (Man-mode): Use define-derived-mode.
4756 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4757 (Info-edit-mode): Use define-derived-mode.
4758 (Info-cease-edit): Use Info-mode.
4759 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4761 (eshell-mode): Use define-derived-mode.
4762 * chistory.el (command-history-mode-map): Rename from
4763 command-history-map.
4764 (command-history-mode): Use define-derived-mode.
4765 (Command-history-setup): Remove function.
4766 * calc/calc.el (calc-trail-mode-map): New var.
4767 (calc-trail-mode): Use define-derived-mode.
4768 (calc-trail-buffer): Set calc-main-buffer manually.
4769 * bookmark.el (bookmark-insert-annotation): New function.
4770 (bookmark-edit-annotation): Use it.
4771 (bookmark-edit-annotation-mode): Make it a proper major mode.
4772 (bookmark-send-edited-annotation): Use derived-mode-p.
4773 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4774 closer to its ideal place. Use \' to match EOS.
4776 * profiler.el (profiler-calltree-find): Use function-equal.
4778 2013-09-10 Glenn Morris <rgm@gnu.org>
4780 * files.el (interpreter-mode-alist): Convert to regexps.
4781 (set-auto-mode): Adapt for this. (Bug#15306)
4782 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4783 Comment out unused variable.
4784 * progmodes/cc-mode.el (interpreter-mode-alist):
4785 * progmodes/python.el (interpreter-mode-alist):
4786 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4787 * progmodes/sh-script.el (sh-set-shell):
4788 No longer use interpreter-mode-alist to get list of shells.
4790 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4792 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4794 * simple.el: Use set-temporary-overlay-map for universal-argument.
4795 (universal-argument-map): Don't use default-bindings (bug#15317).
4796 Bind switch-frame explicitly. Replace universal-argument-minus with
4797 a conditional binding.
4798 (universal-argument-num-events, saved-overriding-map): Remove.
4799 (restore-overriding-map): Remove.
4800 (universal-argument--mode): Rename from save&set-overriding-map,
4802 (universal-argument, universal-argument-more, negative-argument)
4803 (digit-argument): Adjust accordingly.
4804 (universal-argument-minus): Remove.
4805 (universal-argument-other-key): Remove.
4807 * subr.el (with-demoted-errors): Add `format' argument.
4809 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4811 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4812 `tramp-cleanup-connection'.
4814 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4815 parameters KEEP-DEBUG and KEEP-PASSWORD.
4817 * net/tramp.el (tramp-file-name-handler):
4818 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4819 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4820 (tramp-maybe-open-connection):
4821 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4822 Use `tramp-cleanup-connection'.
4824 * net/tramp-sh.el (tramp-maybe-open-connection):
4825 Catch 'uname-changed inside the progress reporter.
4827 2013-09-10 Glenn Morris <rgm@gnu.org>
4829 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4831 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4832 returns "alternate access method" in mode (eg "-rw-r--r--.").
4834 2013-09-08 Glenn Morris <rgm@gnu.org>
4836 * saveplace.el (load-save-place-alist-from-file):
4837 Demote errors. (Bug#15305)
4839 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4841 Improve compatibility with older Emacsen, and XEmacs.
4843 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4844 only if it is bound. It isn't for XEmacs.
4845 (with-tramp-progress-reporter): Do not let-bind `result'.
4846 This yields to scoping errors in XEmacs.
4847 (tramp-handle-make-auto-save-file-name): New function, moved from
4850 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4851 for `make-auto-save-file-name'.
4852 (tramp-adb--gnu-switches-to-ash):
4853 Use `tramp-compat-replace-regexp-in-string'.
4855 * net/tramp-cache.el (tramp-cache-print): Call
4856 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4858 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4859 bound. It isn't for XEmacs.
4861 * net/tramp-compat.el (tramp-compat-copy-file):
4862 Catch `wrong-number-of-arguments' error.
4863 (tramp-compat-replace-regexp-in-string): New defun.
4865 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4866 for `make-auto-save-file-name'.
4867 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4869 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4870 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4871 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4873 * net/tramp-gw.el (tramp-gw-open-network-stream):
4874 Use `tramp-compat-replace-regexp-in-string'.
4876 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4877 Call `tramp-handle-make-auto-save-file-name'.
4878 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4879 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4880 (tramp-sh-file-inotifywait-process-filter):
4881 Use `tramp-compat-replace-regexp-in-string'.
4882 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4884 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4885 for `make-auto-save-file-name'.
4886 (tramp-smb-handle-copy-directory):
4887 Call `tramp-compat-replace-regexp-in-string'.
4888 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4889 (tramp-smb-handle-copy-file): Improve error message.
4890 (tramp-smb-handle-rename-file): Rename directly only in case
4891 `newname' does not exist yet. This is a restriction of smbclient.
4892 (tramp-smb-maybe-open-connection): Rerun the function only when
4893 `auth-sources' is non-nil.
4895 2013-09-08 Kenichi Handa <handa@gnu.org>
4897 * international/characters.el: Set category "^" (Combining) for
4900 2013-09-07 Alan Mackenzie <acm@muc.de>
4902 Correctly fontify Java class constructors.
4903 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4905 (c-recognize-typeless-decls): Set the Java value to t.
4906 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4907 While handling a "(", add a check for, effectively, Java, and handle a
4908 "typeless" declaration there.
4910 2013-09-07 Roland Winkler <winkler@gnu.org>
4912 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4913 field subtitle for entry type book.
4915 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4917 * minibuffer.el: Make minibuffer-complete call completion-in-region
4918 rather than other way around.
4919 (completion--some, completion-pcm--find-all-completions):
4920 Don't delay signals when debugging.
4921 (minibuffer-completion-contents): Beware fields within the
4922 minibuffer contents.
4923 (completion-all-sorted-completions): Use defvar-local.
4924 (completion--do-completion, completion--cache-all-sorted-completions)
4925 (completion-all-sorted-completions, minibuffer-force-complete):
4926 Add args `beg' and `end'.
4927 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4928 (minibuffer-complete): Use completion-in-region.
4929 (completion-complete-and-exit): New fun, extracted from
4930 minibuffer-complete-and-exit.
4931 (minibuffer-complete-and-exit): Use it.
4932 (completion--complete-and-exit): Rename from
4933 minibuffer--complete-and-exit.
4934 (completion-in-region--single-word): New function, extracted from
4935 minibuffer-complete-word.
4936 (minibuffer-complete-word): Use it.
4937 (display-completion-list): Make `common-substring' argument obsolete.
4938 (completion--in-region): Call completion--in-region-1 instead of
4939 minibuffer-complete.
4940 (completion-help-at-point): Pass boundaries to
4941 minibuffer-completion-help as args rather than via an overlay.
4942 (completion-pcm--string->pattern): Use `any-delim'.
4943 (completion-pcm--optimize-pattern): New function.
4944 (completion-pcm--pattern->regex): Handle `any-delim'.
4945 * icomplete.el (icomplete-forward-completions)
4946 (icomplete-backward-completions, icomplete-completions):
4947 Adjust calls to completion-all-sorted-completions and
4948 completion--cache-all-sorted-completions.
4949 (icomplete-with-completion-tables): Default to t.
4950 * emacs-lisp/crm.el (crm--current-element): Rename from
4951 crm--select-current-element. Don't put an overlay but return the
4953 (crm--completion-command): Take two new args to bind to the boundaries.
4954 (crm-completion-help): Adjust accordingly.
4955 (crm-complete): Use completion-in-region.
4956 (crm-complete-word): Use completion-in-region--single-word.
4957 (crm-complete-and-exit): Use completion-complete-and-exit.
4959 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4961 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4964 2013-09-06 Juri Linkov <juri@jurta.org>
4966 * info.el (Info-display-images-node): When image file doesn't exist
4967 display text version of the image if it's provided in the Info file.
4968 Otherwise, display the location of missing image from SRC attribute.
4969 Add help-echo text property from ALT attribute. (Bug#15279)
4971 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4973 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4974 (edit-abbrevs-mode): Use define-derived-mode.
4976 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4977 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4979 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4980 Use define-derived-mode.
4982 * epg.el (epg-start-encrypt): Minor CSE simplification.
4984 2013-09-06 William Xu <william.xwl@gmail.com>
4986 * arc-mode.el: Add support for 7za (bug#15264).
4987 (archive-7z-program): New var.
4988 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4989 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4990 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4992 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4996 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4997 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4998 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4999 (tramp-postfix-host-format, tramp-file-name-regexp)
5000 (tramp-completion-file-name-regexp)
5001 (tramp-completion-dissect-file-name)
5002 (tramp-handle-substitute-in-file-name): Remove 'url case.
5003 (tramp-file-name-regexp-url)
5004 (tramp-completion-file-name-regexp-url): Remove constants.
5006 2013-09-06 Glenn Morris <rgm@gnu.org>
5008 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5010 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5012 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5013 keywords" below "here-doc beginnings" (Bug#15270).
5015 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5017 * subr.el (pop): Use `car-safe'.
5018 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5019 to detect unused `pop' return value.
5021 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5023 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5024 (python-fill-string): Remove unused var `marker'.
5025 (python-skeleton-add-menu-items): Remove unused var `items'.
5027 * international/mule-cmds.el: Require CL.
5028 (find-coding-systems-for-charsets): Avoid add-to-list.
5029 (sanitize-coding-system-list): New function, extracted from
5030 select-safe-coding-system-interactively.
5031 (select-safe-coding-system-interactively): Use it.
5032 (read-input-method-name): Accept symbols for `default'.
5034 * emacs-lisp/advice.el (defadvice): Add indent rule.
5036 2013-09-05 Daniel Hackney <dan@haxney.org>
5040 * net/browse-url.el:
5043 * net/eudcb-ldap.el:
5056 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5057 byte compiler. Remove some unused let-bound variables.
5059 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5061 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5062 a "ref-cell", since it gets better optimized (bug#14883).
5064 2013-09-05 Glenn Morris <rgm@gnu.org>
5066 * progmodes/cc-awk.el (c-forward-sws): Declare.
5068 2013-09-04 Glenn Morris <rgm@gnu.org>
5070 * generic-x.el [rul-generic-mode]: Require cc-mode.
5071 (c++-mode-syntax-table): Declare.
5072 (rul-generic-mode-syntax-table): Init in the defvar.
5074 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5076 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5077 (vc-do-command, vc-set-async-update):
5078 * vc/vc-mtn.el (vc-mtn-dir-status):
5079 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5080 (vc-hg-pull, vc-hg-merge-branch):
5081 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5082 (vc-git-merge-branch):
5083 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5084 (vc-cvs-dir-status-files):
5085 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5086 (vc-bzr-dir-status-files):
5087 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5088 * vc/vc-annotate.el: Use lexical-binding.
5089 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5090 (vc-sentinel-movepoint): Declare.
5091 (vc-annotate): Don't use `goto-line'.
5092 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5093 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5094 (vc-sentinel-movepoint): Declare.
5095 * vc/vc-svn.el: Use lexical-binding.
5096 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5098 * vc/vc-rcs.el: Use lexical-binding.
5100 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5101 `deleted'. Don't drop errors silently.
5103 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5105 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5107 * vc/vc.el (vc-ignore): Rewrite.
5108 (vc-default-ignore): New function.
5109 (vc-default-ignore-completion-table): Use find-ignore-file.
5111 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5112 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5113 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5114 Remove. Most code moved to vc.el.
5116 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5118 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5119 * net/tramp-smb.el (tramp-smb-get-file-entries):
5120 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5121 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5123 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5125 (eww-change-select): Remove unused var `properties'.
5126 (eww-make-unique-file-name): Remove unused var `base'.
5128 * finder.el (finder-compile-keywords): Don't mess with windows.
5130 * calculator.el (calculator-funcall): Fix typo in last change.
5132 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5134 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5135 <pkg>-autoloads.el file stop us.
5137 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5138 warnings, and factor out common code.
5140 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5142 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5143 two-character operators and whether the character preceding them
5144 changes their meaning (Bug#15208).
5146 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5148 Format code sent to Python shell for robustness.
5149 * progmodes/python.el (python-shell-buffer-substring):
5151 (python-shell-send-region, python-shell-send-buffer): Use it.
5153 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5155 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5156 * net/tramp.el (tramp-user-error): ... here.
5157 (tramp-find-method, tramp-check-proper-host)
5158 (tramp-dissect-file-name, tramp-debug-message)
5159 (tramp-handle-shell-command):
5160 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5161 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5163 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5165 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5167 * avoid.el (mouse-avoidance-point-position)
5168 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5171 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5173 * progmodes/python.el (python-shell-completion-get-completions):
5174 Drop use of deleted `comint-last-prompt-overlay'.
5175 (python-nav-if-name-main): New command.
5177 2013-09-01 Glenn Morris <rgm@gnu.org>
5179 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5180 Avoid leading space in $wins. Otherwise the sed command used by
5181 eg compile-main ends up containing "/*.el". (Bug#15170)
5183 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5185 2013-08-30 Glenn Morris <rgm@gnu.org>
5187 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5188 Fix is-this-a-directory logic. (Bug#15220)
5190 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5192 * textmodes/css-mode.el: Use SMIE.
5193 (css-smie-grammar): New var.
5194 (css-smie--forward-token, css-smie--backward-token)
5195 (css-smie-rules): New functions.
5196 (css-mode): Use them.
5197 (css-navigation-syntax-table): Remove var.
5198 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5199 (css-indent-calculate, css-indent-line): Remove functions.
5201 Misc changes to reduce use of `(lambda...); and other cleanups.
5202 * cus-edit.el: Use lexical-binding.
5203 (customize-push-and-save, customize-apropos)
5204 (custom-buffer-create-internal): Use closures.
5205 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5206 * progmodes/ada-xref.el: Use setq.
5207 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5208 * dframe.el: Use lexical-binding.
5209 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5210 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5211 * descr-text.el: Use lexical-binding.
5212 (describe-text-widget, describe-text-sexp, describe-property-list):
5214 * comint.el (comint-history-isearch-push-state): Use a closure.
5215 * calculator.el: Use lexical-binding.
5216 (calculator-number-to-string): Make it work with lexical-binding.
5217 (calculator-funcall): Same and use cl-letf.
5219 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5220 (lisp--company-doc-string, lisp--company-location): New functions.
5221 (lisp-completion-at-point): Use them to improve Company support.
5223 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5224 params of lambda expressions.
5225 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5226 (ruby-smie--opening-pipe-p): New function.
5227 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5228 symbols and matched |...| for formal params.
5229 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5230 from being treated as hanging. Handle "rescue".
5232 2013-08-29 Glenn Morris <rgm@gnu.org>
5234 * progmodes/cc-engine.el (c-pull-open-brace):
5235 Move definition before use.
5237 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5239 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5240 are immutable. Don't use `unsafe' any more.
5241 (cl--defsubst-expand): Don't substitute at the same time as keeping
5242 a residual unused let-binding. Don't use `unsafe' any more.
5244 2013-08-29 Glenn Morris <rgm@gnu.org>
5246 * calendar/cal-china.el (calendar-chinese-year-cache):
5249 * nxml/nxml-util.el (nxml-debug-clear-inside):
5250 Use cl-loop rather than loop.
5252 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5254 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5256 2013-08-28 Glenn Morris <rgm@gnu.org>
5258 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5260 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5262 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5264 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5266 * simple.el (repeat-complex-command--called-interactively-skip):
5268 (repeat-complex-command): Use it (bug#14136).
5270 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5271 (c-define-abbrev-table): Add `doc' argument.
5272 (c-mode-abbrev-table, c++-mode-abbrev-table)
5273 (objc-mode-abbrev-table, java-mode-abbrev-table)
5274 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5275 (awk-mode-abbrev-table): Use it.
5276 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5277 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5278 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5279 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5280 Move initialization into the declaration; and remove any
5283 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5284 and dynamic let binding.
5286 * vc/smerge-mode.el: Remove redundant :group args.
5288 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5291 2013-08-28 Juri Linkov <juri@jurta.org>
5293 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5294 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5295 (isearch-other-meta-char): Handle an undefined shifted printing
5296 character by downshifting it. (Bug#15200)
5298 2013-08-28 Juri Linkov <juri@jurta.org>
5300 * isearch.el (isearch-search): Change regexp error message for
5301 non-regexp searches. (Bug#15166)
5303 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5305 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5306 for portability to hosts where /bin/sh has problems.
5308 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5310 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5312 2013-08-27 Juri Linkov <juri@jurta.org>
5314 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5315 in the keyboard macro. (Bug#15126)
5317 2013-08-27 Juri Linkov <juri@jurta.org>
5319 * isearch.el (isearch-quote-char): Comment out converting unibyte
5320 to multibyte, thus syncing with its `quoted-insert' counterpart.
5323 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5325 * window.el (display-buffer-use-some-window): Add missing
5326 argument in call of get-largest-window (Bug#15185).
5327 Reported by Stephen Leake.
5329 2013-08-27 Glenn Morris <rgm@gnu.org>
5331 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5333 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5335 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5336 from a matcher-function unless there's no more matches (bug#15161).
5338 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5340 * minibuffer.el: Revert change from 2013-08-20.
5342 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5343 with text property `tramp-default', if appropriate.
5344 (tramp-check-proper-host): New defun.
5345 (tramp-dissect-file-name): Do not check hostname. Revert change
5347 (tramp-backtrace): Make VEC-OR-PROC optional.
5349 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5350 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5351 * net/tramp-sh.el (tramp-maybe-open-connection):
5352 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5353 Apply `tramp-check-proper-host'.
5355 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5357 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5358 lambda expression in order to have `describe-variable' display it.
5360 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5362 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5363 BUF can be optional. (Bug#15186)
5365 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5367 * progmodes/flymake.el (flymake-get-real-file-name-function):
5368 Fix broken customization. (Bug#15184)
5370 2013-08-25 Alan Mackenzie <acm@muc.de>
5372 Improve indentation of bracelists defined by macros (without "=").
5374 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5375 expansion begins with "{", regard it as bracelist when it doesn't
5378 Parse C++ inher-intro when there's a template split over 2 lines.
5380 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5381 rigorously the search for "class" etc. followed by ":".
5383 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5384 random languages a regexp which never matches rather than nil.
5386 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5388 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5389 (c-awk-regexp-one-line-possibly-open-char-list-re)
5390 (c-awk-one-line-possibly-open-regexp-re)
5391 (c-awk-one-line-non-syn-ws*-re): Remove.
5392 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5393 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5394 (c-awk-space*-unclosed-regexp-/-re): New constants.
5395 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5396 aren't regexp delimiters.
5398 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5399 handling for a rare situation in AWK Mode involving unterminated
5402 2013-08-23 Glenn Morris <rgm@gnu.org>
5404 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5406 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5408 * files.el (create-file-buffer): If the result would begin with
5409 spaces, prepend a "|" instead of removing them. (Bug#15162)
5411 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5413 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5414 text-properties (bug#15155).
5416 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5418 (calc-keypad-redraw): Remove unused var `pad'.
5419 (calc-keypad-press): Remove unused var `menu'.
5421 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5423 * window.el (display-buffer-pop-up-frame):
5424 Call pop-up-frame-function with BUFFER current so `make-frame' will
5425 use it as the new frame's buffer (Bug#15133).
5427 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5429 * calendar/timeclock.el: Minor cleanups.
5430 (timeclock-ask-before-exiting, timeclock-use-display-time):
5432 (timeclock-modeline-display): Define as alias before the
5434 (timeclock-mode-line-display): Use define-minor-mode.
5435 (timeclock-day-list-template): Make it a function, add an argument.
5436 (timeclock-day-list-required, timeclock-day-list-length)
5437 (timeclock-day-list-debt, timeclock-day-list-span)
5438 (timeclock-day-list-break): Adjust calls accordingly.
5440 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5442 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5443 Use read--expression so that completion works again.
5445 2013-08-21 Sam Steingold <sds@gnu.org>
5447 Add rudimentary inferior shell interaction
5448 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5449 (sh-set-shell): Reset it.
5450 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5451 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5453 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5455 * align.el: Use lexical-binding.
5456 (align-region): Simplify accordingly.
5458 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5460 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5462 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5465 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5469 * net/tramp-cmds.el:
5471 * net/tramp-gvfs.el:
5473 * net/tramp-sh.el: Don't wrap external variable declarations by
5474 `eval-when-compile'.
5476 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5478 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5479 now that Emacs supports ImageMagick animations.
5481 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5483 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5484 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5486 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5488 * window.el (mouse-autoselect-window-select): Do autoselect when
5489 mouse pointer is on margin.
5491 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5493 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5495 2013-08-16 Glenn Morris <rgm@gnu.org>
5497 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5498 Handle "Remote Directory" response of some clients. (Bug#15058)
5500 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5501 Tweak warning. (Bug#14926)
5503 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5504 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5506 * image-mode.el (image-mode-map): Add menu items to reverse,
5507 increase, decrease, reset animation speed.
5508 (image--set-speed, image-increase-speed, image-decrease-speed)
5509 (image-reverse-speed, image-reset-speed): New functions.
5510 (image-mode-map): Add bindings for speed commands.
5512 * image.el (image-animate-get-speed, image-animate-set-speed):
5514 (image-animate-timeout): Respect image :speed property.
5516 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5518 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5519 previous line (bug#15101).
5520 (debugger-eval-expression, debugger-record-expression):
5521 Use read--expression (bug#15102).
5523 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5525 Remove byte compiler warnings, visible when compiling with
5526 `byte-compile-force-lexical-warnings' set to t.
5528 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5529 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5530 (tramp-handle-unhandled-file-name-directory)
5531 (tramp-handle-file-notify-add-watch, tramp-action-login)
5532 (tramp-action-succeed, tramp-action-permission-denied)
5533 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5536 * net/tramp-adb.el (tramp-adb-parse-device-names)
5537 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5538 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5539 (tramp-adb-handle-file-truename): Remove unused arguments.
5541 * net/tramp-cache.el (tramp-flush-directory-property)
5542 (tramp-flush-connection-property, tramp-list-connections)
5543 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5545 * net/tramp-compat.el (tramp-compat-make-temp-file):
5546 Rename FILENAME to F.
5548 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5549 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5550 (tramp-zeroconf-parse-workstation-device-names)
5551 (tramp-zeroconf-parse-webdav-device-names)
5552 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5554 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5555 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5557 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5559 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5560 (tramp-sh-handle-insert-file-contents-literally)
5561 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5563 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5564 Remove unused variables.
5566 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5567 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5568 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5570 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5571 Make them a defconst.
5572 (tramp-uuencode-region): Remove unused variable.
5574 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5576 * frameset.el (frameset--prop-setter): New function.
5577 (frameset-prop): Add gv-setter declaration.
5578 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5579 parameter was already set in FILTERED. Doc fix.
5580 (frameset--record-minibuffer-relationships): Allow saving a
5581 minibufferless frame without its corresponding minibuffer frame.
5582 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5583 frame, if the frame id matches.
5584 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5585 frames before orphaned ones.
5586 (frameset-restore): Warn about orphaned windows, instead of error out.
5588 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5590 * window.el (window-make-atom): Don't overwrite parameter
5592 (display-buffer-in-atom-window): Handle special case where we
5593 split an already atomic window.
5594 (window--major-non-side-window, display-buffer-in-side-window)
5595 (window--side-check): Ignore minibuffer window when walking
5597 (window-deletable-p): Return 'frame only if no other frame uses
5598 our minibuffer window.
5599 (record-window-buffer): Run buffer-list-update-hook.
5600 (split-window): Make sure window--check-frame won't destroy an
5601 existing atomic window in case the new window gets nested
5603 (display-buffer-at-bottom): Ignore minibuffer window when
5604 walking window tree. Don't split a side window.
5605 (pop-to-buffer): Don't set-buffer here, the select-window call
5607 (mouse-autoselect-window-select): Autoselect only if we are in the
5608 text portion of the window.
5610 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5612 * net/shr.el (shr-parse-image-data): New function to grab both the
5613 data itself and the Content-Type.
5614 (shr-put-image): Use it.
5616 * net/eww.el (eww-display-image): Ditto.
5618 * image.el (image-content-type-suffixes): New variable.
5620 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5622 * progmodes/python.el (python-imenu--build-tree)
5623 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5625 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5627 * simple.el (backward-word): Mention the optional argument.
5629 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5631 * frameset.el (frameset--make): Rename constructor from make-frameset.
5632 (frameset-p, frameset-valid-p): Don't autoload.
5633 (frameset-valid-p): Use normal accessors.
5635 2013-08-13 Glenn Morris <rgm@gnu.org>
5637 * progmodes/compile.el (compile-command): Tweak example in doc.
5638 * obsolete/scribe.el (scribe-mode):
5639 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5641 * mail/feedmail.el (feedmail-confirm-outgoing)
5642 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5644 * cus-start.el (truncate-partial-width-windows): Fix type.
5646 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5648 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5650 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5652 * emacs-lisp/timer.el (timer--time-setter): New function.
5653 (timer--time): Use it as gv-setter.
5655 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5656 setter is not a symbol.
5658 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5660 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5661 if sending fails. This makes debugging easier.
5663 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5665 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5666 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5667 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5669 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5671 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5673 2013-08-12 Glenn Morris <rgm@gnu.org>
5675 * format.el (format-annotate-function):
5676 Handle read-only text properties in the source. (Bug#14887)
5678 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5680 * net/eww.el (eww-display-html): Ignore coding system errors.
5681 One web site uses "utf-8lias" as the coding system.
5683 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5685 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5687 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5689 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5690 (tutorial--detailed-help): Remove unused local variables.
5691 (tutorial--save-tutorial-to): Use ignore-errors.
5692 (help-with-tutorial): Use looking-at-p.
5694 * view.el (view-buffer-other-window, view-buffer-other-frame):
5695 Mark unused arguments.
5697 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5698 (woman-select-symbol-fonts, woman, woman-find-file)
5699 (woman-insert-file-contents, woman-non-underline-faces):
5701 (woman1-unquote): Move declaration.
5703 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5704 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5705 argument. Remove unused local variable.
5706 (xml-parse-elem-type): Use string-match-p.
5707 (xml-substitute-numeric-entities): Use ignore-errors.
5709 * calculator.el (calculator): Mark unused argument.
5710 (calculator-paste, calculator-quit, calculator-integer-p):
5712 (calculator-string-to-number, calculator-decimal, calculator-exp)
5713 (calculator-op-or-exp): Use string-match-p.
5715 * dired.el (dired-buffer-more-recently-used-p): Declare.
5716 (dired-insert-set-properties, dired-insert-old-subdirs):
5719 * dired-aux.el (dired-compress): Use ignore-errors.
5720 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5721 (dired-do-async-shell-command, dired-do-shell-command)
5722 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5723 (dired-insert-subdir-validate): Use string-match-p.
5724 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5725 (dired-add-entry): Use string-match-p, looking-at-p.
5726 (dired-insert-subdir-newpos): Remove unused local variable.
5728 * filenotify.el (file-notify-callback): Remove unused local variable.
5730 * filesets.el (filesets-error): Mark unused argument.
5731 (filesets-which-command-p, filesets-filter-dir-names)
5732 (filesets-directory-files, filesets-get-external-viewer)
5733 (filesets-ingroup-get-data): Use string-match-p.
5735 * find-file.el (ff-other-file-name, ff-other-file-name)
5736 (ff-find-the-other-file, ff-cc-hh-converter):
5737 Remove unused local variables.
5738 (ff-get-file-name): Use string-match-p.
5739 (ff-all-dirs-under): Use ignore-errors.
5741 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5742 (follow-select-if-visible): Remove unused local variable.
5744 * forms.el (read-file-filter): Move declaration.
5745 (forms--make-format, forms--make-parser, forms-insert-record):
5746 Quote function with #'.
5747 (forms--update): Use string-match-p. Quote function with #'.
5749 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5750 (help-make-xrefs): Use looking-at-p.
5751 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5753 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5754 (ibuffer-confirm-operation-on): Use string-match-p.
5756 * msb.el (msb-item-handler, msb-dired-item-handler):
5757 Mark unused arguments.
5759 * ses.el (ses-decode-cell-symbol)
5760 (ses-kill-override): Remove unused local variable.
5761 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5762 (ses-load): Use ignore-errors, looking-at-p.
5763 (ses-jump-safe): Use ignore-errors.
5764 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5766 * tabify.el (untabify, tabify): Mark unused arguments.
5768 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5769 Mark unused argument.
5770 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5771 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5773 * emacs-lisp/timer.el (timer--time): Define setter with
5774 gv-define-setter to avoid deprecation warning.
5776 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5777 (*record-cmpl-statistics-p*): Remove (was commented out).
5778 (cmpl-statistics-block): Remove (body was commented out).
5779 All callers changed.
5780 (add-completions-from-buffer, load-completions-from-file):
5781 Remove unused variables.
5783 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5785 * filecache.el (file-cache-delete-file-list):
5786 Print message only when told so.
5787 (file-cache-files-matching): Use #' in mapconcat argument.
5789 * ffap.el (ffap-url-at-point): Fix reference to variable
5790 thing-at-point-default-mail-uri-scheme.
5792 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5794 * subr.el (define-error): New function.
5795 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5796 error-file-not-found and define with define-error.
5797 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5798 and define with define-error.
5799 * userlock.el (file-locked, file-supersession):
5800 * simple.el (mark-inactive):
5801 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5802 * progmodes/ada-mode.el (ada-mode-errors):
5803 * play/life.el (life-extinct):
5804 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5805 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5806 * nxml/rng-util.el (rng-error):
5807 * nxml/rng-uri.el (rng-uri-error):
5808 * nxml/rng-match.el (rng-compile-error):
5809 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5810 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5811 * nxml/nxml-rap.el (nxml-scan-error):
5812 * nxml/nxml-outln.el (nxml-outline-error):
5813 * net/soap-client.el (soap-error):
5814 * net/gnutls.el (gnutls-error):
5815 * net/ange-ftp.el (ftp-error):
5816 * mpc.el (mpc-proc-error):
5817 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5818 (json-number-format, json-string-escape, json-string-format)
5819 (json-key-format, json-object-format):
5820 * jka-compr.el (compression-error):
5821 * international/quail.el (quail-error):
5822 * international/kkc.el (kkc-error):
5823 * emacs-lisp/ert.el (ert-test-failed):
5824 * calc/calc.el (calc-error, inexact-result, math-overflow)
5826 * bookmark.el (bookmark-error-no-filename):
5827 * epg.el (epg-error): Define with define-error.
5829 * time.el (display-time-event-handler)
5830 (display-time-next-load-average): Don't call sit-for since it seems
5831 unnecessary (bug#15045).
5833 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5834 Use #' instead of ' to quote functions.
5835 (checkdoc-output-mode): Use setq-local.
5836 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5837 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5838 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5839 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5840 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5841 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5842 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5843 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5845 * ido.el (ido-completion-help): Fix up compiler warning.
5847 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5849 * frameset.el (frameset-p): Add autoload cookie.
5850 (frameset--jump-to-register): New function, based on code moved from
5852 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5854 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5855 (frameset-restore, frameset-save, frameset-session-filter-alist):
5856 Remove declarations.
5857 (register-alist): Doc fix.
5858 (frameset-to-register): Move to frameset.el.
5859 (jump-to-register, describe-register-1): Remove frameset-specific code.
5861 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5863 * allout-widgets.el (allout-widgets-pre-command-business)
5864 (allout-widgets-post-command-business)
5865 (allout-widgets-after-change-handler)
5866 (allout-decorate-item-and-context, allout-set-boundary-marker)
5867 (allout-body-modification-handler)
5868 (allout-graphics-modification-handler): Mark ignored arguments.
5869 (allout-widgets-post-command-business)
5870 (allout-widgets-exposure-change-processor)
5871 (allout-widgets-exposure-undo-processor)
5872 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5873 (allout-parse-item-at-point, allout-decorate-item-guides)
5874 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5875 * allout.el (epa-passphrase-callback-function): Declare.
5876 (allout-overlay-insert-in-front-handler)
5877 (allout-overlay-interior-modification-handler)
5878 (allout-isearch-end-handler, allout-chart-siblings)
5879 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5880 (allout-yank-processing, allout-process-exposed)
5881 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5882 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5883 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5884 (lisp-indent-defform): Mark ignored arguments.
5885 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5886 (calculate-lisp-indent): Remove unused variables.
5887 * international/characters.el (indian-2-column, arabic-2-column)
5888 (tibetan): Mark ignored arguments.
5889 (use-cjk-char-width-table): Mark ignored arguments.
5890 Remove unused variables.
5891 * international/fontset.el (build-default-fontset-data)
5892 (x-compose-font-name, create-fontset-from-fontset-spec):
5893 Mark ignored arguments.
5894 (fontset-plain-name): Remove unused variables.
5895 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5896 (keyboard-coding-system): Mark ignored arguments.
5897 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5898 * help.el (resize-temp-buffer-window):
5899 * window.el (display-buffer-in-major-side-window)
5900 (display-buffer-in-side-window, display-buffer-in-previous-window):
5901 Remove unused variables.
5902 * isearch.el (isearch-forward-symbol):
5903 * version.el (emacs-bzr-version-bzr):
5904 * international/mule-cmds.el (current-language-environment):
5905 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5907 * term/pc-win.el (x-list-fonts, x-display-planes)
5908 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5909 (x-server-version, x-display-screens, x-display-mm-height)
5910 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5911 (x-selection-owner-p, x-own-selection-internal)
5912 (x-disown-selection-internal, x-get-selection-internal)
5913 (msdos-initialize-window-system):
5914 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5915 * term/x-win.el (x-handle-no-bitmap-icon):
5916 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5917 (vc-default-find-file-hook, vc-default-extra-menu):
5918 Mark ignored arguments.
5920 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5922 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5923 break-condition in the context of the debugged code (bug#12685).
5925 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5928 Do not use an overlay to highlight the last prompt. (Bug#14744)
5929 (comint-mode): Make comint-last-prompt buffer local.
5930 (comint-last-prompt): New variable.
5931 (comint-last-prompt-overlay): Remove. Superseded by
5933 (comint-snapshot-last-prompt, comint-output-filter):
5934 Use comint-last-prompt.
5936 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5938 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5939 (frameset-save): Check validity of the resulting frameset.
5941 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5943 * ido.el (ido-record-command): Add doc string.
5945 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5947 * frameset.el (frameset): Do not disable creation of the default
5948 frameset-p predicate. Doc fix.
5949 (frameset-valid-p): New function, copied from the old predicate-p.
5950 Add additional checks.
5951 (frameset-restore): Check with frameset-valid-p.
5952 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5953 (frameset-name, frameset-description, frameset-properties)
5954 (frameset-states): Add docstring.
5955 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5956 (frameset-filter-alist): Doc fixes.
5958 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5960 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5962 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5964 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5965 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5966 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5967 (byte-compile-normal-call): Remove obsolescence check.
5969 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5971 * frameset.el (frameset-restore): Doc fix.
5973 * register.el (frameset-frame-id, frameset-frame-with-id)
5974 (frameset-p, frameset-restore, frameset-save): Declare.
5975 (register-alist): Document framesets.
5976 (frameset-session-filter-alist): Declare.
5977 (frameset-to-register): New function.
5978 (jump-to-register): Implement jumping to framesets. Doc fix.
5979 (describe-register-1): Describe framesets.
5981 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5983 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5985 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5986 Use lexical-binding.
5988 * frameset.el (frameset): Use type vector, not list (incompatible
5989 change). Do not declare a new constructor, use the default one.
5990 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5991 `name' and `description', respectively, and add read-only slot
5992 `timestamp'. Doc fixes.
5993 (frameset-copy, frameset-persistent-filter-alist)
5994 (frameset-filter-alist, frameset-switch-to-gui-p)
5995 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5996 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5997 (frameset-filter-iconified, frameset-keep-original-display-p):
5999 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6000 Rename from frameset-filter-(save|restore)-param. All callers changed.
6002 (frameset-p): Adapt to change to vector and be more thorough.
6003 Change arg name to OBJECT. Doc fix.
6004 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6005 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6006 All callers changed.
6007 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6008 All callers changed.
6009 (frameset--record-minibuffer-relationships): Rename from
6010 frameset--process-minibuffer-frames. All callers changed.
6011 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6012 Use new default constructor (again). Doc fix.
6013 (frameset--find-frame-if): Rename from `frameset--find-frame.
6014 All callers changed.
6015 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6016 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6018 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6019 PARAMETERS and WINDOW-STATE, respectively.
6020 (frameset-restore): Add new keyword argument PREDICATE.
6021 Reset frameset--target-display to nil. Doc fix.
6023 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6025 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6027 (bat-mode-syntax-table): Mark \n as end-of-comment.
6028 (bat-font-lock-keywords): Remove comment rule.
6030 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6031 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6033 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6034 (byte-compile-callargs-warn): Use `push'.
6035 (byte-compile-arglist-warn): Ignore higher-order "calls".
6036 (byte-compile-file-form-autoload): Use `pcase'.
6037 (byte-compile-function-form): If quoting a symbol, check that it exists.
6039 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6041 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6042 and add a few popular commands found in batch files.
6043 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6044 (dos-mode): Doc fixes.
6046 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6048 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6049 (dos-mode): Use setq-local. Add space after "rem".
6050 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6051 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6053 2013-08-07 Arni Magnusson <arnima@hafro.is>
6055 * progmodes/dos.el: New file.
6056 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6059 2013-08-06 Glenn Morris <rgm@gnu.org>
6061 * calendar/calendar.el: Add new faces, and day-header-array.
6062 (calendar-weekday-header, calendar-weekend-header)
6063 (calendar-month-header): New faces.
6064 (calendar-day-header-construct): New function.
6065 (calendar-day-header-width): Also :set calendar-day-header-array.
6066 (calendar-american-month-header, calendar-european-month-header)
6067 (calendar-iso-month-header): Use calendar- faces.
6068 (calendar-generate-month):
6069 Use calendar-day-header-array for day headers; apply faces to them.
6070 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6071 (calendar-abbrev-construct): Add optional maxlen argument.
6072 (calendar-day-name-array): Doc fix.
6073 (calendar-day-name-array, calendar-abbrev-length)
6074 (calendar-day-abbrev-array):
6075 Also :set calendar-day-header-array, and maybe redraw.
6076 (calendar-day-header-array): New option. (Bug#15007)
6077 (calendar-font-lock-keywords): Set to nil and make obsolete.
6078 (calendar-day-name): Add option to use header array.
6080 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6082 * net/shr.el (shr-render-td): Remove debugging.
6083 (shr-render-td): Make width computation consistent by defaulting
6084 all zero-width columns to 10 characters. This may not be optimal,
6085 but it's at least consistent.
6086 (shr-make-table-1): Redo last change to fix the real problem in
6089 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6091 * files.el (cache-long-line-scans):
6092 Make obsolete alias to `cache-long-scans'.
6094 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6096 * frameset.el (frameset, frameset-filter-alist)
6097 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6098 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6099 (frameset-compute-pos): Rename from frameset--compute-pos,
6101 (frameset-move-onscreen): Use frameset-compute-pos.
6102 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6104 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6105 Fix typos in docstrings.
6107 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6109 * frame.el (get-other-frame): Tiny cleanup.
6111 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6113 * vc/vc.el (vc-default-ignore-completion-table):
6114 Silence byte-compiler warning.
6116 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6117 slot , which can indeed be nil.
6118 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6119 Move entry for `left' from persistent to live filter alist.
6120 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6122 (frameset-filter-params): When restoring a frame, copy items added to
6123 `filtered', to avoid unwittingly modifying the original parameters.
6124 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6125 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6127 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6128 to use looking-at-p instead of looking-at. (Bug#15028)
6130 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6132 Revert introduction of isearch-filter-predicates (bug#14714).
6133 Rely on add-function instead.
6134 * isearch.el (isearch-filter-predicates): Rename it back to
6135 isearch-filter-predicate.
6136 (isearch-message-prefix): Use advice-function-mapc and advice
6137 properties to get the isearch-message-prefix.
6138 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6139 instead of run-hook-with-args-until-failure.
6140 (isearch-filter-visible): Not obsolete any more.
6141 * loadup.el: Preload nadvice.
6142 * replace.el (perform-replace): Revert to funcall
6143 instead of run-hook-with-args-until-failure.
6144 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6145 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6146 dired-isearch-filenames-toggle; make it into a proper minor mode.
6147 Use add/remove-function.
6148 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6149 Call the minor-mode rather than add/remove-hook.
6150 (dired-isearch-filter-filenames):
6151 Remove isearch-message-prefix property.
6152 * info.el (Info--search-loop): New function, extracted from Info-search.
6153 Funcall isearch-filter-predicate instead of
6154 run-hook-with-args-until-failure isearch-filter-predicates.
6155 (Info-search): Use it.
6156 (Info-mode): Use isearch-filter-predicate instead of
6157 isearch-filter-predicates.
6159 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6161 Do not call to `selected-window' where it is assumed by default.
6162 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6163 `window-hscroll', `window-width', `window-height', `window-buffer',
6164 `window-frame', `window-start', `window-point', `next-window'
6165 and `window-display-table'.
6166 * abbrev.el (abbrev--default-expand):
6167 * bs.el (bs--show-with-configuration):
6168 * buff-menu.el (Buffer-menu-mouse-select):
6169 * calc/calc.el (calc):
6170 * calendar/calendar.el (calendar-generate-window):
6171 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6173 * comint.el (send-invisible, comint-dynamic-complete-filename)
6174 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6175 * completion.el (complete):
6176 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6177 * disp-table.el (describe-current-display-table):
6178 * doc-view.el (doc-view-insert-image):
6179 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6180 * ehelp.el (with-electric-help):
6181 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6182 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6183 * emacs-lisp/helper.el (Helper-help-scroller):
6184 * emulation/cua-base.el (cua--post-command-handler-1):
6185 * eshell/esh-mode.el (eshell-output-filter):
6186 * ffap.el (ffap-gnus-wrapper):
6187 * help-macro.el (make-help-screen):
6188 * hilit-chg.el (highlight-compare-buffers):
6189 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6190 * hl-line.el (global-hl-line-highlight):
6191 * icomplete.el (icomplete-simple-completing-p):
6192 * isearch.el (isearch-done):
6193 * jit-lock.el (jit-lock-stealth-fontify):
6194 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6195 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
6196 * mpc.el (mpc-tagbrowser, mpc):
6197 * net/rcirc.el (rcirc-any-buffer):
6198 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6199 * play/landmark.el (landmark-max-width, landmark-max-height):
6200 * play/zone.el (zone):
6201 * progmodes/compile.el (compilation-goto-locus):
6202 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6203 * progmodes/etags.el (find-tag-other-window):
6204 * progmodes/fortran.el (fortran-column-ruler):
6205 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6206 * progmodes/verilog-mode.el (verilog-point-text):
6207 * reposition.el (reposition-window):
6208 * rot13.el (toggle-rot13-mode):
6209 * server.el (server-switch-buffer):
6210 * shell.el (shell-dynamic-complete-command)
6211 (shell-dynamic-complete-environment-variable):
6212 * simple.el (insert-buffer, set-selective-display)
6213 (delete-completion-window):
6214 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6215 (speedbar-recenter):
6216 * startup.el (fancy-splash-head):
6217 * textmodes/ispell.el (ispell-command-loop):
6218 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6219 * tutorial.el (help-with-tutorial):
6220 * vc/add-log.el (add-change-log-entry):
6221 * vc/compare-w.el (compare-windows):
6222 * vc/ediff-help.el (ediff-indent-help-message):
6223 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6224 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6225 (ediff-setup-control-frame):
6226 * vc/emerge.el (emerge-position-region):
6227 * vc/pcvs-util.el (cvs-bury-buffer):
6228 * window.el (walk-windows, mouse-autoselect-window-select):
6229 * winner.el (winner-set-conf, winner-undo): Related users changed.
6231 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6233 * frameset.el (frameset--set-id): Doc fix.
6234 (frameset-frame-id, frameset-frame-id-equal-p)
6235 (frameset-locate-frame-id): New functions.
6236 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6237 (frameset-restore): Use them.
6239 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6241 Do not call to `selected-frame' where it is assumed by default.
6242 Affected functions are `raise-frame', `redraw-frame',
6243 `frame-first-window', `frame-terminal' and `delete-frame'.
6244 * calendar/appt.el (appt-disp-window):
6245 * epg.el (epg-wait-for-completion):
6246 * follow.el (follow-delete-other-windows-and-split)
6247 (follow-avoid-tail-recenter):
6248 * international/mule.el (set-terminal-coding-system):
6249 * mail/rmail.el (rmail-mail-return):
6250 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6251 * progmodes/f90.el (f90-add-imenu-menu):
6252 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6253 * server.el (server-switch-buffer):
6254 * simple.el (delete-completion-window):
6256 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6257 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6258 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6259 * vc/ediff.el (ediff-documentation): Related users changed.
6260 * frame.el (selected-terminal): Remove the leftover.
6262 2013-08-05 Glenn Morris <rgm@gnu.org>
6264 * calendar/calendar.el (calendar-generate-month):
6265 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6266 (calendar-generate-month, calendar-font-lock-keywords):
6267 Fix for calendar-day-header-width > length of any day name.
6269 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6271 * desktop.el (desktop-clear): Use new name of sort predicate.
6273 * frameset.el (frameset): Add docstring. Move :version property to its
6275 (frameset-copy): Rename from copy-frameset.
6276 (frameset-p): Check more thoroughly.
6277 (frameset-prop): Do not check for :version, which is no longer a prop.
6278 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6279 Use new :never value instead of t.
6280 (frameset-filter-alist): Expand and clarify docstring.
6281 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6282 (frameset-filter-minibuffer, frameset-filter-save-param)
6283 (frameset-filter-restore-param, frameset-filter-iconified):
6284 Add pointer to docstring of frameset-filter-alist.
6285 (frameset-filter-params): Rename filter values to be more meaningful:
6286 :never instead of t, and reverse the meanings of :save and :restore.
6287 (frameset--process-minibuffer-frames): Clarify error message.
6288 (frameset-save): Avoid unnecessary and confusing call to framep.
6289 Use new BOA constructor for framesets.
6290 (frameset--reuse-list): Doc fix.
6291 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6292 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6293 (frameset-minibufferless-first-p): Doc fix.
6294 Rename from frameset-sort-frames-for-deletion.
6295 (frameset-restore): Doc fixes. Use new function names.
6296 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6298 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6300 * desktop.el (desktop-restore-forces-onscreen)
6301 (desktop-restore-reuses-frames): Document :keyword constant values.
6302 (desktop-filter-parameters-alist): Remove, now identical to
6303 frameset-filter-alist.
6304 (desktop--filter-tty*): Remove, moved to frameset.el.
6305 (desktop-save-frameset, desktop-restore-frameset):
6306 Do not pass :filters argument.
6308 * frameset.el (frameset-live-filter-alist)
6309 (frameset-persistent-filter-alist): New variables.
6310 (frameset-filter-alist): Use them. Add autoload cookie.
6311 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6312 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6313 `frameset--id' (it's supposed to be internal to frameset.el).
6314 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6315 (frameset--initial-params): New function.
6316 (frameset--get-frame): Use it. Doc fix.
6317 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6318 Accept :all, not 'all.
6319 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6320 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6321 with fbound symbols. Fix frame id matching, and remove matching ids if
6322 the frame being restored is deleted. Obey :delete.
6324 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6326 * subr.el (macrop): New function.
6327 (text-clone--maintaining): New var.
6328 (text-clone--maintain): Rename from text-clone-maintain. Use it
6329 instead of inhibit-modification-hooks.
6331 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6332 a proxy, so as handle autoloads and redefinitions of the target.
6333 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6335 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6336 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6337 (pcase--mutually-exclusive-p): New function.
6338 (pcase--split-consp): Use it.
6339 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6340 mutually exclusive with the current predicate.
6342 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6343 (edebug-macrop): Remove. Use `macrop' instead.
6344 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6346 * eshell/esh-cmd.el (eshell-macrop):
6347 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6349 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6351 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6352 (advice-mapc): New function, using it.
6353 (advice-function-member-p): New function.
6354 (advice--normalize): Store the cdr in advice--saved-rewrite since
6355 that's the part that will be changed.
6356 (advice--symbol-function): New function.
6357 (advice-remove): Handle removal before the function is defined.
6358 Adjust to new advice--saved-rewrite.
6359 (advice-member-p): Use advice-function-member-p and
6360 advice--symbol-function.
6362 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6364 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6365 (frameset-filter-minibuffer): Doc fix.
6366 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6367 (frameset--set-id, frameset--process-minibuffer-frames)
6368 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6369 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6371 * desktop.el (desktop-clear): Only delete frames when called
6372 interactively and desktop-restore-frames is non-nil. Doc fix.
6373 (desktop-read): Set desktop-saved-frameset to nil.
6375 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6377 * vc/vc.el (vc-ignore): Rewrite.
6378 (vc-default-ignore-completion-table):
6380 (vc--add-line, vc--remove-regexp): New functions.
6382 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6383 (vc-svn-ignore-completion-table): New function.
6385 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6386 (vc-hg-ignore-completion-table):
6387 (vc-hg-find-ignore-file): New functions.
6389 * vc/vc-git.el (vc-git-ignore): Rewrite.
6390 (vc-git-ignore-completion-table):
6391 (vc-git-find-ignore-file): New functions.
6393 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6395 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6396 (vc-bzr-ignore-completion-table):
6397 (vc-bzr-find-ignore-file): New functions.
6399 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6401 * frameset.el (frameset-prop): New function and setter.
6402 (frameset-save): Do not modify frame list passed by the caller.
6404 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6406 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6408 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6410 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6411 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6413 * custom.el (custom-initialize-default, custom-initialize-set)
6414 (custom-initialize-reset, custom-initialize-changed): Affect the
6415 toplevel-default-value (bug#6275, bug#14586).
6416 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6419 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6421 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6422 Add cl-def* expressions.
6424 * frameset.el (frameset-filter-params): Fix order of arguments.
6426 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6428 Move code related to saving frames to frameset.el.
6429 * desktop.el: Require frameset.
6430 (desktop-restore-frames): Doc fix.
6431 (desktop-restore-reuses-frames): Rename from
6432 desktop-restoring-reuses-frames.
6433 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6434 (desktop-clear): Clear frames too.
6435 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6436 (desktop--filter-tty*, desktop-save, desktop-read):
6437 Use frameset functions.
6438 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6439 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6440 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6441 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6442 (desktop--process-minibuffer-frames, desktop-save-frames)
6443 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6444 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6445 (desktop--sort-states, desktop-restoring-frames-p)
6446 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6447 (desktop-restoring-frameset-p, desktop-restore-frameset)
6448 (desktop--check-dont-save, desktop-save-frameset): New functions.
6449 (desktop--app-id): New constant.
6450 (desktop-first-buffer, desktop-buffer-ok-count)
6451 (desktop-buffer-fail-count): Move before first use.
6452 * frameset.el: New file.
6454 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6456 * files.el: Use lexical-binding.
6457 (dir-locals-read-from-file): Remove unused `err' variable.
6458 (hack-dir-local-variables--warned-coding): New var.
6459 (hack-dir-local-variables): Use it to avoid repeated warnings.
6460 (make-backup-file-name--default-function): New function.
6461 (make-backup-file-name-function): Use it as default.
6462 (buffer-stale--default-function): New function.
6463 (buffer-stale-function): Use it as default.
6464 (revert-buffer-insert-file-contents--default-function): New function.
6465 (revert-buffer-insert-file-contents-function): Use it as default.
6466 (insert-directory): Avoid add-to-list.
6468 * autorevert.el (auto-revert-handler): Simplify.
6469 Use buffer-stale--default-function.
6471 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6473 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6475 * whitespace.el (whitespace-ensure-local-variables): New function.
6476 (whitespace-cleanup-region): Call it.
6477 (whitespace-turn-on): Call it.
6479 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6481 Complete file name handlers.
6483 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6484 (tramp-handle-verify-visited-file-modtime)
6485 (tramp-handle-file-notify-rm-watch): New functions.
6486 (tramp-call-process): Do not bind `default-directory'.
6488 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6489 Order alphabetically.
6490 [access-file, add-name-to-file, dired-call-process]:
6491 [dired-compress-file, file-acl, file-notify-rm-watch]:
6492 [file-ownership-preserved-p, file-selinux-context]:
6493 [make-directory-internal, make-symbolic-link, set-file-acl]:
6494 [set-file-selinux-context, set-visited-file-modtime]:
6495 [verify-visited-file-modtime]: Add handler.
6496 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6498 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6499 [file-notify-add-watch, file-notify-rm-watch]:
6500 [set-file-times, set-visited-file-modtime]:
6501 [verify-visited-file-modtime]: Add handler.
6502 (with-tramp-gvfs-error-message)
6503 (tramp-gvfs-handle-set-visited-file-modtime)
6504 (tramp-gvfs-fuse-file-name): Remove.
6505 (tramp-gvfs-handle-file-notify-add-watch)
6506 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6507 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6509 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6510 Order alphabetically.
6511 [file-notify-rm-watch ]: Use default Tramp handler.
6512 [executable-find]: Remove private handler.
6513 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6514 `default-directory'.
6515 (tramp-sh-handle-executable-find)
6516 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6517 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6518 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6519 Do not use `format' in `tramp-message'.
6521 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6522 [file-notify-rm-watch, set-visited-file-modtime]:
6523 [verify-visited-file-modtime]: Add handler.
6524 (tramp-smb-call-winexe): Do not bind `default-directory'.
6526 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6528 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6530 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6532 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6534 (log-view-diff-changeset): Same.
6535 (log-view-diff-common): Call backend command `previous-revision'
6536 to find out the previous revision, in both cases. Swap the
6537 variables `to' and `fr', so that `fr' usually refers to the
6538 earlier revision (Bug#14989).
6540 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6542 * ibuf-ext.el (ibuffer-filter-by-filename):
6543 Make it work with dired buffers too.
6545 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6547 * emacs-lisp/re-builder.el (reb-color-display-p):
6548 * files.el (save-buffers-kill-terminal):
6549 * net/browse-url.el (browse-url):
6550 * server.el (server-save-buffers-kill-terminal):
6551 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6552 Prefer nil to selected-frame for the first arg of frame-parameter.
6554 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6556 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6558 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6560 * minibuffer.el (completion--twq-all): Try and preserve each
6561 completion's case choice (bug#14907).
6563 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6565 * net/network-stream.el (open-network-stream): Mention the new
6566 :nogreeting parameter.
6567 (network-stream-open-starttls): Use the :nogreeting parameter
6570 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6572 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6573 more natural than popping.
6575 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6576 (shr-urlify): Highlight under mouse.
6578 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6580 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6582 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6584 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6587 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6588 point-min==1. Fix search string. Fix parentheses missing.
6590 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6591 assume point-min==1. Fix search string. Fix parentheses missing.
6593 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6595 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6598 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6600 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6601 initial frame is minibuffer-less. (Bug#14841)
6603 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6605 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6608 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6609 (tramp-maybe-open-connection): Use it.
6611 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6613 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6614 minimal set of parameters passed when creating a frame, because
6615 the minibuffer status of a frame cannot be changed later.
6617 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6619 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6620 replace-regexp-in-string and inadvertent omissions in previous change.
6621 (todo-filter-items): Ensure only file names are comma-separated in
6622 name of filtered items buffer.
6624 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6626 * desktop.el: Optionally force offscreen frames back onscreen.
6627 (desktop-restoring-reuses-frames): New option.
6628 (desktop--compute-pos, desktop--move-onscreen): New functions.
6629 (desktop--make-frame): Use desktop--move-onscreen.
6631 2013-07-27 Alan Mackenzie <acm@muc.de>
6633 Fontify a Java generic method as a function.
6634 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6637 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6639 * calendar/todo-mode.el: Add command to rename todo files.
6640 (todo-rename-file): New command.
6641 (todo-key-bindings-t): Add key binding for it. Change the
6642 bindings of todo-filter-regexp-items(-multifile) to use `x'
6643 instead of `r', since the latter is better suited to the new
6646 2013-07-27 Alan Mackenzie <acm@muc.de>
6648 Make Java try-with-resources statement parse properly.
6649 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6650 (c-block-stmt-1-2-key): New language constants/variables.
6651 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6652 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6653 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6654 with c-block-stmt-1-2-key.
6656 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6658 * desktop.el (desktop--make-frame): Apply most frame parameters after
6659 creating the frame to force (partially or totally) offscreen frames to
6660 be restored as such.
6662 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6664 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6667 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6669 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6670 `base' arg of backtrace-frame.
6672 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6674 * simple.el (list-processes): Doc fix.
6676 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6678 * desktop.el (desktop--select-frame):
6679 Try harder to reuse existing frames.
6681 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6683 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6684 (edebug-eval): Use backtrace-eval.
6685 (edebug--display, edebug--recursive-edit): Don't let-bind the
6686 edebug-outer-* vars that keep track of variables we locally let-bind.
6687 (edebug-outside-excursion): Don't restore outside values of locally
6689 (edebug--display): Use user-error.
6690 (cl-lexical-debug, cl-debug-env): Remove.
6692 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6694 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6695 are restored to be sure that they are visible before deleting any
6698 2013-07-26 Matthias Meulien <orontee@gmail.com>
6700 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6701 vc-print-root-log. (Bug#14948)
6703 2013-07-26 Richard Stallman <rms@gnu.org>
6705 Add aliases for encrypting mail.
6706 * epa.el (epa-mail-aliases): New option.
6707 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6708 Bind inhibit-read-only so read-only text doesn't ruin everything.
6709 (epa-mail-default-recipients): New subroutine broken out.
6710 Handle epa-mail-aliases.
6712 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6714 Add support for lexical variables to the debugger's `e' command.
6715 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6716 vars, except for debugger-outer-match-data.
6717 (debugger-frame-number): Move check for "on a function call" from
6718 callers into it. Add `skip-base' argument.
6719 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6720 (debugger-env-macro): Only reset the state stored in non-variables,
6721 i.e. current-buffer and match-data.
6722 (debugger-eval-expression): Rewrite using backtrace-eval.
6723 * subr.el (internal--called-interactively-p--get-frame): Remove.
6724 (called-interactively-p):
6725 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6726 `base' arg of backtrace-frame instead.
6728 2013-07-26 Glenn Morris <rgm@gnu.org>
6730 * align.el (align-regexp): Doc fix. (Bug#14857)
6731 (align-region): Explicit error if subexpression missing/does not match.
6733 * simple.el (global-visual-line-mode):
6734 Do not duplicate the mode lighter. (Bug#14858)
6736 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6738 * window.el (display-buffer): In display-buffer bind
6739 split-window-keep-point to t, bug#14829.
6741 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6743 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6744 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6745 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6746 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6748 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6749 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6751 2013-07-25 Glenn Morris <rgm@gnu.org>
6753 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6755 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6757 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6758 parameter to modify-frame-parameters if the value has not changed;
6759 this is a workaround for bug#14949.
6760 (desktop--make-frame): On cl-delete-if call, check parameter name,
6763 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6765 * vc/vc.el (vc-ignore): New function.
6767 * vc/vc-svn.el (vc-svn-ignore): New function.
6769 * vc/vc-hg.el (vc-hg-ignore): New function.
6771 * vc/vc-git.el (vc-git-ignore): New function.
6773 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6774 (vc-dir-ignore): New function.
6776 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6777 (cvs-append-to-ignore): Move here from pcvs.el.
6779 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6781 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6783 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6785 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6786 (desktop-restore-frames): Warn when deleting an existing frame failed.
6788 2013-07-24 Glenn Morris <rgm@gnu.org>
6790 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6792 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6794 * filenotify.el (file-notify-supported-p):
6795 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6798 * autorevert.el (auto-revert-use-notify):
6799 (auto-revert-notify-add-watch):
6800 * net/tramp.el (tramp-file-name-for-operation):
6801 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6802 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6803 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6804 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6805 Remove `file-notify-supported-p' entry.
6807 2013-07-24 Glenn Morris <rgm@gnu.org>
6809 * printing.el: Replace all uses of deleted ps-windows-system,
6810 ps-lp-system, ps-flatten-list with lpr- versions.
6812 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6814 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6815 checked with memq (bug#14935).
6817 * files.el (revert-buffer-function): Use a non-nil default.
6818 (revert-buffer-preserve-modes): Declare var to
6819 provide access to the `preserve-modes' argument.
6820 (revert-buffer): Let-bind it.
6821 (revert-buffer--default): New function, extracted from revert-buffer.
6823 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6825 * lpr.el: Signal print errors more prominently.
6826 (print-region-function): Don't default to nil.
6827 (lpr-print-region): New function, extracted from print-region-1.
6828 Check lpr's return value and signal an error in case of problem.
6829 (print-region-1): Use it.
6830 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6832 (ps-printer-name): Default to nil.
6833 (ps-printer-name-option): Default to lpr-printer-switch.
6834 (ps-print-region-function): Don't default to nil.
6835 (ps-postscript-code-directory): Simplify default.
6836 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6837 (ps-string-list, ps-eval-switch, ps-flatten-list)
6838 (ps-flatten-list-1): Remove.
6839 (ps-multibyte-buffer): Avoid setq.
6840 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6841 (print-region-function, ps-print-region-function): Don't set them here.
6843 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6845 * ido.el (ido-fractionp):
6846 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6847 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6848 (ido-max-directory-size, ido-max-dir-file-cache)
6849 (ido-decorations): Doc fix.
6851 * ansi-color.el: Fix old URL.
6853 2013-07-23 Michael R. Mauger <michael@mauger.com>
6855 * progmodes/sql.el: Version 3.3
6856 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6857 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6858 (sql-interactive-remove-continuation-prompt): Rewrite, use
6859 functions above. Fix continuation prompt and complete output line
6861 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6862 redirected output buffer.
6863 (sql-mode): Restore deleted code (Bug#13591).
6865 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6867 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6869 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6871 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6873 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6874 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6875 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6877 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6879 * desktop.el (desktop-clear): Simplify; remove useless checks
6880 against invalid buffer names.
6881 (desktop-list*): Use cl-list*.
6882 (desktop-buffer-info, desktop-create-buffer): Simplify.
6884 2013-07-23 Leo Liu <sdl.web@gmail.com>
6886 * bookmark.el (bookmark-make-record): Restore NAME as a default
6889 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6891 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6892 extracted from autoload--insert-text.
6893 (autoload--insert-text): Remove.
6894 (autoload--print-cookie-text): New function, extracted from
6895 autoload--insert-cookie-text.
6896 (autoload--insert-cookie-text): Remove.
6897 (autoload-generate-file-autoloads): Adjust calls accordingly.
6899 * winner.el (winner-hook-installed-p): Remove.
6900 (winner-mode): Simplify accordingly.
6902 * subr.el (add-to-list): Fix compiler-macro when `append' is
6903 not constant. Don't use `cl-member' for the base case.
6905 * progmodes/subword.el: Fix boundary case (bug#13758).
6906 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6908 (subword-backward-regexp): Make it a constant.
6909 (subword-forward-internal): Don't treat a trailing capital as the
6910 beginning of a word.
6912 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6914 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6915 global value of tabulated-list-revert-hook (bug#14930).
6917 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6919 * desktop.el: Require 'cl-lib.
6920 (desktop-before-saving-frames-functions): New hook.
6921 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6922 for frames being saved. Rename from desktop--save-minibuffer-frames.
6923 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6924 Do not save frames with non-nil `desktop-dont-save' parameter.
6925 Filter out deleted frames.
6926 (desktop--find-frame): Use cl-find-if.
6927 (desktop--select-frame): Use cl-(first|second|third) to access values
6929 (desktop--make-frame): Use cl-delete-if.
6930 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6931 (desktop-restore-frames): Use cl-(first|second|third) to access values
6932 of desktop-mini. Look for visible frame at the end, not while
6935 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6936 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6937 Use string-match-p, looking-at-p (bug#14927).
6939 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6941 * desktop.el (desktop-saved-frame-states):
6942 Rename from desktop--saved-states; all users changed.
6943 (desktop-save-frames): Rename from desktop--save-frames.
6944 Do not save state to desktop file.
6945 (desktop-save): Save desktop-saved-frame-states to desktop file
6947 (desktop-restoring-frames-p): New function.
6948 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6949 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6950 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6952 * desktop.el: Correctly restore iconified frames.
6953 (desktop--filter-iconified-position): New function.
6954 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6956 2013-07-20 Glenn Morris <rgm@gnu.org>
6958 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6959 Let `message' do the formatting.
6960 (def-gdb-preempt-display-buffer): Add explicit format.
6962 * image-dired.el (image-dired-track-original-file):
6963 Use with-current-buffer.
6964 (image-dired-track-thumbnail): Use with-current-buffer.
6965 Avoid changing point of wrong window.
6967 * image-dired.el (image-dired-track-original-file):
6968 Avoid changing point of wrong window. (Bug#14909)
6970 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6972 * progmodes/gdb-mi.el (gdb-done-or-error):
6973 Guard against "%" in gdb output. (Bug#14127)
6975 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6977 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6980 * international/mule.el (coding-system-iso-2022-flags): Fix last
6983 2013-07-20 Kenichi Handa <handa@gnu.org>
6985 * international/mule.el (coding-system-iso-2022-flags):
6986 Add `8-bit-level-4'. (Bug#8522)
6988 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6990 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6993 * net/eww.el (eww-process-text-input): Allow inputting when the
6994 point is at the start of the line, as the properties aren't
6997 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7000 2013-07-19 Richard Stallman <rms@gnu.org>
7002 * epa.el (epa-popup-info-window): Doc fix.
7004 * subr.el (split-string): New arg TRIM.
7006 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7008 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7009 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7011 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7013 * filenotify.el (file-notify--library): Rename from
7014 `file-notify-support'. Do not autoload. Adapt all uses.
7015 (file-notify-supported-p): New defun.
7017 * autorevert.el (auto-revert-use-notify):
7018 Use `file-notify-supported-p' instead of `file-notify-support'.
7020 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7022 * net/tramp.el (tramp-file-name-for-operation):
7023 Add `file-notify-supported-p'.
7025 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7027 (tramp-sh-file-name-handler-alist): Add it as handler for
7028 `file-notify-supported-p '.
7030 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7031 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7032 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7033 Add `ignore' as handler for `file-notify-*' functions.
7035 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7037 * simple.el (line-move-partial, line-move): Don't start vscroll or
7038 scroll-up if the current line is not taller than the window.
7041 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7043 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7044 highlight question marks in the method names as strings.
7045 (ruby-block-beg-keywords): Inline.
7046 (ruby-font-lock-keyword-beg-re): Extract from
7047 `ruby-font-lock-keywords'.
7049 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7051 * frame.el (blink-cursor-blinks): New defcustom.
7052 (blink-cursor-blinks-done): New defvar.
7053 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7054 (blink-cursor-timer-function): Check if number of blinks has been
7056 (blink-cursor-suspend, blink-cursor-check): New defuns.
7058 2013-07-15 Glenn Morris <rgm@gnu.org>
7060 * edmacro.el (edmacro-format-keys): Fix previous change.
7062 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7064 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7065 The hack didn't work outside English locales anyway.
7067 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7069 * simple.el (define-alternatives): Rename from alternatives-define,
7070 per RMS' suggestion.
7072 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7074 * desktop.el (desktop-restore-frames): Change default to t.
7075 (desktop-restore-in-current-display): Now offer more options.
7076 (desktop-restoring-reuses-frames): New customization option.
7077 (desktop--saved-states): Doc fix.
7078 (desktop-filter-parameters-alist): New variable, renamed and expanded
7079 from desktop--excluded-frame-parameters.
7080 (desktop--target-display): New variable.
7081 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7082 (desktop--filter-tty*, desktop--filter-*-color)
7083 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7084 (desktop--filter-save-desktop-parm)
7085 (desktop-restore-in-original-display-p): New functions.
7086 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7087 (desktop--save-minibuffer-frames): New function, inspired by a similar
7088 function from Martin Rudalics.
7089 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7090 (desktop--restore-in-this-display-p): Remove.
7091 (desktop--find-frame): Rename from desktop--find-frame-in-display
7092 and add predicate argument.
7093 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7094 (desktop--reuse-list): New variable.
7095 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7097 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7099 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7101 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7103 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7105 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7106 Highlight conversion methods on Kernel.
7108 2013-07-13 Alan Mackenzie <acm@muc.de>
7110 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7111 and comment it out. This out-commenting enables certain C++
7112 declarations to be parsed correctly.
7114 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7116 * international/mule.el (define-coding-system): Doc fix.
7118 * simple.el (default-font-height): Don't call font-info if the
7119 frame's default font didn't change since the frame was created.
7122 2013-07-13 Leo Liu <sdl.web@gmail.com>
7124 * ido.el (ido-read-file-name): Guard against non-symbol value.
7126 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7128 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7131 2013-07-13 Leo Liu <sdl.web@gmail.com>
7133 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7134 ido-set-matches call. (Bug#6852)
7136 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7138 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7139 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7141 (ruby-font-lock-keywords): Distinguish calls to functions with
7142 module-like names from module references. Highlight character
7145 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7147 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7148 (gdb-send): Handle continued commands. (Bug#14847)
7150 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7152 * desktop.el (desktop--v2s): Remove unused local variable.
7153 (desktop-save-buffer): Make defvar-local; adjust docstring.
7154 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7155 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7157 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7159 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7161 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7163 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7166 2013-07-12 Glenn Morris <rgm@gnu.org>
7168 * doc-view.el: Require cl-lib at runtime too.
7169 (doc-view-remove-if): Remove.
7170 (doc-view-search-next-match, doc-view-search-previous-match):
7173 * edmacro.el: Require cl-lib at runtime too.
7174 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7175 (edmacro-mismatch, edmacro-subseq): Remove.
7177 * shadowfile.el: Require cl-lib.
7178 (shadow-remove-if): Remove.
7179 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7182 * wid-edit.el: Require cl-lib.
7183 (widget-choose): Use cl-remove-if.
7184 (widget-remove-if): Remove.
7186 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7187 (ebrowse-delete-if-not): Remove.
7188 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7189 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7190 Use cl-delete-if-not.
7192 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7194 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7195 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7197 2013-07-12 Leo Liu <sdl.web@gmail.com>
7199 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7201 2013-07-11 Glenn Morris <rgm@gnu.org>
7203 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7204 (edebug-gensym-index, edebug-gensym):
7205 Remove reimplementation of cl-gensym.
7206 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7208 * thumbs.el: Require cl-lib at run-time too.
7209 (thumbs-gensym-counter, thumbs-gensym):
7210 Remove reimplementation of cl-gensym.
7211 (thumbs-temp-file): Use cl-gensym.
7213 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7214 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7215 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7216 (ert--union, ert--gensym-counter, ert--gensym-counter)
7217 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7218 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7219 (ert-make-test-unbound, ert--expand-should-1)
7220 (ert--expand-should, ert--should-error-handle-error)
7221 (should-error, ert--explain-equal-rec)
7222 (ert--plist-difference-explanation, ert-select-tests)
7223 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7224 Use cl-lib functions rather than reimplementations.
7226 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7228 * net/tramp.el (tramp-methods): Extend docstring.
7229 (tramp-connection-timeout): New defcustom.
7230 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7231 (with-tramp-progress-reporter): Simplify.
7232 (tramp-process-actions): Improve messages.
7234 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7235 * net/tramp-sh.el (tramp-maybe-open-connection):
7236 Use `tramp-connection-timeout'.
7237 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7240 2013-07-11 Leo Liu <sdl.web@gmail.com>
7242 * ido.el (ido-read-file-name): Conform to the requirements of
7243 read-file-name. (Bug#11861)
7244 (ido-read-directory-name): Conform to the requirements of
7245 read-directory-name.
7247 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7249 * subr.el (delay-warning): New function.
7251 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7253 * simple.el (default-line-height): New function.
7254 (line-move-partial, line-move): Use it instead of computing the
7256 (line-move-partial): Always compute ROWH. If the last line is
7257 partially-visible, but its text is completely visible, allow
7258 cursor to enter such a partially-visible line.
7260 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7262 Improve error messages. (Bug#14808)
7264 * net/tramp.el (tramp-current-connection): New defvar, moved from
7266 (tramp-message-show-progress-reporter-message): Remove, not
7268 (tramp-error-with-buffer): Show message in minibuffer.
7269 Discard input before waiting. Reset connection timestamp.
7270 (with-tramp-progress-reporter): Improve messages.
7271 (tramp-process-actions): Use progress reporter. Delete process in
7272 case of error. Improve messages.
7274 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7275 Call `tramp-error-with-buffer' with vector and buffer.
7276 (tramp-current-connection): Remove.
7277 (tramp-maybe-open-connection): The car of
7278 `tramp-current-connection' are the first 3 slots of the vector.
7280 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7282 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7283 inside continued strings.
7285 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7287 Timestamp fixes for undo (Bug#14824).
7288 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7290 2013-07-10 Leo Liu <sdl.web@gmail.com>
7292 * files.el (require-final-newline): Allow safe local value.
7295 2013-07-09 Leo Liu <sdl.web@gmail.com>
7297 * ido.el (ido-read-directory-name): Handle fallback.
7298 (ido-read-file-name): Update DIR to ido-current-directory.
7300 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7302 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7304 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7305 "autoload". Remove "warn lower camel case" section, previously
7306 commented out. Highlight negation char. Do not highlight the
7307 target in singleton method definitions.
7309 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7311 * faces.el (tty-setup-hook): Declare the hook.
7313 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7314 and detect when a guard/pred depends on local vars (bug#14773).
7315 (pcase--u1): Adjust caller.
7317 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7319 * simple.el (line-move-partial, line-move): Account for
7321 (line-move-partial): Avoid setting vscroll when the last
7322 partially-visible line in window is of default height.
7324 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7326 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7329 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7331 * subr.el (read-quoted-char): Remove unused local variable `char'.
7333 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7335 * ediff.el (ediff-version): Version update.
7336 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7337 (ediff-merge-with-ancestor-command, ediff-directories-command)
7338 (ediff-directories3-command, ediff-merge-directories-command)
7339 (ediff-merge-directories-with-ancestor-command): New functions.
7340 All are command-line interfaces to ediff: to facilitate calling
7341 Emacs with the appropriate ediff functions invoked.
7343 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7344 (viper-save-kill-buffer): Check if buffer is modified.
7346 * viper.el (viper-version): Version update.
7347 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7349 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7351 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7352 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7353 (viper-intercept-ESC-key): Simplify.
7354 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7355 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7356 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7357 (viper-setup-ESC-to-escape): New functions.
7358 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7359 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7361 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7363 * simple.el (default-font-height, window-screen-lines):
7365 (line-move, line-move-partial): Use them instead of
7366 frame-char-height and window-text-height. This makes scrolling
7367 text smoother when the buffer's default face uses a font that is
7368 different from the frame's default font.
7370 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7372 * files.el (write-file): Do not display confirm dialog for NS,
7373 it does its own dialog, which can't be canceled (Bug#14578).
7375 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7377 * simple.el (line-move-partial): Adjust the row returned by
7378 posn-at-point for the current window-vscroll. (Bug#14567)
7380 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7382 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7383 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7386 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7388 * window.el (window-state-put-stale-windows): New variable.
7389 (window--state-put-2): Save list of windows without matching buffer.
7390 (window-state-put): Remove "bufferless" windows if possible.
7392 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7394 * simple.el (alternatives-define): Remove leftover :group keyword.
7397 2013-07-06 Leo Liu <sdl.web@gmail.com>
7399 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7400 (ido-enable-virtual-buffers): New variable.
7401 (ido-buffer-internal, ido-toggle-virtual-buffers)
7402 (ido-make-buffer-list): Use it.
7403 (ido-exhibit): Support turning on and off virtual buffers
7406 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7408 * simple.el (alternatives-define): New macro.
7410 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7412 * subr.el (read-quoted-char): Use read-key.
7413 (sit-for): Let read-event decode tty input (bug#14782).
7415 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7417 * calendar/todo-mode.el: Add handling of file deletion, both by
7418 mode command and externally. Fix various related bugs.
7419 Clarify Commentary and improve some documentation strings and code.
7420 (todo-delete-file): New command.
7421 (todo-check-file): New function.
7422 (todo-show): Handle external deletion of the file we're trying to
7423 show (bug#14688). Replace called-interactively-p by an optional
7424 prefix argument to avoid problematic interaction with catch form
7425 when byte compiled (bug#14702).
7426 (todo-quit): Handle external deletion of the archive's todo file.
7427 Make sure the buffer that was visiting the archive file is still
7428 live before trying to bury it.
7429 (todo-category-completions): Handle external deletion of any
7430 category completion files.
7431 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7432 of todo files, in case of external deletion.
7433 (todo-add-file): Replace unnecessary setq by let-binding.
7434 (todo-find-archive): Check whether there are any archives.
7435 Replace unnecessary setq by let-binding.
7436 (todo-archive-done-item): Use find-file-noselect to get the
7437 archive buffer whether or not the archive already exists.
7438 Remove superfluous code. Use file size instead of buffer-file-name to
7439 check if the archive is new; if it is, update list of archives.
7440 (todo-default-todo-file): Allow nil to be a valid value for when
7441 there are no todo files.
7442 (todo-reevaluate-default-file-defcustom): Use corrected definition
7443 of todo-default-todo-file.
7444 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7445 (todo-delete-category, todo-show-categories-table)
7446 (todo-category-number): Clarify comment.
7447 (todo-filter-items): Clarify documentation string.
7448 (todo-show-current-file, todo-display-as-todo-file)
7449 (todo-reset-and-enable-done-separator): Tweak documentation string.
7450 (todo-done-separator): Make separator length window-width, since
7451 bug#2749 is now fixed.
7453 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7455 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7456 Support both "gvfs-monitor-dir" and "inotifywait".
7457 (tramp-sh-file-inotifywait-process-filter): Rename from
7458 `tramp-sh-file-notify-process-filter'.
7459 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7460 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7462 2013-07-05 Leo Liu <sdl.web@gmail.com>
7464 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7466 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7468 * frame.el (display-pixel-height, display-pixel-width)
7469 (display-mm-height, display-mm-width): Mention behavior on
7470 multi-monitor setups in docstrings.
7471 (w32-display-monitor-attributes-list): Declare function.
7472 (display-monitor-attributes-list): Use it.
7474 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7476 * filenotify.el: New package.
7478 * autorevert.el (top): Require filenotify.el.
7479 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7481 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7482 (auto-revert-notify-handler): Use `file-notify-*' functions.
7484 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7486 * net/tramp.el (tramp-file-name-for-operation):
7487 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7489 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7490 for `file-notify-add-watch' and `file-notify-rm-watch'.
7491 (tramp-process-sentinel): Improve trace.
7492 (tramp-sh-handle-file-notify-add-watch)
7493 (tramp-sh-file-notify-process-filter)
7494 (tramp-sh-handle-file-notify-rm-watch)
7495 (tramp-get-remote-inotifywait): New defuns.
7497 2013-07-03 Juri Linkov <juri@jurta.org>
7499 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7500 call of `occur-read-primary-args' to interactive spec.
7502 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7503 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7505 2013-07-03 Matthias Meulien <orontee@gmail.com>
7507 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7508 `Buffer-menu-multi-occur'. Add it to the menu.
7509 (Buffer-menu-mode): Document it in docstring.
7510 (Buffer-menu-multi-occur): New command. (Bug#14673)
7512 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7514 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7515 keywords and built-ins.
7517 2013-07-03 Glenn Morris <rgm@gnu.org>
7519 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7521 Make info-xref checks case-sensitive by default
7522 * info.el (Info-find-node, Info-find-in-tag-table)
7523 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7524 Add option for exact case matching of nodes.
7525 * info-xref.el (info-xref): New custom group.
7526 (info-xref-case-fold): New option.
7527 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7529 2013-07-03 Leo Liu <sdl.web@gmail.com>
7531 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7533 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7535 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7536 middle of block statement initially, lower the depth. Remove
7537 FIXME comment, not longer valid. Remove middle of block statement
7538 detection, no need to do that anymore since we've been using
7539 `ruby-parse-region' here.
7541 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7543 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7545 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7547 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7549 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7551 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7552 (desktop-restore-in-current-display): New customization option.
7553 (desktop--excluded-frame-parameters): Add `font'.
7554 (desktop--save-frames): Rename from desktop--save-windows.
7555 (desktop--restore-in-this-display-p): New function.
7556 (desktop--make-full-frame): Remove unwanted width/height from
7557 full(width|height) frames.
7558 (desktop--restore-frames): Rename from desktop--restore-windows.
7559 Obey desktop-restore-current-display. Do not delete old frames or
7560 select a new frame unless we were able to restore at least one frame.
7562 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7564 * files.el (find-file-noselect): Simplify conditional expression.
7566 * remember.el (remember-append-to-file):
7567 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7569 Add `remember-notes' function to store random notes across Emacs
7571 * remember.el (remember-data-file): Add :set callback to affect
7572 notes buffer (if any).
7573 (remember-notes): New command.
7574 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7575 New defcustoms for the `remember-notes' function.
7576 (remember-notes-save-and-bury-buffer): New command.
7577 (remember-notes-mode-map): New variable.
7578 (remember-mode): New minor mode.
7579 (remember-notes--kill-buffer-query): New function.
7580 * startup.el (initial-buffer-choice): Add notes to custom type.
7582 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7584 * bindings.el (right-char, left-char): Don't call sit-for, this is
7585 no longer needed. Use arithmetic comparison only for numerical
7588 * international/mule-cmds.el (select-safe-coding-system):
7589 Handle the case of FROM being a string correctly. (Bug#14755)
7591 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7593 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7594 progression on degenerate tables.
7595 (shr-rescale-image): ImageMagick animated images currently don't work.
7597 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7599 Some fixes and improvements for desktop frame restoration.
7600 It is still experimental and disabled by default.
7601 * desktop.el (desktop--save-windows): Put the selected frame at
7602 the head of the list.
7603 (desktop--make-full-frame): New function.
7604 (desktop--restore-windows): Try to re-select the frame that was
7605 selected upon saving. Do not abort if some frames fail to restore,
7606 just show an error message and continue. Set up maximized frames
7607 so they have default non-maximized dimensions.
7609 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7611 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7612 Don't start heredoc inside a string or comment.
7614 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7616 * bindings.el (visual-order-cursor-movement): New defcustom.
7617 (right-char, left-char): Provide visual-order cursor motion by
7618 calling move-point-visually. Update the doc strings.
7620 2013-06-28 Kenichi Handa <handa@gnu.org>
7622 * international/mule.el (define-coding-system): New coding system
7623 properties :inhibit-null-byte-detection,
7624 :inhibit-iso-escape-detection, and :prefer-utf-8.
7625 (set-buffer-file-coding-system): If :charset-list property of
7626 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7627 appropriate for setting.
7629 * international/mule-cmds.el (select-safe-coding-system):
7630 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7631 multibyte characters, return utf-8 (or one of its siblings).
7633 * international/mule-conf.el (prefer-utf-8): New coding system.
7634 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7637 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7639 * net/shr.el (shr-render-region): New function.
7641 * net/eww.el: Autoload `eww-browse-url'.
7643 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7645 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7646 Adapt to `package-desc-version' being a list.
7647 Use `package--ac-desc-version' to retrieve version from a package
7650 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7652 New experimental feature to save&restore window and frame setup.
7653 * desktop.el (desktop-save-windows): New defcustom.
7654 (desktop--saved-states): New var.
7655 (desktop--excluded-frame-parameters): New defconst.
7656 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7657 (desktop--restore-windows, desktop--save-windows): New functions.
7658 (desktop-save): Call `desktop--save-windows'.
7659 (desktop-read): Call `desktop--restore-windows'.
7661 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7663 * net/shr.el (add-face-text-property): Remove compat definition.
7665 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7667 * info.el (Info-try-follow-nearest-node): Move search for footnote
7668 above search for node name to prevent missing a footnote (bug#14717).
7670 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7672 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7674 2013-06-27 Leo Liu <sdl.web@gmail.com>
7676 * net/eww.el (eww-read-bookmarks): Check file size.
7678 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7680 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7681 advice--pending if newdef is nil or an autoload (bug#13820).
7682 (advice-mapc): New function.
7684 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7686 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7688 (eww-mode-map): Add a menu bar.
7689 (eww-add-bookmark): New command.
7690 (eww-bookmark-mode): New mode and commands.
7691 (eww-add-bookmark): Remove newlines from the title.
7692 (eww-bookmark-browse): Don't bug out if it's the only window.
7694 2013-06-26 Glenn Morris <rgm@gnu.org>
7696 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7697 (hfy-size): Handle ttys. (Bug#14668)
7699 * info-xref.el: Update for Texinfo 5 change in *note format.
7700 (info-xref-node-re, info-xref-note-re): New constants.
7701 (info-xref-check-buffer): Use info-xref-note-re.
7703 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7705 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7707 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7708 nil terminate the loop (bug#14718).
7710 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7712 * net/eww.el: Rework history traversal. When going forward/back,
7713 put these actions into the history, too, so that they can be
7715 (eww-render): Move the history reset to the correct buffer.
7717 2013-06-25 Juri Linkov <juri@jurta.org>
7719 * files-x.el (modify-dir-local-variable): Change the header comment
7720 in the file with directory local variables. (Bug#14692)
7722 * files-x.el (read-file-local-variable-value): Add `default'.
7725 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7727 * net/eww.el (eww-make-unique-file-name): Create a unique file
7728 name before saving to entering `y' accidentally asynchronously.
7730 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7732 * net/eww.el (eww-download): New command and keystroke.
7734 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7736 * net/eww.el (eww-copy-page-url): Change name of command.
7738 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7739 be more consistent with Info and dired.
7741 * net/eww.el (eww-mode-map): Ditto.
7743 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7745 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7746 packages from archives.
7747 (package-archive-contents): Change format; include obsolete packages.
7748 (package-desc): Use `dir' to mark builtin packages.
7749 (package--from-builtin): Set the `dir' field to `builtin'.
7750 (generated-autoload-file, version-control): Declare.
7751 (package-compute-transaction): Change first arg and return value to be
7752 lists of package-descs. Adjust to new package-archive-contents format.
7753 (package--add-to-archive-contents): Adjust to new
7754 package-archive-contents format.
7755 (package-download-transaction): Arg is now a list of package-descs.
7756 (package-install): If `pkg' is a package name, pass it as
7757 a requirement, so it is subject to the usual (e.g. disabled) checks.
7758 (describe-package): Accept package-desc as well.
7759 (describe-package-1): Describe a specific package-desc. Add links to
7760 other package-descs for the same package name.
7761 (package-menu-describe-package): Pass the actual package-desc.
7762 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7764 (package-desc-status): New function.
7765 (package-menu--refresh): New function, extracted
7766 from package-menu--generate.
7767 (package-menu--generate): Use it.
7768 (package-delete): Update package-alist.
7769 (package-menu-execute): Don't call package-initialize.
7771 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7772 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7773 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7774 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7775 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7776 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7778 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7780 * window.el (window--state-get-1): Workaround for bug#14527.
7781 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7783 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7785 * net/eww.el (eww-back-url): Implement the history by stashing all
7786 the data into a list.
7787 (eww-forward-url): Allow going forward in the history, too.
7789 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7791 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7792 for values and use read--expression for expressions (bug#14710).
7793 (read-file-local-variable): Avoid setq.
7794 (read-file-local-variable-mode): Use minor-mode-list.
7796 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7798 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7801 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7803 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7804 Update imenu-support when dialect changes.
7806 2013-06-25 Leo Liu <sdl.web@gmail.com>
7808 * ido.el (ido-read-internal): Allow forward slash on windows.
7810 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7812 * net/eww.el (eww): Start of strings is \\`, not ^.
7814 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7816 * net/shr.el (shr-browse-url): Fix interactive spec.
7818 * net/eww.el (eww): Add a trailing slash to domain names.
7820 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7822 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7824 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7826 * net/shr.el (shr-browse-url): Use an external browser if given a
7829 * net/eww.el (eww-external-browser): Move to shr.
7831 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7833 * net/eww.el (eww): Work more correctly for file: URLs.
7834 (eww-detect-charset): Allow quoted charsets.
7835 (eww-yank-page-url): New command and keystroke.
7837 2013-06-24 Daiki Ueno <ueno@gnu.org>
7839 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7840 file name of gpg executable.
7841 (epg-context-program): New function.
7842 (epg-context-home-directory): New function.
7843 (epg-context-set-program): New function.
7844 (epg-context-set-home-directory): New function.
7845 (epg--start): Use `epg-context-program' instead of
7847 (epg--list-keys-1): Likewise.
7849 2013-06-24 Leo Liu <sdl.web@gmail.com>
7851 * ido.el (ido-read-internal): Fix bug#14620.
7853 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7855 * faces.el (face-documentation): Simplify.
7856 (read-face-attribute, tty-find-type, x-resolve-font-name):
7857 Use `string-match-p'.
7858 (list-faces-display): Use `string-match-p'. Simplify.
7859 (face-spec-recalc): Check face to avoid face alias loops.
7860 (read-color): Use `string-match-p' and non-capturing parenthesis.
7862 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7864 * net/shr.el (shr-rescale-image): Use the new
7865 :max-width/:max-height functionality.
7867 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7869 * net/eww.el (eww-search-prefix): New variable.
7871 (eww-external-browser): New variable.
7872 (eww-mode-map): New keystroke.
7873 (eww-browse-with-external-browser): New command.
7875 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7877 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7879 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7880 Don't skip aligning the next header field when padding is 0;
7881 otherwise, field width is not respected unless the title is as
7884 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7886 * emacs-lisp/package.el (package-el-version): Remove.
7887 (package-process-define-package): Fix inf-loop.
7888 (package-install): Allow symbols as arguments again.
7890 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7892 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7893 add some more keyword-like methods.
7894 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7896 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7898 * bs.el (bs-buffer-show-mark): Make defvar-local.
7899 (bs-mode): Use setq-local.
7901 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7902 (emacs-lock--try-unlocking): Make defvar-local.
7904 2013-06-22 Glenn Morris <rgm@gnu.org>
7906 * play/cookie1.el (cookie-apropos): Minor simplification.
7908 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7910 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7912 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7913 `regexp-opt', it breaks the build during dumping.
7915 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7917 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7918 Highlight keyword-like methods on Kernel and Module with
7919 font-lock-builtin-face.
7920 (auto-mode-alist): Consolidate different entries into one regexp
7921 and add more *file-s.
7923 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7925 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7927 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7928 (diary-entry): Use it in the action of this button type instead of
7931 * calendar/todo-mode.el: New version.
7932 (todo-add-category): Append new category to end of file and give
7933 it the highest number, instead of putting it at the beginning and
7934 giving it 0. Incorporate noninteractive functionality.
7935 (todo-forward-category): Adapt to 1-based category numbering.
7936 Allow skipping over archived categories.
7937 (todo-backward-category): Derive from todo-forward-category.
7938 (todo-backward-item, todo-forward-item): Make noninteractive and
7939 delegate interactive part to new commands. Make sensitive to done items.
7940 (todo-categories): Make value an alist of category names and
7941 vectors of item counts.
7942 (todo-category-beg): Make a defconst.
7943 (todo-category-number): Use 1 instead of 0 as initial value.
7944 (todo-category-select): Make sensitive to overlays, optional item
7945 highlighting and done items.
7946 (todo-delete-item): Make sensitive to overlays and marked and done items.
7947 (todo-edit-item): Make sensitive to overlays and editing of
7948 date/time header optional. Add format checks.
7949 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7950 no-op if point is not on an item. Advertise using todo-edit-quit.
7951 (todo-edit-mode): Make sensitive to new format, font-locking, and
7952 multiple todo files.
7953 (todo-insert-item, todo-insert-item-here): Derive from
7954 todo-basic-insert-item and extend functionality.
7955 (todo-item-end, todo-item-start): Make sensitive to done items.
7956 (todo-item-string): Don't return text properties. Restore point.
7957 (todo-jump-to-category): Make sensitive to multiple todo files and
7958 todo archives. Use extended category completion.
7959 (todo-lower-item, todo-raise-item): Rename to *-priority and
7960 derive from todo-set-item-priority.
7961 (todo-mode): Derive from special-mode. Make sensitive to new
7962 format, font-locking and multiple todo files. Make read-only.
7963 (todo-mode-map): Don't suppress digit keys, so they can supply
7964 prefix arguments. Add many new key bindings.
7965 (todo-prefix): Insert as an overlay instead of file text.
7966 Change semantics from diary date expression to purely visual mark.
7967 (todo-print): Rename to todo-print-buffer. Make buffer display
7968 features printable. Remove option to restrict number of items
7969 printed. Add option to print to file.
7970 (todo-print-function): Rename to todo-print-buffer-function.
7971 (todo-quit): Extend to handle exiting new todo modes.
7972 (todo-remove-item): Make sensitive to overlays.
7973 (todo-save): Extend to buffers of filtered items.
7974 (todo-show): Make sensitive to done items, multiple todo files and
7975 new todo modes. Offer to convert legacy todo file before creating
7976 first new todo file.
7977 (todo-show-priorities): Rename to todo-top-priorities.
7978 Change semantics of value 0.
7979 (todo-top-priorities): Rename to todo-filter-top-priorities,
7980 derive from todo-filter-items and extend functionality.
7981 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7982 and extend functionality to other types of filtered items.
7983 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7984 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7985 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7986 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7987 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7988 (todo-edit-mode-hook, todo-entry-prefix-function)
7989 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7990 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7991 (todo-initials, todo-insert-threshold, todo-item-string-start)
7992 (todo-line-string, todo-menu, todo-mode-hook)
7993 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7994 (todo-print-priorities, todo-remove-separator)
7995 (todo-save-top-priorities-too, todo-string-count-lines)
7996 (todo-string-multiline-p, todo-time-string-format)
7997 (todo-tmp-buffer-name): Remove.
7998 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7999 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8000 (todo-edit-category-diary-inclusion)
8001 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8002 (todo-edit-file, todo-edit-item-date-day)
8003 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8004 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8005 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8006 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8007 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8008 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8009 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8010 (todo-filter-top-priorities-multifile, todo-find-archive)
8011 (todo-find-filtered-items-file, todo-go-to-source-item)
8012 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8013 (todo-jump-to-archive-category, todo-lower-category)
8014 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8015 (todo-move-category, todo-move-item, todo-next-button)
8016 (todo-next-item, todo-padded-string, todo-powerset)
8017 (todo-previous-button, todo-previous-item)
8018 (todo-print-buffer-to-file, todo-raise-category)
8019 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8020 (todo-set-category-number, todo-set-item-priority)
8021 (todo-set-top-priorities-in-category)
8022 (todo-set-top-priorities-in-file, todo-show-categories-table)
8023 (todo-sort-categories-alphabetically-or-numerically)
8024 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8025 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8026 (todo-toggle-item-header, todo-toggle-item-highlighting)
8027 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8028 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8029 (todo-unarchive-items, todo-unmark-category): New commands.
8030 (todo-absolute-file-name, todo-add-to-buffer-list)
8031 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8032 (todo-basic-insert-item, todo-category-completions)
8033 (todo-category-number, todo-category-string-matcher-1)
8034 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8035 (todo-check-format, todo-clear-matches)
8036 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8037 (todo-current-category, todo-date-string-matcher)
8038 (todo-define-insertion-command, todo-diary-expired-matcher)
8039 (todo-diary-goto-entry, todo-diary-item-p)
8040 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8041 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8042 (todo-done-item-section-p, todo-done-separator)
8043 (todo-done-string-matcher, todo-files, todo-filter-items)
8044 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8045 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8046 (todo-insert-category-line, todo-insert-item-from-calendar)
8047 (todo-insert-sort-button, todo-insert-with-overlays)
8048 (todo-insertion-command-name, todo-insertion-key-bindings)
8049 (todo-label-to-key, todo-longest-category-name-length)
8050 (todo-make-categories-list, todo-mode-external-set)
8051 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8052 (todo-modes-set-3, todo-multiple-filter-files)
8053 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8054 (todo-read-category, todo-read-date, todo-read-dayname)
8055 (todo-read-file-name, todo-read-time)
8056 (todo-reevaluate-category-completions-files-defcustom)
8057 (todo-reevaluate-default-file-defcustom)
8058 (todo-reevaluate-filelist-defcustoms)
8059 (todo-reevaluate-filter-files-defcustom)
8060 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8061 (todo-reset-done-separator, todo-reset-done-separator-string)
8062 (todo-reset-done-string, todo-reset-global-current-todo-file)
8063 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8064 (todo-reset-prefix, todo-set-categories)
8065 (todo-set-date-from-calendar, todo-set-show-current-file)
8066 (todo-set-top-priorities, todo-short-file-name)
8067 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8068 (todo-total-item-counts, todo-update-buffer-list)
8069 (todo-update-categories-display, todo-update-categories-sexp)
8070 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8072 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8074 (todo-categories, todo-display, todo-edit, todo-faces)
8075 (todo-filtered): New defgroups.
8076 (todo-archived-only, todo-button, todo-category-string, todo-date)
8077 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8078 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8079 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8080 (todo-add-item-if-new-category, todo-always-add-time-string)
8081 (todo-categories-align, todo-categories-archived-label)
8082 (todo-categories-category-label, todo-categories-diary-label)
8083 (todo-categories-done-label, todo-categories-number-separator)
8084 (todo-categories-todo-label, todo-categories-totals-label)
8085 (todo-category-completions-files, todo-completion-ignore-case)
8086 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8087 (todo-done-separator-string, todo-done-string)
8088 (todo-files-function, todo-filter-done-items, todo-filter-files)
8089 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8090 (todo-initial-category, todo-initial-file, todo-item-mark)
8091 (todo-legacy-date-time-regexp, todo-mode-line-function)
8092 (todo-nondiary-marker, todo-number-prefix)
8093 (todo-print-buffer-function, todo-show-current-file)
8094 (todo-show-done-only, todo-show-first, todo-show-with-done)
8095 (todo-skip-archived-categories, todo-top-priorities-overrides)
8096 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8097 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8099 (todo-category-done, todo-date-pattern, todo-date-string-start)
8100 (todo-diary-items-buffer, todo-done-string-start)
8101 (todo-filtered-items-buffer, todo-item-start)
8102 (todo-month-abbrev-array, todo-month-name-array)
8103 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8104 (todo-top-priorities-buffer): New defconsts.
8105 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8106 (todo-categories-with-marks, todo-category-string-face)
8107 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8108 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8109 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8110 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8111 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8112 (todo-font-lock-keywords, todo-global-current-todo-file)
8113 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8114 (todo-insertion-commands-args)
8115 (todo-insertion-commands-args-genlist)
8116 (todo-insertion-commands-names, todo-insertion-map)
8117 (todo-key-bindings-t, todo-key-bindings-t+a)
8118 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8119 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8120 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8121 (todo-visited): New variables.
8123 2013-06-21 Glenn Morris <rgm@gnu.org>
8125 * play/cookie1.el (cookie-apropos): Add optional display argument.
8126 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8127 (psychoanalyze-pinhead): Use cookie-doctor.
8129 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8131 * emacs-lisp/package.el (tar-get-file-descriptor)
8132 (tar--extract): Declare.
8134 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8136 Extend flymake's warning predicate to be a function (bug#14217).
8137 * progmodes/flymake.el (flymake-warning-predicate): New.
8138 (flymake-parse-line): Use it.
8139 (flymake-warning-re): Make obsolete alias to
8140 `flymake-warning-predicate'.
8142 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8144 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8145 (package-obsolete-list): Remove.
8146 (package-activate): Remove min-version argument. Add `force' argument.
8147 Adjust to new package-alist format.
8148 (package-mark-obsolete): Remove.
8149 (package-unpack): Force reload of the package's autoloads.
8150 (package-installed-p): Check builtins if the installed package is not
8152 (package-initialize): Don't reset package-obsolete-list.
8153 Don't specify which package version to activate.
8154 (package-process-define-package, describe-package-1)
8155 (package-menu--generate): Adjust to new package-alist format.
8157 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8159 * allout-widgets.el (allout-widgets-mode-off)
8160 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8161 (allout-widgets-post-command-business)
8162 (allout-widgets-after-copy-or-kill-function)
8163 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8164 (allout-decorate-item-and-context)
8165 (allout-graphics-modification-handler): Fix typos in docstrings.
8166 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8168 * cmuscheme.el (scheme-start-file): Doc fix.
8169 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8170 (scheme-input-filter): Use `string-match-p'.
8172 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8174 * dired-x.el: Use Dired consistently in docstrings.
8176 * dired.el: Use Dired consistently in docstrings.
8177 (dired-readin, dired-mode): Use `setq-local'.
8178 (dired-switches-alist): Make defvar-local.
8179 (dired-buffers-for-dir): Use `zerop'.
8180 (dired-safe-switches-p, dired-switches-escape-p)
8181 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8182 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8183 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8184 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8185 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8186 (dired-toggle-marks, dired-mark-files-containing-regexp)
8187 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8188 (dired-flag-auto-save-files, dired-flag-backup-files):
8190 (dired-mark-files-regexp, dired-build-subdir-alist):
8191 Use `string-match-p', `looking-at-p'.
8193 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8194 (direct-print-region-helper): Use `string-match-p'.
8196 2013-06-21 Leo Liu <sdl.web@gmail.com>
8198 * comint.el (comint-redirect-results-list-from-process):
8201 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8203 * net/eww.el (eww-update-header-line-format): Quote % characters.
8205 2013-06-21 Glenn Morris <rgm@gnu.org>
8207 * play/cookie1.el (cookie): New custom group.
8208 (cookie-file): New option.
8209 (cookie-check-file): New function.
8210 (cookie): Make it interactive. Make start and end messages optional.
8211 Interactively, display the result. Default to cookie-file.
8212 (cookie-insert): Default to cookie-file.
8213 (cookie-snarf): Make start and end messages optional.
8214 Default to cookie-file. Use with-temp-buffer.
8215 (cookie-read): Rename from read-cookie.
8216 Make start and end messages optional. Default to cookie-file.
8217 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8219 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8220 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8222 2013-06-21 Leo Liu <sdl.web@gmail.com>
8224 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8226 2013-06-21 Glenn Morris <rgm@gnu.org>
8228 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8230 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8231 Daniel Hackney <dan@haxney.org>
8233 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8234 Consolidate the single-file vs tarball code.
8235 (package-desc-suffix): New function.
8236 (package-desc-full-name): Don't bother inlining it.
8237 (package-load-descriptor): Return the new package-desc.
8238 (package-mark-obsolete): Remove unused arg `package'.
8239 (package-unpack): Make it work for single files as well.
8240 Make it update package-alist.
8241 (package--make-autoloads-and-stuff): Rename from
8242 package--make-autoloads-and-compile. Don't compile any more.
8243 (package--compile): New function.
8244 (package-generate-description-file): New function, extracted from
8245 package-unpack-single.
8246 (package-unpack-single): Remove.
8247 (package--with-work-buffer): Add indentation and debugging info.
8248 (package-download-single): Remove.
8249 (package-install-from-archive): Rename from package-download-tar, make
8250 it take a pkg-desc, and make it work for single files as well.
8251 (package-download-transaction): Simplify.
8252 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8253 external tar program.
8254 (package-install-from-buffer): Remove `pkg-desc' argument.
8255 Use package-tar-file-info for tar-mode buffers.
8256 (package-install-file): Simplify accordingly.
8257 (package-archive-base): Change to take a pkg-desc.
8258 * tar-mode.el (tar--check-descriptor): New function, extracted from
8260 (tar-get-descriptor): Use it.
8261 (tar-get-file-descriptor): New function.
8262 (tar--extract): New function, extracted from tar-extract.
8263 (tar--extract): Use it.
8264 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8265 case the summary uses non-ascii. Adjust to new calling convention of
8266 package-tar-file-info.
8268 2013-06-21 Leo Liu <sdl.web@gmail.com>
8270 * comint.el (comint-redirect-results-list-from-process):
8271 Fix random delay. (Bug#14681)
8273 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8275 * profiler.el (profiler-format-number): Use log, not log10.
8277 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8279 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8281 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8283 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8284 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8286 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8287 (AUTOGENEL): ... here.
8288 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8289 (cl--defsubst-expand): Use it.
8291 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8293 * subr.el (log10): Move here from C code, and declare as obsolete.
8294 All uses of (log10 X) replaced with (log X 10).
8296 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8298 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8299 Declare with `defvar-local'.
8300 (tabulated-list-use-header-line, tabulated-list-entries)
8301 (tabulated-list-padding, tabulated-list-printer)
8302 (tabulated-list-sort-key): Declare with `defvar-local'.
8303 (tabulated-list-init-header, tabulated-list-print-fake-header):
8306 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8308 * arc-mode.el (archive-mode): Add `archive-write-file' to
8309 `write-contents-functions' also for remote files. (Bug#14652)
8311 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8313 * cus-edit.el (custom-commands): Fix typos.
8314 (custom-display): Fix tooltip text.
8315 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8316 Fix typos in docstrings.
8317 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8318 (custom-unlispify-menu-entry, custom-magic-value-create)
8319 (custom-add-see-also, custom-group-value-create): Use ?\s.
8320 (custom-guess-type, customize-apropos, editable-field)
8321 (custom-face-value-create): Use `string-match-p'.
8322 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8324 * custom.el (custom-load-symbol): Use `string-match-p'.
8326 * ansi-color.el: Convert to lexical binding.
8327 (ansi-colors): Fix URL.
8328 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8329 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8330 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8332 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8334 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8336 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8338 2013-06-19 Tom Tromey <tromey@redhat.com>
8340 * net/eww.el (eww-top-url): Remove.
8341 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8342 (eww-render): Set new variables. Don't set eww-top-url.
8343 (eww-handle-link): Handle "prev", "home", and "contents".
8344 Downcase the rel text.
8345 (eww-top-url): Choose best top URL.
8347 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8349 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8350 relying in widget.el. Using widget.el leads to too many
8351 user interface inconsistencies.
8352 (eww-self-insert): Implement entering commands in text fields.
8353 (eww-process-text-input): New function to make text input field editing
8355 (eww-submit): Rewrite to use the new-style form methods.
8356 (eww-select-display): Display the correct selected item.
8357 (eww-change-select): Implement changing the select value.
8358 (eww-toggle-checkbox): Implement radio/checkboxes.
8359 (eww-update-field): Fix compilation error.
8360 (eww-tag-textarea): Implement <textarea>.
8362 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8363 we don't shadow mode-specific bindings.
8365 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8368 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8370 2013-06-19 Glenn Morris <rgm@gnu.org>
8372 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8374 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8376 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8379 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8381 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8383 * net/browse-url.el (browse-url-browser-function):
8384 `eww-browse-url' has the right calling signature, `eww' does not.
8386 2013-06-19 Glenn Morris <rgm@gnu.org>
8388 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8389 Only eval autoloaded macros.
8390 (byte-compile-autoload): Only give the macro warning for macros.
8392 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8393 (ps-underlined-faces): Declare.
8395 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8396 (speedbar-add-supported-extension): Declare.
8398 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8399 Don't include a date stamp in the header of the generated file;
8400 it leads to needless differences between output files.
8402 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8404 * net/secrets.el (secrets-struct-secret-content-type):
8405 Replace check of introspection data by a test call of "CreateItem".
8406 Some servers do not offer introspection.
8408 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8410 * electric.el (electric-pair-mode): Improve interaction with
8411 electric-layout-mode.
8412 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8413 (electric-pair-syntax): Use text-mode-syntax-table in comments
8415 (electric-pair--insert): New function.
8416 (electric-pair-post-self-insert-function): Use it and
8417 electric--after-char-pos.
8419 2013-06-19 Leo Liu <sdl.web@gmail.com>
8421 * progmodes/octave.el (octave-help): Fix regexp.
8423 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8425 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8426 (shr-table-horizontal-line): Allow nil as a value, and change the
8428 (shr-insert-table-ruler): Respect the nil value.
8430 2013-06-18 Tom Tromey <tromey@barimba>
8432 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8434 (eww-open-file): New defun.
8435 (eww-render): Initialize new variables.
8436 (eww-display-html): Handle "link" and "a".
8437 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8438 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8439 (eww-back-url): Rename from eww-previous-url.
8440 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8443 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8445 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8446 Distinguish ternary operator tokens from slash symbol and slash
8449 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8451 Convert symbol prettification into minor mode and global minor mode.
8453 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8454 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8455 (prettify-symbols--keywords): Rename from
8456 `prog-prettify-symbols-alist' and make a local defvar.
8457 (prettify-symbols--compose-symbol): Rename from
8458 `prog--prettify-font-lock-compose-symbol'.
8459 (prettify-symbols--make-keywords): Rename from
8460 `prog-prettify-font-lock-symbols-keywords' and simplify.
8461 (prog-prettify-install): Remove.
8462 (prettify-symbols-mode): New minor mode, based on
8463 `prog-prettify-install'.
8464 (turn-on-prettify-symbols-mode): New function.
8465 (global-prettify-symbols-mode): New globalized minor mode.
8467 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8468 * progmodes/cfengine.el (cfengine3-mode):
8469 * progmodes/perl-mode.el (perl-mode): Don't call
8470 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8472 2013-06-18 Juri Linkov <juri@jurta.org>
8474 * files-x.el (modify-file-local-variable-message): New function.
8475 (modify-file-local-variable)
8476 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8477 and call `modify-file-local-variable-message' when it's non-nil.
8478 (add-file-local-variable, delete-file-local-variable)
8479 (add-file-local-variable-prop-line)
8480 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8481 and use it. (Bug#9820)
8483 2013-06-18 Juri Linkov <juri@jurta.org>
8485 * emulation/vi.el (vi-shell-op):
8486 * emulation/vip.el (vip-execute-com, ex-command):
8487 * emulation/viper-cmd.el (viper-exec-bang):
8488 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8489 the call of `shell-command-on-region'. (Bug#14637)
8491 * simple.el (shell-command-on-region): Doc fix.
8493 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8495 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8498 2013-06-18 Glenn Morris <rgm@gnu.org>
8500 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8502 * newcomment.el (comment-search-forward, comment-search-backward):
8503 Doc fix. (Bug#14376)
8505 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8507 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8508 (buffer-face-mode-invoke): Doc fix.
8510 2013-06-18 Matthias Meulien <orontee@gmail.com>
8512 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8513 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8515 2013-06-18 Glenn Morris <rgm@gnu.org>
8517 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8518 Replace obsolete function generic-make-keywords with its expansion.
8520 * progmodes/python.el (ffap-alist): Declare.
8522 * textmodes/reftex.el (bibtex-mode-map): Declare.
8524 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8526 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8527 (package-unpack, package-unpack-single): Return the pkg-dir.
8528 (package-download-transaction): Use it to update package-alist.
8530 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8532 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8535 2013-06-17 Juri Linkov <juri@jurta.org>
8537 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8539 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8541 * emacs-lisp/package.el (package-load-descriptor):
8542 Remove `with-syntax-table' call, `read' doesn't need it.
8543 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8545 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8547 * startup.el (command-line): Expand package name returned by
8548 `package--description-file' (bug#14639).
8550 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8552 * emacs-lisp/package.el (package-load-descriptor): Do not call
8553 `emacs-lisp-mode', just use its syntax table.
8555 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8557 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8558 `font-lock-extra-managed-props' if any prettifying keyword is added.
8559 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8560 (prog-mode): Use `setq-local'.
8562 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8564 * international/characters.el (standard-case-table): Set syntax of ?»
8565 and ?« to punctuation.
8567 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8569 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8570 Save relevant match data before calling `syntax-ppss' (bug#14595).
8572 2013-06-15 Juri Linkov <juri@jurta.org>
8574 * files-x.el (modify-file-local-variable-prop-line): Add local
8575 variables to the end of the existing comment on the first line.
8576 Use `file-auto-mode-skip' to skip interpreter magic line,
8577 and also skip XML declaration.
8579 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8581 * startup.el (package--builtin-versions): New var.
8582 (package-subdirectory-regexp): Remove.
8583 (package--description-file): Hard code its value instead.
8585 * emacs-lisp/package.el: Don't activate packages older than builtin.
8586 (package-obsolete-list): Rename from package-obsolete-alist, and make
8587 it into a simple list of package-desc.
8588 (package-strip-version): Remove.
8589 (package-built-in-p): Use package--builtin-versions.
8590 (package-mark-obsolete): Simplify.
8591 (package-process-define-package): Mark it obsolete if older than the
8593 (package-handle-response): Use line-end-position.
8594 (package-read-archive-contents, package--download-one-archive):
8596 (package--add-to-archive-contents): Skip if older than the builtin or
8598 (package-menu-describe-package): Fix last change.
8599 (package-list-unversioned): New var.
8600 (package-menu--generate): Use it.
8602 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8603 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8604 (autoload-builtin-package-versions): New variable.
8605 (autoload-generate-file-autoloads): Use them.
8606 Remove the list of autoloaded functions/macros from the
8607 (autoload...) comments.
8609 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8611 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8613 * simple.el (line-move-partial): Don't jump to the next screen
8614 line as soon as it becomes visible. Instead, continue enlarging
8615 the vscroll until the portion of a tall screen line that's left on
8616 display is about the height of the frame's default font.
8619 2013-06-15 Glenn Morris <rgm@gnu.org>
8621 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8622 compilation-error-regexp-alist void, or local while let-bound.
8624 * progmodes/make-mode.el (makefile-mode-syntax-table):
8625 Treat "=" as punctuation. (Bug#14614)
8627 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8629 * help-fns.el (describe-variable):
8630 Add extra line for permanent-local variables.
8632 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8634 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8635 Add export, import, library. (Bug#9164)
8636 (library): Set indent function.
8638 2013-06-14 Glenn Morris <rgm@gnu.org>
8640 * term/xterm.el (xterm--query):
8641 Stop after first matching handler. (Bug#14615)
8643 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8645 Add support for dired in saveplace.
8646 * dired.el (dired-initial-position-hook): New variable.
8647 (dired-initial-position): Call hook to place cursor position.
8648 * saveplace.el (save-place-to-alist): Add dired position.
8649 (save-place-dired-hook): New function.
8651 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8653 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8654 through a symbol rather than letrec.
8656 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8657 (package-desc): Add `dir' field.
8658 (package-desc-full-name): New function.
8659 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8660 (package-maybe-load-descriptor): Remove.
8661 (package-load-all-descriptors): Just call package-load-descriptor.
8662 (package--disabled-p): New function.
8663 (package-desc-vers, package-desc-doc): Remove aliases.
8664 (package--dir): Remove function.
8665 (package-activate): Check if a package is disabled.
8666 (package-process-define-package): New function, extracted from
8668 (define-package): Turn into a place holder.
8669 (package-unpack-single, package-tar-file-info):
8670 Use package--description-file.
8671 (package-compute-transaction): Use package--disabled-p.
8672 (package-download-transaction): Don't call
8673 package-maybe-load-descriptor since they're all loaded anyway.
8674 (package-install): Change argument to be a pkg-desc.
8675 (package-delete): Use a single pkg-desc argument.
8676 (describe-package-1): Use package-desc-dir instead of package--dir.
8677 Use package-desc property instead of package-symbol.
8678 (package-install-button-action): Adjust accordingly.
8679 (package--push): Rewrite.
8680 (package-menu--print-info): Adjust accordingly. Change the ID format
8682 (package-menu-describe-package, package-menu-get-status)
8683 (package-menu--find-upgrades, package-menu-mark-upgrades)
8684 (package-menu-execute, package-menu--name-predicate):
8686 * startup.el (package--description-file): New function.
8687 (command-line): Use it.
8688 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8689 Use package-desc-version.
8691 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8692 (byte-compile-preprocess): Use it.
8693 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8694 can't quite recognize.
8695 (byte-compile-add-to-list): Remove.
8696 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8697 (cconv-closure-convert): Add assertion.
8699 * emacs-lisp/map-ynp.el: Use lexical-binding.
8700 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8701 Factor out some repeated code.
8703 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8705 * subr.el (with-eval-after-load): New macro.
8706 (eval-after-load): Allow form to be a function.
8707 take advantage of lexical-binding.
8708 (do-after-load-evaluation): Use dolist and adjust to new format.
8709 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8711 2013-06-13 Juri Linkov <juri@jurta.org>
8713 * replace.el (perform-replace): Display "symbol " and other search
8714 modes from `isearch-message-prefix' in the *Help* buffer.
8716 * isearch.el (isearch-query-replace): Add " symbol" and other
8717 possible search modes from `isearch-message-prefix' to the prompt.
8718 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8719 when reading a regexp to collect.
8721 2013-06-13 Juri Linkov <juri@jurta.org>
8723 * isearch.el (word-search-regexp): Match whitespace if the search
8724 string begins or ends in whitespace. The LAX arg is applied to
8725 both ends of the search string. Use `regexp-quote' and explicit
8726 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8727 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8728 boundaries are replaced with symbol boundaries, and characters
8729 between symbols match non-word non-symbol syntax. (Bug#14602)
8731 2013-06-13 Juri Linkov <juri@jurta.org>
8733 * isearch.el (isearch-del-char): Don't exceed the length of
8734 `isearch-string' by the prefix arg. (Bug#14563)
8736 2013-06-13 Juri Linkov <juri@jurta.org>
8738 * isearch.el (isearch-yank-word, isearch-yank-line)
8739 (isearch-char-by-name, isearch-quote-char)
8740 (isearch-printing-char, isearch-process-search-char):
8741 Add optional count prefix arg. (Bug#14563)
8743 * international/isearch-x.el
8744 (isearch-process-search-multibyte-characters):
8745 Add optional count prefix arg.
8747 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8749 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8750 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8753 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8755 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8757 2013-06-13 Glenn Morris <rgm@gnu.org>
8759 * startup.el (tty-handle-args):
8760 Don't just discard "--" and anything after. (Bug#14608)
8762 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8764 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8766 Implement changes in Secret Service API. Make it backward compatible.
8767 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8768 (secrets-create-item): Use it. Prefix properties with interface.
8770 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8772 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8773 (term-emulate-terminal): Respect term-suppress-hard-newline.
8775 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8777 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8778 Only remove a `thumb-file' overlay. (Bug#14548)
8780 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8782 * mail/reporter.el (reporter-submit-bug-report):
8783 Handle missing package-name. (Bug#14600)
8785 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8787 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8788 (reftex-citation-prompt, reftex-default-bibliography)
8789 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8790 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8791 (reftex-bib-sort-author, reftex-bib-sort-year)
8792 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8793 (reftex-extract-bib-entries-from-thebibliography)
8794 (reftex-get-bibkey-default, reftex-get-bib-names)
8795 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8796 (reftex-format-bib-entry, reftex-parse-bibitem)
8797 (reftex-format-bibitem, reftex-do-citation)
8798 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8799 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8800 (reftex-insert-bib-matches, reftex-format-citation)
8801 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8802 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8803 existing comments into docstrings.
8805 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8807 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8809 2013-06-12 Andreas Schwab <schwab@suse.de>
8811 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8812 for auto-save files.
8814 2013-06-12 Glenn Morris <rgm@gnu.org>
8816 * ido.el (ido-delete-ignored-files): Remove.
8817 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8818 Go back to calling ido-ignore-item-p directly.
8820 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8822 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8824 * ido.el (ido-delete-ignored-files): New function,
8825 split from ido-make-file-list-1.
8826 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8827 (ido-make-file-list-1): Use ido-delete-ignored-files.
8829 2013-06-12 Leo Liu <sdl.web@gmail.com>
8831 * progmodes/octave.el (inferior-octave-startup)
8832 (inferior-octave-completion-table)
8833 (inferior-octave-track-window-width-change)
8834 (octave-eldoc-function-signatures, octave-help)
8835 (octave-find-definition): Use single quoted strings.
8836 (inferior-octave-startup-args): Change default value.
8837 (inferior-octave-startup): Do not hard code "-i" and
8838 "--no-line-editing".
8839 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8840 (inferior-octave-directory-tracker): Use it.
8841 (octave-goto-function-definition): Robustify.
8842 (octave-help): Support highlighting operators in 'See also'.
8843 (octave-find-definition): Find subfunctions only in Octave mode.
8845 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8847 * help-fns.el (help-fns--compiler-macro): If the handler function is
8848 named, then put a link to it.
8849 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8850 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8852 (cl-eval-when): Simplify debug spec.
8853 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8854 compiler-macro function instead of setting `compiler-macro-file'.
8856 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8858 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8859 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8861 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8862 Daniel Hackney <dan@haxney.org>
8864 First part of Daniel Hackney's patch to package.el.
8865 * emacs-lisp/package.el: Use defstruct.
8866 (package-desc): New, main struct.
8867 (package--bi-desc, package--ac-desc): New structs, used to describe the
8868 format in external files.
8869 (package-desc-vers): Replace with package-desc-version accessor.
8870 (package-desc-doc): Replace with package-desc-summary accessor.
8871 (package-activate-1): Remove `package' arg since the pkg-vec now
8873 (define-package): Use package-desc-from-define.
8874 (package-unpack-single): Change file-name arg to be a symbol.
8875 (package--add-to-archive-contents): Use package-desc-create and new
8876 accessor functions to package--ac-desc.
8877 (package-buffer-info, package-tar-file-info): Return a package-desc.
8878 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8879 arg to be a package-desc.
8880 (package-install-file): Adjust accordingly. Use \' to match EOS.
8881 (package--from-builtin): New function.
8882 (describe-package-1, package-menu--generate): Use it.
8883 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8884 (package-generate-autoloads): Idem and return the name of the file.
8885 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8886 Change pkg-info arg to be a package-desc.
8887 Use package-make-ac-desc.
8888 (package-upload-file): Use \' to match EOS.
8889 * finder.el (finder-compile-keywords): Use package-make-builtin.
8891 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8893 * vc/vc.el (vc-deduce-fileset): Change error message.
8894 (vc-read-backend): New function.
8895 (vc-next-action): Use it.
8897 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8899 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8900 (prolog-font-lock-keywords): Use regexp-opt instead.
8901 Don't manually highlight strings.
8902 (prolog-mode-variables): Simplify comment-start-skip.
8903 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8905 * emacs-lisp/generic.el (generic--normalise-comments)
8906 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8907 (generic-mode-set-comments): Use them.
8908 (generic-bracket-support): Use setq-local.
8909 (generic-make-keywords-list): Declare obsolete.
8911 2013-06-11 Glenn Morris <rgm@gnu.org>
8913 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8914 Prettify after setting font-lock-defaults. (Bug#14574)
8916 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8918 * replace.el (query-replace, occur-read-regexp-defaults-function)
8920 * subr.el (declare-function, number-sequence, local-set-key)
8921 (substitute-key-definition, locate-user-emacs-file)
8922 (with-silent-modifications, split-string, eval-after-load):
8923 Fix typos, remove unneeded backslashes and reflow some docstrings.
8925 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8927 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8928 default for Elisp files.
8930 2013-06-11 Glenn Morris <rgm@gnu.org>
8932 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8933 although define-derived-mode was doing this anyway. (Bug#14583)
8935 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8937 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8938 Fix make-variable-buffer-local call to refer to the correct variable.
8940 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8942 * eshell/em-term.el (eshell-visual-commands)
8943 (eshell-visual-subcommands, eshell-visual-options):
8944 Add summary line to docstrings. Add cross-references.
8946 2013-06-10 Glenn Morris <rgm@gnu.org>
8948 * epa.el (epa-read-file-name): New function. (Bug#14510)
8949 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8951 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8953 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8954 output redirection to be ignored with visual commands.
8956 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8958 * eshell/em-term.el (eshell-visual-command-p): New function.
8959 (eshell-term-initialize): Move long lambda to separate function
8960 eshell-visual-command-p.
8961 * eshell/em-dirs.el (eshell-dirs-initialise):
8962 * eshell/em-script.el (eshell-script-initialize):
8963 Add missing #' to lambda.
8965 2013-06-08 Leo Liu <sdl.web@gmail.com>
8967 * progmodes/octave.el (octave-add-log-current-defun): New function.
8968 (octave-mode): Set add-log-current-defun-function.
8969 (octave-goto-function-definition): Do not move point if not found.
8970 (octave-find-definition): Enhance to try subfunctions first.
8972 2013-06-08 Glenn Morris <rgm@gnu.org>
8974 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8975 (byte-compile-backward-char, byte-compile-backward-word):
8976 Improve previous change, to handle non-explicit nil.
8978 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8980 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8981 (smie--opener/closer-at-point): New function.
8982 (smie--matching-block-data): Use it. Don't match from right after an
8983 opener or right before a closer. Obey smie-blink-matching-inners.
8984 Don't signal a mismatch for repeated inners like "switch..case..case".
8986 2013-06-07 Leo Liu <sdl.web@gmail.com>
8988 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8990 (octave-function-header-regexp): Fix. (Bug#14570)
8991 (octave-help-mode-finish-hook, octave-help-mode-finish):
8992 Remove. Just use temp-buffer-show-hook.
8994 * newcomment.el (comment-search-backward): Revert last change.
8997 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8999 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9001 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9002 through xargs, to avoid failure due to MS-Windows limitations on
9003 command-line length.
9005 2013-06-06 Glenn Morris <rgm@gnu.org>
9007 * font-lock.el (lisp-font-lock-keywords-2):
9008 Treat user-error like error.
9010 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9011 (byte-compile-backward-char, byte-compile-backward-word):
9012 Handle explicit nil arguments. (Bug#14565)
9014 2013-06-05 Alan Mackenzie <acm@muc.de>
9016 * isearch.el (isearch-allow-prefix): New user option.
9017 (isearch-other-meta-char): Don't exit isearch when a prefix
9018 argument is typed whilst `isearch-allow-prefix' is non-nil.
9021 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9023 * autorevert.el (auto-revert-notify-handler): Use memq.
9024 Hide assertion failure.
9026 * skeleton.el: Use cl-lib.
9027 (skeleton-further-elements): Use defvar-local.
9028 (skeleton-insert): Use cl-progv.
9030 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9032 * progmodes/prog-mode.el (prog-prettify-symbols)
9033 (prog-prettify-install): Update docstrings.
9035 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9037 * simple.el: Move all the prog-mode code to prog-mode.el.
9038 * progmodes/prog-mode.el: New file.
9039 * loadup.el: Add prog-mode.el.
9041 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9043 * simple.el (prog-prettify-symbols): Add version.
9044 (prog-prettify-install): Add convenience function to prettify symbols.
9046 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9047 (perl--augmented-font-lock-keywords-1)
9048 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9049 variables and use it.
9051 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9052 (cfengine3-mode): Remove unneeded variable and use it.
9054 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9055 (lisp--augmented-font-lock-keywords-1)
9056 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9057 Remove unneeded variables and use it.
9059 2013-06-05 João Távora <joaotavora@gmail.com>
9061 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9062 to point when opening the connection. (Bug#14380)
9064 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9066 * subr.el (load-history-regexp, load-history-filename-element)
9067 (eval-after-load, after-load-functions, do-after-load-evaluation)
9068 (eval-next-after-load, display-delayed-warnings)
9069 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9070 definition of save-match-data.
9071 (overriding-local-map): Remove accidental obsolescence declaration.
9073 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9075 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9077 Generalize symbol prettify support to prog-mode and implement it
9078 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9079 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9080 (prog--prettify-font-lock-compose-symbol)
9081 (prog-prettify-font-lock-symbols-keywords): New variables and
9082 functions to support symbol prettification.
9083 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9084 (lisp--augmented-font-lock-keywords-1)
9085 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9086 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9087 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9088 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9089 Implement prettify of -> => :: strings.
9090 * progmodes/perl-mode.el (perl-prettify-symbols)
9091 (perl--font-lock-compose-symbol)
9092 (perl--font-lock-symbols-keywords): Move to prog-mode.
9093 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9094 (perl-font-lock-keywords-1)
9095 (perl-font-lock-keywords-2): Remove explicit prettify support.
9096 (perl--augmented-font-lock-keywords)
9097 (perl--augmented-font-lock-keywords-1)
9098 (perl--augmented-font-lock-keywords-2, perl-mode):
9099 Implement prettify support.
9101 2013-06-05 Leo Liu <sdl.web@gmail.com>
9103 Re-implement smie matching block highlight using
9104 show-paren-data-function. (Bug#14395)
9105 * emacs-lisp/smie.el (smie-matching-block-highlight)
9106 (smie--highlight-matching-block-overlay)
9107 (smie--highlight-matching-block-lastpos)
9108 (smie-highlight-matching-block)
9109 (smie-highlight-matching-block-mode): Remove.
9110 (smie--matching-block-data-cache): New variable.
9111 (smie--matching-block-data): New function.
9112 (smie-setup): Use smie--matching-block-data for
9113 show-paren-data-function.
9115 * progmodes/octave.el (octave-mode-menu): Fix.
9116 (octave-find-definition): Skip garbage lines.
9118 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9120 Fix compilation error with simultaneous dynamic+lexical scoping.
9121 Add warning when a defvar appears after the first let-binding.
9122 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9123 (byte-compile-close-variables): Initialize it.
9124 (byte-compile--declare-var): New function.
9125 (byte-compile-file-form-defvar)
9126 (byte-compile-file-form-define-abbrev-table)
9127 (byte-compile-file-form-custom-declare-variable): Use it.
9128 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9129 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9130 (byte-compile-bind): Handle dynamic bindings that shadow
9132 (byte-compile-unbind): Make arg non-optional.
9133 (byte-compile-let): Simplify.
9134 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9135 (cconv--analyse-function, cconv-analyse-form): Populate it.
9136 Protect byte-compile-bound-variables to limit the scope of defvars.
9137 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9138 Remove unneeded rule for `declare'.
9140 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9141 so as to avoid depending on cl-adjoin at run-time.
9142 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9144 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9145 (macroexp--warn-and-return): Use it.
9147 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9149 * lisp/subr.el: Convert to lexical binding.
9150 (overriding-local-map): Make obsolete.
9151 (add-to-list): Doc fix. Add compiler macro.
9152 (read-key): Swap values of local maps.
9154 2013-06-05 Leo Liu <sdl.web@gmail.com>
9156 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9158 2013-06-04 Leo Liu <sdl.web@gmail.com>
9160 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9161 (compilation-auto-jump): Suppress the "Mark set" message to give
9162 way to exit message.
9164 2013-06-04 Alan Mackenzie <acm@muc.de>
9166 Remove faulty optimisation from indentation calculation.
9167 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9168 search limit based on 2000 characters back from indent-point.
9170 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9172 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9174 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9176 * emacs-lisp/lisp.el: Use lexical-binding.
9177 (lisp--local-variables-1, lisp--local-variables): New functions.
9178 (lisp--local-variables-completion-table): New var.
9179 (lisp-completion-at-point): Use it complete let-bound vars.
9181 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9182 eagerly (bug#14422).
9184 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9186 * autorevert.el (auto-revert-notify-enabled)
9187 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9188 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9189 (auto-revert-notify-handler): Handle also gfilenotify.
9191 * subr.el (file-notify-handle-event): New defun. Replacing ...
9192 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9195 2013-06-03 Juri Linkov <juri@jurta.org>
9197 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9198 `M-s h .'. (Bug#14427)
9200 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9201 command `hi-lock-face-symbol-at-point'.
9202 (hi-lock-face-symbol-at-point): New command.
9203 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9204 (hi-lock-menu): Add `highlight-symbol-at-point'.
9205 (hi-lock-mode): Doc fix.
9207 * isearch.el (isearch-forward-symbol-at-point): New command.
9208 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9209 (isearch-highlight-regexp): Add a regexp which matches
9210 words/symbols for word/symbol mode.
9212 * subr.el (find-tag-default-bounds): New function with the body
9213 mostly moved from `find-tag-default'.
9214 (find-tag-default): Move most code to `find-tag-default-bounds',
9215 call it and apply `buffer-substring-no-properties' afterwards.
9217 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9219 * eshell/em-term.el (eshell-term-initialize):
9220 Use `cl-intersection' rather than `intersection'.
9222 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9224 * vc/log-view.el: Doc fix.
9225 (log-view-mode-map): Copy keymap from `special-mode-map'.
9227 2013-06-02 Eric Ludlam <zappo@gnu.org>
9229 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9230 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9231 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9232 (eieio-unbound, eieio-default-superclass)
9233 (eieio--define-field-accessors, method-static, method-before)
9234 (method-primary, method-after, method-num-lists)
9235 (method-generic-before, method-generic-primary)
9236 (method-generic-after, method-num-slots)
9237 (eieio-specialized-key-to-generic-key)
9238 (eieio--check-type, class-v, class-p)
9239 (eieio-class-name, define-obsolete-function-alias)
9240 (eieio-class-parents-fast, eieio-class-children-fast)
9241 (same-class-fast-p, class-constructor, generic-p)
9242 (generic-primary-only-p, generic-primary-only-one-p)
9243 (class-option-assoc, class-option, eieio-object-p)
9244 (class-abstract-p, class-method-invocation-order)
9245 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9246 (eieio-class-un-autoload, eieio-defclass)
9247 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9248 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9249 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9250 (eieio-defgeneric-reset-generic-form)
9251 (eieio-defgeneric-form-primary-only)
9252 (eieio-defgeneric-reset-generic-form-primary-only)
9253 (eieio-defgeneric-form-primary-only-one)
9254 (eieio-defgeneric-reset-generic-form-primary-only-one)
9255 (eieio-unbind-method-implementations)
9256 (eieio--defmethod, eieio--typep)
9257 (eieio-perform-slot-validation, eieio-validate-slot-value)
9258 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9259 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9260 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9261 (eieio-slot-name-index, eieio-class-slot-name-index)
9262 (eieio-set-defaults, eieio-initarg-to-attribute)
9263 (eieio-attribute-to-initarg, eieio-c3-candidate)
9264 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9265 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9266 (eieio-class-precedence-list, eieio-generic-call-methodname)
9267 (eieio-generic-call-arglst, eieio-generic-call-key)
9268 (eieio-generic-call-next-method-list)
9269 (eieio-pre-method-execution-functions, eieio-generic-call)
9270 (eieio-generic-call-primary-only, eieiomt-method-list)
9271 (eieiomt-optimizing-obarray, eieiomt-install)
9272 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9273 (eieio-generic-form, eieio-defmethod, make-obsolete)
9274 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9275 (defclass): Remove `eval-and-compile' from macro.
9276 (call-next-method, shared-initialize): Instead of using
9277 `scoped-class' variable, use new eieio--scoped-class, and
9278 eieio--with-scoped-class.
9279 (initialize-instance): Rename local variable 'scoped-class' to
9280 'this-class' to remove ambiguitity from old global.
9282 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9284 (eieio--scoped-class-stack): New variable.
9285 (eieio--scoped-class): New fcn.
9286 (eieio--with-scoped-class): New scoping macro.
9287 (eieio-defclass): Use pushnew instead of add-to-list.
9288 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9289 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9290 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9291 `scoped-class' variable, use new eieio--scoped-class, and
9292 eieio--with-scoped-class.
9294 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9296 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9298 * eshell/esh-ext.el (eshell-external-command): Pass args to
9299 `eshell-find-interpreter'.
9300 (eshell-find-interpreter): Add new second parameter ARGS.
9302 * eshell/em-script.el (eshell-script-initialize): Add second arg
9303 to the function added as MATCH to `eshell-interpreter-alist'.
9305 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9306 the function added as MATCH to `eshell-interpreter-alist'.
9308 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9309 (eshell-visual-options): New defcustom.
9310 (eshell-escape-control-x): Adapt docstring.
9311 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9312 `eshell-visual-options' in addition to `eshell-visual-commands'.
9313 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9315 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9317 * progmodes/python.el (python-indent-block-enders): Add break,
9318 continue and raise keywords.
9320 2013-06-01 Glenn Morris <rgm@gnu.org>
9322 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9324 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9325 * progmodes/cc-cmds.el (delete-forward-p):
9326 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9327 * progmodes/cc-engine.el (buffer-syntactic-context):
9328 * progmodes/cc-fonts.el (face-property-instance):
9329 * progmodes/cc-mode.el (set-keymap-parents):
9330 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9331 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9332 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9333 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9334 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9336 * progmodes/cc-vars.el (other): Emacs has this widget since
9337 at least 21.1, so don't (re)define it.
9339 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9340 Replace the obsolete alias pcomplete-arg-quote-list.
9342 2013-06-01 Leo Liu <sdl.web@gmail.com>
9344 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9346 (inferior-octave-minimal-columns)
9347 (inferior-octave-last-column-width): New variables.
9348 (inferior-octave-track-window-width-change): New function.
9349 (inferior-octave-mode): Adjust column width so that Octave output,
9350 for example from 'ls', can fit into the window nicely.
9352 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9354 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9355 Highlight expansions inside regexp literals.
9357 2013-05-31 Glenn Morris <rgm@gnu.org>
9359 * obsolete/sym-comp.el (symbol-complete):
9360 Replace obsolete completion-annotate-function.
9362 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9364 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9366 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9367 New function, checks if point is inside a literal that allows
9368 expression expansion.
9369 (ruby-syntax-propertize-expansion): Use it.
9370 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9373 2013-05-30 Juri Linkov <juri@jurta.org>
9375 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9377 (isearch-invisible): New variable.
9378 (isearch-forward): Doc fix.
9379 (isearch-mode): Set `isearch-invisible'
9380 to the value of `search-invisible'.
9381 (isearch-toggle-case-fold): Doc fix.
9382 (isearch-toggle-invisible): New command.
9383 (isearch-query-replace): Let-bind `search-invisible'
9384 to the value of `isearch-invisible'.
9385 (isearch-search): Use `isearch-invisible' instead of
9386 `search-invisible'. Let-bind `search-invisible'
9387 to the value of `isearch-invisible'. (Bug#11378)
9389 2013-05-30 Juri Linkov <juri@jurta.org>
9391 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9392 call when `query-flag' is nil and `search-invisible' is non-nil.
9395 2013-05-30 Glenn Morris <rgm@gnu.org>
9397 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9399 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9400 (cc-require): Suppress spurious "noruntime" warnings.
9401 (cc-require-when-compile): Use fboundp, for sake of compiler.
9403 * progmodes/cc-mode.el: Move load of cc-vars before that of
9404 cc-langs (which in turn loads cc-vars), to quieten compiler.
9406 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9408 * paren.el: Simplify the code.
9409 (show-paren-mode): Always start the timer.
9410 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9411 (show-paren--overlay, show-paren--overlay-1): Rename from
9412 show-paren-overlay and show-paren-overlay-1, and initialize to an
9413 overlay rather than to nil.
9414 (show-paren-function): Misc cleanup and simplifications.
9416 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9418 * paren.el (show-paren-data-function): New hook.
9419 (show-paren--default): New function, extracted from show-paren-function.
9420 (show-paren-function): Use show-paren-data-function.
9422 2013-05-30 Glenn Morris <rgm@gnu.org>
9424 * ielm.el (ielm-map, ielm-complete-symbol):
9425 Use completion-at-point rather than obsolete functions.
9426 (inferior-emacs-lisp-mode): Doc fix.
9427 Set completion-at-point-functions, rather than
9428 comint-dynamic-complete-functions.
9430 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9431 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9432 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9434 * image.el (image-animated-p): Tweak definition.
9436 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9437 (rlogin-process-connection-type): Tweak default. Add set-after.
9438 (rlogin-host): Doc fix.
9439 (rlogin): Tweak prompt.
9440 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9442 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9443 * progmodes/tcl.el (inferior-tcl-mode-map):
9444 Use completion-at-point rather than obsolete alias.
9446 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9448 * minibuffer.el (read-file-name-completion-ignore-case):
9449 Move before completion--in-region, for eager macro expansion.
9451 2013-05-29 Juri Linkov <juri@jurta.org>
9453 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9454 for total count of matching lines. Add `global-matches' for total
9455 count of matches. Rename `matches' to `lines' for count of
9456 matching lines. Add `matches' for count of matches.
9457 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9458 to `prev-line' for line number of prev match endpt.
9459 Increment `matches' for every match. Print the number of
9460 matching lines in the header.
9461 (occur-context-lines): Rename `lines' to `curr-line'.
9462 Rename `prev-lines' to `prev-line'. (Bug#14017)
9464 2013-05-29 Juri Linkov <juri@jurta.org>
9466 * replace.el (perform-replace): Add `skip-read-only-count',
9467 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9468 Increment them for corresponding conditions and report the number
9469 of skipped occurrences in the final message. (Bug#11746)
9470 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9471 (replace-string, replace-regexp): Doc fix.
9473 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9475 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9477 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9478 prog-mode-map (bug#14504).
9480 2013-05-29 Leo Liu <sdl.web@gmail.com>
9482 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9483 (octave-help): Small simplification.
9485 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9486 off the highlight first.
9488 2013-05-29 Glenn Morris <rgm@gnu.org>
9490 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9491 Handle idlwave-last-system-routine-info-cons-cell being nil.
9493 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9494 (idlwave-write-paths): Simplify via with-temp-buffer.
9496 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9497 * emulation/cua-rect.el: Also load cua-base at run time.
9499 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9500 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9501 (cperl-imenu-on-info): Require imenu.
9503 2013-05-28 Alan Mackenzie <acm@muc.de>
9505 Handle "capitalised keywords" correctly.
9506 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9508 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9510 * eshell/em-unix.el: Add -r option to cp.
9512 2013-05-28 Glenn Morris <rgm@gnu.org>
9514 * vc/vc-arch.el (vc-exec-after): Declare.
9515 (vc-switches): Autoload.
9516 * vc/vc-bzr.el: No need to require vc when compiling.
9517 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9518 (vc-resynch-buffer, vc-dir-refresh): Declare.
9519 (vc-setup-buffer, vc-switches): Autoload.
9520 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9521 (vc-resynch-buffer): Declare.
9522 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9523 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9524 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9525 (grep-read-regexp, grep-read-files, grep-expand-template)
9526 (vc-dir-refresh): Declare.
9527 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9528 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9529 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9530 * vc/vc-mtn.el (vc-exec-after): Declare.
9531 (vc-switches): Autoload.
9532 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9533 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9534 (vc-file-tree-walk): Declare.
9535 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9536 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9537 (vc-tag-precondition, vc-rename-master): Autoload.
9538 * vc/vc-svn.el (vc-exec-after): Declare.
9539 (vc-switches, vc-setup-buffer): Autoload.
9540 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9542 (vc-resynch-buffer): Declare.
9544 * obsolete/fast-lock.el (byte-compile-warnings):
9545 Don't warn about obsolete features in this obsolete file.
9547 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9548 Move definition before use.
9550 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9551 (dun-unix-verbs): Remove dun-zippy.
9552 (dun-zippy): Remove function.
9554 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9556 2013-05-27 Juri Linkov <juri@jurta.org>
9558 * replace.el (replace-search): New function with code moved out
9559 from `perform-replace'.
9560 (replace-highlight, replace-dehighlight): Move function definitions
9561 up closer to `replace-search'. (Bug#11746)
9563 2013-05-27 Juri Linkov <juri@jurta.org>
9565 * replace.el (perform-replace): Ignore invisible matches.
9566 In addition to checking `query-replace-skip-read-only', also
9567 filter out matches by calling `run-hook-with-args-until-failure'
9568 on `isearch-filter-predicates', and also check `search-invisible'
9569 for t or call `isearch-range-invisible'.
9570 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9572 2013-05-27 Juri Linkov <juri@jurta.org>
9574 * isearch.el (isearch-filter-predicates): Rename from
9575 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9576 (isearch-message-prefix): Display text from the property
9577 `isearch-message-prefix' of the currently active filters.
9578 (isearch-search): Don't compare `isearch-filter-predicate' with
9579 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9580 on `isearch-filter-predicates'. Also check `search-invisible' for t
9581 or call `isearch-range-invisible'.
9582 (isearch-filter-visible): Make obsolete.
9583 (isearch-lazy-highlight-search):
9584 Call `run-hook-with-args-until-failure' on
9585 `isearch-filter-predicates' and use `isearch-range-invisible'.
9587 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9588 `isearch-filter-predicates' instead of `funcall'ing
9589 `isearch-filter-predicate'.
9590 (Info-mode): Set `Info-isearch-filter' to
9591 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9593 * dired-aux.el (dired-isearch-filter-predicate-orig):
9595 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9596 (dired-isearch-filenames-end): Add and remove
9597 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9598 instead of changing the value of `isearch-filter-predicate'.
9599 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9600 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9601 Put property `isearch-message-prefix' to "filename " on
9602 `dired-isearch-filter-filenames'.
9604 * wdired.el (wdired-change-to-wdired-mode):
9605 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9606 locally instead of changing `isearch-filter-predicate'.
9607 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9609 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9611 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9612 return the commit hash (Bug#14459). Also set the
9613 `vc-git-detached' property.
9614 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9615 (vc-git-mode-line-string): Use the same help-echo format whether
9616 in detached mode or not, because we know the actual revision now.
9617 When in detached mode, shorten the revision to 7 chars.
9619 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9621 * emacs-lisp/easy-mmode.el (define-minor-mode):
9622 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9623 mode hook and provide a docstring.
9625 2013-05-27 Alan Mackenzie <acm@muc.de>
9627 Remove spurious syntax-table text properties inserted by C-y.
9628 * progmodes/cc-mode.el (c-after-change): Also clear hard
9629 syntax-table property with value nil.
9631 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9633 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9634 when reading the events; the buffer layout shall not be changed.
9636 2013-05-27 Leo Liu <sdl.web@gmail.com>
9638 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9640 (inferior-octave-directory-tracker): Automatically re-sync
9642 (octave-help): Improve handling of 'See also'.
9644 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9646 * doc-view.el: Minor naming convention tweaks.
9647 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9649 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9650 even if there's no `display' property yet (bug#14435).
9652 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9654 * subr.el (unmsys--file-name): Rename from reveal-filename.
9656 * Makefile.in (custom-deps, finder-data, autoloads)
9657 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9658 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9659 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9661 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9663 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9664 error-completion on the first 2 args of condition-case (bug#14446).
9667 2013-05-25 Leo Liu <sdl.web@gmail.com>
9669 * comint.el (comint-previous-matching-input): Do not flood the
9670 *Messages* buffer with trivial messages.
9672 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9674 * progmodes/flymake.el (flymake-nop): Don't return a string.
9675 (flymake-set-at): Fix typo.
9677 * simple.el (read--expression): New function, extracted from
9678 eval-expression. Set completion-at-point-functions (bug#14465).
9679 (eval-expression, eval-minibuffer): Use it.
9681 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9683 * progmodes/flymake.el (flymake-save-buffer-in-file)
9684 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9685 (flymake-selected-frame, flymake-log, flymake-ins-after)
9686 (flymake-set-at, flymake-get-buildfile-from-cache)
9687 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9688 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9689 Refine the doc string.
9690 (flymake-get-file-name-mode-and-masks): Reformat.
9691 (flymake-get-real-file-name-function): Fix a minor bug.
9693 2013-05-24 Juri Linkov <juri@jurta.org>
9695 * progmodes/grep.el (grep-mode-font-lock-keywords):
9696 Support =linenumber= format used by git-grep for lines with
9697 function names. (Bug#13549)
9699 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9701 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9702 0 after a semi-colon; it works better for smie-auto-fill.
9703 (octave--indent-new-comment-line): New function.
9704 (octave-indent-new-comment-line): Use it (indirectly).
9705 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9706 modify comment-line-break-function.
9708 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9709 (smie-setup): Use add-function to set it.
9711 2013-05-24 Sam Steingold <sds@gnu.org>
9713 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9714 argument (before the `interactive' argument).
9716 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9718 * image-mode.el (image-mode-winprops): Add winprops to
9719 image-mode-winprops-alist before running
9720 image-mode-new-window-functions.
9721 * doc-view.el (doc-view-new-window-function): Don't delay
9722 doc-view-goto-page via timers (bug#14435).
9724 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9726 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9727 (doc-view-desktop-save-buffer): New function.
9728 (doc-view-restore-desktop-buffer): New function.
9729 (desktop-buffer-mode-handlers):
9730 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9732 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9733 `desktop-save-buffer' function.
9735 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9737 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9738 (tramp-gvfs-file-name-handler): Raise a user error when
9739 `tramp-gvfs-enabled' is nil.
9740 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9741 Do not raise a user error when loading package. (Bug#14447)
9743 * net/xesam.el: Move to obsolete/.
9745 2013-05-24 Glenn Morris <rgm@gnu.org>
9747 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9749 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9751 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9752 (Info-find-node, Man-getpage-in-background): Declare.
9754 * mail/unrmail.el (unrmail):
9755 Replace obsolete detect-coding-with-priority.
9757 * net/socks.el (socks-split-string): Use this rather than split-string.
9758 (socks-nslookup-host): Update for above change.
9759 (dynamic-choice, s5-dynamic-choice-match)
9760 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9761 Comment out unused code.
9763 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9764 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9765 (gud-tooltip-echo-area): Make obsolete.
9766 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9768 * progmodes/js.el (js--optimize-arglist): Declare.
9770 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9772 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9773 (ediff-window-C): Declare.
9775 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9776 Tweak requires to silence compiler.
9778 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9779 (he-search-string, he-tried-table, he-expand-list)
9780 (he-init-string, he-string-member, he-substitute-string)
9781 (he-reset-string): Declare.
9783 * obsolete/options.el (list-options): Use custom-variable-p,
9784 rather than obsolete alias.
9786 2013-05-23 Sam Steingold <sds@gnu.org>
9788 * simple.el (shell-command-on-region): Pass the `replace' argument
9789 down to `call-process-region' to comply with the doc as reported on
9790 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9792 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9794 * emacs-lisp/smie.el (smie-indent-forward-token)
9795 (smie-indent-backward-token): Handle string tokens (bug#14381).
9797 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9799 * ielm.el (ielm-menu): New menu.
9800 (inferior-emacs-lisp-mode): Set comment-start.
9802 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9804 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9805 Fix deactivate action.
9807 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9808 Add cleveref macros.
9810 * lisp/textmodes/reftex-parse.el
9811 (reftex-locate-bibliography-files): Accept options for
9812 bibliography commands.
9813 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9814 Add addbibresource. Basic Biblatex support.
9816 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9818 * net/tramp-gvfs.el (top):
9819 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9820 when loading package. (Bug#14447)
9822 2013-05-23 Glenn Morris <rgm@gnu.org>
9824 * progmodes/js.el: No need to load comint when compiling.
9825 (ring-insert, comint-send-string, comint-send-input)
9826 (comint-last-input-end, ido-chop): Declare.
9828 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9829 * vc/ediff-mult.el: Adjust requires.
9830 (ediff-directories-internal, ediff-directory-revisions-internal)
9831 (ediff-patch-file-internal): Declare.
9832 * vc/ediff-ptch.el: Adjust requires.
9833 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9834 (ediff-find-file): Autoload.
9835 * vc/ediff-util.el: No need to load ediff when compiling.
9836 (ediff-regions-internal): Declare.
9837 * vc/ediff-wind.el: Adjust requires.
9838 (ediff-compute-toolbar-width): Define when compiling.
9839 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9840 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9841 (dired-get-filename, dired-get-marked-files)
9842 (ediff-last-dir-patch, ediff-patch-default-directory)
9843 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9844 (ediff-patch-buffer-internal): Declare.
9846 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9847 (ispell-process, ispell-buffer-local-words, lm-summary)
9848 (lm-section-start, lm-section-end): Declare.
9849 (checkdoc-ispell-init): Simplify.
9851 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9852 (he-string-member, he-reset-string, he-substitute-string): Declare.
9854 * eshell/em-ls.el: Adjust requires.
9855 (eshell-glob-regexp): Declare.
9856 * eshell/em-tramp.el: Adjust requires.
9857 (eshell-parse-command): Autoload.
9858 * eshell/em-xtra.el: Adjust requires.
9859 (eshell-parse-command): Autoload.
9860 * eshell/esh-ext.el: Adjust requires.
9861 (eshell-parse-command, eshell-close-handles): Autoload.
9862 * eshell/esh-io.el: Adjust requires.
9863 (eshell-output-filter): Autoload.
9864 * eshell/esh-util.el: No need to load tramp when compiling.
9865 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9867 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9868 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9869 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9870 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9871 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9872 * eshell/esh-opt.el, eshell/esh-proc.el:
9873 * eshell/esh-var.el: Adjust requires.
9874 * eshell/eshell.el: Do not require esh-util twice.
9875 (eshell-add-input-to-history): Declare.
9876 (eshell-command): Check history module is active before using it.
9878 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9880 2013-05-22 Leo Liu <sdl.web@gmail.com>
9882 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9884 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9886 * autorevert.el (auto-revert-notify-add-watch)
9887 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9888 it indicates changes in file modification time.
9890 2013-05-22 Glenn Morris <rgm@gnu.org>
9892 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9893 Always delete the autoloaded function from the noruntime and
9894 unresolved functions lists.
9896 * allout.el: No need to load epa, epg, overlay when compiling.
9897 (epg-context-set-passphrase-callback, epg-list-keys)
9898 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9899 (epg-key-user-id-list): Declare.
9901 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9902 (viper-set-parsing-style-toggling-macro)
9903 (viper-set-emacs-state-searchstyle-macros):
9904 Use called-interactively-p on Emacs.
9905 (viper-looking-back): Make it an obsolete alias. Update callers.
9906 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9907 Use looking-back rather than viper-looking-back.
9908 (viper-tmp-insert-at-eob, viper-enlarge-region)
9909 (viper-read-string-with-history, viper-register-to-point)
9910 (viper-append-to-register, viper-change-state-to-vi)
9911 (viper-backward-char-carefully, viper-forward-char-carefully)
9912 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9913 (viper-change-state-to-emacs): Declare.
9914 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9915 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9916 * emulation/viper-mous.el: Do not load viper-cmd.
9917 (viper-backward-char-carefully, viper-forward-char-carefully)
9918 (viper-forward-word, viper-adjust-window): Declare.
9920 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9922 * progmodes/idlw-help.el (idlwave-help-fontify):
9923 Use called-interactively-p.
9925 * term/w32console.el (w32-get-console-codepage)
9926 (w32-get-console-output-codepage): Declare.
9928 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9929 Remove unnecessary declarations.
9930 (dframe-message): Doc fix.
9932 * info.el (dframe-select-attached-frame, dframe-current-frame):
9935 * speedbar.el (speedbar-message): Make it an obsolete alias.
9937 (speedbar-with-attached-buffer)
9938 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9939 (speedbar-with-writable): Use backquote.
9940 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9941 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9942 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9943 rather than speedbar- aliases.
9944 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9945 (speedbar-make-specialized-keymap, speedbar-insert-button)
9946 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9947 (speedbar-do-function-pointer): Declare.
9948 (rmail-speedbar-button, rmail-speedbar-find-file)
9949 (rmail-speedbar-move-message):
9950 Use dframe-with-attached-buffer rather than speedbar- alias.
9951 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9952 (dframe-message, speedbar-make-specialized-keymap)
9953 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9954 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9955 (speedbar-insert-button, dframe-select-attached-frame)
9956 (dframe-maybee-jump-to-attached-frame)
9957 (speedbar-change-initial-expansion-list)
9958 (speedbar-previously-used-expansion-list-name): Declare.
9959 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9960 Use dframe-message, dframe-with-attached-buffer rather than
9962 (gud-sentinel): Silence compiler.
9963 * progmodes/vhdl-mode.el (speedbar-refresh)
9964 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9965 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9966 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9967 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9968 (speedbar-file-lists, speedbar-make-tag-line)
9969 (speedbar-line-directory, speedbar-goto-this-file)
9970 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9971 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9972 (speedbar-make-button, speedbar-reset-scanners)
9973 (speedbar-files-item-info, speedbar-line-text)
9974 (speedbar-find-file-in-frame, speedbar-set-timer)
9975 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9976 (speedbar-with-writable): Do not (re)define it.
9977 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9978 rather than speedbar- alias.
9980 2013-05-21 Leo Liu <sdl.web@gmail.com>
9982 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9984 (octave-mode): Tweak fill-nobreak-predicate.
9985 (inferior-octave-startup): Check process to avoid infinite loop.
9986 (inferior-octave): Pop to buffer first to show abornmal process
9989 2013-05-21 Glenn Morris <rgm@gnu.org>
9991 * printing.el (pr-menu-bar): Define when compiling.
9993 2013-05-21 Leo Liu <sdl.web@gmail.com>
9995 * progmodes/octave.el (octave-auto-fill): Remove.
9996 (octave-indent-new-comment-line): Improve.
9997 (octave-mode): Use auto fill mode through
9998 comment-line-break-function and fill-nobreak-predicate.
9999 (octave-goto-function-definition): Support DEFUN_DLD.
10000 (octave-beginning-of-defun): Small tweak.
10001 (octave-help): Show parent directory.
10003 2013-05-21 Glenn Morris <rgm@gnu.org>
10005 * files.el (dired-unmark):
10006 * progmodes/gud.el (gdb-input): Update declarations.
10008 * calculator.el (electric, ehelp): No need to load when compiling.
10009 (Electric-command-loop, electric-describe-mode): Declare.
10011 * doc-view.el (doc-view-current-converter-processes): Move before use.
10013 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10014 Move MODE-set-explicitly definition before use.
10016 * international/mule-diag.el (mule-diag):
10017 Don't use obsolete window-system-version.
10019 * mail/feedmail.el (smtpmail): No need to load when compiling.
10020 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10022 * mail/mail-utils.el (rfc822): No need to load when compiling.
10023 (rfc822-addresses): Autoload it.
10024 (mail-strip-quoted-names): Trivial simplification.
10026 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10027 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10029 * net/snmp-mode.el (tempo): Don't duplicate requires.
10031 * progmodes/prolog.el (info): No need to load when compiling.
10032 (comint): Require before shell requires it.
10033 (Info-goto-node): Autoload it.
10034 (Info-follow-nearest-node): Declare.
10035 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10037 * textmodes/artist.el (picture-mode-exit): Declare.
10039 * textmodes/reftex-parse.el (reftex-parse-from-file):
10040 Trivial rewrite so the compiler can parse it better.
10042 2013-05-20 Leo Liu <sdl.web@gmail.com>
10044 * progmodes/octave.el (octave-help-mode-map)
10045 (octave-help-mode-finish-hook): New variables.
10046 (octave-help-mode, octave-help-mode-finish): New functions.
10047 (octave-help): Use octave-help-mode.
10049 2013-05-20 Glenn Morris <rgm@gnu.org>
10051 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10053 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10055 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10056 start at point, so that expansion starting right after opening
10057 slash in a regexp is recognized.
10058 (ruby-syntax-before-regexp-re): New defvar, extracted from
10059 ruby-syntax-propertize-function. Since the value of this regexp
10060 is looked up at runtime now, we should be able to turn
10061 `ruby-syntax-methods-before-regexp' into a defcustom later.
10062 (ruby-syntax-propertize-function): Split regexp matching into two
10063 parts, for opening and closing slashes. That allows us to skip
10064 over string interpolations and support multiline regexps.
10065 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10066 for them, which calls `ruby-syntax-propertize-expansion'.
10067 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10068 call to `ruby-syntax-propertize-function'.
10069 (ruby-syntax-propertize-expansion): Extracted from
10070 `ruby-syntax-propertize-expansions'. Handles one expansion.
10071 (ruby-syntax-propertize-percent-literal): Leave point right after
10072 the percent symbol, so that the expression expansion rule can
10073 propertize the contents.
10074 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10076 (ruby-syntax-propertize-expansions): Remove.
10078 2013-05-18 Juri Linkov <juri@jurta.org>
10080 * man.el (Man-default-man-entry): Remove `-' from the end
10081 of the default value. (Bug#14400)
10083 2013-05-18 Glenn Morris <rgm@gnu.org>
10085 * comint.el (comint-password-prompt-regexp):
10086 Allow "password for XXX" where XXX contains colons (eg https://...).
10088 2013-05-18 Leo Liu <sdl.web@gmail.com>
10090 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10091 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10092 (octave-source-directories): Don't check process.
10093 (octave-source-directories, octave-find-definition): Doc fix.
10095 2013-05-18 Glenn Morris <rgm@gnu.org>
10097 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10098 Remove backspace/delete bindings. (Bug#14392)
10100 * cus-dep.el (custom-make-dependencies): Sort the output.
10101 (custom-versions-load-alist): Convert comment to doc.
10103 2013-05-17 Leo Liu <sdl.web@gmail.com>
10105 * newcomment.el (comment-search-backward): Stricter in finding
10106 comment start. (Bug#14303)
10108 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10109 (octave-comment-start-skip): Properly anchored.
10111 2013-05-17 Leo Liu <sdl.web@gmail.com>
10113 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10114 Clean up when turned off. (Bug#14395)
10115 (smie--highlight-matching-block-overlay): No longer buffer-local.
10116 (smie-highlight-matching-block): Adjust.
10118 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10120 Doc string fix for "nanoseconds" (Bug#14406).
10121 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10122 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10124 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10126 * calc/calc-units.el (math-extract-units): Preserve powers
10129 2013-05-17 Leo Liu <sdl.web@gmail.com>
10131 * subr.el (delete-consecutive-dups): New function.
10132 * ido.el (ido-set-matches-1): Use it.
10133 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10134 * ido.el (ido-remove-consecutive-dups): Remove.
10136 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10138 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10139 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10140 regexp-opt's `words'.
10142 2013-05-16 Leo Liu <sdl.web@gmail.com>
10144 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10145 (smie--highlight-matching-block-overlay)
10146 (smie--highlight-matching-block-lastpos)
10147 (smie--highlight-matching-block-timer): New variables.
10148 (smie-highlight-matching-block): New function.
10149 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10150 (smie-setup): Conditionally enable smie-blink-matching-open.
10152 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10154 Sync with upstream verilog-mode r840.
10155 * progmodes/verilog-mode.el (verilog-mode-version)
10156 (verilog-mode-release-date): Update.
10157 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10158 (verilog-sig-tieoff): Fix string error on
10159 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10160 (verilog-read-decls): Fix parameters confusing
10161 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10163 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10165 * subr.el (reveal-filename): New function.
10167 * loadup.el: Compute Emacs executable versions on MS-Windows,
10168 where executables have the .exe extension. Add a hard link
10169 emacs-XX.YY.ZZ.exe on MS-Windows.
10171 * Makefile.in (XARGS_LIMIT): New variable.
10172 (custom-deps, finder-data, autoloads)
10173 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10174 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10175 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10176 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10178 2013-05-16 Leo Liu <sdl.web@gmail.com>
10180 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10181 (octave-mode-menu, octave-mode-map): Remove its uses.
10183 2013-05-16 Reto Zimmermann <reto@gnu.org>
10185 Sync with upstream vhdl mode v3.34.2.
10186 * progmodes/vhdl-mode.el: Use `push' throughout.
10187 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10188 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10189 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10190 (vhdl-actual-generic-name): New option to derive actual generic name.
10191 (vhdl-port-paste-signals): Replace formal by actual generics.
10192 (vhdl-beautify): New name for old group vhdl-align. Update users.
10193 (vhdl-beautify-options): New option.
10194 (vhdl-last-input-event): New compat alias. Use throughout.
10195 (vhdl-goto-line): Replace user level function `goto-line'.
10196 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10197 vhdl-fix-statement-buffer.
10198 (vhdl-create-mode-menu): Add some entries.
10199 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10200 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10201 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10202 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10203 to force statements on one line.
10204 (vhdl-remove-trailing-spaces-region):
10205 New, split from vhdl-remove-trailing-spaces.
10206 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10207 Respect vhdl-beautify-options.
10208 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10209 (vhdl-update-sensitivity-list): Not add with index if exists without.
10210 Not include array index with signal. Ignore keywords in comments.
10211 (vhdl-get-visible-signals): Regexp tweaks.
10212 (vhdl-template-component-inst): Handle empty library.
10213 (vhdl-template-type): Add template for 'enum' type.
10214 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10215 Use vhdl-replace-string.
10216 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10217 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10218 (vhdl-speedbar-initialize): Update for above name change.
10219 (vhdl-compose-wire-components): Fix in handling of constants.
10220 (vhdl-error-regexp-emacs-alist): New variable.
10221 (vhdl-error-regexp-add-emacs): New function;
10222 adds support for new compile.el (Emacs 22+)
10223 (vhdl-generate-makefile-1): Change target order for single lib. units.
10224 Allow use of absolute file names.
10226 2013-05-16 Leo Liu <sdl.web@gmail.com>
10228 * simple.el (prog-indent-sexp): Indent enclosing defun.
10230 2013-05-15 Glenn Morris <rgm@gnu.org>
10232 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10233 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10234 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10235 (whitespace-highlight): Move to whitespace group.
10237 * comint.el (comint-source):
10238 * pcmpl-linux.el (pcmpl-linux):
10239 * shell.el (shell-faces):
10240 * eshell/esh-opt.el (eshell-opt):
10241 * international/ccl.el (ccl): Remove empty custom groups.
10243 * completion.el (dynamic-completion-mode):
10244 * jit-lock.el (jit-lock-debug-mode):
10245 * minibuffer.el (completion-in-region-mode):
10246 * type-break.el (type-break-mode-line-message-mode)
10247 (type-break-query-mode):
10248 * emulation/tpu-edt.el (tpu-edt-mode):
10249 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10250 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10251 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10253 * term/xterm.el (xterm): Change parent group to terminals.
10255 * master.el (master): Remove empty custom group.
10256 (master-mode): Remove unused :group argument.
10257 * textmodes/refill.el (refill): Remove empty custom group.
10258 (refill-mode): Remove unused :group argument.
10260 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10262 * cus-dep.el: Provide a feature.
10263 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10264 Don't mistakenly ignore files whose basenames match a basename
10265 from preloaded-file-list (eg cedet/ede/simple.el).
10266 Add a fallback method for getting :group.
10268 2013-05-15 Juri Linkov <juri@jurta.org>
10270 * isearch.el (isearch-char-by-name): Rename from
10271 `isearch-insert-char-by-name'. Doc fix.
10272 (isearch-forward): Mention `isearch-char-by-name' in
10273 the docstring. (Bug#13348)
10275 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10276 `exit-minibuffer' instead of
10277 `isearch-nonincremental-exit-minibuffer'.
10278 (isearch-edit-string): Remove mention of
10279 `isearch-nonincremental-exit-minibuffer' from docstring.
10280 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10281 (isearch-forward-exit-minibuffer)
10282 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10284 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10286 * loadup.el: Just use unversioned DOC.
10288 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10289 literals as extending to EOB.
10290 (nxml-last-fontify-end): Remove unused variable.
10291 (nxml-after-change1): Use with-silent-modifications.
10292 (nxml-extend-after-change-region): Simplify.
10293 (nxml-extend-after-change-region1): Remove function.
10294 (nxml-after-change1): Don't adjust for dependent regions.
10295 (nxml-fontify-matcher): Simplify.
10296 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10297 (xmltok-add-dependent): Remove function.
10298 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10299 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10300 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10301 unclosed <[[, <?, comment, and other literals as extending to EOB.
10302 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10303 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10305 (rng-do-some-validation-1): Don't mark dependent regions.
10306 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10307 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10308 (nxml-clear-dependent-regions): Remove functions.
10309 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10310 (nxml-ensure-scan-up-to-date):
10311 Don't clear&mark dependent regions.
10313 2013-05-15 Leo Liu <sdl.web@gmail.com>
10315 * progmodes/octave.el (octave-goto-function-definition):
10316 Improve and fix callers.
10318 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10320 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10321 the setter (bug#14387).
10323 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10324 surrounding group (bug#14402).
10326 2013-05-14 Juri Linkov <juri@jurta.org>
10328 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10331 2013-05-14 Glenn Morris <rgm@gnu.org>
10333 * progmodes/f90.el (f90-imenu-generic-expression):
10334 Fix typo in 2013-05-08 change. (Bug#14402)
10336 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10338 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10339 Remove signals for which replies are never received.
10341 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10343 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10344 (gdb-handler-alist, gdb-handler-number): Remove variables.
10345 (gdb-handler-list): New variable.
10346 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10347 (gdb-pending-handler-p, gdb-handle-reply)
10348 (gdb-remove-all-pending-triggers): New functions.
10349 (gdb-discard-unordered-replies): New defcustom.
10350 (gdb-handler): New defstruct.
10351 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10352 instead of gdb-pending-triggers. Update docstring.
10353 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10354 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10355 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10356 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10357 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10358 (gdb-frame-handler): Pending triggers are now automatically managed.
10359 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10361 (gdb-input): Automatically handles pending triggers. Update docstring.
10362 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10363 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10365 (gdb-done-or-error): Now use gdb-handle-reply.
10367 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10369 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10372 2013-05-14 Glenn Morris <rgm@gnu.org>
10374 * subr.el (user-emacs-directory-warning): New option.
10375 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10377 2013-05-14 Leo Liu <sdl.web@gmail.com>
10379 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10381 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10382 (octave-font-lock-texinfo-comment): Fix invalid search bound
10383 error: wrong side of point.
10385 2013-05-14 Glenn Morris <rgm@gnu.org>
10387 * progmodes/flymake.el (flymake-xml-program): New option.
10388 (flymake-xml-init): Use it.
10390 * term/xterm.el: Provide a feature.
10392 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10394 2013-05-13 Glenn Morris <rgm@gnu.org>
10396 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10397 Add compat aliases as a hack workaround. (Bug#14384)
10399 2013-05-13 Leo Liu <sdl.web@gmail.com>
10401 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10403 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10405 (octave-comment-start-skip): Include %!.
10406 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10408 2013-05-12 Leo Liu <sdl.web@gmail.com>
10410 * progmodes/octave.el (inferior-octave-startup): Store the value
10411 of __octave_srcdir__ for octave-source-directories.
10412 (inferior-octave-check-process): New function refactored out of
10413 inferior-octave-send-list-and-digest.
10414 (octave-source-directories)
10415 (octave-find-definition-filename-function): New variables.
10416 (octave-source-directories)
10417 (octave-find-definition-default-filename): New functions.
10418 (octave-find-definition): Improve to find functions implemented in C++.
10420 2013-05-12 Glenn Morris <rgm@gnu.org>
10422 * calendar/diary-lib.el (diary-outlook-format-1):
10423 Don't include dayname in the output. (Bug#14349)
10425 2013-05-11 Glenn Morris <rgm@gnu.org>
10427 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10429 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10430 Treat cc-provide like provide.
10432 2013-05-11 Kevin Ryde <user42@zip.com.au>
10434 * cus-dep.el (custom-make-dependencies):
10435 Use generated-autoload-load-name for the sake of files such
10436 such cedet/semantic/bovine/c.el, where the base file name
10437 is not in load-path. (Bug#5277)
10439 2013-05-11 Glenn Morris <rgm@gnu.org>
10441 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10444 2013-05-11 Leo Liu <sdl.web@gmail.com>
10446 * progmodes/octave.el (octave-indent-comment): Improve.
10447 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10448 (octave-eldoc-function-signatures, octave-eldoc-function):
10450 (octave-mode, inferior-octave-mode): Add eldoc support.
10452 2013-05-11 Richard Stallman <rms@gnu.org>
10454 * epa.el (epa-decrypt-file): Take output file name as argument
10455 and read it using `interactive'.
10457 2013-05-11 Leo Liu <sdl.web@gmail.com>
10459 * progmodes/octave.el (octave-beginning-of-line)
10460 (octave-end-of-line): Check before using up-list because it jumps
10461 out of more syntactic contructs since moving to smie.
10462 (octave-indent-comment): New function.
10463 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10464 (octave-begin-keywords, octave-end-keywords)
10465 (octave-reserved-words, octave-smie-bnf-table)
10466 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10468 2013-05-11 Glenn Morris <rgm@gnu.org>
10470 * faces.el (internal-face-x-get-resource):
10471 * frame.el (ns-display-monitor-attributes-list):
10472 * calc/calc-aent.el (math-to-radians-2):
10473 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10476 * calc/calc-menu.el: Make it loadable in isolation.
10478 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10479 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10480 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10481 (eudc-bbdb-query-internal): Require 'bbdb.
10483 * lpr.el (lpr-headers-switches):
10484 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10486 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10488 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10490 * term.el (term-set-escape-char): Make it idempotent.
10492 2013-05-10 Leo Liu <sdl.web@gmail.com>
10494 * progmodes/octave.el (inferior-octave-completion-table):
10495 No longer a function and all uses changed. Use cache to speed up
10496 completion due to bug#11906.
10497 (octave-beginning-of-defun): Re-write to be more general.
10499 2013-05-10 Glenn Morris <rgm@gnu.org>
10501 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10503 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10505 * comint.el (comint-redirect-send-command-to-process): Use :around
10506 rather than :override for comint-redirect-filter.
10507 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10508 Call it instead of comint-redirect-original-filter-function (which
10509 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10511 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10513 * frame.el (display-monitor-attributes-list): Add NS case.
10514 (ns-display-monitor-attributes-list): Declare.
10516 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10518 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10520 2013-05-09 Glenn Morris <rgm@gnu.org>
10522 * international/fontset.el (vertical-centering-font-regexp):
10523 Set standard-value.
10525 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10527 * bookmark.el (bookmark-search-delay):
10528 * cus-start.el (vertical-centering-font-regexp):
10529 * ps-mule.el (ps-mule-font-info-database-default):
10530 * ps-print.el (ps-default-fg, ps-default-bg):
10531 * type-break.el (type-break-good-break-interval):
10532 * whitespace.el (whitespace-indentation-regexp)
10533 (whitespace-space-after-tab-regexp):
10534 * emacs-lisp/testcover.el (testcover-1value-functions)
10535 (testcover-noreturn-functions, testcover-progn-functions)
10536 (testcover-prog1-functions):
10537 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10538 * eshell/em-glob.el (eshell-glob-translate-alist):
10539 * play/tetris.el (tetris-tty-colors):
10540 * progmodes/cpp.el (cpp-face-default-list):
10541 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10542 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10543 (idlwave-help-browser-generic-args):
10544 * progmodes/make-mode.el (makefile-special-targets-list):
10545 * progmodes/python.el (python-shell-virtualenv-path):
10546 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10547 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10548 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10549 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10550 * textmodes/reftex-vars.el (reftex-format-label-function):
10551 * textmodes/remember.el (remember-diary-file): Fix custom types.
10553 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10556 2013-05-09 Leo Liu <sdl.web@gmail.com>
10558 * progmodes/octave.el (inferior-octave-completion-at-point):
10559 Restore file completion. (Bug#14300)
10560 (inferior-octave-startup): Fix incorrect highlighting for the
10563 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10565 * progmodes/ruby-mode.el: First cut at SMIE support.
10566 (ruby-use-smie): New var.
10567 (ruby-smie-grammar): New constant.
10568 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10569 (ruby-smie--forward-token, ruby-smie--backward-token)
10570 (ruby-smie-rules): New functions.
10571 (ruby-mode-variables): Setup SMIE if applicable.
10573 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10575 * simple.el (line-move-visual): Signal beginning/end of buffer
10576 only if vertical-motion moved less than it was requested. Avoids
10577 silly incorrect error messages when there are display strings with
10578 multiple newlines at EOL.
10580 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10582 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10583 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10584 (prolog-char-quote-workaround):
10585 * progmodes/cperl-mode.el (cperl-under-as-char):
10586 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10588 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10590 (vhdl-mode-syntax-table-init): Remove.
10592 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10595 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10597 (ld-script-font-lock-keywords):
10598 Change regexps to use things like \_< and \_>.
10600 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10601 Change all regexps to use things like \_< and \_>.
10603 * progmodes/autoconf.el (autoconf-definition-regexp)
10604 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10605 Handle a _ with symbol syntax.
10606 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10608 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10609 Consolidate declaration.
10610 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10612 (ada-create-syntax-table): Remove.
10613 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10614 already has the right syntax nowadays.
10615 (ada-goto-next-word): Don't change the syntax of "_".
10617 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10620 2013-05-08 Sam Steingold <sds@gnu.org>
10622 * thingatpt.el (thing-at-point): Accept optional second argument
10623 NO-PROPERTIES to strip the text properties from the return value.
10624 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10625 to `thing-at-point' instead of stripping the properties ourselves.
10626 Also, when `thing-at-point' fails to find a url, prepend "http://"
10627 to the filename at point on the assumption that the user is
10628 pointing at something like gnu.org/gnu.
10630 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10632 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10633 * faces.el (crm-separator):
10634 Silence byte-compiler.
10636 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10637 (tool-bar-map): Remove unneeded defvars.
10639 2013-05-08 Leo Liu <sdl.web@gmail.com>
10641 Re-work a fix for bug#10994 based on Le Wang's patch.
10642 * ido.el (ido-remove-consecutive-dups): New helper.
10643 (ido-completing-read): Use it.
10644 (ido-chop): Revert fix for bug#10994.
10646 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10648 * cus-edit.el (custom-save-variables):
10649 Pretty-print long values. (Bug#14187)
10651 2013-05-08 Glenn Morris <rgm@gnu.org>
10653 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10654 (m4-mode-syntax-table): Init in the defvar.
10655 (m4-mode-abbrev-table): Let define-derived-mode define it.
10657 2013-05-08 Tom Tromey <tromey@redhat.com>
10659 * progmodes/m4-mode.el (m4-mode-syntax-table):
10660 Do not treat "_" as word constituent. (Bug#14167)
10662 2013-05-07 Glenn Morris <rgm@gnu.org>
10664 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10665 Remove explicit eshell-isearch-cancel-map.
10667 * progmodes/f90.el (f90-smart-end-names): New option.
10668 (f90-smart-end): Doc fix.
10669 (f90-end-block-optional-name): New constant.
10670 (f90-block-match): Respect f90-smart-end-names.
10672 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10674 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10675 about implicit semi-colons (bug#14218).
10677 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10679 * frame.el (display-monitor-attributes-list)
10680 (frame-monitor-attributes): New functions.
10682 2013-05-06 Leo Liu <sdl.web@gmail.com>
10684 * progmodes/octave.el (octave-syntax-propertize-function): Change
10685 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10686 (octave-font-lock-keywords): Use octave-operator-regexp.
10687 (octave-completion-at-point): Rename from
10688 octave-completion-at-point-function.
10689 (inferior-octave-directory-tracker): Robustify.
10690 (octave-text-functions): Remove and fix its uses. No such things
10693 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10695 * emacs-lisp/trace.el (trace--display-buffer): New function.
10696 (trace-make-advice): Use it.
10698 2013-05-06 Juri Linkov <juri@jurta.org>
10700 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10701 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10703 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10704 in the help string. (Bug#12985)
10706 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10708 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10710 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10712 * progmodes/perl-mode.el: Add support for here documents.
10713 (perl-syntax-propertize-function): Match here-doc markers.
10714 (perl-syntax-propertize-special-constructs): Find their end.
10715 (perl-imenu-generic-expression): Use [:alnum:].
10717 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10718 (advice--add-function): Refresh the advice if already present
10721 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10723 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10725 2013-05-06 Glenn Morris <rgm@gnu.org>
10727 * w32-fns.el (w32-charset-info-alist): Declare.
10729 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10730 of its defcustom properties.
10731 (eshell-cmpl-initialize): No need to load pcomplete.
10733 * generic-x.el: No need to require comint when compiling.
10735 * net/eudc-export.el: Make it loadable without bbdb.
10736 (top-level): Use require rather than load-library.
10737 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10738 (eudc-batch-export-records-to-bbdb)
10739 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10742 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10744 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10745 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10746 some tweaks, instead.
10748 2013-05-05 Leo Liu <sdl.web@gmail.com>
10750 * progmodes/octave.el (octave-font-lock-keywords)
10751 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10752 (inferior-octave-send-list-and-digest): Improve error message.
10753 (octave-mode, inferior-octave-mode): Use setq-local.
10754 (octave-help): Set info-lookup-mode.
10756 2013-05-05 Richard Stallman <rms@gnu.org>
10758 * vc/compare-w.el (compare-windows-whitespace):
10759 Treat no-break space as whitespace.
10761 * mail/rmailsum.el (rmail-summary-rmail-update):
10762 Detect empty summary and don't change selected message.
10763 (rmail-summary-goto-msg): Likewise.
10765 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10766 Doc fixes, rename args.
10768 2013-05-05 Alan Mackenzie <acm@muc.de>
10770 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10772 2013-05-05 Juri Linkov <juri@jurta.org>
10774 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10775 to not add the length of the summary segment to the return value.
10778 2013-05-05 Leo Liu <sdl.web@gmail.com>
10780 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10781 (inferior-octave-output-filter): Remove.
10782 (octave-send-region, inferior-octave-startup): Fix callers.
10783 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10784 (octave-binary-file-extensions): New user variable.
10785 (octave-find-definition): Confirm if opening binary files.
10786 (octave-help-file): Use octave-find-definition to get the binary
10788 (octave-help): Adjust for octave-help-file change.
10790 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10792 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10793 Merge the two entries that handle function definitions.
10794 (pascal--syntax-propertize): New const.
10795 (pascal-mode): Use it. Use setq-local.
10797 2013-05-04 Glenn Morris <rgm@gnu.org>
10799 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10800 (diary-from-outlook): Respect diary-from-outlook-function.
10802 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10804 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10805 Move the declaration from C.
10806 (read-minibuffer, eval-minibuffer): Move from C.
10807 (completion-setup-function): Avoid minibuffer-completion-contents.
10809 2013-05-03 Leo Liu <sdl.web@gmail.com>
10811 * progmodes/octave.el (octave-font-lock-keywords): Do not
10812 dehighlight 'end' in comments or strings.
10813 (octave-completing-read, octave-goto-function-definition):
10815 (octave-help-buffer): New user variable.
10816 (octave-help-file, octave-help-function): New button types.
10817 (octave-help): New command and bind it to C-h ;.
10818 (octave-find-definition): New command and bind it to M-.
10819 (user-error): Alias to error if not defined.
10821 2013-05-02 Leo Liu <sdl.web@gmail.com>
10823 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10825 (octave-font-lock-keywords): Include [ and {.
10827 2013-05-02 Leo Liu <sdl.web@gmail.com>
10829 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10830 (inferior-octave): Remove calling comint-mode and return the buffer.
10831 (inferior-octave-startup): Cosmetic changes.
10833 2013-05-02 Leo Liu <sdl.web@gmail.com>
10835 * progmodes/octave.el (octave-syntax-propertize-function):
10836 Include the case when ' is at line beginning. (Bug#14336)
10838 2013-05-02 Glenn Morris <rgm@gnu.org>
10840 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10841 * desktop.el (vc-dir-mode): Just autoload it here.
10843 2013-05-02 Alan Mackenzie <acm@muc.de>
10845 Eliminate variable c-standard-font-lock-fontify-region-function.
10846 * progmodes/cc-mode.el
10847 (c-standard-font-lock-fontify-region-function): Remove.
10848 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10850 2013-05-01 Leo Liu <sdl.web@gmail.com>
10852 * progmodes/octave.el: Compatible with older emacs-24 releases.
10853 (inferior-octave-has-built-in-variables): Remove. Built-in
10854 variables were removed from Octave in 2007.
10855 (inferior-octave-startup): Fix uses.
10856 (comint-line-beginning-position): Remove compatibility code for
10859 2013-05-01 Juri Linkov <juri@jurta.org>
10861 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10863 2013-05-01 Juri Linkov <juri@jurta.org>
10865 * comint.el (comint-previous-matching-input): Don't print message
10866 "History item: %d" when `isearch-mode' is active.
10867 (comint-history-isearch-message): Print message "History item: %d"
10868 when `comint-input-ring-index' is not empty and this function is
10869 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10871 2013-05-01 Leo Liu <sdl.web@gmail.com>
10873 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10874 definitions. Use completion-at-point to insert keywords.
10875 (octave-abbrev-start): Remove.
10876 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10878 2013-04-30 Leo Liu <sdl.web@gmail.com>
10880 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10883 2013-04-30 Alan Mackenzie <acm@muc.de>
10885 Handle arbitrarily long C++ member initialisation lists.
10886 * progmodes/cc-engine.el (c-back-over-member-initializers):
10888 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10889 (most) member init lists.
10891 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10893 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10896 2013-04-30 Leo Liu <sdl.web@gmail.com>
10898 * progmodes/octave.el (octave-variables): Remove. No builtin
10899 variables any more. All converted to functions.
10900 (octave-font-lock-keywords, octave-completion-at-point-function):
10902 (octave-font-lock-texinfo-comment): New user variable.
10903 (octave-texinfo-font-lock-keywords): New variable for texinfo
10905 (octave-function-comment-block): New face.
10906 (octave-font-lock-texinfo-comment): New function.
10907 (octave-mode): Font lock texinfo comment block.
10909 2013-04-29 Leo Liu <sdl.web@gmail.com>
10911 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10912 indexing expression.
10913 (octave-continuation-string): Do not use \.
10914 (inferior-octave-complete-impossible): Remove.
10915 (inferior-octave-completion-table)
10916 (inferior-octave-completion-at-point): Remove its uses.
10917 (inferior-octave-startup): completion_matches was introduced to
10918 Octave in 1996 so safe to assume it.
10919 (octave-function-file-comment): Improve to follow how Octave does it.
10920 (octave-update-function-file-comment): Tweak.
10922 2013-04-29 Leo Liu <sdl.web@gmail.com>
10924 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10925 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10926 (octave-function-file-comment): Fix typo.
10927 (octave-sync-function-file-names): Use read-char-choice.
10929 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10931 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10932 to t for the less important warnings.
10934 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10936 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10938 2013-04-27 Glenn Morris <rgm@gnu.org>
10940 * vc/log-view.el (log-view-current-entry):
10941 Treat "---" separator lines as part of the following rev. (Bug#14169)
10943 2013-04-27 Juri Linkov <juri@jurta.org>
10945 * subr.el (read-number): Doc fix about using it by interactive
10946 code letter `n'. (Bug#14254)
10948 2013-04-27 Juri Linkov <juri@jurta.org>
10950 * desktop.el (desktop-auto-save-timeout): New option.
10951 (desktop-file-checksum): New variable.
10952 (desktop-save): Add optional arg `auto-save' and don't auto-save
10953 if nothing changed.
10954 (desktop-auto-save-timer): New variable.
10955 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10956 (after-init-hook): Call `desktop-auto-save-set-timer'.
10957 Suggested by Reuben Thomas <rrt@sc3d.org> in
10958 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10960 2013-04-27 Leo Liu <sdl.web@gmail.com>
10962 * progmodes/octave.el (octave-function-file-p)
10963 (octave-skip-comment-forward, octave-function-file-comment)
10964 (octave-update-function-file-comment): New functions.
10965 (octave-mode-map): Bind C-c ; to
10966 octave-update-function-file-comment.
10967 (octave-mode-menu): Add octave-update-function-file-comment.
10968 (octave-mode, inferior-octave-mode): Fix doc-string.
10969 (octave-insert-defun): Conform to Octave's coding convention.
10972 * files.el (basic-save-buffer): Don't let errors in
10973 before-save-hook prevent saving buffer.
10975 2013-04-20 Roland Winkler <winkler@gnu.org>
10977 * faces.el (read-face-name): Use completing-read if arg multiple
10980 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10982 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10983 displayed, move point to after the totals line.
10984 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10987 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10989 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10990 Add current dir to the load-path.
10991 (package-generate-autoloads): Don't rely on
10992 autoload-ensure-default-file.
10994 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10996 * textmodes/remember.el (remember-store-in-files): Document that
10997 the file name format is passed to `format-time-string'.
10999 2013-04-26 Leo Liu <sdl.web@gmail.com>
11001 * progmodes/octave.el (octave-sync-function-file-names): New function.
11002 (octave-mode): Use it in before-save-hook.
11004 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11006 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11009 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11010 \n and comment, even if it's not an implicit ; (bug#14218).
11012 2013-04-26 Glenn Morris <rgm@gnu.org>
11014 * subr.el (read-number): Once more use `read' rather than
11015 `string-to-number', to trap non-numeric input. (Bug#14254)
11017 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11019 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11020 Use `syntax-multiline' text property consistently instead of
11021 `font-lock-multiline'. (Bug#14237)
11023 2013-04-26 Glenn Morris <rgm@gnu.org>
11025 * emacs-lisp/shadow.el (list-load-path-shadows):
11026 No longer necessary to check for duplicate simple.el, since
11027 2012-07-07 change to init_lread to not include installation lisp
11028 directories in load-path when running uninstalled. (Bug#14270)
11030 2013-04-26 Leo Liu <sdl.web@gmail.com>
11032 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11033 (octave-mode, inferior-octave-mode): Use setq-local.
11034 (octave-not-in-string-or-comment-p): Rename to
11035 octave-in-string-or-comment-p.
11036 (octave-in-comment-p, octave-in-string-p)
11037 (octave-in-string-or-comment-p): Replace defsubst with defun.
11039 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11041 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11043 2013-04-25 Bastien Guerry <bzg@gnu.org>
11045 * textmodes/remember.el (remember-data-directory)
11046 (remember-directory-file-name-format): Fix custom types.
11048 2013-04-25 Leo Liu <sdl.web@gmail.com>
11050 * progmodes/octave.el (octave-completion-at-point-function):
11051 Make use of inferior octave process.
11052 (octave-initialize-completions): Remove.
11053 (inferior-octave-completion-table): New function.
11054 (inferior-octave-completion-at-point): Use it.
11055 (octave-completion-alist): Remove.
11057 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11059 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11060 (opascal-mode-syntax-table): New var.
11061 (opascal-literal-kind, opascal-is-literal-end)
11062 (opascal-literal-token-at): Rewrite.
11063 (opascal--literal-start-re, opascal-font-lock-keywords)
11064 (opascal--syntax-propertize): New constants.
11065 (opascal-font-lock-defaults): Adjust.
11066 (opascal-mode): Use them. Set comment-<foo> variables as well.
11067 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11068 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11069 (delphi-other-face, opascal-other-face): Remove face variables.
11070 (opascal-save-state): Remove macro.
11071 (opascal-fontifying-progress-step): Remove constant.
11072 (opascal--ignore-changes): Remove var.
11073 (opascal-set-token-property, opascal-parse-next-literal)
11074 (opascal-is-stable-literal, opascal-complete-literal)
11075 (opascal-is-literal-start, opascal-face-of)
11076 (opascal-parse-region, opascal-parse-region-until-stable)
11077 (opascal-fontify-region, opascal-after-change)
11078 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11079 (opascal-debug-parse-region, opascal-debug-parse-window)
11080 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11081 (opascal-debug-fontify-buffer): Remove.
11082 (opascal-debug-mode-map): Adjust accordingly.
11084 2013-04-25 Leo Liu <sdl.web@gmail.com>
11086 Merge octave-mod.el and octave-inf.el into octave.el with some
11088 * progmodes/octave.el: New file renamed from octave-mod.el.
11089 * progmodes/octave-inf.el: Merged into octave.el.
11090 * progmodes/octave-mod.el: Renamed to octave.el.
11092 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11094 * textmodes/reftex-vars.el
11095 (reftex-label-ignored-macros-and-environments): New defcustom.
11097 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11099 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11101 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11102 (smie-indent-keyword): Improve the check to ensure that the next
11103 comment is really on the same line.
11104 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11106 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11107 semi-colons if the line is not otherwise empty (bug#14218).
11109 2013-04-25 Glenn Morris <rgm@gnu.org>
11111 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11113 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11115 * progmodes/opascal.el (opascal-set-token-property): Rename from
11116 opascal-set-text-properties and only set `token' (bug#14134).
11117 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11118 (opascal-literal-text-properties): Remove.
11119 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11122 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11124 * textmodes/remember.el (remember-handler-functions): Add an
11125 option for a new handler `remember-store-in-files'.
11126 (remember-data-directory, remember-directory-file-name-format):
11128 (remember-store-in-files): New function to store remember notes
11129 as separate files within a directory.
11131 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11133 * progmodes/compile.el (compilation-next-error-function):
11134 Pass "formats" to compilation-find-file (bug#11777).
11136 2013-04-24 Glenn Morris <rgm@gnu.org>
11138 * vc/vc-bzr.el (vc-bzr-print-log):
11139 * vc/vc-hg.el (vc-hg-print-log):
11140 * vc/vc-svn.el (vc-svn-print-log):
11141 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11143 * vc/vc-bzr.el (vc-bzr-print-log):
11144 * vc/vc-cvs.el (vc-cvs-print-log):
11145 * vc/vc-git.el (vc-git-print-log):
11146 * vc/vc-hg.el (vc-hg-print-log):
11147 * vc/vc-mtn.el (vc-mtn-print-log):
11148 * vc/vc-rcs.el (vc-rcs-print-log):
11149 * vc/vc-sccs.el (vc-sccs-print-log):
11150 * vc/vc-svn.el (vc-svn-print-log):
11151 * vc/vc.el (vc-print-log-internal): Doc fixes.
11153 2013-04-23 Glenn Morris <rgm@gnu.org>
11155 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11156 Remove venerable code attempting to avoid substitute-command-keys.
11158 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11160 * textmodes/reftex-vars.el (reftex-label-regexps):
11161 Call `reftex-compile-variables' after changes to this variable.
11163 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11165 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11166 Use lexical-binding.
11167 (jit-lock-force-redisplay): Use markers, check buffer's continued
11168 existence and beware narrowed buffers.
11169 (jit-lock-fontify-now): Adjust call accordingly.
11171 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11173 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11174 to avoid misleading the user.
11176 2013-04-22 Leo Liu <sdl.web@gmail.com>
11178 * info-look.el: Prefer latex2e.info. (Bug#14240)
11180 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11182 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11184 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11185 * net/tramp.el (tramp-call-process): ... here.
11186 (tramp-set-completion-function, tramp-parse-putty):
11187 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11188 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11189 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11190 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11191 (tramp-call-local-coding-command): Use `tramp-call-process'
11192 instead of `tramp-compat-call-process'.
11194 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11195 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11196 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11197 (tramp-find-inline-compress): Improve traces.
11198 (tramp-maybe-send-script): Check for Perl binary.
11199 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11201 2013-04-22 Daiki Ueno <ueno@gnu.org>
11203 * epg.el (epg-context-pinentry-mode): New function.
11204 (epg-context-set-pinentry-mode): New function.
11205 (epg--start): Pass --pinentry-mode option to gpg command.
11207 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11209 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11210 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11211 `completion-at-point'. (Bug#13774)
11213 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11214 default key binding for `describe-distribution' has been moved to
11215 `C-h C-o'. (Bug#13970)
11217 2013-04-21 Glenn Morris <rgm@gnu.org>
11219 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11221 (vc-print-log): Clarify interactive prompt.
11223 2013-04-20 Glenn Morris <rgm@gnu.org>
11225 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11226 No longer include timestamp etc information.
11228 2013-04-20 Roland Winkler <winkler@gnu.org>
11230 * faces.el (read-face-name): Bug fix, return just one face if arg
11231 multiple is nil. (Bug#14209)
11233 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11235 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11236 (remove-function): Autoload.
11238 * comint.el (comint-redirect-original-filter-function): Remove.
11239 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11240 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11241 (vc-cvs-annotate-command):
11242 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11243 * progmodes/prolog.el (prolog-consult-compile):
11244 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11245 Use add/remove-function instead.
11246 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11247 (gud-tooltip-process-output, gud-tooltip-tips):
11248 Use add/remove-function instead.
11249 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11250 (scheme-interaction-mode, exit-scheme-interaction-mode):
11251 Use add/remove-function instead.
11253 * vc/vc-dispatcher.el: Use lexical-binding.
11254 (vc--process-sentinel): Rename from vc-process-sentinel.
11255 Change last arg to be the code to run. Don't use vc-previous-sentinel
11256 and vc-sentinel-commands any more.
11257 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11258 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11260 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11262 * progmodes/sh-script.el (sh-imenu-generic-expression):
11263 Handle function names with a single character. (Bug#14111)
11265 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11267 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11268 for subroutines defined in an eval (bug#14182).
11270 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11272 * bookmark.el (bookmark-completing-read): Improve handling of empty
11273 string (bug#14176).
11275 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11277 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11279 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11281 New faster Imenu implementation (bug#14058).
11282 * progmodes/python.el:
11283 (python-imenu-prev-index-position):
11284 (python-imenu-format-item-label-function)
11285 (python-imenu-format-parent-item-label-function)
11286 (python-imenu-format-parent-item-jump-label-function):
11288 (python-imenu-format-item-label)
11289 (python-imenu-format-parent-item-label)
11290 (python-imenu-format-parent-item-jump-label)
11291 (python-imenu--put-parent, python-imenu--build-tree)
11292 (python-imenu-create-index, python-imenu-create-flat-index)
11293 (python-util-popn): New functions.
11294 (python-mode): Set imenu-create-index-function to
11295 python-imenu-create-index.
11297 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11299 * winner.el (winner-active-region): Use region-active-p, activate-mark
11300 and deactivate-mark (bug#14225).
11302 * simple.el (deactivate-mark): Don't inline it.
11304 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11306 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11308 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11310 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11311 file extensions from the archive-mode entry in order to prefer
11312 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11314 2013-04-18 Leo Liu <sdl.web@gmail.com>
11316 * bindings.el (help-event-list): Add ?\?.
11318 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11320 * subr.el (with-wrapper-hook): Declare obsolete.
11321 * simple.el (filter-buffer-substring-function): New hook.
11322 (filter-buffer-substring): Use it.
11323 (filter-buffer-substring-functions): Mark obsolete.
11324 * minibuffer.el (completion-in-region-function): New hook.
11325 (completion-in-region): Use it.
11326 (completion-in-region-functions): Mark obsolete.
11327 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11328 * abbrev.el (abbrev-expand-function): New hook.
11329 (expand-abbrev): Use it.
11330 (abbrev-expand-functions): Mark obsolete.
11331 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11332 and :filter-return.
11334 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11336 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11337 and do not care about match data.
11339 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11341 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11342 completion tables when completing error conditions and
11343 `declare' arguments.
11344 (lisp-complete-symbol, field-complete): Mark as obsolete.
11345 (check-parens): Unmatched parens are user errors.
11346 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11348 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11350 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11351 command changed buffer (ie. `flyspell-pre-buffer' is not current
11352 buffer), which prevents making decisions based on invalid value of
11353 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11354 cause an error when `flyspell-pre-point' was nil after switching
11356 (flyspell-post-command-hook): No longer needs to change buffers when
11357 checking pre-word. While at it remove unnecessary progn.
11359 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11361 * textmodes/ispell.el (ispell-add-per-file-word-list):
11362 Fix `flyspell-correct-word-before-point' error when accepting
11363 words and `coment-padding' is an integer by using
11364 `comment-normalize-vars' (Bug #14214).
11366 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11368 New defun movement commands.
11369 * progmodes/python.el (python-nav--syntactically)
11370 (python-nav--forward-defun, python-nav-backward-defun)
11371 (python-nav-forward-defun): New functions.
11373 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11375 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11376 (python-syntax-context): Use named compiler-macro for backwards
11377 compatibility with Emacs 24.x.
11379 2013-04-17 Leo Liu <sdl.web@gmail.com>
11381 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11382 octave-hide-process-buffer.
11384 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11386 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11389 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11391 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11392 Fix adjustment of offset when receiving incomplete responses from GDB
11395 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11397 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11398 python-mode-abbrev-table.
11399 (python-skeleton-define): Adjust accordingly.
11400 (python-mode-abbrev-table): New table that inherits from it so that
11401 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11403 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11404 (abbrev-symbol): Use it.
11405 (abbrev--before-point): Use it since we already handle inheritance.
11407 2013-04-16 Leo Liu <sdl.web@gmail.com>
11409 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11410 binding to info-lookup-symbol.
11412 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11414 * minibuffer.el (completion--twq-all):
11415 * term/ns-win.el (ns-initialize-window-system):
11416 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11418 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11420 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11423 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11425 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11427 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11428 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11430 (ruby-end-of-defun): Remove the unused arg, change the docstring
11431 to reflect that this function is only used as the value of
11432 `end-of-defun-function'.
11433 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11434 to reflect an earlier change that beginning/end-of-defun functions
11435 jump between methods in a class definition, as well as top-level
11438 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11440 * minibuffer.el (minibuffer-complete): Don't just scroll
11441 a *Completions* that's been iconified.
11442 (minibuffer-force-complete): Make sure repetitions do cycle when going
11443 through completion-in-region -> minibuffer-complete.
11445 2013-04-15 Alan Mackenzie <acm@muc.de>
11447 Correct the placement of c-cpp-delimiters when there're #s not at
11450 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11451 place a submatch around the #.
11452 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11453 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11456 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11458 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11459 (advice--member-p): New arg `name'.
11460 (advice--add-function, advice-member-p): Use it (bug#14202).
11462 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11464 Reformulate java imenu-generic-expression.
11465 The old expression contained ill formed regexps.
11467 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11468 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11469 (cc-imenu-java-method-arg-regexp): New defconsts.
11470 (cc-imenu-java-build-type-args-regex): New defun.
11471 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11472 handling of spaces in the regexp.
11474 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11476 * textmodes/ispell.el (ispell-command-loop): Remove
11477 flyspell highlight of a word when ispell accepts it (bug #14178).
11479 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11481 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11482 uses code from the previous `ange-ftp-run-real-handler'.
11483 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11484 only in case that function exist. This is needed for proper
11485 unloading of Tramp.
11487 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11489 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11491 * textmodes/reftex.el (reftex-compile-variables): Use it.
11493 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11495 * files.el (normal-mode): Only use default major-mode if no other mode
11498 * emacs-lisp/trace.el (trace-values): New function.
11500 * files.el: Allow : in local variables (bug#14089).
11501 (hack-local-variable-regexp): New var.
11502 (hack-local-variables-prop-line, hack-local-variables): Use it.
11504 2013-04-13 Roland Winkler <winkler@gnu.org>
11506 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11507 data before it gets modified by bibtex-beginning-of-entry.
11509 2013-04-13 Roland Winkler <winkler@gnu.org>
11511 * textmodes/bibtex.el (bibtex-url): Doc fix.
11513 2013-04-13 Roland Winkler <winkler@gnu.org>
11515 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11516 does not visit a BibTeX file, exclude it from the list of buffers
11517 returned by bibtex-initialize.
11519 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11521 * window.el (split-window): Remove interactive form, since as a
11522 command this function is a special case of split-window-below.
11523 Correct doc string.
11525 2013-04-12 Roland Winkler <winkler@gnu.org>
11527 * faces.el (read-face-name): Do not override value of arg default.
11528 Allow single faces and strings as default values. Remove those
11529 elements from return value that are not faces.
11530 (describe-face): Simplify.
11531 (face-at-point): New optional args thing and multiple so that this
11532 function can provide the same functionality previously provided by
11534 (make-face-bold, make-face-unbold, make-face-italic)
11535 (make-face-unitalic, make-face-bold-italic, invert-face)
11536 (modify-face, read-face-and-attribute): Use face-at-point.
11538 * cus-edit.el (customize-face, customize-face-other-window)
11539 * cus-theme.el (custom-theme-add-face)
11540 * face-remap.el (buffer-face-set)
11541 * facemenu.el (facemenu-set-face): Use face-at-point.
11543 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11545 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11547 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11549 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11550 off leading { and trailing } from field values.
11552 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11554 * emacs-lisp/timer.el (timer--check): New function.
11555 (timer--time, timer-set-function, timer-event-handler): Use it.
11556 (timer-set-idle-time): Simplify.
11557 (timer--activate): CSE.
11558 (timer-event-handler): Give more info in error message.
11559 (internal-timer-start-idle): New function, moved from C.
11561 * mpc.el (mpc-proc): Add `restart' argument.
11562 (mpc-proc-cmd): Use it.
11563 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11564 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11567 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11569 * progmodes/sh-script.el: Implement `sh-mode' own
11570 `add-log-current-defun-function' (bug#14112).
11571 (sh-current-defun-name): New function.
11572 (sh-mode): Use the function.
11574 2013-04-09 Bastien Guerry <bzg@gnu.org>
11576 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11578 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11580 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11582 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11585 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11587 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11590 2013-04-07 Leo Liu <sdl.web@gmail.com>
11592 * pcmpl-x.el: New file.
11594 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11596 Do not set x-display-name until X connection is established.
11597 This is needed to prevent from weird situation described at
11598 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11599 * frame.el (make-frame): Set x-display-name after call to
11600 window system initialization function, not before.
11601 * term/x-win.el (x-initialize-window-system): Add optional
11602 display argument and use it.
11603 * term/w32-win.el (w32-initialize-window-system):
11604 * term/ns-win.el (ns-initialize-window-system):
11605 * term/pc-win.el (msdos-initialize-window-system):
11606 Add compatible optional display argument.
11608 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11610 * files.el (normal-backup-enable-predicate): On MS-Windows and
11611 MS-DOS compare truenames of temporary-file-directory and of the
11612 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11613 don't fail comparison by compare-strings. Also, compare file
11614 names case-insensitively on MS-Windows and MS-DOS.
11616 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11618 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11619 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11621 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11623 * whitespace.el (whitespace-color-on, whitespace-color-off):
11624 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11626 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11628 * ispell.el (ispell-set-spellchecker-params):
11629 Really set `ispell-args' for all equivs.
11631 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11633 * ido.el (ido-completions): Use extra elements of ido-decorations
11635 (ido-decorations): Update docstring.
11637 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11639 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11640 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11641 nil during initialization, in order not to miss changes since the
11642 file was opened. (Bug#14140)
11644 2013-04-05 Leo Liu <sdl.web@gmail.com>
11646 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11648 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11650 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11652 2013-04-04 Glenn Morris <rgm@gnu.org>
11654 * electric.el (electric-pair-inhibit-predicate): Add :version.
11656 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11658 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11659 when a package is required several times (bug#14082).
11661 2013-04-04 Roland Winkler <winkler@gnu.org>
11663 * faces.el (read-face-name): Behave as promised by the docstring.
11664 Assume that arg default is a list of faces.
11665 (describe-face): Call read-face-name with list of default faces.
11667 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11669 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11670 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11671 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11673 (bookmark-exit-hook-internal): Save even if list is empty.
11675 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11677 * emacs-lisp/package.el (package-pinned-packages): New var.
11678 (package--add-to-archive-contents): Obey it (bug#14118).
11680 2013-04-03 Alan Mackenzie <acm@muc.de>
11682 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11683 Also adapt to the new values of element 7 of a parse state.
11685 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11686 parameter `not-in-delimiter'. Handle being inside comment opener.
11687 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11688 character in case we're typing a '*' after a '/'.
11689 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11690 instead by passing the parameter to c-state-pp-to-literal.
11692 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11693 for elt. 7 of a parse state.
11695 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11697 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11698 * international/latin1-disp.el, international/mule-util.el:
11699 * language/cyril-util.el, language/european.el, language/ind-util.el:
11700 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11701 * language/tibetan.el, language/viet-util.el:
11702 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11704 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11706 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11707 (electric-pair-post-self-insert-function): Use it.
11708 (electric-pair-default-inhibit): New function, extracted from
11709 electric-pair-post-self-insert-function.
11711 2013-03-31 Roland Winkler <winkler@gnu.org>
11713 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11715 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11717 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11719 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11721 Un-indent after "pass" and "return" statements (Bug#13888)
11722 * progmodes/python.el (python-indent-block-enders): New var.
11723 (python-indent-calculate-indentation): Use it.
11725 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11727 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11728 defun. Defining it as defalias could introduce too eager
11729 byte-compiler optimization. (Bug#14030)
11731 2013-03-30 Chong Yidong <cyd@gnu.org>
11733 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11735 2013-03-30 Leo Liu <sdl.web@gmail.com>
11737 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11738 (kmacro-execute-from-register): Pass the keyboard macro to
11739 kmacro-call-macro or repeating won't work correctly.
11741 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11743 * progmodes/subword.el: Back to using `forward-symbol'.
11745 * subr.el (forward-whitespace, forward-symbol)
11746 (forward-same-syntax): Move from thingatpt.el.
11748 2013-03-29 Leo Liu <sdl.web@gmail.com>
11750 * kmacro.el (kmacro-to-register): New command.
11751 (kmacro-execute-from-register): New function.
11752 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11754 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11756 * mpc.el: Use defvar-local and setq-local.
11757 (mpc--proc-connect): Connection failures are not bugs.
11758 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11759 (mpc-volume-map): Bind to the up-events.
11761 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11763 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11764 instead of `forward-symbol'.
11766 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11768 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11769 (edebug--recursive-edit): Use it.
11770 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11771 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11773 2013-03-28 Leo Liu <sdl.web@gmail.com>
11775 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11777 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11779 * facemenu.el (list-colors-callback): New defvar.
11780 (list-colors-redisplay): New function.
11781 (list-colors-display): Install list-colors-redisplay as the
11782 revert-buffer-function. (Bug#14063)
11784 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11786 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11787 and suffixes don't overlap (bug#14061).
11789 * case-table.el: Use lexical-binding.
11790 (case-table-get-table): New function.
11791 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11793 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11795 * progmodes/subword.el: Add `superword-mode' to do word motion
11796 over symbol_words (parallels and leverages `subword-mode' which
11797 does word motion inside MixedCaseWords).
11799 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11801 * eshell/em-unix.el: Move su and sudo to...
11802 * eshell/em-tramp.el: ...Eshell tramp module.
11804 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11806 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11807 Change return value to be a sexp. Delay `get-buffer' to after
11808 restoring the desktop (bug#13951).
11810 2013-03-26 Leo Liu <sdl.web@gmail.com>
11812 * register.el: Move semantic tag handling back to
11813 cedet/semantic/senator.el. (Bug#14052)
11815 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11817 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11818 into the prompt either (bug#13963).
11820 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11822 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11823 part of "(error-foo)".
11825 2013-03-24 Juri Linkov <juri@jurta.org>
11827 * replace.el (list-matching-lines-prefix-face): New defcustom.
11828 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11829 `occur-engine' if `face-differs-from-default-p' returns t.
11830 (occur-engine): Add `,' inside backquote construct to evaluate
11831 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11832 Pass `prefix-face' to the functions `occur-context-lines' and
11833 `occur-engine-add-prefix'.
11834 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11835 `prefix-face' and propertize the prefix with `prefix-face'.
11838 2013-03-24 Leo Liu <sdl.web@gmail.com>
11840 * nxml/rng-valid.el (rng-validate-while-idle)
11841 (rng-validate-quick-while-idle): Guard against deleted buffer.
11844 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11845 is the last entry in kill-buffer-hook.
11847 * files.el (kill-buffer-hook): Doc fix.
11849 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11851 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11852 Make it safe-local.
11854 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11856 2013-03-23 Leo Liu <sdl.web@gmail.com>
11858 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11861 * nxml/rng-valid.el (rng-validate-mode)
11862 (rng-after-change-function, rng-do-some-validation):
11863 * nxml/rng-maint.el (rng-validate-buffer):
11864 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11865 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11866 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11867 (nxml-extend-after-change-region): Use with-silent-modifications.
11869 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11872 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11873 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11874 timer-idle-list. (Bug#13999)
11876 2013-03-23 Juri Linkov <juri@jurta.org>
11878 * info.el (info-index-match): New face.
11879 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11880 main pattern and add text properties with the new face to matches
11881 in index entries relative to the beginning of the index entry.
11884 2013-03-21 Eric Ludlam <zappo@gnu.org>
11886 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11887 Inhibit read only while inserting objects.
11889 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11891 * progmodes/cfengine.el: Update docs to mention
11892 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11893 symbol motion. Remove "_" from the word syntax.
11895 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11897 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11898 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11900 2013-03-20 Juri Linkov <juri@jurta.org>
11902 * info.el (Info-next-reference-or-link)
11903 (Info-prev-reference-or-link): New functions.
11904 (Info-next-reference, Info-prev-reference): Use them.
11905 (Info-try-follow-nearest-node): Handle footnote navigation.
11906 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11908 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11910 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11911 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11913 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11915 Suppress unnecessary non-ASCII chatter during build process.
11916 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11917 (batch-skkdic-convert): Suppress most of the chatter.
11918 It's not needed so much now that machines are faster,
11919 and its non-ASCII component was confusing; see Dmitry Gutov in
11920 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11922 2013-03-20 Leo Liu <sdl.web@gmail.com>
11924 * ido.el (ido-chop): Fix bug#10994.
11926 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11928 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11930 (whitespace-color-on, whitespace-color-off):
11931 Use `font-lock-fontify-buffer' (Bug#13817).
11933 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11935 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11936 remapping in mode-line.
11937 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11939 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11941 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11942 value for `whitespace-line' face (Bug#13875).
11943 (whitespace-font-lock-keywords): Change description.
11944 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11945 the constructed keywords instead.
11946 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11948 2013-03-19 Leo Liu <sdl.web@gmail.com>
11950 * progmodes/compile.el (compilation-display-error): New command.
11951 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11954 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11956 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11958 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11960 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11962 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11964 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11966 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11967 * net/tramp-gvfs.el (top):
11968 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11969 (tramp-handle-shell-command): Use it.
11970 (tramp-dissect-file-name): Raise an error when hostname is a
11971 method name, and neither method nor user is specified.
11973 * net/trampver.el: Update release number.
11975 2013-03-18 Leo Liu <sdl.web@gmail.com>
11977 Make sure eldoc can be turned off properly.
11978 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11980 (eldoc-display-message-p): Revert last change.
11981 (eldoc-display-message-no-interference-p)
11982 (eldoc-print-current-symbol-info): Tweak.
11984 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11986 * doc-view.el (doc-view-new-window-function): Check the new window
11987 overlay's display property instead the char property of the
11988 buffer's first char. Use `with-selected-window' instead of
11989 `save-window-excursion' with `select-window'.
11990 (doc-view-document->bitmap): Check the current doc-view overlay's
11991 display property instead the char property of the buffer's first char.
11993 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11995 Automate the build of ja-dic.el (Bug#13984).
11996 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11997 from the input, rather than assume that it's been done for us by the
11998 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11999 the current date into a ja-dic.el comment, as that complicates
12000 regression testing.
12002 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12004 * whitespace.el: Fix double evaluation.
12005 (whitespace-space, whitespace-hspace, whitespace-tab)
12006 (whitespace-newline, whitespace-trailing, whitespace-line)
12007 (whitespace-space-before-tab, whitespace-indentation)
12008 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12010 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12011 (whitespace-color-on): Use a single font-lock-add-keywords call.
12012 Fix double-evaluation of face variables.
12014 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12016 * net/tramp-adb.el (tramp-adb-parse-device-names):
12017 Use `start-process' instead of `call-process'. Otherwise, the
12018 function might be blocked under MS Windows. (Bug#13299)
12020 2013-03-17 Leo Liu <sdl.web@gmail.com>
12022 Extend eldoc to display info in the mode-line. (Bug#13978)
12023 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12024 (eldoc-mode-line-string): New variable.
12025 (eldoc-minibuffer-message): New function.
12026 (eldoc-message-function): New variable.
12027 (eldoc-message): Use it.
12028 (eldoc-display-message-p)
12029 (eldoc-display-message-no-interference-p):
12030 Support eldoc-post-insert-mode.
12032 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12033 (eval-expression): Run it.
12035 2013-03-17 Roland Winkler <winkler@gnu.org>
12037 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12038 strings in the list of return values.
12040 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12042 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12043 radix before checking for HMS forms.
12045 2013-03-16 Leo Liu <sdl.web@gmail.com>
12047 * progmodes/scheme.el: Add indentation and font-locking for λ.
12050 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12052 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12053 token before point (bug#13942).
12055 2013-03-16 Leo Liu <sdl.web@gmail.com>
12057 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12059 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12061 * startup.el (command-line-normalize-file-name): Fix handling of
12062 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12063 <xfq.free@gmail.com> in
12064 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12066 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12068 Sync with Tramp 2.2.7.
12070 * net/trampver.el: Update release number.
12072 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12074 * doc-view.el: Fix bug#13887.
12075 (doc-view-insert-image): Don't modify overlay associated to
12076 non-live windows, and implement horizontal centering of image in
12077 case it's smaller than the window.
12078 (doc-view-new-window-function): Force redisplay of new windows on
12081 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12083 * saveplace.el (save-place-alist-to-file): Don't sort
12084 `save-place-alist', just pretty-print it (bug#13882).
12086 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12088 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12089 Check whether `default-file-name-coding-system' is bound.
12090 It isn't in XEmacs.
12092 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12094 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12095 backquotes for `obsolete' (bug#13929).
12097 * international/mule.el (find-auto-coding): Include file name in
12098 obsolescence warning (bug#13922).
12100 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12102 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12103 for CFEngine 3-specific indentation.
12104 (cfengine3-indent-line): Use it. Fix up category regex.
12105 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12107 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12109 * type-break.el (type-break-file-name):
12110 * textmodes/remember.el (remember-data-file):
12111 * strokes.el (strokes-file):
12112 * shadowfile.el (shadow-initialize):
12113 * saveplace.el (save-place-file):
12114 * ps-bdf.el (bdf-cache-file):
12115 * progmodes/idlwave.el (idlwave-config-directory):
12116 * net/quickurl.el (quickurl-url-file):
12117 * international/kkc.el (kkc-init-file-name):
12118 * ido.el (ido-save-directory-list-file):
12119 * emulation/viper.el (viper-custom-file-name):
12120 * emulation/vip.el (vip-startup-file):
12121 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12122 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12124 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12126 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12127 * language/thai-word.el: Switch to UTF-8.
12129 See ChangeLog.16 for earlier changes.
12131 ;; Local Variables:
12135 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12137 This file is part of GNU Emacs.
12139 GNU Emacs is free software: you can redistribute it and/or modify
12140 it under the terms of the GNU General Public License as published by
12141 the Free Software Foundation, either version 3 of the License, or
12142 (at your option) any later version.
12144 GNU Emacs is distributed in the hope that it will be useful,
12145 but WITHOUT ANY WARRANTY; without even the implied warranty of
12146 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12147 GNU General Public License for more details.
12149 You should have received a copy of the GNU General Public License
12150 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.