1 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
6 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
8 * net/shr.el (shr-render-region): Autoload.
10 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
12 * net/eww.el (eww-download-directory): Rename from
13 `eww-download-path' (Bug#16419).
15 2014-01-12 Leo Liu <sdl.web@gmail.com>
17 * dired-x.el (dired-mode-map): Fix last change.
19 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
21 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
24 * emacs-lisp/generic.el (generic--normalize-comments):
25 Rename from generic--normalise-comments. All uses changed.
26 * play/bubbles.el (bubbles--neighborhood-score):
27 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
28 (bubbles--neighborhood-available)
29 (bubbles--update-neighborhood-score):
30 Rename from names with 'neighbourhood'. All uses changed.
32 2014-01-12 Leo Liu <sdl.web@gmail.com>
34 Re-implement the feature of showing eldoc info after editing.
35 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
36 (eldoc-edit-message-commands): New function.
37 (eldoc-print-after-edit): New variable.
38 (eldoc-pre-command-refresh-echo-area): Emit message only by
39 eldoc-message-commands.
40 (eldoc-mode): Restrict eldoc-message-commands to editing commands
41 if eldoc-print-after-edit is set. (Bug#16346)
43 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
45 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
47 * version.el (emacs-repository-get-version): Enhance so the
48 function works correctly in either a Bazaar or Git repo.
50 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
51 Goes with removal of the joke manpages from /etc.
53 2014-01-10 K. Handa <handa@gnu.org>
55 * mail/rmail.el (rmail-get-coding-system):
56 Check rmail-get-coding-function before "funcall"ing it.
58 2014-01-10 Glenn Morris <rgm@gnu.org>
60 * emacs-lisp/authors.el (authors-fixed-entries):
61 Update for files that no longer exist.
63 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
65 * version.el (emacs-bzr-get-version): Restore compatibilty with
68 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
70 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
73 2014-01-10 Eli Zaretskii <eliz@gnu.org>
75 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
77 2014-01-10 Chong Yidong <cyd@gnu.org>
79 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
81 2014-01-10 Anders Lindgren <andlind@gmail.com>
83 * follow.el (follow-cache-command-list): Include right-char and
86 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
89 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
90 * woman.el (woman-mark-horizontal-position):
91 Rename from woman-mark-horizonal-position. Use changed.
93 2014-01-10 Glenn Morris <rgm@gnu.org>
95 * info.el (info-initialize): If running uninstalled, ensure our
96 own info files are always found first, even if INFOPATH is set.
98 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
100 2014-01-09 David Engster <deng@randomsample.de>
102 * emacs-lisp/eieio-custom.el:
103 * emacs-lisp/eieio-opt.el: Set generated autoload file to
104 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
105 * emacs-lisp/eieio.el: Regenerate autoloads.
107 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
109 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
110 following renames. (Bug#8756)
112 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
114 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
116 (activate-mark): Add `no-tmm' argument.
117 (set-mark, push-mark-command): Use it instead of running
118 activate-mark-hook by hand.
120 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
122 In preparation for the move to git, sanitize out some
123 Bazaar-specific names.
125 * version.el (emacs-bzr-version): Name changed to
126 emacs-repository-version. Obsolete-variable alias made.
127 * loadup.el: Follow through on this name change.
128 * mail/emacsbug.el (report-emacs-bug): Factor out any
129 assumption about the version control system in use.
131 2014-01-08 David Engster <deng@randomsample.de>
133 * help-fns.el (help-fns-describe-function-functions):
134 New variable to call functions for augmenting help buffers.
135 (describe-function-1): Remove explicit calls to
136 `help-fns--compiler-macro', `help-fns--parent-mode' and
137 `help-fns--obsolete'. Put them in above new variable instead, and
138 call them through `run-hook-with-args'.
139 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
140 `eieio-describe-class'. Not meant for interactive use anymore,
141 but to augment existing help buffers. Remove optional second
142 argument. Create proper button for file location.
143 Rewrite function to use `insert' instead of `princ' and `prin1' where
145 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
146 (eieio-method-def, eieio-class-def): Move further up.
147 (describe-method, describe-generic, eieio-describe-method):
149 (eieio-help-constructor, eieio-help-generic): Rename from
150 `eieio-describe-constructor' and `eieio-describe-generic', resp.
151 Rewrite to use `insert' in the current buffer and use proper help
153 (eieio-help-find-method-definition)
154 (eieio-help-find-class-definition): Also accept symbols as
156 (eieio-help-mode-augmentation-maybee): Remove.
157 (eieio-describe-class-sb): Use `describe-function'.
158 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
159 Add `eieio-help-generic' and `eieio-help-constructor'.
161 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
164 * language/china-util.el (hz-ascii-designation):
165 Rename from hz-ascii-designnation.
166 (hz-ascii-designation): Rename from hz-ascii-designnation.
169 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
171 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
174 2014-01-08 Bastien Guerry <bzg@gnu.org>
176 * emacs-lisp/package.el (package-delete):
177 Correctly delete the package from package-alist.
179 2014-01-08 Daiki Ueno <ueno@gnu.org>
181 * emacs-lisp/package.el (url-recreate-url): Declare.
182 (url-http-target-url): Declare.
183 (package-handle-response): Include requested URL in the error message.
184 (package--check-signature): Don't re-signal errors from
185 package--with-work-buffer. Suggested by Stefan Monnier.
187 2014-01-07 Bastien Guerry <bzg@gnu.org>
189 * minibuffer.el (completion--try-word-completion): When both a
190 hyphen and a space are possible candidates for the character
191 following a word, display both candidates. (Bug#15980)
193 2014-01-07 Martin Rudalics <rudalics@gmx.at>
195 * window.el (balance-windows-2): While rounding don't give a
196 window more than the remainder. Bug#16351, Bug#16383.
198 2014-01-07 Glenn Morris <rgm@gnu.org>
200 * menu-bar.el (menu-bar-help-extra-packages): Remove.
201 (menu-bar-help-menu): Use view-external-packages instead.
203 2014-01-07 Bastien Guerry <bzg@gnu.org>
205 * emacs-lisp/package.el (package-delete): Also delete the package
206 name from `package-alist', not its description only.
208 2014-01-07 Glenn Morris <rgm@gnu.org>
210 * help.el (view-external-packages):
211 * menu-bar.el (menu-bar-help-extra-packages):
212 Visit efaq.info rather than etc/MORE.STUFF.
214 2014-01-07 Juri Linkov <juri@jurta.org>
216 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
217 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
219 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
220 that shadows RET. (Bug#16342)
222 2014-01-07 Chong Yidong <cyd@gnu.org>
224 * isearch.el (isearch-yank-char, isearch-yank-word)
225 (isearch-yank-line): Doc fix.
227 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
229 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
230 * emacs-lisp/elint.el (elint-find-builtins):
231 * emacs-lisp/eldoc.el (eldoc-symbol-function):
232 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
233 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
234 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
235 * apropos.el (apropos-safe-documentation):
236 * subr.el (symbol-file): Remove redundant fboundp.
237 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
239 2014-01-06 Bastien Guerry <bzg@gnu.org>
241 * hl-line.el (global-hl-line-overlay): Make a local variable.
242 (global-hl-line-overlays): New variable to store all overlays.
243 (global-hl-line-mode): Don't delete overlays from the current
244 buffer when `global-hl-line-sticky-flag' is non-nil.
245 (global-hl-line-highlight): Add new overlays to
246 `global-hl-line-overlays'.
247 (global-hl-line-unhighlight-all): New function to delete all
248 overlays when turning off `global-hl-line-mode'.
249 This fixes Bug#16183.
251 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
253 * subr.el (set-transient-map): Fix nested case and docstring.
255 2014-01-06 Tassilo Horn <tsdh@gnu.org>
257 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
260 2014-01-06 Daniel Colascione <dancol@dancol.org>
262 Fix defun navigation in vc log view.
264 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
265 like `beginning-of-defun'.
266 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
267 log-view-end-of-defun to log-view-end-of-defun-1. Replace
268 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
269 (log-view-extract-comment): Call `log-view-current-entry' directly
270 instead of relying on broken `log-view-beginning-of-defun' behavior.
272 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
275 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
276 * emacs-lisp/debug.el (cancel-debug-on-entry):
277 * epg.el (epg-error-to-string):
278 * files.el (recover-file):
279 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
280 * mail/emacsbug.el (report-emacs-bug-hook):
281 * mail/sendmail.el (mail-recover):
282 * ses.el (ses-yank-resize):
283 * term/ns-win.el (ns-print-buffer):
284 Spelling fixes in diagnostics, mostly for "canceled" with one L.
285 * epg.el (epg-key-capability-alist): Rename from misspelled version.
287 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
289 2014-01-06 Leo Liu <sdl.web@gmail.com>
291 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
292 to avoid shadowing global key. (Bug#16354)
294 2014-01-06 Daniel Colascione <dancol@dancol.org>
296 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
299 2014-01-05 Martin Rudalics <rudalics@gmx.at>
301 * window.el (balance-windows): Add mising t to fix Bug#16351.
303 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
305 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
307 (shr-insert): If we have a word that's longer than `shr-width',
308 break after it anyway. Otherwise we'll do no breaking once we get
311 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
313 * net/eww.el (eww): Support single/double quote for search.
314 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
315 (eww-history-quit): Delete and use quit-window.
316 (eww-history-kill): Delete, because it doesn't work well and
318 (eww-history-mode-map): Delete some keys and add easy-menu.
320 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
322 Fix misspelling of 'chinese' in rx (Bug#16237).
323 * emacs-lisp/rx.el (rx-categories): Correct spelling of
326 Change subword regexps back to vars (Bug#16296).
327 * progmodes/subword.el (subword-forward-regexp)
328 (subword-backward-regexp): Change these back to variables.
330 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
332 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
333 syntax-begin-function (bug#16247).
335 2014-01-03 Chong Yidong <cyd@gnu.org>
337 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
338 (advice--docstring): Delete variable.
339 (advice--make-1): Leave the docstring empty.
340 (advice-add): Use function-documentation for advised docstring.
342 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
343 Ignore function-documentation property when getting documentation.
344 (ad-activate-advised-definition): Use function-documentation
345 generate the docstring.
346 (ad-make-advised-definition): Don't call
347 ad-make-advised-definition-docstring.
348 (ad-make-advised-definition-docstring, ad-advised-definition-p):
351 * progmodes/sql.el (sql-help): Use function-documentation instead
352 of dynamic-docstring-function property. No need to autoload now.
353 (sql--help-docstring): New variable.
354 (sql--make-help-docstring): Use it.
356 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
358 * ielm.el (ielm-tab): Retarget.
359 (ielm-map): Use ielm-tab for tab.
360 (ielm-complete-filename): Use comint-filename-completion.
361 (ielm-complete-symbol): Remove.
362 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
363 remove ielm-tab from completion-at-point-functions (bug#16224).
365 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
366 Beware signals raised by predicates (bug#16201).
368 2014-01-02 Richard Stallman <rms@gnu.org>
370 * dired-aux.el (dired-do-print): Handle printer-name.
372 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
373 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
374 (rmail-epa-decrypt): Turn off mime processing.
376 * mail/rmail.el (rmail-make-in-reply-to-field):
377 Add parens in message-id.
379 * mail/rmail.el (rmail-get-coding-function): Variable.
380 (rmail-get-coding-system): Use it.
382 2013-12-31 Eli Zaretskii <eliz@gnu.org>
384 * international/mule-conf.el: Unify the charset indian-is13194.
385 (indian-is13194): Specify unify-map.
387 2013-12-31 Leo Liu <sdl.web@gmail.com>
389 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
391 2013-12-30 Daniel Colascione <dancol@dancol.org>
393 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
394 of printing a useless when we resume from sleep.
396 * progmodes/sh-script.el
397 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
398 in indentation code. (Bug#16233)
400 2013-12-28 João Távora <joaotavora@gmail.com>
402 * elec-pair.el (electric-pair-post-self-insert-function):
403 Don't open extra newlines at beginning of buffer. (Bug#16272)
405 2013-12-28 Eli Zaretskii <eliz@gnu.org>
407 * frame.el (window-system-for-display): Don't allow to create a
408 GUI frame from a -nw session on MS-Windows. (Bug#14739)
410 2013-12-28 Glenn Morris <rgm@gnu.org>
412 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
415 * apropos.el (apropos-match-face):
416 * calculator.el (calculator-displayer):
417 * dabbrev.el (dabbrev-search-these-buffers-only):
418 * face-remap.el (buffer-face-mode-face):
419 * simple.el (yank-handled-properties):
420 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
421 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
422 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
423 (hashcash-double-spend-database):
424 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
425 (ruby-deep-indent-paren-style):
426 * textmodes/flyspell.el (flyspell-auto-correct-binding):
427 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
428 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
429 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
430 Specify custom types.
432 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
433 * bookmark.el (bookmark-bmenu-use-header-line):
434 * doc-view.el (doc-view-scale-internally):
435 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
436 * register.el (register-preview-delay):
437 * net/shr.el (shr-bullet):
438 * progmodes/cfengine.el (cfengine-cf-promises)
439 (cfengine-parameters-indent):
440 * progmodes/octave.el (inferior-octave-error-regexp-alist):
441 * textmodes/reftex-vars.el (reftex-label-regexps):
442 * vc/log-edit.el (log-edit-setup-add-author): Add version.
444 * net/tls.el (tls-certtool-program): Fix default value.
446 * desktop.el (desktop-restore-in-current-display):
447 * newcomment.el (comment-empty-lines):
448 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
449 (idlwave-pad-keyword):
450 * progmodes/tcl.el (tcl-tab-always-indent):
451 * textmodes/reftex-vars.el (reftex-index-default-tag):
452 * elec-pair.el (electric-pair-skip-whitespace):
453 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
455 * emacs-lisp/authors.el (authors-ignored-files)
456 (authors-valid-file-names, authors-renamed-files-alist): Additions.
458 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
460 * shell.el (shell-dynamic-complete-command): Doc fix.
461 (shell--command-completion-data): Shell completion now matches
462 executable filenames from the current buffer's directory, on
463 systems in which this behavior is the default (windows-nt, ms-dos).
465 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
467 * net/shr.el (shr-insert): Don't infloop if the width is zero.
469 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
471 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
474 * electric.el: Move all electric-pair-* to elec-pair.el.
475 * elec-pair.el: New file, split from electric.el.
477 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
479 * net/shr.el (shr-find-fill-point): Don't try to fill if the
480 indentation level is larger than the width, because that will
482 (shr-insert): Fill repeatedly long texts, so that Japanese is
483 formatted correctly (bug#16263).
484 (shr-find-fill-point): Off by one error in comparison with the
487 2013-12-26 João Távora <joaotavora@gmail.com>
489 * electric.el (electric-pair-mode): More flexible engine for skip-
490 and inhibit predicates, new options for pairing-related functionality.
491 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
492 if that keeps or improves their balance in buffers.
493 (electric-pair-delete-adjacent-pairs): Delete the pair when
494 backspacing over adjacent matched delimiters.
495 (electric-pair-open-extra-newline): Open extra newline when
496 inserting newlines between adjacent matched delimiters.
497 (electric--sort-post-self-insertion-hook):
498 Sort post-self-insert-hook according to priority values when
499 minor-modes are activated.
500 * simple.el (newline-and-indent): Call newline with interactive
502 (blink-paren-post-self-insert-function): Set priority to 100.
503 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
504 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
505 comments. Locally set electric-pair-skip-whitespace to 'chomp and
506 electric-pair-open-newline-between-pairs to nil.
508 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
510 * progmodes/python.el: Use lexical-binding.
511 (python-nav-beginning-of-defun): Stop searching ASAP.
513 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
515 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
516 Fix interactive spec. Doc fix. (Bug#15754)
518 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
520 * emacs-lisp/byte-run.el (eval-when-compile):
521 * progmodes/cc-defs.el (cc-eval-when-compile):
522 Fix edebug spec (bug#16184).
524 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
526 * net/shr.el (shr-visit-file): Remove debugging function.
527 (shr-insert): Don't infloop if we can't find a good place to break
528 the line (bug#16256).
530 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
532 * progmodes/python.el:
533 (python-nav--lisp-forward-sexp): New function.
534 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
535 python-nav-lisp-forward-sexp-safe.
536 (python-nav--forward-sexp): New argument SAFE allows switching
537 forward sexp movement behavior for parens.
538 (python-nav-forward-sexp): Throw errors on unterminated parens
540 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
541 (python-nav-backward-sexp-safe): New functions.
542 (python-shell-buffer-substring):
543 Use `python-nav-forward-sexp-safe'.
545 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
547 * net/shr.el (shr-find-fill-point): Don't break lines before a
549 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
550 (shr-find-fill-point): Remove the special checks for the quotation
551 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
553 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
555 * net/eww.el (eww-form-textarea): Use a different face for
556 textareas than text input since they have different keymaps
559 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
561 * progmodes/python.el (python-nav-beginning-of-statement):
562 Speed up (Bug#15295).
564 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
566 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
567 the window configuration.
569 2013-12-24 Eli Zaretskii <eliz@gnu.org>
571 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
572 we run on MS-Windows or MS-DOS.
574 2013-12-24 Martin Rudalics <rudalics@gmx.at>
576 * window.el (balance-windows-area): Call window-size instead of
577 window-height and window-width. Bug#16241.
579 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
581 * net/eww.el (eww-bookmark-quit): Remove.
582 (eww-bookmark-browse): Restore the window configuration when you
583 choose a bookmark (bug#16144).
585 2013-12-24 Daniel Colascione <dancol@dancol.org>
587 * icomplete.el: Remove redundant :group arguments to `defcustom'
589 (icomplete-show-matches-on-no-input): New customizable variable.
590 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
591 we have something to show.
592 (icomplete-exhibit): Compute completions even if we have no user input.
594 2013-12-23 Daniel Colascione <dancol@dancol.org>
596 * icomplete.el: Move `provide' to end of file.
598 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
600 * net/gnutls.el (gnutls-verify-error): Add version tag.
602 2013-12-23 Chong Yidong <cyd@gnu.org>
604 * subr.el (set-transient-map): Rename from
605 set-temporary-overlay-map. Doc fix.
607 * face-remap.el (text-scale-adjust):
608 * indent.el (indent-rigidly):
609 * kmacro.el (kmacro-call-macro):
610 * minibuffer.el (minibuffer-force-complete):
611 * repeat.el (repeat):
612 * simple.el (universal-argument--mode):
613 * calendar/todo-mode.el (todo-insert-item--next-param):
614 * progmodes/f90.el (f90-abbrev-start): Callers changed.
616 * indent.el (indent-rigidly): Use substitute-command-keys.
618 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
620 * net/eww.el (eww-tag-select): Add text-property to jump to next
622 (eww): Add non-supported ftp error.
624 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
626 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
627 comments. Handle electric indent after typing `?' and `!'.
629 2013-12-22 Chong Yidong <cyd@gnu.org>
631 * faces.el (face-spec-recalc): If the theme specs are not
632 applicable to a frame, fall back on the defface spec.
633 This prevents themes from obliterating faces on low-color terminals.
635 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
637 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
638 after `{'. We need it after block openers, and it doesn't seem
639 to hurt after hash openers.
641 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
643 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
644 extracted from `ruby-smie-rules'.
645 (ruby--electric-indent-chars): New variable.
646 (ruby--electric-indent-p): New function.
647 (ruby-mode): Use `electric-indent-functions' instead of
648 `electric-indent-chars'.
650 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
652 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
654 (ruby-smie-rules): Indent plus one level after `=>'.
656 2013-12-21 Richard Stallman <rms@gnu.org>
658 * simple.el (newline): Doc fix.
660 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
662 * net/eww.el (eww-list-histories, eww-list-histories)
663 (eww-history-browse, eww-history-quit, eww-history-kill)
664 (eww-history-mode-map, eww-history-mode): New command and
665 functions to list browser histories.
666 (eww-form-text): Support text form with disabled
667 and readonly attributes.
668 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
670 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
672 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
673 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
674 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
675 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
677 (eww-bookmark-mode-map): Add menu.
678 (eww-render, eww-mode): Use `setq-local'.
679 (eww-tool-bar-map): New variable.
680 (eww-mode): Set `tool-bar-map'.
681 (eww-view-source): Check for `html-mode' with `fboundp'.
683 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
685 * net/shr.el (shr--extract-best-source): Don't bug out on audio
686 elements with text inside. Also remove debugging.
688 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
690 * cus-start.el (all): Add ns-use-srgb-colorspace.
692 2013-12-21 Chong Yidong <cyd@gnu.org>
694 * custom.el (custom-theme-recalc-face): Do nothing if the face is
695 undefined. Thus, theme settings for undefined faces do not take
696 effect until the faces are defined with defface, the same as with
699 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
700 (face-spec-reset-face): Don't assign extra properties in temacs.
701 (face-spec-recalc): Apply X resources too.
703 2013-12-21 Chong Yidong <cyd@gnu.org>
705 * faces.el (face-spec-set):
706 * cus-face.el (custom-theme-set-faces, custom-set-faces):
707 * custom.el (defface): Doc fixes (Bug#16203).
709 * indent.el (indent-rigidly-map): Add docstring, and move commands
710 into named functions.
711 (indent-rigidly-left, indent-rigidly-right)
712 (indent-rigidly-left-to-tab-stop)
713 (indent-rigidly-right-to-tab-stop): New functions. Decide on
714 indentation direction based on bidi direction, and accumulate
715 sequential commands in a single undo boundary.
716 (indent-rigidly--pop-undo): New utility function.
718 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
720 * faces.el (read-face-name): Require crm.el when using crm-separator.
722 2013-12-20 Daniel Colascione <dancol@dancol.org>
724 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
725 so that we don't reflow comments into the shebang line.
727 2013-12-20 Juri Linkov <juri@jurta.org>
729 * saveplace.el (save-place-to-alist): Add `dired-filename' as
730 a position when `dired-directory' is non-nil. Check integer
731 positions with `integerp'.
732 (toggle-save-place, save-places-to-alist): Add check for
734 (save-place-find-file-hook): Check integer positions with
736 (save-place-dired-hook): Use `dired-goto-file' when
737 `dired-filename' is found in the assoc list. Check integer
738 positions with `integerp'.
739 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
741 * dired.el (dired-initial-position-hook): Rename back from
742 `dired-initial-point-hook'.
743 (dired-initial-position): Rename `dired-initial-point-hook' to
744 `dired-initial-position-hook'.
745 (dired-file-name-at-point): Doc fix. (Bug#15329)
747 2013-12-20 Juri Linkov <juri@jurta.org>
749 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
750 (read-regexp-suggestions): New function.
751 (read-regexp): Use `read-regexp-defaults-function' to get default values.
752 Use `read-regexp-suggestions'. Add non-empty default to history
754 (occur-read-regexp-defaults-function): Remove function.
755 (occur-read-primary-args): Use `regexp-history-last' instead of
756 `occur-read-regexp-defaults-function'.
758 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
759 (hi-lock-line-face-buffer, hi-lock-face-buffer)
760 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
761 `hi-lock-read-regexp-defaults-function'. Doc fix.
762 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
763 with `find-tag-default-as-symbol-regexp'. Doc fix.
764 (hi-lock-read-regexp-defaults): Remove function.
765 (hi-lock-regexp-okay): Add check for null.
767 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
768 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
770 * subr.el (find-tag-default-as-symbol-regexp): New function.
771 (find-tag-default-as-regexp): Move symbol regexp formatting to
772 `find-tag-default-as-symbol-regexp'.
774 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
776 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
779 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
781 * calendar/todo-mode.el: New implementation of item insertion
782 commands and key bindings.
783 (todo-key-prompt): New face.
784 (todo-insert-item): New command.
785 (todo-insert-item--parameters): New defconst, replacing defvar
786 todo-insertion-commands-args-genlist.
787 (todo-insert-item--param-key-alist): New defconst, replacing
788 defvar todo-insertion-commands-arg-key-list.
789 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
790 (todo-insert-item--argsleft, todo-insert-item--apply-args)
791 (todo-insert-item--next-param): New functions.
792 (todo-insert-item--args, todo-insert-item--argleft)
793 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
795 (todo-key-bindings-t): Change binding of "i" from
796 todo-insertion-map to todo-insert-item.
797 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
798 (todo-insertion-command-name, todo-insertion-commands-names)
799 (todo-define-insertion-command, todo-insertion-commands)
800 (todo-insertion-key-bindings, todo-insertion-map): Remove.
802 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
804 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
805 (todo-toggle-item-highlighting): Use eval-and-compile instead of
807 (todo-move-category): Allow choosing a non-existing todo file to
808 move the category to, and create that file.
809 (todo-default-priority): New user option.
810 (todo-set-item-priority): Use it.
811 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
812 (desktop-restore-file-buffer): Declare.
813 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
814 (todo-modes-set-2): Locally set desktop-save-buffer to
815 todo-desktop-save-buffer.
816 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
817 (auto-mode-alist): Add autoload cookie.
819 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
821 * emacs-lisp/subr-x.el: Renamed from helpers.el.
822 helpers.el was a poor choice of name.
823 (string-remove-prefix): New function.
824 (string-remove-suffix): New function.
826 2013-12-20 Martin Rudalics <rudalics@gmx.at>
828 Fix assignment for new window total sizes.
829 * window.el (window--pixel-to-size): Remove function.
830 (window--pixel-to-total-1, window--pixel-to-total):
831 Fix calculation of new total sizes.
833 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
835 * comint.el (comint-output-filter): Fix rear-nonsticky property
836 placement (Bug#16010).
838 2013-12-20 Chong Yidong <cyd@gnu.org>
840 * faces.el (read-color): Minor fix for completion function.
842 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
844 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
845 New option. (Bug#16182)
846 (ruby-smie--indent-to-stmt-p): Use it.
847 (ruby-smie-rules): Revert the logic in the handling of `when'.
848 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
849 (ruby-deep-arglist, ruby-deep-indent-paren)
850 (ruby-deep-indent-paren-style): Update docstrings to note that the
851 vars don't have any effect with SMIE.
853 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
855 * calc/calc.el (calc-enter, calc-pop): Use the variable
856 `calc-context-sensitive-enter'.
858 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
860 * net/shr.el (shr-insert): Protect against infloops in degenerate
863 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
865 * progmodes/octave.el (octave): Add link to manual and octave
867 (octave-mode-menu): Link to octave-mode manual.
869 2013-12-20 Leo Liu <sdl.web@gmail.com>
871 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
872 insertion using skeleton-end-newline. (Bug#16138)
874 2013-12-20 Juri Linkov <juri@jurta.org>
876 * replace.el (occur-engine): Use `add-face-text-property'
877 to add the face property to matches and titles. (Bug#14645)
879 * hi-lock.el (hi-green): Use lighter color "light green" closer to
880 the palette of other hi-lock colors.
881 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
883 2013-12-19 Juri Linkov <juri@jurta.org>
885 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
886 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
887 (minibuffer-history-symbol): Move variable declaration closer to
890 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
893 2013-12-19 Juri Linkov <juri@jurta.org>
895 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
897 (log-edit-hook): Add it to :options. (Bug#16170)
899 2013-12-19 Juri Linkov <juri@jurta.org>
901 * simple.el (eval-expression-print-format): Don't check for
902 command names and the last command. Always display additional
903 formats of the integer result in the echo area, and insert them
904 to the current buffer only with a zero prefix arg.
905 Display character when char-displayable-p is non-nil.
906 (eval-expression): With a zero prefix arg, set `print-length' and
907 `print-level' to nil, and insert the integer values from
908 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
910 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
911 `eval-last-sexp-arg-internal'. Doc fix.
912 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
913 `eval-last-sexp-print-value'. Doc fix.
914 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
915 Set `print-length' and `print-level' to nil when arg is zero.
916 (eval-last-sexp): Doc fix.
917 (eval-defun-2): Print the integer values from
918 `eval-expression-print-format' at the end.
920 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
921 values from `eval-expression-print-format' at the end.
923 * ielm.el (ielm-eval-input): Print the integer
924 values from `eval-expression-print-format' at the end.
926 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
928 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
929 2013-12-11T19:01:44Z!tzz@lifelogs.com.
931 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
933 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
934 (hl-line-highlight, global-hl-line-highlight): Use it.
935 (hl-line-overlay): Use defvar-local.
937 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
939 * term/ns-win.el: Require dnd.
940 (global-map): Remove drag items.
941 (ns-insert-text, ns-set-foreground-at-mouse)
942 (ns-set-background-at-mouse):
943 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
944 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
947 2013-12-19 Glenn Morris <rgm@gnu.org>
949 * emacs-lisp/ert.el (ert-select-tests):
950 Fix string/symbol mixup. (Bug#16121)
952 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
954 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
955 keywords to their parent.
957 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
959 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
960 first arg to be a string (fixed dead code), or an operator symbol.
961 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
963 (ruby-smie-rules): Remove parent token check in the `.' clause, it
964 did nothing. Don't respond to `(:after ".")', it will be called
965 with :before anyway. Remove the ` @ ' rule, it didn't seem to
966 change anything. Only return indentation for binary operators
967 when they are hanging. De-dent opening paren when its parent is
968 `.', otherwise it looks bad when the dot is not at bol or eol
971 2013-12-19 Juri Linkov <juri@jurta.org>
973 * replace.el (query-replace-read-args): Split a non-negative arg
974 and a negative arg into separate elements.
975 (query-replace, query-replace-regexp, replace-string)
976 (replace-regexp): Add arg `backward'. Doc fix.
977 (replace-match-maybe-edit): When new arg `backward' is non-nil,
978 move point to the beginning of the match.
979 (replace-search, replace-highlight): Use new arg `backward'
980 to set the value of `isearch-forward'.
981 (perform-replace): Add arg `backward' and use it to perform
982 replacement backward. (Bug#14979)
984 * isearch.el (isearch-query-replace): Use a negative prefix arg
985 to call `perform-replace' with a non-nil arg `backward'.
987 2013-12-18 Juri Linkov <juri@jurta.org>
989 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
990 to the default list. Move `log-edit-show-files' to the end.
991 Add more available functions to options.
992 (log-edit): Move default specific settings to
993 `log-edit-insert-message-template'. Don't move point.
994 (log-edit-insert-message-template): New function.
995 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
998 2013-12-18 Juri Linkov <juri@jurta.org>
1000 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1001 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1003 2013-12-18 Leo Liu <sdl.web@gmail.com>
1005 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1008 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1010 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1011 formats for displaying file sizes when the -s switch is given.
1012 Instead, compute a separate format for displaying the size in
1013 blocks, which is displayed in addition to the "regular" size.
1014 When -h is given in addition to -s, produce size in blocks in
1015 human-readable form as well. (Bug#16179)
1017 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1019 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1020 Reference tables with ~\ref{...} instead of only \ref{...}.
1022 2013-12-18 Chong Yidong <cyd@gnu.org>
1024 * cus-edit.el (custom-magic-alist): Fix "themed" description
1027 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1028 is non-nil, do not create a new entry in the symbol's theme-value
1029 or theme-face property; update theme-settings only (Bug#14664).
1030 (custom-available-themes): Doc fix.
1032 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1035 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1037 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1039 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1042 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1044 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1046 2013-12-18 Glenn Morris <rgm@gnu.org>
1048 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1049 * cus-start.el (load-prefer-newer): New option.
1051 2013-12-18 Le Wang <l26wang@gmail.com>
1053 * comint.el (comint-previous-matching-input-from-input):
1054 Retain point (Bug#13404).
1056 2013-12-18 Chong Yidong <cyd@gnu.org>
1058 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1060 2013-12-18 Glenn Morris <rgm@gnu.org>
1062 * mail/emacsbug.el (report-emacs-bug):
1063 Only mention enable-multibyte-characters if non-standard.
1065 2013-12-17 Juri Linkov <juri@jurta.org>
1067 * arc-mode.el (archive-extract-by-file): Check if directory exists
1068 before deletion to not show irrelevant errors if it doesn't exist.
1070 2013-12-17 Juri Linkov <juri@jurta.org>
1072 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1075 * net/eww.el (browse-web): Add alias to `eww'.
1076 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1077 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1079 * net/browse-url.el (browse-url-browser-function): Move `eww'
1080 closer to similar functions.
1082 * startup.el (fancy-startup-screen, fancy-about-screen):
1083 Set browse-url-browser-function to eww-browse-url locally.
1086 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1088 * window.el (window--pixel-to-total): Remove unused `mini' var.
1089 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1090 (split-window): Remove unused `new' var.
1091 (window--display-buffer): Remove unused `frame' and `delta' vars.
1092 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1095 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1097 * dired.el (dired-mark-pop-up):
1098 * register.el (register-preview): Don't bind
1099 split-height-threshold here since it's now done in
1100 display-buffer-below-selected.
1102 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1104 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1105 xterm-rgb-convert-to-16bit.
1106 (rxvt-register-default-colors): Standardize with
1107 xterm-register-default-colors (Bug#14078).
1109 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1111 * simple.el (kill-region): Pass mark first, then point, so that
1112 kill-append works right (Bug#12819).
1113 (copy-region-as-kill, kill-ring-save): Likewise.
1115 2013-12-17 Leo Liu <sdl.web@gmail.com>
1117 * net/rcirc.el (rcirc-add-face):
1118 * eshell/em-prompt.el (eshell-emit-prompt):
1119 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1122 2013-12-17 Chong Yidong <cyd@gnu.org>
1124 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1125 Suggested by Xue Fuqiao.
1127 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1129 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1131 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1133 * net/shr.el (shr-insert-document): Remove unused var
1134 `shr-preliminary-table-render'.
1135 (shr-rescale-image): Remove unused arg `force'.
1136 (shr-put-image): Update calls accordingly.
1137 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1139 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1141 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1142 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1143 :close-all, to see which indentation method to use (Bug#16116).
1144 (smie-rules-function): Document the method :close-all.
1146 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1148 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1150 * net/eww.el (eww-display-html): If we can't find the anchor we're
1151 looking for, then go to point-min.
1153 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1155 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1156 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1157 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1158 Expand dir too, in case it's relative.
1160 2013-12-16 Juri Linkov <juri@jurta.org>
1162 * desktop.el (desktop-auto-save-timeout): Change default to
1163 `auto-save-timeout'. Doc fix.
1164 (desktop-save): Skip the timestamp in desktop-saved-frameset
1165 when checking for auto-save changes.
1166 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1167 `desktop-auto-save' is called repeatedly by the idle timer.
1168 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1169 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1172 2013-12-16 Juri Linkov <juri@jurta.org>
1174 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1176 (isearch-pre-command-hook): Check `this-command' for symbolp.
1178 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1180 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1182 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1184 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1185 (cfengine3--current-function): Bring in the current-function
1186 functionality from `cfengine3--current-word'.
1187 (cfengine3-completion-function): Bring in the
1188 bounds-of-current-word functionality from
1189 `cfengine3--current-word'.
1191 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1193 * window.el (display-buffer-below-selected):
1194 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1196 2013-12-16 Leo Liu <sdl.web@gmail.com>
1198 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1199 Remove NOMSG arg and all uses changed.
1201 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1203 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1204 (cua--deactivate-rectangle): Don't deactivate the mark.
1205 (cua-set-rectangle-mark): Don't set mark-active since
1206 cua--activate-rectangle already does it for us.
1207 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1208 non-rectangular region.
1210 * emulation/cua-base.el (cua-repeat-replace-region):
1211 Use with-current-buffer.
1213 * net/gnutls.el: Use cl-lib.
1214 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1216 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1218 * emacs-lisp/package.el (package-built-in-p): Support both
1219 built-in and the package.el converted package descriptions.
1220 (package-show-package-list): Allow keywords.
1221 (package-keyword-button-action): Use it instead of
1222 `finder-list-matches'.
1223 (package-menu-filter-interactive): Interactive filtering (by
1225 (package-menu--generate): Support keywords and change keymappings
1226 and headers when they are given.
1227 (package--has-keyword-p): Helper function.
1228 (package-menu--refresh): Use it.
1229 (package--mapc): Helper function.
1230 (package-all-keywords): Use it.
1231 (package-menu-mode-map): Set up menu items and keybindings to
1232 provide a filtering UI.
1234 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1236 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1237 the behavior when a certificate fails validation. Defaults to
1238 old behavior: never abort, just warn.
1239 (gnutls-negotiate): Use it.
1241 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1243 * window.el (display-buffer-below-selected): Never split window
1244 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1246 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1248 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1249 (package-buffer-info): Use it (bug#15108).
1251 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1253 * icomplete.el (icomplete-completions): Make sure the prefix is already
1254 displayed elsewhere before hiding it (bug#16219).
1256 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1258 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1259 open-paren tokens when preceded by a open-paren, too.
1260 (ruby-smie-rules): Handle virtual indentation after open-paren
1261 tokens specially. If there is code between it and eol, return the
1262 column where is starts (Bug#16118).
1264 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1266 * progmodes/cfengine.el: Fix `add-hook' doc.
1267 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1268 (cfengine3--current-word): Fix parameters.
1269 (cfengine3-make-syntax-cache): Simplify further.
1270 (cfengine3-completion-function, cfengine3--current-function):
1271 Use `assq' for symbols.
1272 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1274 2013-12-13 Glenn Morris <rgm@gnu.org>
1276 * loadup.el (load-path): Warn if site-load or site-init changes it.
1277 No more need to reset it when bootstrapping.
1279 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1281 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1282 locations for cf-promises.
1283 (cfengine-mode-syntax-functions-regex): New caching variable.
1284 (cfengine3-fallback-syntax): Fallback syntax for cases where
1285 cf-promises doesn't run.
1286 (cfengine3--current-word): Reimplement using
1287 `cfengine-mode-syntax-functions-regex'.
1288 (cfengine3-completion-function, cfengine3--current-function):
1289 Use `cfengine3-make-syntax-cache' directly.
1290 (cfengine3-clear-syntax-cache): New function.
1291 (cfengine3-make-syntax-cache): Simplify and create
1292 `cfengine-mode-syntax-functions-regex' on demand.
1293 (cfengine3-format-function-docstring): Don't call
1294 `cfengine3-make-syntax-cache' explicitly.
1296 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1298 Fix windmove-find-other-window broken after pixelwise resizing
1300 * windmove.el (windmove-other-window-loc): Revert change from
1302 (windmove-find-other-window): Call window-in-direction.
1303 * window.el (window-in-direction): New arguments SIGN, WRAP and
1304 MINI to emulate original windmove-find-other-window behavior.
1306 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1308 * simple.el (blink-matching--overlay): New variable.
1309 (blink-matching-open): Instead of moving point, highlight the
1310 matching paren with an overlay
1311 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1313 * faces.el (paren-showing-faces, show-paren-match)
1314 (show-paren-mismatch): Move from paren.el.
1316 2013-12-13 Leo Liu <sdl.web@gmail.com>
1318 * indent.el (indent-region): Disable progress reporter in
1319 minibuffer. (Bug#16108)
1321 * bindings.el (visual-order-cursor-movement): Fix version.
1323 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1325 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1326 Also match after beginning of line.
1327 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1328 files. Thanks to Russell Sim. (Bug#15378)
1330 2013-12-13 Juri Linkov <juri@jurta.org>
1332 * simple.el <Keypad support>: Remove key bindings duplicated
1333 with bindings.el. (Bug#14397)
1335 2013-12-13 Juri Linkov <juri@jurta.org>
1337 * comint.el (comint-mode-map): Replace `delete-char' with
1338 `delete-forward-char'. (Bug#16109)
1340 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1342 * progmodes/python.el (python-indent-calculate-indentation):
1343 Fix de-denters cornercase. (Bug#15731)
1345 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1347 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1348 (advice--make): Pay attention to `depth'.
1349 (advice--make-1): Don't autoload commands eagerly.
1350 * emacs-lisp/elp.el (elp-instrument-function):
1351 * emacs-lisp/trace.el (trace-function-internal):
1352 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1354 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1356 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1358 * term/w32-win.el (w32-handle-dropped-file):
1359 * startup.el (normal-top-level):
1360 * net/browse-url.el (browse-url-file-url):
1361 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1362 decode file names using 'utf-8' rather than
1363 file-name-coding-system.
1365 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1367 * progmodes/python.el (python-indent-context)
1368 (python-indent-calculate-indentation): Fix auto-identation
1369 behavior for comment blocks. (Bug#15916)
1371 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1373 * progmodes/python.el (python-indent-calculate-indentation):
1374 When determining indentation, don't treat "return", "pass", etc., as
1375 operators when they are just string constituents. (Bug#15812)
1377 2013-12-12 Juri Linkov <juri@jurta.org>
1379 * uniquify.el (uniquify-buffer-name-style): Change default to
1380 `post-forward-angle-brackets'.
1382 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1383 `uniquify'. Change default to `post-forward-angle-brackets'.
1385 2013-12-11 Glenn Morris <rgm@gnu.org>
1387 * emacs-lisp/package.el (finder-list-matches):
1388 Autoload rather than falsely declaring.
1390 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1392 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1393 (eww-mode-map): Use them.
1395 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1397 * window.el (display-buffer-in-side-window): Fix doc-string
1400 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1402 * vc/vc-git.el: Silence byte-compiler warnings.
1403 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1404 (log-edit-set-header): Declare.
1406 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1408 * Makefile.in (custom-deps, finder-data): Run output file names
1409 through unmsys--file-name. (Bug#16099)
1411 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1413 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1414 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1416 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1417 instead of deleting the selection "by hand" (bug#16098).
1418 Rely on insert-for-yank to yank rectangles.
1419 (cua-highlight-region-shift-only): Mark obsolete.
1420 (cua-mode): Don't enable/disable transient-mark-mode,
1421 shift-select-mode (cua-mode works both with and without them), and
1422 pc-selection-mode (obsolete).
1423 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1424 (cua--deactivate-rectangle): Deactivate it.
1426 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1427 (delete-selection-helper): Make sure yank starts at the top of the
1429 (minibuffer-keyboard-quit): Use region-active-p.
1431 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1433 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1434 to `delete' (bug#16109).
1436 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1438 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1439 info manual and show keybindings and set `:group' keyword.
1441 2013-12-11 Juri Linkov <juri@jurta.org>
1443 * delsel.el (delete-active-region): Let-bind `this-command'
1444 to prevent `kill-region' from changing its original value.
1445 (delete-selection-helper): Handle `overwrite-mode' for the type
1446 `kill' exactly the same way as for the type `t'.
1447 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1448 Support more commands. (Bug#13312)
1450 2013-12-11 Juri Linkov <juri@jurta.org>
1452 * bindings.el: Map kp keys to non-kp keys systematically
1453 with basic modifiers control, meta and shift. (Bug#14397)
1455 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1457 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1458 "Close browser" menu items. Fix wrong function of "List
1461 2013-12-11 Juri Linkov <juri@jurta.org>
1463 * misearch.el (multi-isearch-buffers): Set the value of
1464 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1465 arg of isearch-forward to t.
1466 (multi-isearch-buffers-regexp): Set the value of
1467 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1468 arg of isearch-forward-regexp to t.
1469 (multi-isearch-files): Set the value of
1470 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1471 arg of isearch-forward to t.
1472 (multi-isearch-files-regexp): Set the value of
1473 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1474 arg of isearch-forward-regexp to t. (Bug#16035)
1476 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1477 arg of isearch-forward to t.
1478 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1479 arg of isearch-forward-regexp to t.
1480 (dired-isearch-filter-filenames): Remove unnecessary check for
1481 `dired-isearch-filenames'.
1483 * comint.el (comint-history-isearch-backward):
1484 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1485 (comint-history-isearch-backward-regexp):
1486 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1488 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1490 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1491 unmsys--file-name. (Bug#16099)
1493 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1495 * emacs-lisp/package.el (package-keyword-button-action):
1496 Remove finder.el require dependency.
1498 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1500 * emacs-lisp/package.el: Require finder.el.
1501 (describe-package-1): Add keyword buttons.
1502 (package-make-button): New convenience function.
1503 (package-keyword-button-action): Keyword button action using
1504 `finder-list-matches'.
1506 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1508 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1511 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1513 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1516 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1518 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1519 after the end of a percent literal.
1521 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1523 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1524 Handle caret-delimited strings (Bug#16079).
1526 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1528 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1529 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1530 `ruby-parse-partial' (Bug#16078).
1532 2013-12-09 Leo Liu <sdl.web@gmail.com>
1534 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1536 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1538 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1539 (js-switch-indent-offset): New option.
1540 (js--proper-indentation): Use it. And handle the case when
1541 "default" is actually a key in an object literal.
1542 (js--same-line): New function.
1543 (js--multi-line-declaration-indentation): Use it.
1544 (js--indent-in-array-comp, js--array-comp-indentation):
1546 (js--proper-indentation): Use them, to handle array comprehension
1549 2013-12-08 Leo Liu <sdl.web@gmail.com>
1551 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1552 (flymake-make-overlay): Remove arg MOUSE-FACE.
1553 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1555 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1557 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1559 (redisplay-highlight-region-function): Use it.
1561 * emulation/cua-base.el (cua--explicit-region-start)
1562 (cua--last-region-shifted): Remove.
1563 (cua--deactivate): Use deactivate-mark.
1564 (cua--pre-command-handler-1): Don't handle shift-selection.
1565 (cua--post-command-handler-1): Don't change transient-mark-mode.
1566 (cua--select-keymaps): Use region-active-p rather than
1567 cua--explicit-region-start or cua--last-region-shifted.
1568 (cua-mode): Enable shift-select-mode.
1570 2013-12-08 Leo Liu <sdl.web@gmail.com>
1572 * progmodes/flymake.el (flymake-popup-current-error-menu):
1573 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1574 (flymake-posn-at-point-as-event, flymake-popup-menu)
1575 (flymake-make-emacs-menu): Remove. (Bug#16077)
1577 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1579 * rect.el (rectangle-mark-mode): Activate mark even if
1580 transient-mark-mode is off (bug#16066).
1581 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1582 is > mark and at bolp.
1584 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1585 (region-extract-function): Use it.
1586 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1587 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1589 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1590 kill-ring-save, kill-region, delete-char, delete-forward-char.
1591 Ignore self-insert-iso.
1593 * emulation/cua-gmrk.el (cua--init-global-mark):
1594 Ignore `self-insert-iso'.
1596 * emulation/cua-base.el (cua--prefix-copy-handler)
1597 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1598 checking cua--rectangle.
1599 (cua-delete-region): Use region-extract-function.
1600 (cua-replace-region): Delete function.
1601 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1602 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1603 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1604 (cua--init-keymaps): Don't remap delete-selection commands.
1605 (cua-mode): Use delete-selection-mode instead of rolling our own
1608 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1609 Obey region-extract-function.
1611 Make registers and delete-selection-mode work on rectangles.
1612 * register.el (describe-register-1): Don't modify the register's value.
1613 (copy-to-register): Obey region-extract-function.
1614 * delsel.el (delete-active-region): Obey region-extract-function.
1616 2013-12-08 Leo Liu <sdl.web@gmail.com>
1618 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1619 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1620 (flymake-compilation-prevents-syntax-check)
1621 (flymake-start-syntax-check-on-newline)
1622 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1623 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1624 (flymake-xml-program, flymake-master-file-dirs)
1625 (flymake-master-file-count-limit)
1626 (flymake-allowed-file-name-masks): Relocate.
1627 (flymake-makehash, flymake-float-time)
1628 (flymake-replace-regexp-in-string, flymake-split-string)
1629 (flymake-get-temp-dir): Remove.
1630 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1631 (flymake-current-row, flymake-selected-frame)
1632 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1633 related functions. (Bug#16077)
1635 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1637 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1639 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1641 * help-fns.el (describe-function-1): Use new advice-* functions
1642 rather than old ad-* functions. Fix function type description and
1643 source links for advised functions and subrs.
1645 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1647 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1649 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1651 * progmodes/compile.el (compilation-start):
1652 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1654 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1655 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1657 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1659 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1660 Touch up the last change.
1662 2013-12-06 Leo Liu <sdl.web@gmail.com>
1664 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1665 (inferior-octave-startup): Always use "octave> " for prompt.
1666 (octave-goto-function-definition)
1667 (octave-sync-function-file-names)
1668 (octave-find-definition-default-filename): Remove redundant backquotes.
1670 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1672 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1674 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1675 where appropriate already.
1676 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1677 end of method names (Bug#15874).
1679 2013-12-06 Juri Linkov <juri@jurta.org>
1681 * isearch.el (isearch--saved-overriding-local-map):
1682 New internal variable.
1683 (isearch-mode): Set it to the initial value of
1684 `overriding-terminal-local-map'.
1685 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1686 with `isearch--saved-overriding-local-map'. (Bug#16035)
1688 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1690 * progmodes/octave.el (inferior-octave-completion-table):
1691 Turn back into function, use `completion-table-with-cache'
1692 (Bug#11906). Update all references.
1694 * minibuffer.el (completion-table-with-cache): New function.
1696 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1698 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1700 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1702 * net/eww.el (eww-current-source): New variable to store page
1704 (eww-display-html, eww-mode, eww-save-history)
1705 (eww-restore-history): Use it.
1706 (eww-view-source): New command to view page source.
1707 Opportunistically uses `html-mode' to highlight the buffer.
1708 (eww-mode-map): Install it.
1710 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1712 * net/dbus.el (dbus-unregister-service)
1713 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1715 (dbus-unregister-service): Skip :serial entries in
1716 `dbus-registered-objects-table'.
1717 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1719 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1721 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1722 around keywords with extra `split-string' argument.
1724 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1726 * windmove.el (windmove-other-window-loc): Handle navigation
1727 between windows (excluding the minibuffer window - Bug#16017).
1729 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1731 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1732 in D-Bus type syntax.
1733 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1734 preserve unibyte strings. (Bug#16048)
1736 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1738 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1739 Call force-mode-line-update is the proper buffer (bug#16042).
1741 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1743 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1744 `log-edit-remember-comment', make argument optional. Adjust all
1746 (log-edit-mode): Add `log-edit-remember-comment' to
1747 `kill-buffer-hook' locally.
1748 (log-edit-kill-buffer): Don't remember comment explicitly since
1749 the buffer is killed anyway.
1751 2013-12-04 Juri Linkov <juri@jurta.org>
1753 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1754 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1756 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1758 * notifications.el (notifications-close-notification): Call the
1759 D-Bus method with ID being a `:uint32'. (Bug#16030)
1761 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1763 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1765 2013-12-03 Juri Linkov <juri@jurta.org>
1767 * progmodes/compile.el (compilation-start): Rename window alist
1768 entry `no-display-ok' to `allow-no-window'.
1770 * simple.el (shell-command): Add window alist entry
1771 `allow-no-window' to `display-buffer'.
1772 (async-shell-command): Doc fix.
1774 * window.el (display-buffer-no-window): New action function.
1775 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1777 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1779 * vc/log-edit.el (log-edit-set-header): Extract from
1780 `log-edit-toggle-header'.
1781 (log-edit-extract-headers): Separate the summary, when extracted
1782 from header, from the rest of the message with an empty line.
1784 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1785 line, if present, to the Summary header.
1787 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1789 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1790 in current-buffer (bug#16029).
1792 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1794 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1795 (debugger-mode-map): Bind it.
1796 (debugger--backtrace-base): New function.
1797 (debugger-eval-expression): Use it.
1798 (debugger-frame-number): Skip local vars when present.
1799 (debugger--locals-visible-p, debugger--insert-locals)
1800 (debugger--show-locals, debugger--hide-locals): New functions.
1802 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1804 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1806 (tramp-get-remote-locale): New defun.
1807 (tramp-open-connection-setup-interactive-shell): Use it.
1809 2013-12-02 Leo Liu <sdl.web@gmail.com>
1811 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1813 * progmodes/sh-script.el (sh-shell-process):
1814 * progmodes/octave.el (inferior-octave-process-live-p):
1815 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1816 (gdb-inferior-io-sentinel):
1817 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1819 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1821 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1822 `save-selected-window' to `log-edit-hide-buf'. This makes
1823 `log-edit-show-files' idempotent.
1824 (log-edit-show-files): Mark the new window as dedicated.
1826 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1828 * vc/log-edit.el (log-edit-mode-map): Add binding for
1829 `log-edit-kill-biffer'.
1830 (log-edit-hide-buf): Add a FIXME comment.
1831 (log-edit-add-new-comment): New function, extracted from
1833 (log-edit-done, log-edit-add-to-changelog): Use it.
1834 (log-edit-kill-buffer): New command.
1836 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1838 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1839 instead of killing the buffer.
1841 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1843 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1845 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1847 * net/eww.el (eww-form-checkbox-selected-symbol)
1848 (eww-form-checkbox-symbol): New customizable variable.
1849 (eww-form-checkbox, eww-toggle-checkbox):
1850 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1852 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1853 (shr--get-media-pref, shr--extract-best-source): New function.
1854 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1855 no :src tag was specified.
1857 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1858 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1859 Use \\` to match beginning of string instead of ^.
1860 (eww-browse-with-external-browser): Provide optional URL parameter.
1861 (eww-render): Set `eww-current-title' back to "".
1863 * net/shr.el (shr-tag-video): Display content for video if no
1864 poster is available.
1865 (shr-tag-audio): Add support for <audio> tag.
1867 * net/eww.el (eww-text-input-types): New const.
1868 (eww-process-text-input): Treat input types in
1869 `eww-text-input-types' as text.
1871 * net/shr.el (shr-tag-table): Fix comment typo.
1873 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1875 * net/eww.el (eww-follow-link): New command to avoid reloading
1876 pages when we follow #target links (bug#15243).
1877 (eww-quit): Special mode buffers shouldn't query before exiting.
1879 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1881 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1884 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1886 * net/eww.el (eww-restore-history): Update the window title after
1887 moving in the history.
1888 (eww-current-dom): New variable used to save the current DOM.
1890 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1892 * vc/log-edit.el (log-edit-mode-map): Add binding for
1893 `log-edit-beginning-of-line'.
1894 (log-edit-setup-add-author): New user option.
1895 (log-edit-beginning-of-line): New command.
1896 (log-edit): Move major mode call above the contents setup so that
1897 the local variable values are already applied.
1898 (log-edit): Only insert "Author: " when
1899 `log-edit-setup-add-author' is non-nil.
1900 (log-edit): When SETUP is non-nil, position point after ": "
1901 instead of point-min.
1903 2013-12-01 Glenn Morris <rgm@gnu.org>
1905 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1907 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1909 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1910 redisplay to make sure the initial frame gets a chance to become
1911 visible. (Bug#16014)
1913 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1915 Support resizing frames and windows pixelwise.
1916 * cus-start.el (frame-resize-pixelwise)
1917 (window-resize-pixelwise): New entries.
1918 * emacs-lisp/debug.el (debug): Use window-total-height instead
1919 of window-total-size.
1920 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1921 * help.el (describe-bindings-internal): Call help-buffer
1922 (temp-buffer-max-width): New option.
1923 (resize-temp-buffer-window, help-window-setup)
1924 (with-help-window): Rewrite.
1925 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1927 * window.el (frame-char-size, window-min-pixel-height)
1928 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1929 (window-min-pixel-width, window-safe-min-pixel-size)
1930 (window-combination-p, window-safe-min-size)
1931 (window-resizable-p, window--size-to-pixel)
1932 (window--pixel-to-size, window--resize-apply-p): New functions.
1933 (window-safe-min-height): Fix doc-string.
1934 (window-size, window-min-size, window--min-size-1)
1935 (window-sizable, window-sizable-p, window--min-delta-1)
1936 (window-min-delta, window--max-delta-1, window-max-delta)
1937 (window--resizable, window--resizable-p, window-resizable)
1938 (window-full-height-p, window-full-width-p, window-at-side-p)
1939 (window--in-direction-2, window-in-direction)
1940 (window--resize-reset-1, window--resize-mini-window)
1941 (window-resize, window-resize-no-error)
1942 (window--resize-child-windows-normal)
1943 (window--resize-child-windows, window--resize-siblings)
1944 (window--resize-this-window, window--resize-root-window)
1945 (window--resize-root-window-vertically)
1946 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1947 (maximize-window, minimize-window, delete-window)
1948 (quit-restore-window, window-split-min-size, split-window)
1949 (balance-windows-2, balance-windows)
1950 (balance-windows-area-adjust, balance-windows-area)
1951 (window--state-get-1, window-state-get, window--state-put-1)
1952 (window--state-put-2, window-state-put)
1953 (display-buffer-record-window, window--display-buffer):
1954 Make functions handle pixelwise sizing of windows.
1955 (display-buffer--action-function-custom-type)
1956 (display-buffer-fallback-action):
1957 Add display-buffer-in-previous-window.
1958 (display-buffer-use-some-window): Resize window to height it had
1960 (fit-window-to-buffer-horizontally): New option.
1961 (fit-frame-to-buffer): Describe new values.
1962 (fit-frame-to-buffer-bottom-margin): Replace with
1963 fit-frame-to-buffer-margins.
1964 (window--sanitize-margin): New function.
1965 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1966 using window-text-pixel-size.
1968 2013-11-30 Glenn Morris <rgm@gnu.org>
1970 * emacs-lisp/bytecomp.el (byte-compile-form):
1971 Make the `interactive-only' warning like the `obsolete' one.
1972 * comint.el (comint-run):
1973 * files.el (insert-file-literally, insert-file):
1974 * replace.el (replace-string, replace-regexp):
1975 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1976 (goto-line, insert-buffer, next-line, previous-line):
1977 Tweak `interactive-only' spec.
1979 Stop keeping (most) generated cedet grammar files in the repository.
1980 * Makefile.in (semantic): New.
1981 (compile-main): Depend on semantic.
1983 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1985 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1986 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1988 * uniquify.el (uniquify-buffer-name-style): Change default.
1990 * loadup.el: Preload "uniquify".
1992 * time.el (display-time-update): Update all mode lines (bug#15999).
1994 * electric.el (electric-indent-mode): Enable by default.
1995 * loadup.el: Preload "electric".
1997 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1999 * emacs-lisp/helpers.el (string-empty-p): New function.
2000 (string-blank-p): New function.
2002 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2004 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2007 2013-11-29 Andreas Politz <politza@fh-trier.de>
2008 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2009 allow non-lambda lists as functions.
2010 (imenu--in-alist): Don't recurse into non-subalists.
2011 (imenu): Don't pass function itself as an argument (Bug#14029).
2013 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2015 * progmodes/python.el (python-mode-map): Remove binding for ":".
2016 (python-indent-electric-colon): Remove command.
2017 (python-indent-post-self-insert-function): Integrate the previous code
2018 of python-indent-electric-colon. Make it conditional on
2019 electric-indent-mode.
2020 (python-mode): Add ?: to electric-indent-chars.
2021 Move python-indent-post-self-insert-function to the end of
2022 post-self-insert-hook.
2024 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2026 * doc-view.el (doc-view-goto-page): Update mode-line.
2028 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2030 2013-11-27 Glenn Morris <rgm@gnu.org>
2032 * international/charprop.el, international/uni-bidi.el:
2033 * international/uni-category.el, international/uni-combining.el:
2034 * international/uni-comment.el, international/uni-decimal.el:
2035 * international/uni-decomposition.el, international/uni-digit.el:
2036 * international/uni-lowercase.el, international/uni-mirrored.el:
2037 * international/uni-name.el, international/uni-numeric.el:
2038 * international/uni-old-name.el, international/uni-titlecase.el:
2039 * international/uni-uppercase.el:
2040 Remove generated files from VCS repository.
2042 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2044 * filenotify.el (file-notify-add-watch): Don't special-case
2045 w32notify when computing the directory to watch.
2047 2013-11-27 Glenn Morris <rgm@gnu.org>
2049 Make bootstrap without generated uni-*.el files possible again.
2050 * loadup.el: Update command-line-args checking for unidata-gen.
2051 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2052 * composite.el, international/characters.el:
2053 Handle unicode tables being undefined.
2055 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2056 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2057 (compile-main): Depend on leim rule.
2059 * loadup.el: Move leim-list.el to leim/ subdirectory.
2060 * startup.el (normal-top-level): No more leim directory.
2061 * international/ja-dic-cnv.el (skkdic-convert):
2062 Disable version-control and autoloads in output files.
2063 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2064 Disable version-control and autoloads in output files.
2065 * leim/quail: Move here from ../leim.
2066 * leim/quail/hangul.el (hangul-input-method-activate):
2067 Add autoload cookie.
2068 (generated-autoload-load-name): Set file-local value.
2069 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2070 (generated-autoload-load-name): Set file-local value.
2072 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2074 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2075 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2076 (eww-quit): Ask confirmation before quitting eww.
2078 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2080 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2081 reading output from Diff on MS-Windows and MS-DOS.
2083 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2085 * emacs-lisp/helpers.el (string-reverse): New function.
2087 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2089 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2090 names on MS Windows, like "/[::1]:".
2092 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2095 2013-11-26 Glenn Morris <rgm@gnu.org>
2097 * progmodes/python.el (python-indent-guess-indent-offset):
2098 Avoid corner-case error. (Bug#15975)
2100 Preload leim-list.el. (Bug#4789)
2101 * loadup.el: Load leim-list.el when found.
2102 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2104 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2106 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2108 * emacs-lisp/helpers.el (string-join): New function.
2110 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2112 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2113 Mark as obsolete and replace it with a symbol property.
2114 (byte-compile-form): Use new 'interactive-only property.
2115 * comint.el, files.el, replace.el, simple.el:
2116 Apply new 'interactive-only properly.
2118 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2120 * window.el (display-buffer-at-bottom): Make sure that
2121 split-window-sensibly creates the new window on bottom
2124 2013-11-23 David Kastrup <dak@gnu.org>
2126 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2127 on the conflict markers when available.
2128 (smerge--get-marker): New function.
2129 (smerge-end-re, smerge-base-re): Add subgroup.
2131 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2133 * frame.el (handle-focus-in, handle-focus-out): Add missing
2136 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2138 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2139 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2141 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2143 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2144 (gomoku--last-pos): New var.
2145 (gomoku--intangible-chars): New const.
2146 (gomoku--intangible): New function.
2147 (gomoku-mode): Use it. Derive from special-mode.
2148 (gomoku-move-up): Adjust line count.
2149 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2150 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2151 Simplify accordingly.
2153 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2154 Remove blink-cursor code.
2155 (blink-cursor-timer-function, blink-cursor-suspend):
2156 Don't special-case GUIs.
2157 (blink-cursor-mode): Use focus-in/out-hook.
2159 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2161 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2162 work when annotation is invisible (Bug#13886).
2164 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2166 * json.el (json-alist-p): Only return non-nil if the alist has
2167 simple keys (Bug#13518).
2169 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2171 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2172 when control-statement is the first statement in a buffer (Bug#15956).
2174 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2176 * imenu.el (imenu-generic-skip-comments-and-strings):
2177 New option (Bug#15560).
2178 (imenu--generic-function): Use it.
2180 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2182 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2185 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2187 * emacs-lisp/helpers.el: Add some string helpers.
2188 (string-trim-left): Removes leading whitespace.
2189 (string-trim-right): Removes trailing whitespace.
2190 (string-trim): Removes leading and trailing whitespace.
2192 * subr.el (string-suffix-p): New function.
2194 2013-11-23 Glenn Morris <rgm@gnu.org>
2196 * progmodes/python.el (python-shell-send-file):
2197 Add option to delete file when done. (Bug#15647)
2198 (python-shell-send-string, python-shell-send-region): Use it.
2200 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2202 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2203 to set buffer-read-only to t, never to nil. (Bug#15938)
2205 * textmodes/tex-mode.el (latex-noindent-environments):
2206 Add safe-local-variable property. (Bug#15936)
2208 2013-11-23 Glenn Morris <rgm@gnu.org>
2210 * textmodes/enriched.el (enriched-mode): Doc fix.
2211 * emacs-lisp/authors.el (authors-renamed-files-alist):
2212 Add enriched.doc -> enriched.txt.
2214 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2216 2013-11-22 Leo Liu <sdl.web@gmail.com>
2218 * progmodes/octave.el (inferior-octave-startup): Spit out error
2221 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2223 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2226 (ruby-encoding-magic-comment-style): Add :version.
2228 2013-11-22 Leo Liu <sdl.web@gmail.com>
2230 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2232 (octave-help-mode): Adapt to change to help-mode-finish to use
2233 derived-mode-p on 2013-09-17.
2234 (inferior-octave-prompt): Also match octave-gui.
2235 (octave-kill-process): Don't ask twice. (Bug#10564)
2237 2013-11-22 Leo Liu <sdl.web@gmail.com>
2239 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2240 (inferior-octave-startup, inferior-octave-check-process)
2241 (inferior-octave-track-window-width-change)
2242 (octave-completion-at-point, octave-eldoc-function): Use it.
2243 (octave-kill-process): Provide confirmation. (Bug#10564)
2245 2013-11-21 Leo Liu <sdl.web@gmail.com>
2247 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2248 Fix obsolete variable comment-use-global-state.
2250 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2252 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2253 Add `octave-source-file'.
2254 (octave-source-file): New function. (Bug#15935)
2256 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2258 * net/eww.el (eww-local-regex): New variable.
2259 (eww): Use it to detect localhost and similar.
2261 2013-11-21 Leo Liu <sdl.web@gmail.com>
2263 Add completion for command `ag'.
2264 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2265 (pcomplete/ag): New function.
2266 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2268 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2270 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2272 (make-obsolete): Remove interactive spec.
2274 2013-11-21 Glenn Morris <rgm@gnu.org>
2276 * startup.el (command-line-1): Use path-separator with -L.
2278 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2280 * emacs-lisp/package.el (describe-package-1): Add package archive
2283 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2285 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2286 Change default to "# encoding: %s" to differentiate it from the
2287 default Ruby encoding comment template.
2289 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2291 * ses.el (ses-mode): Doc fix. (Bug#14748)
2293 2013-11-20 Leo Liu <sdl.web@gmail.com>
2295 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2297 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2299 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2300 when rebase or bisect are in progress.
2302 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2304 * filenotify.el (file-notify-add-watch): Doc fix.
2306 2013-11-19 Leo Liu <sdl.web@gmail.com>
2308 * obsolete/rcompile.el: Mark obsolete.
2310 * progmodes/compile.el (compilation-start)
2311 (compilation-goto-locus, compilation-find-file):
2312 Pass no-display-ok and handle nil value from display-buffer.
2315 * window.el (display-buffer-alist, display-buffer): Document the
2316 new parameter no-display-ok. Return either a window or nil
2317 but never a non-window value.
2319 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2321 * electric.el (electric-indent-mode-map): Remove.
2322 (electric-indent-mode): Change the global-map instead (bug#15915).
2324 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2327 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2329 * emacs-lisp/nadvice.el (remove-function): Align with
2330 add-function's behavior.
2332 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2333 (gdb--string-regexp): New constant.
2334 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2335 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2336 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2338 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2339 Adjust use accordingly.
2340 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2342 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2344 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2345 interpolation curlies (Bug#15914).
2347 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2349 * calc/calc.el (calc-context-sensitive-enter): New variable.
2350 (calc-enter): Use `calc-context-sensitive-enter'.
2352 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2354 * progmodes/cfengine.el: Version bump.
2355 (cfengine-cf-promises): New defcustom to locate cf-promises.
2356 (cfengine3-vartypes): Add new "data" type.
2357 (cfengine3--current-word): New function to get current name-like
2359 (cfengine3--current-function): New function to look up a CFEngine
2360 function's definition.
2361 (cfengine3-format-function-docstring): New function.
2362 (cfengine3-make-syntax-cache): New function.
2363 (cfengine3-documentation-function): New function: ElDoc glue.
2364 (cfengine3-completion-function): New function: completion glue.
2365 (cfengine3-mode): Set `compile-command',
2366 `eldoc-documentation-function', and add to
2367 `completion-at-point-functions'.
2369 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2371 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2372 `tramp-current-connection'.
2374 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2376 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2377 nil/self/true/false with "end of symbol".
2379 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2381 * subr.el (version-regexp-alist): Fix a typo.
2383 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2385 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2386 "en_US.utf8" and "LC_CTYPE" to "".
2387 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2388 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2390 2013-11-15 Leo Liu <sdl.web@gmail.com>
2392 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2394 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2396 * progmodes/gud.el (ctl-x-map):
2397 Remove C-x SPC binding. (Bug#12342)
2398 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2400 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2402 * subr.el (version-regexp-alist):
2403 Recognize hg, svn and darcs versions as snapshot versions.
2405 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2406 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2407 (ruby--encoding-comment-required-p): Extract from
2408 `ruby-mode-set-encoding'.
2409 (ruby-mode-set-encoding): Add the ability to always insert an
2410 utf-8 encoding comment. Fix and simplify coding comment update
2413 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2415 * net/tramp-gvfs.el (top): Run init code only when
2416 `tramp-gvfs-enabled' is not nil.
2417 (tramp-gvfs-enabled): Check also :system bus.
2419 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2421 Sync with upstream verilog-mode revision 78e66ba.
2422 * progmodes/verilog-mode.el (verilog-end-of-defun)
2423 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2424 (verilog-get-end-of-defun): Remove unused argument.
2425 (verilog-comment-depth): Remove unused local `e'.
2426 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2427 Don't pass arg to verilog-get-end-of-defun.
2429 2013-11-14 Glenn Morris <rgm@gnu.org>
2431 * obsolete/assoc.el (aget): Prefix dynamic variable.
2433 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2435 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2437 * widget.el, hfy-cmap.el: Remove bogus package version number.
2439 2013-11-13 Glenn Morris <rgm@gnu.org>
2441 * replace.el (replace-eval-replacement):
2442 Try to give more helpful error message. (Bug#15836)
2444 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2445 (archive-7z-update): Avoid custom type mismatches.
2447 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2449 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2451 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2452 address can be empty.
2454 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2455 Accept nil SWITCHES.
2456 (tramp-gvfs-handle-write-region): Implement APPEND.
2458 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2460 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2461 binary "|" operator and closing block args delimiter.
2462 Remove FIXME comment referring to Ruby 1.8-only syntax.
2463 (ruby-smie--implicit-semi-p): Not after "|" operator.
2464 (ruby-smie--closing-pipe-p): New function.
2465 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2466 (ruby-smie-rules): Indent after "|".
2468 2013-11-12 Glenn Morris <rgm@gnu.org>
2470 * ps-print.el (ps-face-attribute-list):
2471 Handle anonymous faces. (Bug#15827)
2473 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2475 * window.el (display-buffer-other-frame): Fix doc-string.
2478 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2480 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2482 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2484 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2485 (tramp-sh-handle-file-local-copy): Don't write a message when
2486 saving temporary files.
2488 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2489 both directories are remote.
2490 (tramp-smb-handle-directory-files): Do not return double entries.
2491 Do not expand full file names.
2492 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2493 (tramp-smb-handle-write-region): Implement APPEND.
2494 (tramp-smb-get-stat-capability): Fix a stupid bug.
2496 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2498 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2500 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2502 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2503 throwing error over malformed let/let* (bug#15814).
2505 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2507 * iswitchb.el (iswitchb-mode): Mark obsolete.
2509 2013-11-11 Glenn Morris <rgm@gnu.org>
2511 * international/uni-bidi.el, international/uni-category.el:
2512 * international/uni-name.el, international/uni-numeric.el:
2513 Regenerate for Unicode 6.3.0.
2515 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2517 * net/tramp.el (tramp-methods):
2518 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2519 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2521 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2523 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2524 Force highlighting text after Summary keyword in doc face for rpm.
2526 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2528 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2529 available and the word has no wildcards, append one to the grep pattern.
2530 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2531 (ispell-complete-word): Call `ispell-lookup-words' with the value
2532 independent of `ispell-look-p'.
2534 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2536 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2538 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2541 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2543 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2544 (ruby-font-lock-keywords): Use backquote.
2546 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2548 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2549 (ruby-smie--backward-token): Only consider full-string matches.
2551 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2553 * faces.el (describe-face): Add distant-foreground.
2555 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2557 * progmodes/ruby-mode.el: Improve encoding comment handling.
2558 (ruby-encoding-magic-comment-style): New option.
2559 (ruby-custom-encoding-magic-comment-template): New option.
2560 (ruby--insert-coding-comment, ruby--detect-encoding):
2561 New functions extracted from `ruby-mode-set-encoding'.
2562 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2563 to control the style of the auto-inserted encoding comment.
2565 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2567 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2568 Use `smie-backward-sexp' with token argument.
2570 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2572 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2573 Remove instrumentation code.
2575 2013-11-08 Glenn Morris <rgm@gnu.org>
2577 * progmodes/autoconf.el (autoconf-mode):
2578 Tweak comment-start-skip. (Bug#15822)
2580 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2582 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2583 at bobp (bug#15826).
2584 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2586 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2588 * man.el (Man-start-calling): New macro, extracted from
2589 Man-getpage-in-background.
2590 (Man-getpage-in-background): Use it.
2591 (Man-update-manpage): New command.
2592 (Man-mode-map): Bind it.
2594 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2596 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2597 of "and", "or", "&&" and "||".
2598 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2599 argument. Prohibit opening curly brace because it could only be a
2600 block opener in that position.
2601 (ruby-smie--forward-token, ruby-smie--backward-token):
2602 Separate "|" from "&" or "*" going after it. That can happen in block
2604 (ruby-smie--indent-to-stmt): New function, seeks the end of
2605 previous statement or beginning of buffer.
2606 (ruby-smie-rules): Use it.
2607 (ruby-smie-rules): Check if there's a ":" before a curly block
2608 opener candidate; if there is, it's a hash.
2610 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2612 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2613 (cl--block-wrapper): Fix last accidental change.
2615 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2617 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2618 Instrument, in order to hunt failure on hydra.
2620 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2622 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2623 malformed bindings form (bug#15814).
2625 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2627 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2628 "." compared to " @ ". This incidentally fixes some indentation
2630 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2631 (ruby-smie-grammar): New tokens: "and" and "or".
2632 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2633 Exclude "and" and "or". Remove "do" in order to work around token
2635 (ruby-smie-rules): Add all infix tokens. Handle the case of
2636 beginning-of-buffer.
2638 2013-11-06 Glenn Morris <rgm@gnu.org>
2640 * Makefile.in (setwins_almost, setwins_for_subdirs):
2641 Avoid accidental matches.
2643 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2645 * menu-bar.el (popup-menu): Use key-binding.
2647 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2649 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2650 menus, support also the menus produced by minor modes.
2653 2013-11-06 Leo Liu <sdl.web@gmail.com>
2655 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2656 DISTANCE to bound the search. All uses changed. (Bug#15808)
2658 2013-11-06 Glenn Morris <rgm@gnu.org>
2660 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2661 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2662 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2664 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2666 * electric.el (electric-indent-just-newline): New command.
2667 (electric-indent-mode-map): New keymap.
2668 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2669 Re-add :group which weren't redundant.
2671 * electric.el (electric-indent-local-mode): New minor mode.
2672 (electric-indent-functions-without-reindent): New var.
2673 (electric-indent-post-self-insert-function): Use it.
2674 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2676 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2678 * international/quail.el (quail-help): Be more explicit about the
2679 meaning of the labels shown on the keys. (Bug#15800)
2681 * startup.el (normal-top-level): Load the subdirs.el files before
2682 setting the locale environment. (Bug#15805)
2684 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2686 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2687 via arguments so as to get the right ones (bug#15418).
2689 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2691 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2693 Fix problems found while writing a test suite.
2695 * net/tramp-compat.el (tramp-compat-load): New defun.
2696 * net/tramp.el (tramp-handle-load): Use it.
2698 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2699 "(numberp ok-if-already-exists)" correctly.
2701 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2703 * international/characters.el (glyphless-char-display-control):
2706 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2708 * progmodes/python.el (python-mode):
2709 * progmodes/scheme.el (scheme-mode):
2710 * progmodes/prolog.el (prolog-mode):
2711 * progmodes/ruby-mode.el (ruby-mode):
2712 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2713 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2715 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2717 * rect.el (rectangle--highlight-for-redisplay):
2718 * emacs-lisp/smie.el (smie--next-indent-change):
2719 Use buffer-chars-modified-tick.
2721 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2723 * electric.el (electric-indent-post-self-insert-function):
2724 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2726 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2728 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2730 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2732 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2735 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2737 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2739 * progmodes/python.el: Fix up last change.
2740 (python-shell--save-temp-file): New function.
2741 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2742 `string' comes from the current buffer.
2743 (python-shell-send-string-no-output): Remove `msg' arg.
2744 (python--use-fake-loc): New var.
2745 (python-shell-buffer-substring): Obey it. Try to compensate for the
2746 extra coding line added by python-shell--save-temp-file.
2747 (python-shell-send-region): Use python-shell--save-temp-file and
2748 python-shell-send-file directly. Add `nomain' argument.
2749 (python-shell-send-buffer): Use python-shell-send-region.
2750 (python-electric-pair-string-delimiter): New function.
2751 (python-mode): Use it.
2753 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2755 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2756 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2757 environment and decoding all of the default-directory's to here
2759 (command-line): Decode also argv[0].
2761 * loadup.el: Error out if default-directory is a multibyte string
2762 when we are dumping.
2764 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2766 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2768 * emacs-lisp/package.el (package-menu-mode)
2769 (package-menu--print-info, package-menu--archive-predicate):
2770 Add Archive column to package list.
2772 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2774 Fix problems found while writing a test suite.
2776 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2777 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2778 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2779 to nil when running original file name handler. Otherwise,
2780 there are problems with constructs like "$$FOO".
2782 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2785 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2787 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2789 * subr.el (version<, version<=, version=):
2790 Update docstrings with information for snapshot versions.
2792 * helpers.el: New library for misc helper functions.
2793 (hash-table-keys): New function returning a list of hash keys.
2794 (hash-table-values): New function returning a list of hash values.
2796 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2798 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2799 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2801 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2803 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2804 checking whether point is after a 1-letter word.
2806 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2808 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2809 Don't infloop when expanding region over `multiline' syntax-type that
2810 begins a line (bug#15778).
2812 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2814 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2815 Make it into a proper minor mode.
2816 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2817 (rectangle-mark-mode-map): New keymap.
2818 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2820 2013-11-04 Glenn Morris <rgm@gnu.org>
2822 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2824 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2826 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2827 (ruby-smie-rules): Use smie-rule-parent instead.
2829 * emacs-lisp/smie.el (smie-rule-parent): Always call
2830 smie-indent-virtual rather than only for hanging tokens.
2831 (smie--next-indent-change): New helper command.
2833 2013-11-03 Glenn Morris <rgm@gnu.org>
2835 * Makefile.in (abs_srcdir): Remove.
2836 (emacs): Unset EMACSLOADPATH.
2838 2013-11-02 Glenn Morris <rgm@gnu.org>
2840 * Makefile.in (EMACS): Use a relative filename.
2841 (abs_top_builddir): Remove.
2842 (custom-deps, finder-data, autoloads): Use --chdir.
2844 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2846 Use relative filenames in TAGS files.
2847 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2848 (lisptagsfiles4, TAGS): Use relative file names.
2849 (TAGS-LISP): Remove.
2850 (maintainer-clean): No more TAGS-LISP file.
2852 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2853 (lisptagsfiles4): Use absolute filenames again.
2854 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2855 Remove all *loaddefs files, not just the first. Remove esh-groups.
2856 (maintainer-clean): Delete TAGS, TAGS-LISP.
2858 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2860 * emacs-lisp/package.el (package-version-join):
2861 Recognize snapshot versions.
2863 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2865 * subr.el (version-regexp-alist): Add support for snapshot versions.
2867 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2869 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2870 New function, replacement for `smie-rule-parent' for when we want to
2871 skip over our direct parent if it's an assignment token..
2872 (ruby-smie-rules): Use it.
2874 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2876 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2877 unconditionally. Remove now unnecessary forward declarations.
2878 Remove XEmacs-specific setup.
2879 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2880 (ruby-font-lock-syntactic-keywords)
2881 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2882 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2883 (ruby-here-doc-end-syntax): Remove.
2884 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2885 defined as function.
2887 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2889 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2891 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2893 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2894 table and abbrev table, `define-derived-mode' does that for us
2897 2013-11-01 Glenn Morris <rgm@gnu.org>
2899 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2900 files is atomic for some time, so no parallel compilation issues).
2902 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2904 * faces.el (face-x-resources): Add :distant-foreground.
2905 (region): Use :distant-foreground for gtk and ns.
2907 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2909 Allow multiple bibliographies when BibLaTeX is used rather than
2911 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2912 (reftex-locate-bibliography-files): Us it.
2914 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2916 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2917 allow comments in pbm files.
2919 * term/w32-win.el (dynamic-library-alist): Support newer versions
2920 of libjpeg starting with v7: look only for the DLL from the
2921 version against which Emacs was built.
2922 Support versions of libpng beyond 1.4.x.
2923 Support libtiff v4.x.
2925 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2927 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2928 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2930 (ruby-deep-arglist): Add property :type.
2932 2013-10-31 Glenn Morris <rgm@gnu.org>
2934 * Makefile.in (custom-deps, finder-data): No need to setq the target
2935 variables, we are in the right directory and the defaults work fine.
2937 2013-10-30 Glenn Morris <rgm@gnu.org>
2939 * Makefile.in (autoloads): Do not use abs_lisp.
2941 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2942 `newline' does not respect `standard-output', so use `princ'.
2944 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2946 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2947 * buff-menu.el (Buffer-menu--unmark): New function.
2948 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2950 2013-10-30 Glenn Morris <rgm@gnu.org>
2952 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2954 * emacs-lisp/package.el (lm-homepage): Declare.
2956 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2959 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2961 * Makefile.in (finder-data, autoloads, update-subdirs)
2962 (compile-main, compile-clean, compile-always, bootstrap-clean):
2963 Check return value of cd.
2964 (compile-calc): Remove.
2966 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2968 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2970 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2971 (byte-compile-and-folded): New function.
2972 (=, <, >, <=, >=): Use it.
2974 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2975 (path-separator, null-device, buffer-file-coding-system)
2976 (lpr-headers-switches): Check system-type before modifying them.
2977 (find-buffer-file-type-coding-system): Mark obsolete.
2978 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2979 find-file-not-found-set-buffer-file-coding-system.
2980 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2981 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2982 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2983 (w32-direct-print-region-helper, w32-direct-print-region-function)
2984 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2985 * startup.el (normal-top-level-add-subdirs-to-load-path):
2986 * ps-print.el (ps-print-region-function):
2987 * lpr.el (print-region-function): Use new name.
2989 * subr.el (custom-declare-variable-early): Remove function.
2990 (custom-declare-variable-list): Remove var.
2991 (error, user-error): Remove `while' loop.
2992 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2993 (user-emacs-directory-warning, locate-user-emacs-file):
2995 * simple.el (read-quoted-char-radix, read-quoted-char):
2996 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2998 * custom.el (custom-declare-variable-list): Don't process
2999 custom-declare-variable-list.
3001 * progmodes/python.el (python-shell-get-buffer): New function.
3002 (python-shell-get-process): Use it.
3003 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3004 Python which encoding was used. Don't split-string since we only care
3005 about the first line. Return the temp-file, if applicable.
3006 (python-shell-send-region): Tell compile.el how to turn locations in
3007 the temp-file into locations in the source buffer.
3009 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3011 * subr.el (undefined): Add missing behavior from the C code for
3014 * rect.el: Use lexical-binding. Add new rectangular region support.
3015 (rectangle-mark): New command.
3016 (rectangle--region): New var.
3017 (deactivate-mark-hook): Reset rectangle--region.
3018 (rectangle--extract-region, rectangle--insert-for-yank)
3019 (rectangle--highlight-for-redisplay)
3020 (rectangle--unhighlight-for-redisplay): New functions.
3021 (region-extract-function, redisplay-unhighlight-region-function)
3022 (redisplay-highlight-region-function): Use them to handle
3024 * simple.el (region-extract-function): New var.
3025 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3026 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3027 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3028 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3029 (redisplay-unhighlight-region-function)
3030 (redisplay-highlight-region-function): New vars.
3031 (redisplay--update-region-highlight): New function.
3032 (pre-redisplay-function): Use it.
3033 (exchange-point-and-mark): Don't deactivate the mark before
3034 reactivate-it anyway.
3035 * comint.el (comint-kill-region): Remove yank-handler argument.
3036 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3037 (delete-char): Remove property, since it's now part of their
3039 (self-insert-iso): Remove property since this command doesn't exist.
3041 * emacs-lisp/package.el (package--download-one-archive)
3042 (describe-package-1): Don't query the user about final newline.
3044 2013-10-29 Daniel Colascione <dancol@dancol.org>
3046 * net/tramp.el (tramp-methods): Document new functionality.
3047 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3048 tramp-hostname-checker if method provides one instead of scanning
3049 argument list for "%h" to decide hostname acceptability.
3051 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3053 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3054 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3055 Handle COPY-CONTENTS. (Bug#15737)
3057 2013-10-28 Daiki Ueno <ueno@gnu.org>
3060 (epa-file-cache-passphrase-for-symmetric-encryption):
3061 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3063 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3065 * image.el (defimage):
3066 (image-load-path): Doc fixes.
3068 2013-10-27 Alan Mackenzie <acm@muc.de>
3070 Indent statements in macros following "##" correctly.
3071 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3072 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3074 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3076 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3078 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3080 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3081 after `=' is probably a new expression.
3083 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3085 * man.el (man-imenu-title): New option.
3086 (Man-mode-map): Add menu. (Bug#15722)
3087 (Man-mode): Add imenu to menu.
3089 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3091 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3092 specific in what the first arg can be: a non-keyword word,
3093 string/regexp/percent literal opener, opening paren, or unary
3094 operator followed directly by word.
3096 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3098 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3099 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3100 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3101 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3102 Remove vars, they do not apply any more.
3103 (prolog-mode-abbrev-table): Remove redundant declaration.
3104 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3105 (prolog-use-smie): Remove.
3106 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3107 supported by prolog-electric-if-then-else-flag.
3108 (prolog-mode-variables, prolog-menu): Use setq-local.
3109 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3110 Remove binding to `Backspace' since this key doesn't exist anyway.
3111 Remove bindings for electric self-inserting keys.
3112 (prog-mode): Assume it's defined.
3113 (prolog-post-self-insert): New function.
3114 (prolog-mode): Use it.
3115 (prolog-indent-line, prolog-indent-level)
3116 (prolog-find-indent-of-matching-paren)
3117 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3118 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3119 (prolog-goto-next-paren, prolog-in-string-or-comment)
3120 (prolog-tokenize, prolog-inside-mline-comment)
3121 (prolog-find-start-of-mline-comment): Remove functions.
3122 (prolog-find-unmatched-paren, prolog-clause-end)
3123 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3124 (prolog-electric--if-then-else): Rename from
3125 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3126 (prolog-tokenize-searchkey): Remove const.
3127 (prolog-clause-info): Use forward-sexp.
3128 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3129 (prolog-electric-if-then-else): Remove commands.
3130 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3131 for use in post-self-insert-hook.
3132 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3133 for use in post-self-insert-hook.
3134 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3135 for use in post-self-insert-hook.
3136 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3137 adapt it for use in post-self-insert-hook.
3139 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3141 * emacs-lisp/ert.el (ert-run-tests-interactively):
3142 Use `completing-read'. (Bug#9756)
3144 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3146 * simple.el (line-move): Call line-move-1 instead of
3147 line-move-visual when the current window hscroll is zero, but
3148 temporary-goal-column indicates we will need to hscroll as result
3149 of the movement. (Bug#15712)
3151 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3153 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3154 capitalization. Use :visible instead of :active.
3155 Fix `ruby-indent-exp' reference. Add menu items for the generic
3156 commands that are used with SMIE.
3157 (ruby-do-end-to-brace): Insert space after `{'.
3159 2013-10-25 John Anthony <john@jo.hnanthony.com>
3161 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3163 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3165 2013-10-25 Glenn Morris <rgm@gnu.org>
3167 * vc/vc.el (vc-print-log): Don't use a working revision unless
3168 one was explicitly specified. (Bug#15322)
3170 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3172 * subr.el (add-to-list): Preserve return value in compiler-macro
3175 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3177 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3178 result. Ask user to retry using '-all' flag. (Bug#15701)
3180 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3182 * emacs-lisp/smie.el: New smie-config system.
3183 (smie-config): New defcustom.
3184 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3185 (smie-config-guess, smie-config-save): New commands.
3186 (smie-config--mode-local, smie-config--buffer-local)
3187 (smie-config--trace, smie-config--modefuns): New vars.
3188 (smie-config--advice, smie-config--mode-hook)
3189 (smie-config--setter, smie-config-local, smie-config--get-trace)
3190 (smie-config--guess-value, smie-config--guess): New functions.
3191 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3192 text properties. Treat "string fence" syntax like string syntax.
3194 * progmodes/sh-script.el (sh-use-smie): Change default.
3195 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3196 (sh-var-value): Simplify by CSE.
3197 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3198 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3200 (sh-guess-basic-offset): Use cl-incf.
3201 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3203 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3205 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3208 2013-10-24 Glenn Morris <rgm@gnu.org>
3210 * Makefile.in (abs_top_srcdir): Remove.
3211 (update-subdirs): Use relative path to update-subdirs.
3213 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3215 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3216 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3217 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3218 Call unmsys--file-name before expand-file-name, not after it.
3220 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3222 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3223 (ert-test-skipped): New error.
3224 (ert-skip, ert-stats-skipped): New defuns.
3225 (ert--skip-unless): New macro.
3226 (ert-test-skipped): New struct.
3227 (ert--run-test-debugger, ert-test-result-type-p)
3228 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3229 (ert--stats-set-test-and-result, ert-char-for-test-result)
3230 (ert-string-for-test-result, ert-run-tests-batch)
3231 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3232 Handle skipped tests. (Bug#9803)
3234 2013-10-24 Glenn Morris <rgm@gnu.org>
3236 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3238 * Makefile.in (abs_top_srcdir): New, set by configure.
3239 (update-subdirs): Correct build-aux location.
3241 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3243 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3244 value, whether we could auto-deduce `backend', or not.
3246 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3247 with parameters" example. Simplify the "is it block or is it
3248 hash" check, but also make it more thorough.
3250 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3252 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3254 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3256 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3259 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3262 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3264 * progmodes/compile.el (compilation-directory-matcher)
3265 (compilation-page-delimiter):
3266 Support GNU Make-4.0 directory quoting. (Bug#15678)
3268 2013-10-23 Leo Liu <sdl.web@gmail.com>
3270 * ido.el (ido-tidy): Handle read-only text.
3272 2013-10-23 Glenn Morris <rgm@gnu.org>
3274 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3275 (emacs, compile, compile-always):
3276 Quote entities that might contain whitespace.
3277 (custom-deps, finder-data, autoloads): Use abs_lisp.
3278 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3279 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3280 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3282 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3284 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3285 Use `following-char'.
3287 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3289 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3290 * progmodes/ruby-mode.el (ruby-smie-rules):
3291 Remove corresponding workaround. Fix indentation rule of ";" so it
3292 also applies when ";" is the parent.
3294 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3296 * frame.el (display-screens, display-pixel-height)
3297 (display-pixel-width, display-mm-width, display-backing-store)
3298 (display-save-under, display-planes, display-color-cells)
3299 (display-visual-class, display-monitor-attributes-list):
3300 Mention the optional ‘display’ argument in doc strings.
3302 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3304 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3305 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3307 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3309 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3310 TODO. Add "." after " @ ".
3311 (ruby-smie--at-dot-call): New function. Checks if point at method
3312 call with explicit target.
3313 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3314 to the method name tokens when it precedes them.
3315 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3316 (ruby-smie-rules): Add rule for indentation before and after "."
3319 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3321 * textmodes/remember.el (remember-diary-extract-entries):
3324 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3327 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3329 * progmodes/ruby-mode.el (ruby-smie-grammar):
3330 Add (almost) all infix operators.
3331 (ruby-smie--implicit-semi-p): Add new operator chars.
3333 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3335 (ruby-smie--args-separator-p): Check that there's no newline
3336 between method call and its arguments.
3338 2013-10-20 Alan Mackenzie <acm@muc.de>
3340 Allow comma separated lists after Java "implements".
3342 * progmodes/cc-engine.el (c-backward-over-enum-header):
3344 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3345 from a "disallowed" list in enum fontification.
3347 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3349 * startup.el (default-frame-background-mode): Remove unused defvar.
3351 * progmodes/verilog-mode.el (verilog-mode): Don't set
3352 comment-indent-function globally.
3354 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3356 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3357 Move Info menu item creation to ns-win.el.
3359 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3362 * menu-bar.el: Move GNUStep specific menus...
3364 * term/ns-win.el (ns-initialize-window-system): ... to here.
3366 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3368 * simple.el (newline): Only run post-self-insert-hook when
3369 called interactively.
3371 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3373 * icomplete.el (icomplete-with-completion-tables): Add :version.
3375 2013-10-19 Alan Mackenzie <acm@muc.de>
3377 Fix fontification bugs with constructors and const.
3379 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3380 CASE 2) Remove the check for the absence of a suffix construct
3381 after a function declaration with only types (no identifiers) in
3382 the parentheses. Also, accept a function declaration with just a
3383 type inside the parentheses, if this type can be positively
3384 recognised as such, or if a prefix keyword like "explicit" nails
3385 down the construct as a declaration.
3387 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3389 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3390 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3391 the problem whereby selecting a menu item that leads to a
3392 minibuffer prompt moves the cursor out of the minibuffer window,
3393 making it hard to type at the prompt. Suggested by Stefan Monnier
3394 <monnier@iro.umontreal.ca>.
3396 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3398 * menu-bar.el: Don't make Services menu.
3400 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3402 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3403 (ffap-alist): Use ffap-c++-mode for c++-mode.
3404 (ffap-c++-path): New variable.
3405 (ffap-c++-mode): New function.
3407 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3409 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3411 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3413 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3414 introduced on 2013-09-08, which results in an infinite loop
3415 requesting a password.
3417 2013-10-18 Glenn Morris <rgm@gnu.org>
3419 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3421 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3423 Sync with upstream verilog-mode revision 1a6ecec7.
3424 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3425 (verilog-mode-release-date): Remove.
3426 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3427 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3428 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3429 (verilog-auto-tieoff-ignore-regexp)
3430 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3431 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3432 (verilog-signals-with, verilog-dir-cache-preserving)
3433 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3435 (verilog-case-fold): New option, to control case folding in
3436 regexp searches, bug597.
3437 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3438 (verilog-string-match-fold, verilog-in-paren-count)
3439 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3440 (verilog-at-close-struct-p): New functions.
3441 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3442 (verilog-forward-sexp, verilog-set-auto-endcomments):
3443 (verilog-leap-to-case-head): Handle "unique0" case.
3444 (verilog-in-constraint-re): New constant.
3445 (verilog-keywords, verilog-type-font-keywords):
3446 Add some SystemVerilog 1800-2012 keywords.
3447 (verilog-label-be): Remove unimplemented argument, bug669.
3448 (verilog-batch-execute-func): When batch expanding clear
3449 create-lockfiles to prevent spurious user locks when a file ends
3451 (verilog-calculate-indent, verilog-calc-1)
3452 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3453 (verilog-do-indent): Fix indentation of nested constraints
3455 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3456 (verilog-auto-inst-param): Use verilog-string-match-fold.
3457 (verilog-read-inst-module-matcher):
3458 Fix AUTOINST on gate primitives with #1.
3459 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3460 Reads all user-defined typed variables.
3461 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3462 (verilog-signals-matching-regexp)
3463 (verilog-signals-not-matching-regexp, verilog-auto):
3464 Respect verilog-case-fold.
3465 (verilog-diff-report): Fix line count.
3466 (verilog-auto-assign-modport): Remove unused local `modi'.
3467 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3468 better handle multidimensional arrays.
3469 Fix packed array ports misadding bit index in AUTOINST, bug637.
3470 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3471 to not double-declare existing outputs and inputs, respectively.
3472 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3473 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3474 (verilog-sk-uvm-component): New skeleton.
3475 (verilog-submit-bug-report): Add verilog-case-fold,
3476 remove verilog-mode-release-date.
3478 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3480 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3483 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3485 * textmodes/remember.el (remember): Set buffer-offer-save in
3486 remember buffers (bug#13566).
3488 2013-10-18 Daniel Colascione <dancol@dancol.org>
3490 When evaluating forms in ielm, direct standard output to ielm
3491 buffer. Add new ielm-return-for-effect command. Remove trailing
3492 whitespace throughout.
3494 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3495 (ielm-return-for-effect): New command.
3496 (ielm-send-input): Accept optional `for-effect' parameter.
3497 (ielm-eval-input): Accept optional `for-effect' parameter.
3498 Bind `standard-output' to stream we create using
3499 `ielm-standard-output-impl'. Suppress printing result when
3501 (ielm-standard-output-impl): New function.
3502 (inferior-emacs-lisp-mode): Explain new features in documentation.
3504 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3508 * net/tramp.el (tramp-debug-message): Do not check for connection
3510 (tramp-message): Use "vector" connection property.
3512 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3513 (tramp-equal-remote, tramp-eshell-directory-change)
3514 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3515 (tramp-adb-handle-rename-file)
3516 * net/tramp-cmds.el (tramp-list-remote-buffers)
3517 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3518 * net/tramp-compat.el (tramp-compat-process-running-p)
3519 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3520 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3521 (tramp-gvfs-handle-rename-file)
3522 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3523 (tramp-set-file-uid-gid)
3524 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3525 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3528 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3529 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3530 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3531 (tramp-gw-open-network-stream): Suppress unrelated traces.
3533 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3534 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3535 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3536 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3537 connection property.
3539 * net/tramp-cache.el (top): Suppress traces when reading
3542 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3543 Refactor common code. Improve debug message.
3544 (tramp-maybe-open-connection)
3545 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3546 connection buffer too early.
3548 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3549 from `tramp-smb-actions-with-acl'.
3550 (tramp-smb-actions-set-acl): New defconst.
3551 (tramp-smb-handle-copy-directory)
3552 (tramp-smb-action-get-acl): New defun, renamed from
3553 `tramp-smb-action-with-acl'.
3554 (tramp-smb-action-set-acl): New defun.
3555 (tramp-smb-handle-set-file-acl): Rewrite.
3557 2013-10-17 Glenn Morris <rgm@gnu.org>
3559 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3561 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3563 * skeleton.el (skeleton-newline): Remove.
3564 (skeleton-internal-1): Use (insert "\n") instead.
3566 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3569 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3570 forward-sexp-function while we redo its job (bug#15613).
3572 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3574 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3575 represented by lists.
3577 2013-10-16 Glenn Morris <rgm@gnu.org>
3579 * tmm.el (tmm--history): New dynamic variable.
3580 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3582 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3584 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3585 (tramp-smb-errors): Add error messages.
3586 (tramp-smb-actions-with-acl): New defconst.
3587 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3588 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3589 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3590 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3591 (tramp-smb-get-stat-capability): Fix tests.
3593 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3595 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3598 2013-10-16 Glenn Morris <rgm@gnu.org>
3600 * ansi-color.el (ansi-color-drop-regexp):
3601 Add 1J, 1K, 2K. (Bug#15617)
3603 * files.el (hack-local-variables--warned-lexical): New.
3604 (hack-local-variables):
3605 Warn about misplaced lexical-binding. (Bug#15616)
3607 * net/eww.el (eww-render): Always set eww-current-url,
3608 and update header line. (Bug#15622)
3609 (eww-display-html): ... Rather than just doing it here.
3611 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3613 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3614 menu navigations commands.
3616 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3618 * progmodes/subword.el (subword-capitalize): Be careful when
3619 the search for [[:alpha:]] fails (bug#15580).
3621 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3623 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3624 to commands that scroll the menu.
3626 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3628 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3629 Handle methods ending with `?' and `!'.
3631 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3633 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3634 `japanese-cp932' to `cp932' to fix the problem where saving a
3635 source file written in Shift_JIS twice would end up having
3636 `coding: japanese-cp932' which Ruby could not recognize.
3637 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3638 in `ruby-encoding-map'.
3639 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3640 doesn't need to be explicitly declared in magic comment.
3641 (ruby-encoding-map): Add type declaration for better customize UI.
3643 2013-10-13 Glenn Morris <rgm@gnu.org>
3645 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3646 Occur buffers are read-only. http://bugs.debian.org/720775
3648 * emacs-lisp/authors.el (authors-fixed-entries):
3649 Comment out old alpha stuff.
3651 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3653 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3654 to `after-save-hook' instead of `before-save-hook'.
3655 (ruby-mode-set-encoding): Use the value of coding system used to
3656 write the file. Call `basic-save-buffer-1' after modifying the
3659 2013-10-13 Alan Mackenzie <acm@muc.de>
3661 Fix indentation/fontification of Java enum with
3662 "implements"/generic.
3664 * progmodes/cc-engine.el (c-backward-over-enum-header):
3665 Extracted from the three other places and enhanced to handle generics.
3666 (c-inside-bracelist-p): Uses new function above.
3667 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3669 (c-font-lock-enum-tail): Uses new function above.
3671 2013-10-13 Kenichi Handa <handa@gnu.org>
3673 * international/mule-cmds.el (select-safe-coding-system): Remove a
3674 superfluous condition in chekcing whether a coding system is safe
3677 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3679 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3681 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3683 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3685 2013-10-13 Glenn Morris <rgm@gnu.org>
3687 * menu-bar.el (menu-bar-update-buffers):
3688 Unify Buffers menu prompt string. (Bug#15576)
3690 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3692 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3694 (authors-fixed-entries): Use accented form of name.
3696 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3698 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3699 method calls (bug#15594).
3700 (ruby-smie--args-separator-p): New function.
3701 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3702 recognize paren-free method calls.
3704 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3705 internals of universal-argument.
3707 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3709 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3710 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3711 dropped menu on second mouse click on the menu bar.
3713 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3715 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3716 (explicit-shell-file-name): Declare.
3717 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3718 (sh-completion-at-point-function): New function.
3720 (sh-smie--keyword-p): Remove unused argument.
3721 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3723 (sh-set-shell): Always setup SMIE, even if we use the
3724 old indentation code.
3726 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3728 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3730 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3731 predicate would return nil are almost non-existent.
3732 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3734 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3735 cache also after commands that modify the buffer but don't move
3738 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3740 * env.el (substitute-env-in-file-name): New function.
3741 (substitute-env-vars): Extend the meaning of the optional arg.
3743 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3745 * term/w32-win.el (dynamic-library-alist): Define separate lists
3746 of GIF DLLs for versions before and after 5.0.0 of giflib.
3749 2013-10-10 João Távora <joaotavora@gmail.com>
3751 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3752 not locked, use last revision and current source as
3753 defaults. (Bug#15569)
3755 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3757 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3760 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3762 * window.el (pop-to-buffer-same-window): Fix doc-string.
3765 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3767 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3769 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3771 * calendar/icalendar.el (icalendar-import-file):
3772 Fix interactive spec. (Bug#15482)
3774 2013-10-10 Glenn Morris <rgm@gnu.org>
3776 * desktop.el (desktop-save): Default to saving in .emacs.d,
3777 since PWD is no longer in desktop-path by default. (Bug#15319)
3779 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3780 now that text mode has a menu with the same entry.
3781 (menu-bar-text-mode-auto-fill): Remove now unused func.
3782 * textmodes/text-mode.el (text-mode-map):
3783 Use auto-fill help text from menu-bar.el.
3785 2013-10-10 John Anthony <john@jo.hnanthony.com>
3787 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3789 2013-10-09 Juri Linkov <juri@jurta.org>
3791 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3792 instead of this-command-keys. Add universal-argument-more and
3793 universal-argument-minus to the list of prefix commands. (Bug#15568)
3795 2013-10-09 Glenn Morris <rgm@gnu.org>
3797 * vc/vc-svn.el (vc-svn-create-repo):
3798 Expand paths in file://... url. (Bug#15446)
3800 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3802 (authors): Remove unused local variables.
3804 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3806 * profiler.el: Create a more coherent calltree from partial backtraces.
3807 (profiler-format): Hide the tail with `invisible' so that C-s can still
3808 find the hidden elements.
3809 (profiler-calltree-depth): Don't recurse so enthusiastically.
3810 (profiler-function-equal): New hash-table-test.
3811 (profiler-calltree-build-unified): New function.
3812 (profiler-calltree-build): Use it.
3813 (profiler-report-make-name-part): Indent the calltree less.
3814 (profiler-report-mode): Add visibility specs for profiler-format.
3815 (profiler-report-expand-entry, profiler-report-toggle-entry):
3816 Expand the whole subtree when provided with a prefix arg.
3818 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3820 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3822 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3823 hanging iuwu-mod token.
3824 (ruby-smie--forward-token): Do not include a dot after a token in
3826 (ruby-smie--backward-token): Likewise.
3828 2013-10-08 Juri Linkov <juri@jurta.org>
3830 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3831 to isearch-other-control-char.
3832 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3833 and isearch-post-command-hook to post-command-hook.
3834 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3835 and isearch-post-command-hook from post-command-hook.
3836 (isearch-unread-key-sequence)
3837 (isearch-reread-key-sequence-naturally)
3838 (isearch-lookup-scroll-key, isearch-other-control-char)
3839 (isearch-other-meta-char): Remove functions.
3840 (isearch-pre-command-hook, isearch-post-command-hook):
3841 New functions based on isearch-other-meta-char rewritten
3842 relying on the new behavior of overriding-terminal-local-map
3843 that does not replace the local keymaps any more. (Bug#15200)
3845 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3847 Support menus on text-mode terminals.
3848 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3851 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3853 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3854 Move here from mouse.el.
3855 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3857 (tty-menu-navigation-map): New map for TTY menu navigation.
3859 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3861 * frame.el (display-mouse-p): Report text-mode mouse as available
3863 (display-popup-menus-p): Report availability if mouse is
3864 available; don't condition on window-system.
3866 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3867 (tty-menu-selected-face): New faces.
3869 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3871 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3872 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3873 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3874 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3876 (lisp-mode-variables): New `elisp' argument.
3877 (emacs-lisp-mode): Use it.
3878 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3879 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3881 * indent.el: Use lexical-binding.
3882 (indent-region): Add progress reporter.
3883 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3885 (indent--next-tab-stop): New function to implement this behavior.
3886 (tab-to-tab-stop, move-to-tab-stop): Use it.
3888 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3890 * indent.el (indent-rigidly--current-indentation): New function.
3891 (indent-rigidly-map): New var.
3892 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3894 2013-10-08 Bastien Guerry <bzg@gnu.org>
3896 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3898 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3900 * progmodes/perl-mode.el: Use lexical-binding.
3901 Remove redundant :group args.
3902 (perl-nochange): Change default to be closer to other major modes's
3904 (perl-indent-line): Don't consider text on current line as a
3905 valid beginning of function from which to indent.
3907 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3908 with more than one argument (bug#15538).
3910 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3912 * vc/pcvs.el: Use lexical-binding.
3913 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3914 environment of `eval'.
3915 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3916 than a list of expressions. Adjust callers.
3917 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3919 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3921 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3922 case of the dot in a chained method call being on the following line.
3924 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3926 * electric.el (electric-indent-inhibit): New var.
3927 (electric-indent-post-self-insert-function): Use it.
3928 * progmodes/python.el (python-mode): Set it.
3930 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3933 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3935 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3936 (css-mode): Use electric-indent-chars.
3938 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3939 (font-lock-beg, font-lock-end): Move before first use.
3940 (nxml-mode): Use syntax-propertize-function.
3941 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3942 (nxml-extend-after-change-region): Remove.
3943 * nxml/xmltok.el: Use lexical-binding.
3944 (xmltok-save): Use `declare'.
3945 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3946 * nxml/nxml-util.el: Use lexical-binding.
3947 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3949 * nxml/nxml-ns.el: Use lexical-binding.
3950 (nxml-ns-save): Use `declare'.
3951 (nxml-ns-prefixes-for): Avoid add-to-list.
3952 * nxml/rng-match.el: Use lexical-binding.
3953 (rng--ipattern): Use cl-defstruct.
3954 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3955 (rng-cons-group-after, rng-subst-group-after)
3956 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3957 Use closures instead of `(lambda...).
3959 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3961 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3964 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3965 Use `tramp-handle-insert-file-contents'.
3966 (tramp-gvfs-handle-insert-file-contents): Remove function.
3968 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3969 Use `save-restriction' in order to keep markers.
3971 * net/trampver.el: Update release number.
3973 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3975 * progmodes/compile.el (compilation-parse-errors):
3976 Use compilation--put-prop.
3977 (compilation--ensure-parse): Check compilation-multiline.
3979 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3981 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3984 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3986 * progmodes/ruby-mode.el: Fix recently added tests.
3987 (ruby-smie-grammar): Add - and +.
3988 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3989 (ruby-smie--backward-id): New functions.
3990 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3991 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3994 2013-10-07 Leo Liu <sdl.web@gmail.com>
3996 * register.el (register-preview-delay)
3997 (register-preview-functions): New variables.
3998 (register-read-with-preview, register-preview)
3999 (register-describe-oneline): New functions.
4000 (point-to-register, window-configuration-to-register)
4001 (frame-configuration-to-register, jump-to-register)
4002 (number-to-register, view-register, insert-register)
4003 (copy-to-register, append-to-register, prepend-to-register)
4004 (copy-rectangle-to-register): Use register-read-with-preview to
4005 read register. (Bug#15525)
4007 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4009 * net/network-stream.el (network-stream-open-starttls): Don't add
4010 --insecure if it's already present, because that gnutls-cli
4011 rejects getting that parameter twice.
4013 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4015 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4018 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4020 * newcomment.el (comment-use-global-state): Change default value
4021 to t, mark obsolete (Bug#15251).
4022 (comment-beginning): In addition to `comment-to-syntax', check the
4023 value of `comment-use-global-state'.
4025 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4027 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4028 (ruby-comment-column): Follow the global default, by default.
4029 (ruby-smie-grammar): Add assignment syntax.
4030 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4031 open-paren, a comma, or a \.
4032 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4033 and line continuations.
4034 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4035 followed by implicit semi-colons. Add rule for string concatenation
4036 and for indentation at BOB.
4037 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4039 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4040 calling next-sexp, since next-token may have skipped chars which
4041 next-sexp doesn't know should be skipped!
4043 2013-10-05 Leo Liu <sdl.web@gmail.com>
4045 * progmodes/octave.el (octave-send-region):
4046 Call compilation-forget-errors.
4048 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4050 * vc/vc-svn.el (vc-svn-find-admin-dir):
4051 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4052 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4053 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4054 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4056 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4058 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4060 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4062 * subr.el (read-passwd): Hide chars even when called within a context
4063 where after-change-functions is disabled (bug#15501).
4064 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4065 until we removed ourself from overriding-terminal-local-map.
4067 2013-10-04 Leo Liu <sdl.web@gmail.com>
4069 * progmodes/octave.el (inferior-octave-mode):
4070 Call compilation-forget-errors.
4072 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4074 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4076 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4078 * net/secrets.el (secrets-create-collection): Add optional
4079 argument ALIAS. Use proper Label keyword. Append ALIAS as
4080 dbus-call-method argument. (Bug#15516)
4082 2013-10-04 Leo Liu <sdl.web@gmail.com>
4084 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4085 (inferior-octave-compilation-font-lock-keywords): New variables.
4086 (compilation-error-regexp-alist)
4087 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4088 (inferior-octave-mode): Use compilation-shell-minor-mode.
4090 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4092 * minibuffer.el (completion--replace): Be careful that `end' might be
4095 2013-10-03 Daiki Ueno <ueno@gnu.org>
4097 Add support for package signature checking.
4098 * emacs-lisp/package.el (url-http-file-exists-p)
4099 (epg-make-context, epg-context-set-home-directory)
4100 (epg-verify-string, epg-context-result-for)
4101 (epg-signature-status, epg-signature-to-string)
4102 (epg-check-configuration, epg-configuration)
4103 (epg-import-keys-from-file): Declare.
4104 (package-check-signature): New user option.
4105 (package-unsigned-archives): New user option.
4106 (package-desc): Add `signed' field.
4107 (package-load-descriptor): Set `signed' field if .signed file exists.
4108 (package--archive-file-exists-p): New function.
4109 (package--check-signature): New function.
4110 (package-install-from-archive): Check package signature.
4111 (package--download-one-archive): Check archive signature.
4112 (package-delete): Remove .signed file.
4113 (package-import-keyring): New command.
4114 (package-refresh-contents): Import default keyring.
4115 (package-desc-status): Add "unsigned" status.
4116 (describe-package-1, package-menu--print-info)
4117 (package-menu-mark-delete, package-menu--find-upgrades)
4118 (package-menu--status-predicate): Support "unsigned" status.
4120 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4122 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4123 the new compilation scheme using the new byte-codes.
4125 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4126 (byte-pophandler): New byte codes.
4127 (byte-goto-ops): Adjust accordingly.
4128 (byte-compile--use-old-handlers): New var.
4129 (byte-compile-catch): Use new byte codes depending on
4130 byte-compile--use-old-handlers.
4131 (byte-compile-condition-case--old): Rename from
4132 byte-compile-condition-case.
4133 (byte-compile-condition-case--new): New function.
4134 (byte-compile-condition-case): New function that dispatches depending
4135 on byte-compile--use-old-handlers.
4136 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4139 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4140 Optimize under `condition-case' and `catch' if
4141 byte-compile--use-old-handlers is nil.
4142 (disassemble-offset): Handle new bytecodes.
4144 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4146 * subr.el (error): Use `declare'.
4147 (decode-char, encode-char): Use advertised-calling-convention instead
4148 of the docstring to discourage use of the `restriction' arg.
4150 2013-10-03 Daiki Ueno <ueno@gnu.org>
4152 * epg.el (epg-verify-file): Add a comment saying that it does not
4153 notify verification error as a return value nor a signal.
4154 (epg-verify-string): Ditto.
4156 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4158 * progmodes/compile.el (compilation-start): Try globbing the arg to
4161 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4163 Sync with Tramp 2.2.8.
4165 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4166 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4167 * net/trampver.el: Update release number.
4169 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4171 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4172 and default-process-coding-system for darwin only.
4174 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4176 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4178 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4180 * vc/vc-git.el (vc-git-grep): Disable pager.
4182 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4184 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4185 Use :url instead of :homepage, as per
4186 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4188 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4189 non-nil, use `syntax-ppss' (Bug#15251).
4191 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4193 * progmodes/octave.el (inferior-octave-startup-file):
4194 Prefer ~/.emacs.d/init_octave.m.
4196 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4198 * emacs-lisp/package.el (package-desc-from-define):
4199 Accept additional arguments as plist, convert them to an alist and store
4200 them in the `extras' slot.
4201 (package-generate-description-file): Convert extras alist back to
4202 plist and append to the `define-package' form arguments.
4203 (package--alist-to-plist): New function.
4204 (package--ac-desc): Add `extras' slot.
4205 (package--add-to-archive-contents): Check if the archive-contents
4206 vector is long enough, and if it is, pass its `extras' slot value
4207 to `package-desc-create'.
4208 (package-buffer-info): Call `lm-homepage', pass the returned value
4209 to `package-desc-from-define'.
4210 (describe-package-1): Render the homepage button (Bug#13291).
4212 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4213 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4215 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4217 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4218 and default-process-coding-system to utf-8-unix (Bug#15402).
4220 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4222 * subr.el (looking-back): Do not recommend using looking-back.
4224 2013-09-28 Alan Mackenzie <acm@muc.de>
4226 Fix indentation/fontification of Java enum with "implements".
4228 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4229 regexp which matches "implements", etc., in Java.
4230 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4231 specifier clauses coming after "enum".
4232 * progmodes/cc-fonts.el (c-font-lock-declarations)
4233 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4236 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4238 * faces.el (region): Change ns_selection_color to
4239 ns_selection_fg_color, add ns_selection_bg_color.
4241 2013-09-28 Leo Liu <sdl.web@gmail.com>
4243 * progmodes/octave.el (inferior-octave-completion-table)
4244 (inferior-octave-completion-at-point): Minor tweaks.
4246 * textmodes/ispell.el (ispell-lookup-words): Rename from
4247 lookup-words. (Bug#15460)
4248 (lookup-words): Obsolete.
4249 (ispell-complete-word, ispell-command-loop): All uses changed.
4251 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4253 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4254 (octave-mode-menu): Add octave-send-buffer.
4255 (octave-send-buffer): New function.
4257 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4259 * progmodes/octave.el (octave-mode-map): Add key binding for
4261 (octave-mode-menu): Add octave-lookfor.
4262 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4264 (octave-lookfor): New function.
4266 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4268 * emacs-lisp/cl-macs.el:
4269 (cl--loop-destr-temps): Remove.
4270 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4272 (cl--loop-set-iterator-function): New function.
4273 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4274 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4275 Bind `it' with `let' instead of substituting it with `cl-subst'.
4276 (cl--unused-var-p): New function.
4277 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4278 Eliminate some unused variable warnings (bug#15326).
4280 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4282 * doc-view.el (doc-view-scale-reset): Rename from
4283 `doc-view-reset-zoom-level'.
4284 (doc-view-scale-adjust): New command.
4285 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4286 `doc-view-scale-adjust'.
4288 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4290 * doc-view.el (doc-view-reset-zoom-level): New command.
4291 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4292 zoom commands (bug#15466).
4294 2013-09-26 Kenichi Handa <handa@gnu.org>
4296 * international/quail.el (quail-help): Make it not a command.
4298 2013-09-26 Leo Liu <sdl.web@gmail.com>
4300 * minibuffer.el (completion-all-sorted-completions): Make args
4301 optional as they are.
4303 2013-09-25 Daniel Colascione <dancol@dancol.org>
4305 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4306 specs are and that they're not evaluated.
4308 2013-09-24 Sam Steingold <sds@gnu.org>
4310 * midnight.el (clean-buffer-list-kill-regexps)
4311 (clean-buffer-list-kill-buffer-names): Update for the new Man
4312 buffer naming which includes the object name.
4314 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4316 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4317 (eshell-parse-command, eshell-parse-pipeline): Use it since
4318 eshell-separate-commands requires a dynamic scoped var.
4319 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4321 2013-09-23 Leo Liu <sdl.web@gmail.com>
4323 * autoinsert.el (auto-insert-alist): Make the value of
4324 lexical-binding match its file setting.
4326 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4328 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4330 * autoarg.el (autoarg-kp-digit-argument):
4331 * electric.el (Electric-command-loop):
4332 * kmacro.el (kmacro-step-edit-insert):
4333 Do not set universal-argument-num-events.
4335 2013-09-22 Leo Liu <sdl.web@gmail.com>
4337 * files.el (interpreter-mode-alist): Add octave.
4339 2013-09-21 Alan Mackenzie <acm@muc.de>
4341 C++: fontify identifier in declaration following "public:" correctly.
4342 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4343 to match "public", etc.
4344 (c-decl-prefix-re): Add ":" into the C++ value.
4345 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4346 bit. Add a check for a ":" preceded by "public", etc.
4348 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4350 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4351 recognized by GDB 7.5 and later.
4353 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4355 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4357 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4359 * subr.el (internal--call-interactively): New const.
4360 (called-interactively-p): Use it (bug#3984).
4362 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4364 * vc/pcvs.el (cvs-mode-ignore):
4365 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4366 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4368 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4370 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4371 (eshell-ls-orig-insert-directory): Remove.
4372 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4373 (eshell-ls-use-in-dired): Use advice-add/remove.
4374 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4375 Add `orig-fun' arg for use in :around advice.
4376 Make it check (redundantly) eshell-ls-use-in-dired.
4378 2013-09-19 Glenn Morris <rgm@gnu.org>
4380 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4382 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4384 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4386 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4388 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4389 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4390 (tramp-get-remote-python): New defuns.
4391 (tramp-get-remote-uid-with-perl)
4392 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4393 contributed by yary <not.com@gmail.com> (tiny change).
4394 (tramp-get-remote-uid-with-python)
4395 (tramp-get-remote-gid-with-python): New defuns. Python code
4396 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4397 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4399 2013-09-19 Glenn Morris <rgm@gnu.org>
4401 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4403 * eshell/em-unix.el (eshell-remove-entries):
4404 Rename argument to avoid name-clash with global `top-level'.
4406 * eshell/esh-proc.el (eshell-kill-process-function):
4407 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4408 (eshell-reset-after-proc): Remove unused arg `proc'.
4410 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4411 (directory-files-and-attributes): Mark unused arg.
4413 * eshell/em-unix.el (eshell-remove-entries):
4414 Remove unused arg `path'. Update callers.
4416 * eshell/em-hist.el (eshell-hist-parse-arguments):
4417 Remove unused arg `silent'. Update callers.
4419 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4420 Fix (f)boundp mix-up.
4422 * eshell/em-smart.el (eshell-smart-scroll-window)
4423 (eshell-disable-after-change):
4424 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4426 2013-09-18 Alan Mackenzie <acm@muc.de>
4428 Fix fontification of type when followed by "const".
4429 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4430 "known" types from fontification.
4432 2013-09-18 Glenn Morris <rgm@gnu.org>
4434 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4435 (chart-face-list): Drop Emacsen without display-color-p.
4437 * net/eww.el (libxml-parse-html-region): Declare.
4438 (eww-display-html): Explicit error if no libxml2 support.
4440 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4442 * image.el (image-type-from-buffer, image-multi-frame-p):
4443 Remove --without-x warning/error.
4445 * mouse.el (mouse-yank-primary):
4446 * term.el (term-mouse-paste):
4447 Reorder to silence --without-x compilation.
4449 * mpc.el (doc-view-mode): Silence --without-x compilation.
4451 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4452 Silence --without-x compilation.
4454 * progmodes/gud.el (gud-find-file, gud-mode):
4455 Silence --without-x compilation.
4456 (tooltip-mode): Declare.
4458 * wdired.el (dired-backup-overwrite): Remove declaration.
4459 (wdired-mode-map): Add doc string.
4461 * custom.el (x-get-resource): Declare.
4463 * eshell/em-glob.el (ange-cache):
4464 * eshell/em-unix.el (ange-cache): Declare.
4466 * faces.el (x-display-list, x-open-connection, x-get-resource):
4469 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4470 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4473 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4475 * net/gnutls.el (gnutls-log-level): Declare.
4477 * net/shr.el (image-size, image-animate): Declare.
4479 * simple.el (font-info): Declare.
4481 * subr.el (x-popup-dialog): Declare.
4483 * term/common-win.el (x-select-enable-primary)
4484 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4487 * term/ns-win.el (x-handle-args): Declare.
4489 * term/x-win.el (x-select-enable-clipboard): Declare.
4491 * term/w32-win.el (create-default-fontset): Declare.
4493 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4496 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4497 (fit-frame-to-buffer): Explicit error if --without-x.
4498 (mouse-autoselect-window-select): Silence compiler.
4500 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4502 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4503 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4504 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4505 * eshell/esh-util.el (eshell-sublist):
4506 Remove unused local variables.
4508 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4510 * textmodes/two-column.el: Make 2C-split work for --without-x.
4511 (scroll-bar-columns): Autoload.
4512 (top-level): Require fringe when compiling.
4514 2013-09-18 Leo Liu <sdl.web@gmail.com>
4516 * subr.el (add-hook): Robustify to handle closure as well.
4518 2013-09-17 Glenn Morris <rgm@gnu.org>
4520 * simple.el (messages-buffer-mode-map): Unbind "g".
4522 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4524 * help-mode.el (help-mode-finish): Use derived-mode-p.
4525 Remove obsolete highlighting.
4527 * play/life.el (life-mode): Use define-derived-mode. Derive from
4529 (life): Let-bind inhibit-read-only.
4530 (life-setup): Avoid `setq'. Use `life-mode'.
4532 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4533 which should not be needed any more.
4534 (package-menu-refresh, package-menu-describe-package): Use user-error.
4536 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4537 (eshell-post-rewrite-command-hook): Make obsolete.
4538 (eshell-parse-command): Simplify.
4539 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4540 (eshell--cmd): Declare.
4541 (eshell-parse-pipeline): Remove unused var `final-p'.
4542 Pass a dynvar to eshell-post-rewrite-command-hook.
4543 Implement the new eshell-post-rewrite-command-function.
4544 (eshell-invoke-directly): Remove unused arg `input'.
4545 * eshell/esh-io.el (eshell-io-initialize):
4546 Use eshell-post-rewrite-command-function (bug#15399).
4547 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4548 adjust to new calling convention.
4549 (eshell-create-handles): Rename args to avoid clashing with dynvar
4552 2013-09-17 Glenn Morris <rgm@gnu.org>
4554 * simple.el (messages-buffer-mode): New major mode.
4555 (messages-buffer): New function.
4556 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4557 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4558 (ert-run-test): Use `messages-buffer' function.
4559 (ert--force-message-log-buffer-truncation): Ignore read-only.
4560 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4561 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4563 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4565 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4567 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4569 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4571 * icomplete.el (icomplete-in-buffer): New var.
4572 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4573 vars and replace them with functions.
4574 (icomplete-minibuffer-setup): Adjust accordingly.
4575 (icomplete--completion-table, icomplete--completion-predicate)
4576 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4578 (icomplete-forward-completions, icomplete-backward-completions)
4579 (icomplete-simple-completing-p, icomplete-exhibit)
4580 (icomplete-completions): Use them.
4581 (icomplete--in-region-buffer): New var.
4582 (icomplete--in-region-setup): New function.
4583 (icomplete-mode): Use it.
4585 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4587 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4588 return args and options.
4589 (eshell-eval-using-options): Use the new return value of
4590 eshell--do-opts to set the options's vars in their scope.
4591 (eshell--set-option): Rename from eshell-set-option.
4593 (eshell--process-option): Rename from eshell-process-option.
4595 (eshell--process-args): Use an `opt-vals' alist to store the options's
4596 values during their processing and return them additionally to the
4599 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4601 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4602 continuation character an operator, as far as indentation is
4603 concerned (Bug#15369).
4605 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4607 * window.el (window--state-put-2): Don't process buffer state
4608 when buffer doesn't exist any more (Bug#15382).
4610 2013-09-15 Glenn Morris <rgm@gnu.org>
4612 * eshell/em-unix.el (eshell/rm):
4613 Make -f ignore missing files. (Bug#15373)
4615 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4616 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4617 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4619 2013-09-14 Glenn Morris <rgm@gnu.org>
4621 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4623 2013-09-13 Glenn Morris <rgm@gnu.org>
4625 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4626 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4628 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4630 * frame.el (x-focus-frame): Mark as declared in frame.c.
4632 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4634 * ls-lisp.el: Use advice-add.
4635 (original-insert-directory): Remove.
4636 (ls-lisp--insert-directory): Rename from insert-directory; add
4637 `orig-fun' argument.
4638 (insert-directory): Advise.
4640 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4642 * term.el (term-emulate-terminal): Decode the command string
4643 before passing it to term-command-hook. (Bug#15337)
4645 2013-09-13 Glenn Morris <rgm@gnu.org>
4647 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4649 * eshell/esh-ext.el (eshell-search-path): Declare.
4651 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4652 Otherwise an error occurs if eshell-dirs module not loaded.
4654 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4656 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4658 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4659 `tramp-check-proper-host'. Check for a valid method name.
4661 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4662 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4663 * net/tramp-sh.el (tramp-maybe-open-connection):
4664 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4666 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4667 also for hash values.
4669 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4671 * term/ns-win.el (parameters): Don't declare as dynamic.
4672 (before-make-frame-hook): Don't add ineffective function.
4674 * eshell/*.el: Use lexical-binding (bug#15231).
4676 2013-09-12 Kenichi Handa <handa@gnu.org>
4678 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4680 2013-09-12 Glenn Morris <rgm@gnu.org>
4682 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4683 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4685 * subr.el (do-after-load-evaluation): Also give compiler warnings
4686 when obsolete files are used (except by obsolete files).
4688 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4689 in the status output, assume `filename' is the first. (Bug#15322)
4691 * vc/vc.el (vc-deduce-fileset): Doc fix.
4693 * calc/calc-help.el (Info-goto-node):
4694 * progmodes/cperl-mode.el (Info-find-node):
4695 * vc/ediff.el (Info-goto-node): Update declarations.
4697 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4699 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4700 (vc-bzr-pull): Require vc-dispatcher.
4701 * vc/vc-git.el (vc-compilation-mode): Declare.
4702 (vc-git-pull): Require vc-dispatcher.
4704 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4706 * progmodes/octave.el (help-button-action): Declare.
4708 * shell.el (shell-directory-tracker): Output error as a message
4709 rather than just returning it as a string.
4710 (shell-process-pushd): Remove useless use of message.
4712 * dframe.el (dframe-timer-fn):
4713 * files.el (dir-locals-read-from-file):
4714 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4716 * reveal.el (reveal-post-command):
4717 * saveplace.el (load-save-place-alist-from-file):
4718 * shell.el (shell-resync-dirs):
4719 * w32-common-fns.el (x-get-selection-value):
4720 * emacs-lisp/copyright.el (copyright-find-copyright):
4721 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4722 * emulation/tpu-edt.el (tpu-copy-keyfile):
4723 * play/bubbles.el (bubbles--mark-neighbourhood):
4724 * progmodes/executable.el
4725 (executable-make-buffer-file-executable-if-script-p):
4726 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4728 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4730 Cleanup Eshell to rely less on dynamic scoping.
4731 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4732 last-value, and ext-command here. Bind `args' closer to `body'.
4733 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4734 (eshell--args): Declare new dynamic var.
4735 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4736 last-value, and ext-command. Pass `args' to `body'.
4737 (eshell-process-args): Bind eshell--args.
4738 (eshell-set-option): Use eshell--args.
4739 * eshell/eshell.el (eshell): Use derived-mode-p.
4740 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4741 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4742 (eshell-glob-function): Declare.
4743 * eshell/esh-util.el: Require cl-lib.
4744 (eshell-read-hosts-file): Avoid add-to-list.
4745 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4747 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4749 (eshell/diff): Remove unused var `err'.
4750 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4752 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4753 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4755 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4756 Move declaration before first use.
4757 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4758 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4761 2013-09-12 Glenn Morris <rgm@gnu.org>
4763 * term/ns-win.el (global-map): Remove binding for ispell-next,
4764 deleted 1999-05-29. (Bug#15357)
4766 2013-09-11 Glenn Morris <rgm@gnu.org>
4768 * echistory.el (electric-command-history): Remove call to deleted func.
4770 * play/landmark.el (landmark-mode): Fix typos.
4772 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4773 Check cvs-sort-ignore-file is bound.
4775 * savehist.el: No need for cl when compiling on Emacs.
4777 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4779 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4781 (eshell-self-insert-command, eshell-send-invisible):
4782 Remove unused argument.
4783 (eshell-handle-control-codes): Remove unused var `orig'.
4784 Avoid delete-backward-char.
4786 * files.el (set-auto-mode): Simplify a bit further.
4788 2013-09-11 Glenn Morris <rgm@gnu.org>
4790 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4791 (set-auto-mode): Don't regexp-quote elements.
4792 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4793 * progmodes/cc-mode.el (interpreter-mode-alist):
4794 * progmodes/ruby-mode.el (interpreter-mode-alist):
4795 Revert previous change.
4797 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4799 * play/snake.el (snake-mode):
4800 * play/mpuz.el (mpuz-mode):
4801 * play/landmark.el (lm-mode):
4802 * play/blackbox.el (blackbox-mode):
4803 * play/5x5.el (5x5-mode):
4804 * obsolete/options.el (Edit-options-mode):
4805 * net/quickurl.el (quickurl-list-mode):
4806 * net/newst-treeview.el (newsticker-treeview-mode):
4807 * mail/rmailsum.el (rmail-summary-mode):
4808 * mail/mspools.el (mspools-mode):
4809 * locate.el (locate-mode):
4810 * ibuffer.el (ibuffer-mode):
4811 * emulation/ws-mode.el (wordstar-mode):
4812 * emacs-lisp/debug.el (debugger-mode):
4813 * array.el (array-mode):
4814 * net/eudc.el (eudc-mode): Use define-derived-mode.
4815 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4816 Move initialization into declaration.
4817 (mairix-searches-mode): Use define-derived-mode.
4818 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4819 (eudc-edit-hotlist): Use dolist.
4820 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4821 (Man-mode): Use define-derived-mode.
4822 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4823 (Info-edit-mode): Use define-derived-mode.
4824 (Info-cease-edit): Use Info-mode.
4825 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4827 (eshell-mode): Use define-derived-mode.
4828 * chistory.el (command-history-mode-map): Rename from
4829 command-history-map.
4830 (command-history-mode): Use define-derived-mode.
4831 (Command-history-setup): Remove function.
4832 * calc/calc.el (calc-trail-mode-map): New var.
4833 (calc-trail-mode): Use define-derived-mode.
4834 (calc-trail-buffer): Set calc-main-buffer manually.
4835 * bookmark.el (bookmark-insert-annotation): New function.
4836 (bookmark-edit-annotation): Use it.
4837 (bookmark-edit-annotation-mode): Make it a proper major mode.
4838 (bookmark-send-edited-annotation): Use derived-mode-p.
4839 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4840 closer to its ideal place. Use \' to match EOS.
4842 * profiler.el (profiler-calltree-find): Use function-equal.
4844 2013-09-10 Glenn Morris <rgm@gnu.org>
4846 * files.el (interpreter-mode-alist): Convert to regexps.
4847 (set-auto-mode): Adapt for this. (Bug#15306)
4848 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4849 Comment out unused variable.
4850 * progmodes/cc-mode.el (interpreter-mode-alist):
4851 * progmodes/python.el (interpreter-mode-alist):
4852 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4853 * progmodes/sh-script.el (sh-set-shell):
4854 No longer use interpreter-mode-alist to get list of shells.
4856 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4858 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4860 * simple.el: Use set-temporary-overlay-map for universal-argument.
4861 (universal-argument-map): Don't use default-bindings (bug#15317).
4862 Bind switch-frame explicitly. Replace universal-argument-minus with
4863 a conditional binding.
4864 (universal-argument-num-events, saved-overriding-map): Remove.
4865 (restore-overriding-map): Remove.
4866 (universal-argument--mode): Rename from save&set-overriding-map,
4868 (universal-argument, universal-argument-more, negative-argument)
4869 (digit-argument): Adjust accordingly.
4870 (universal-argument-minus): Remove.
4871 (universal-argument-other-key): Remove.
4873 * subr.el (with-demoted-errors): Add `format' argument.
4875 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4877 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4878 `tramp-cleanup-connection'.
4880 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4881 parameters KEEP-DEBUG and KEEP-PASSWORD.
4883 * net/tramp.el (tramp-file-name-handler):
4884 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4885 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4886 (tramp-maybe-open-connection):
4887 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4888 Use `tramp-cleanup-connection'.
4890 * net/tramp-sh.el (tramp-maybe-open-connection):
4891 Catch 'uname-changed inside the progress reporter.
4893 2013-09-10 Glenn Morris <rgm@gnu.org>
4895 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4897 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4898 returns "alternate access method" in mode (eg "-rw-r--r--.").
4900 2013-09-08 Glenn Morris <rgm@gnu.org>
4902 * saveplace.el (load-save-place-alist-from-file):
4903 Demote errors. (Bug#15305)
4905 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4907 Improve compatibility with older Emacsen, and XEmacs.
4909 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4910 only if it is bound. It isn't for XEmacs.
4911 (with-tramp-progress-reporter): Do not let-bind `result'.
4912 This yields to scoping errors in XEmacs.
4913 (tramp-handle-make-auto-save-file-name): New function, moved from
4916 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4917 for `make-auto-save-file-name'.
4918 (tramp-adb--gnu-switches-to-ash):
4919 Use `tramp-compat-replace-regexp-in-string'.
4921 * net/tramp-cache.el (tramp-cache-print): Call
4922 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4924 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4925 bound. It isn't for XEmacs.
4927 * net/tramp-compat.el (tramp-compat-copy-file):
4928 Catch `wrong-number-of-arguments' error.
4929 (tramp-compat-replace-regexp-in-string): New defun.
4931 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4932 for `make-auto-save-file-name'.
4933 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4935 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4936 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4937 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4939 * net/tramp-gw.el (tramp-gw-open-network-stream):
4940 Use `tramp-compat-replace-regexp-in-string'.
4942 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4943 Call `tramp-handle-make-auto-save-file-name'.
4944 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4945 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4946 (tramp-sh-file-inotifywait-process-filter):
4947 Use `tramp-compat-replace-regexp-in-string'.
4948 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4950 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4951 for `make-auto-save-file-name'.
4952 (tramp-smb-handle-copy-directory):
4953 Call `tramp-compat-replace-regexp-in-string'.
4954 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4955 (tramp-smb-handle-copy-file): Improve error message.
4956 (tramp-smb-handle-rename-file): Rename directly only in case
4957 `newname' does not exist yet. This is a restriction of smbclient.
4958 (tramp-smb-maybe-open-connection): Rerun the function only when
4959 `auth-sources' is non-nil.
4961 2013-09-08 Kenichi Handa <handa@gnu.org>
4963 * international/characters.el: Set category "^" (Combining) for
4966 2013-09-07 Alan Mackenzie <acm@muc.de>
4968 Correctly fontify Java class constructors.
4969 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4971 (c-recognize-typeless-decls): Set the Java value to t.
4972 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4973 While handling a "(", add a check for, effectively, Java, and handle a
4974 "typeless" declaration there.
4976 2013-09-07 Roland Winkler <winkler@gnu.org>
4978 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4979 field subtitle for entry type book.
4981 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4983 * minibuffer.el: Make minibuffer-complete call completion-in-region
4984 rather than other way around.
4985 (completion--some, completion-pcm--find-all-completions):
4986 Don't delay signals when debugging.
4987 (minibuffer-completion-contents): Beware fields within the
4988 minibuffer contents.
4989 (completion-all-sorted-completions): Use defvar-local.
4990 (completion--do-completion, completion--cache-all-sorted-completions)
4991 (completion-all-sorted-completions, minibuffer-force-complete):
4992 Add args `beg' and `end'.
4993 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4994 (minibuffer-complete): Use completion-in-region.
4995 (completion-complete-and-exit): New fun, extracted from
4996 minibuffer-complete-and-exit.
4997 (minibuffer-complete-and-exit): Use it.
4998 (completion--complete-and-exit): Rename from
4999 minibuffer--complete-and-exit.
5000 (completion-in-region--single-word): New function, extracted from
5001 minibuffer-complete-word.
5002 (minibuffer-complete-word): Use it.
5003 (display-completion-list): Make `common-substring' argument obsolete.
5004 (completion--in-region): Call completion--in-region-1 instead of
5005 minibuffer-complete.
5006 (completion-help-at-point): Pass boundaries to
5007 minibuffer-completion-help as args rather than via an overlay.
5008 (completion-pcm--string->pattern): Use `any-delim'.
5009 (completion-pcm--optimize-pattern): New function.
5010 (completion-pcm--pattern->regex): Handle `any-delim'.
5011 * icomplete.el (icomplete-forward-completions)
5012 (icomplete-backward-completions, icomplete-completions):
5013 Adjust calls to completion-all-sorted-completions and
5014 completion--cache-all-sorted-completions.
5015 (icomplete-with-completion-tables): Default to t.
5016 * emacs-lisp/crm.el (crm--current-element): Rename from
5017 crm--select-current-element. Don't put an overlay but return the
5019 (crm--completion-command): Take two new args to bind to the boundaries.
5020 (crm-completion-help): Adjust accordingly.
5021 (crm-complete): Use completion-in-region.
5022 (crm-complete-word): Use completion-in-region--single-word.
5023 (crm-complete-and-exit): Use completion-complete-and-exit.
5025 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5027 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5030 2013-09-06 Juri Linkov <juri@jurta.org>
5032 * info.el (Info-display-images-node): When image file doesn't exist
5033 display text version of the image if it's provided in the Info file.
5034 Otherwise, display the location of missing image from SRC attribute.
5035 Add help-echo text property from ALT attribute. (Bug#15279)
5037 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5039 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5040 (edit-abbrevs-mode): Use define-derived-mode.
5042 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5043 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5045 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5046 Use define-derived-mode.
5048 * epg.el (epg-start-encrypt): Minor CSE simplification.
5050 2013-09-06 William Xu <william.xwl@gmail.com>
5052 * arc-mode.el: Add support for 7za (bug#15264).
5053 (archive-7z-program): New var.
5054 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5055 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5056 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5058 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5062 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5063 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5064 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5065 (tramp-postfix-host-format, tramp-file-name-regexp)
5066 (tramp-completion-file-name-regexp)
5067 (tramp-completion-dissect-file-name)
5068 (tramp-handle-substitute-in-file-name): Remove 'url case.
5069 (tramp-file-name-regexp-url)
5070 (tramp-completion-file-name-regexp-url): Remove constants.
5072 2013-09-06 Glenn Morris <rgm@gnu.org>
5074 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5076 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5078 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5079 keywords" below "here-doc beginnings" (Bug#15270).
5081 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5083 * subr.el (pop): Use `car-safe'.
5084 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5085 to detect unused `pop' return value.
5087 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5089 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5090 (python-fill-string): Remove unused var `marker'.
5091 (python-skeleton-add-menu-items): Remove unused var `items'.
5093 * international/mule-cmds.el: Require CL.
5094 (find-coding-systems-for-charsets): Avoid add-to-list.
5095 (sanitize-coding-system-list): New function, extracted from
5096 select-safe-coding-system-interactively.
5097 (select-safe-coding-system-interactively): Use it.
5098 (read-input-method-name): Accept symbols for `default'.
5100 * emacs-lisp/advice.el (defadvice): Add indent rule.
5102 2013-09-05 Daniel Hackney <dan@haxney.org>
5106 * net/browse-url.el:
5109 * net/eudcb-ldap.el:
5122 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5123 byte compiler. Remove some unused let-bound variables.
5125 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5127 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5128 a "ref-cell", since it gets better optimized (bug#14883).
5130 2013-09-05 Glenn Morris <rgm@gnu.org>
5132 * progmodes/cc-awk.el (c-forward-sws): Declare.
5134 2013-09-04 Glenn Morris <rgm@gnu.org>
5136 * generic-x.el [rul-generic-mode]: Require cc-mode.
5137 (c++-mode-syntax-table): Declare.
5138 (rul-generic-mode-syntax-table): Init in the defvar.
5140 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5142 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5143 (vc-do-command, vc-set-async-update):
5144 * vc/vc-mtn.el (vc-mtn-dir-status):
5145 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5146 (vc-hg-pull, vc-hg-merge-branch):
5147 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5148 (vc-git-merge-branch):
5149 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5150 (vc-cvs-dir-status-files):
5151 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5152 (vc-bzr-dir-status-files):
5153 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5154 * vc/vc-annotate.el: Use lexical-binding.
5155 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5156 (vc-sentinel-movepoint): Declare.
5157 (vc-annotate): Don't use `goto-line'.
5158 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5159 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5160 (vc-sentinel-movepoint): Declare.
5161 * vc/vc-svn.el: Use lexical-binding.
5162 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5164 * vc/vc-rcs.el: Use lexical-binding.
5166 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5167 `deleted'. Don't drop errors silently.
5169 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5171 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5173 * vc/vc.el (vc-ignore): Rewrite.
5174 (vc-default-ignore): New function.
5175 (vc-default-ignore-completion-table): Use find-ignore-file.
5177 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5178 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5179 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5180 Remove. Most code moved to vc.el.
5182 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5184 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5185 * net/tramp-smb.el (tramp-smb-get-file-entries):
5186 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5187 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5189 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5191 (eww-change-select): Remove unused var `properties'.
5192 (eww-make-unique-file-name): Remove unused var `base'.
5194 * finder.el (finder-compile-keywords): Don't mess with windows.
5196 * calculator.el (calculator-funcall): Fix typo in last change.
5198 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5200 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5201 <pkg>-autoloads.el file stop us.
5203 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5204 warnings, and factor out common code.
5206 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5208 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5209 two-character operators and whether the character preceding them
5210 changes their meaning (Bug#15208).
5212 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5214 Format code sent to Python shell for robustness.
5215 * progmodes/python.el (python-shell-buffer-substring):
5217 (python-shell-send-region, python-shell-send-buffer): Use it.
5219 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5221 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5222 * net/tramp.el (tramp-user-error): ... here.
5223 (tramp-find-method, tramp-check-proper-host)
5224 (tramp-dissect-file-name, tramp-debug-message)
5225 (tramp-handle-shell-command):
5226 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5227 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5229 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5231 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5233 * avoid.el (mouse-avoidance-point-position)
5234 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5237 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5239 * progmodes/python.el (python-shell-completion-get-completions):
5240 Drop use of deleted `comint-last-prompt-overlay'.
5241 (python-nav-if-name-main): New command.
5243 2013-09-01 Glenn Morris <rgm@gnu.org>
5245 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5246 Avoid leading space in $wins. Otherwise the sed command used by
5247 eg compile-main ends up containing "/*.el". (Bug#15170)
5249 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5251 2013-08-30 Glenn Morris <rgm@gnu.org>
5253 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5254 Fix is-this-a-directory logic. (Bug#15220)
5256 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5258 * textmodes/css-mode.el: Use SMIE.
5259 (css-smie-grammar): New var.
5260 (css-smie--forward-token, css-smie--backward-token)
5261 (css-smie-rules): New functions.
5262 (css-mode): Use them.
5263 (css-navigation-syntax-table): Remove var.
5264 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5265 (css-indent-calculate, css-indent-line): Remove functions.
5267 Misc changes to reduce use of `(lambda...); and other cleanups.
5268 * cus-edit.el: Use lexical-binding.
5269 (customize-push-and-save, customize-apropos)
5270 (custom-buffer-create-internal): Use closures.
5271 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5272 * progmodes/ada-xref.el: Use setq.
5273 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5274 * dframe.el: Use lexical-binding.
5275 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5276 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5277 * descr-text.el: Use lexical-binding.
5278 (describe-text-widget, describe-text-sexp, describe-property-list):
5280 * comint.el (comint-history-isearch-push-state): Use a closure.
5281 * calculator.el: Use lexical-binding.
5282 (calculator-number-to-string): Make it work with lexical-binding.
5283 (calculator-funcall): Same and use cl-letf.
5285 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5286 (lisp--company-doc-string, lisp--company-location): New functions.
5287 (lisp-completion-at-point): Use them to improve Company support.
5289 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5290 params of lambda expressions.
5291 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5292 (ruby-smie--opening-pipe-p): New function.
5293 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5294 symbols and matched |...| for formal params.
5295 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5296 from being treated as hanging. Handle "rescue".
5298 2013-08-29 Glenn Morris <rgm@gnu.org>
5300 * progmodes/cc-engine.el (c-pull-open-brace):
5301 Move definition before use.
5303 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5305 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5306 are immutable. Don't use `unsafe' any more.
5307 (cl--defsubst-expand): Don't substitute at the same time as keeping
5308 a residual unused let-binding. Don't use `unsafe' any more.
5310 2013-08-29 Glenn Morris <rgm@gnu.org>
5312 * calendar/cal-china.el (calendar-chinese-year-cache):
5315 * nxml/nxml-util.el (nxml-debug-clear-inside):
5316 Use cl-loop rather than loop.
5318 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5320 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5322 2013-08-28 Glenn Morris <rgm@gnu.org>
5324 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5326 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5328 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5330 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5332 * simple.el (repeat-complex-command--called-interactively-skip):
5334 (repeat-complex-command): Use it (bug#14136).
5336 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5337 (c-define-abbrev-table): Add `doc' argument.
5338 (c-mode-abbrev-table, c++-mode-abbrev-table)
5339 (objc-mode-abbrev-table, java-mode-abbrev-table)
5340 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5341 (awk-mode-abbrev-table): Use it.
5342 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5343 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5344 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5345 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5346 Move initialization into the declaration; and remove any
5349 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5350 and dynamic let binding.
5352 * vc/smerge-mode.el: Remove redundant :group args.
5354 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5357 2013-08-28 Juri Linkov <juri@jurta.org>
5359 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5360 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5361 (isearch-other-meta-char): Handle an undefined shifted printing
5362 character by downshifting it. (Bug#15200)
5364 2013-08-28 Juri Linkov <juri@jurta.org>
5366 * isearch.el (isearch-search): Change regexp error message for
5367 non-regexp searches. (Bug#15166)
5369 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5371 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5372 for portability to hosts where /bin/sh has problems.
5374 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5376 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5378 2013-08-27 Juri Linkov <juri@jurta.org>
5380 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5381 in the keyboard macro. (Bug#15126)
5383 2013-08-27 Juri Linkov <juri@jurta.org>
5385 * isearch.el (isearch-quote-char): Comment out converting unibyte
5386 to multibyte, thus syncing with its `quoted-insert' counterpart.
5389 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5391 * window.el (display-buffer-use-some-window): Add missing
5392 argument in call of get-largest-window (Bug#15185).
5393 Reported by Stephen Leake.
5395 2013-08-27 Glenn Morris <rgm@gnu.org>
5397 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5399 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5401 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5402 from a matcher-function unless there's no more matches (bug#15161).
5404 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5406 * minibuffer.el: Revert change from 2013-08-20.
5408 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5409 with text property `tramp-default', if appropriate.
5410 (tramp-check-proper-host): New defun.
5411 (tramp-dissect-file-name): Do not check hostname. Revert change
5413 (tramp-backtrace): Make VEC-OR-PROC optional.
5415 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5416 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5417 * net/tramp-sh.el (tramp-maybe-open-connection):
5418 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5419 Apply `tramp-check-proper-host'.
5421 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5423 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5424 lambda expression in order to have `describe-variable' display it.
5426 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5428 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5429 BUF can be optional. (Bug#15186)
5431 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5433 * progmodes/flymake.el (flymake-get-real-file-name-function):
5434 Fix broken customization. (Bug#15184)
5436 2013-08-25 Alan Mackenzie <acm@muc.de>
5438 Improve indentation of bracelists defined by macros (without "=").
5440 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5441 expansion begins with "{", regard it as bracelist when it doesn't
5444 Parse C++ inher-intro when there's a template split over 2 lines.
5446 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5447 rigorously the search for "class" etc. followed by ":".
5449 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5450 random languages a regexp which never matches rather than nil.
5452 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5454 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5455 (c-awk-regexp-one-line-possibly-open-char-list-re)
5456 (c-awk-one-line-possibly-open-regexp-re)
5457 (c-awk-one-line-non-syn-ws*-re): Remove.
5458 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5459 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5460 (c-awk-space*-unclosed-regexp-/-re): New constants.
5461 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5462 aren't regexp delimiters.
5464 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5465 handling for a rare situation in AWK Mode involving unterminated
5468 2013-08-23 Glenn Morris <rgm@gnu.org>
5470 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5472 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5474 * files.el (create-file-buffer): If the result would begin with
5475 spaces, prepend a "|" instead of removing them. (Bug#15162)
5477 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5479 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5480 text-properties (bug#15155).
5482 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5484 (calc-keypad-redraw): Remove unused var `pad'.
5485 (calc-keypad-press): Remove unused var `menu'.
5487 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5489 * window.el (display-buffer-pop-up-frame):
5490 Call pop-up-frame-function with BUFFER current so `make-frame' will
5491 use it as the new frame's buffer (Bug#15133).
5493 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5495 * calendar/timeclock.el: Minor cleanups.
5496 (timeclock-ask-before-exiting, timeclock-use-display-time):
5498 (timeclock-modeline-display): Define as alias before the
5500 (timeclock-mode-line-display): Use define-minor-mode.
5501 (timeclock-day-list-template): Make it a function, add an argument.
5502 (timeclock-day-list-required, timeclock-day-list-length)
5503 (timeclock-day-list-debt, timeclock-day-list-span)
5504 (timeclock-day-list-break): Adjust calls accordingly.
5506 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5508 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5509 Use read--expression so that completion works again.
5511 2013-08-21 Sam Steingold <sds@gnu.org>
5513 Add rudimentary inferior shell interaction
5514 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5515 (sh-set-shell): Reset it.
5516 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5517 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5519 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5521 * align.el: Use lexical-binding.
5522 (align-region): Simplify accordingly.
5524 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5526 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5528 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5531 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5535 * net/tramp-cmds.el:
5537 * net/tramp-gvfs.el:
5539 * net/tramp-sh.el: Don't wrap external variable declarations by
5540 `eval-when-compile'.
5542 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5544 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5545 now that Emacs supports ImageMagick animations.
5547 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5549 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5550 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5552 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5554 * window.el (mouse-autoselect-window-select): Do autoselect when
5555 mouse pointer is on margin.
5557 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5559 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5561 2013-08-16 Glenn Morris <rgm@gnu.org>
5563 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5564 Handle "Remote Directory" response of some clients. (Bug#15058)
5566 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5567 Tweak warning. (Bug#14926)
5569 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5570 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5572 * image-mode.el (image-mode-map): Add menu items to reverse,
5573 increase, decrease, reset animation speed.
5574 (image--set-speed, image-increase-speed, image-decrease-speed)
5575 (image-reverse-speed, image-reset-speed): New functions.
5576 (image-mode-map): Add bindings for speed commands.
5578 * image.el (image-animate-get-speed, image-animate-set-speed):
5580 (image-animate-timeout): Respect image :speed property.
5582 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5584 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5585 previous line (bug#15101).
5586 (debugger-eval-expression, debugger-record-expression):
5587 Use read--expression (bug#15102).
5589 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5591 Remove byte compiler warnings, visible when compiling with
5592 `byte-compile-force-lexical-warnings' set to t.
5594 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5595 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5596 (tramp-handle-unhandled-file-name-directory)
5597 (tramp-handle-file-notify-add-watch, tramp-action-login)
5598 (tramp-action-succeed, tramp-action-permission-denied)
5599 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5602 * net/tramp-adb.el (tramp-adb-parse-device-names)
5603 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5604 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5605 (tramp-adb-handle-file-truename): Remove unused arguments.
5607 * net/tramp-cache.el (tramp-flush-directory-property)
5608 (tramp-flush-connection-property, tramp-list-connections)
5609 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5611 * net/tramp-compat.el (tramp-compat-make-temp-file):
5612 Rename FILENAME to F.
5614 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5615 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5616 (tramp-zeroconf-parse-workstation-device-names)
5617 (tramp-zeroconf-parse-webdav-device-names)
5618 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5620 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5621 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5623 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5625 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5626 (tramp-sh-handle-insert-file-contents-literally)
5627 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5629 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5630 Remove unused variables.
5632 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5633 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5634 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5636 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5637 Make them a defconst.
5638 (tramp-uuencode-region): Remove unused variable.
5640 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5642 * frameset.el (frameset--prop-setter): New function.
5643 (frameset-prop): Add gv-setter declaration.
5644 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5645 parameter was already set in FILTERED. Doc fix.
5646 (frameset--record-minibuffer-relationships): Allow saving a
5647 minibufferless frame without its corresponding minibuffer frame.
5648 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5649 frame, if the frame id matches.
5650 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5651 frames before orphaned ones.
5652 (frameset-restore): Warn about orphaned windows, instead of error out.
5654 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5656 * window.el (window-make-atom): Don't overwrite parameter
5658 (display-buffer-in-atom-window): Handle special case where we
5659 split an already atomic window.
5660 (window--major-non-side-window, display-buffer-in-side-window)
5661 (window--side-check): Ignore minibuffer window when walking
5663 (window-deletable-p): Return 'frame only if no other frame uses
5664 our minibuffer window.
5665 (record-window-buffer): Run buffer-list-update-hook.
5666 (split-window): Make sure window--check-frame won't destroy an
5667 existing atomic window in case the new window gets nested
5669 (display-buffer-at-bottom): Ignore minibuffer window when
5670 walking window tree. Don't split a side window.
5671 (pop-to-buffer): Don't set-buffer here, the select-window call
5673 (mouse-autoselect-window-select): Autoselect only if we are in the
5674 text portion of the window.
5676 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5678 * net/shr.el (shr-parse-image-data): New function to grab both the
5679 data itself and the Content-Type.
5680 (shr-put-image): Use it.
5682 * net/eww.el (eww-display-image): Ditto.
5684 * image.el (image-content-type-suffixes): New variable.
5686 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5688 * progmodes/python.el (python-imenu--build-tree)
5689 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5691 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5693 * simple.el (backward-word): Mention the optional argument.
5695 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5697 * frameset.el (frameset--make): Rename constructor from make-frameset.
5698 (frameset-p, frameset-valid-p): Don't autoload.
5699 (frameset-valid-p): Use normal accessors.
5701 2013-08-13 Glenn Morris <rgm@gnu.org>
5703 * progmodes/compile.el (compile-command): Tweak example in doc.
5704 * obsolete/scribe.el (scribe-mode):
5705 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5707 * mail/feedmail.el (feedmail-confirm-outgoing)
5708 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5710 * cus-start.el (truncate-partial-width-windows): Fix type.
5712 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5714 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5716 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5718 * emacs-lisp/timer.el (timer--time-setter): New function.
5719 (timer--time): Use it as gv-setter.
5721 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5722 setter is not a symbol.
5724 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5726 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5727 if sending fails. This makes debugging easier.
5729 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5731 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5732 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5733 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5735 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5737 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5739 2013-08-12 Glenn Morris <rgm@gnu.org>
5741 * format.el (format-annotate-function):
5742 Handle read-only text properties in the source. (Bug#14887)
5744 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5746 * net/eww.el (eww-display-html): Ignore coding system errors.
5747 One web site uses "utf-8lias" as the coding system.
5749 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5751 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5753 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5755 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5756 (tutorial--detailed-help): Remove unused local variables.
5757 (tutorial--save-tutorial-to): Use ignore-errors.
5758 (help-with-tutorial): Use looking-at-p.
5760 * view.el (view-buffer-other-window, view-buffer-other-frame):
5761 Mark unused arguments.
5763 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5764 (woman-select-symbol-fonts, woman, woman-find-file)
5765 (woman-insert-file-contents, woman-non-underline-faces):
5767 (woman1-unquote): Move declaration.
5769 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5770 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5771 argument. Remove unused local variable.
5772 (xml-parse-elem-type): Use string-match-p.
5773 (xml-substitute-numeric-entities): Use ignore-errors.
5775 * calculator.el (calculator): Mark unused argument.
5776 (calculator-paste, calculator-quit, calculator-integer-p):
5778 (calculator-string-to-number, calculator-decimal, calculator-exp)
5779 (calculator-op-or-exp): Use string-match-p.
5781 * dired.el (dired-buffer-more-recently-used-p): Declare.
5782 (dired-insert-set-properties, dired-insert-old-subdirs):
5785 * dired-aux.el (dired-compress): Use ignore-errors.
5786 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5787 (dired-do-async-shell-command, dired-do-shell-command)
5788 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5789 (dired-insert-subdir-validate): Use string-match-p.
5790 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5791 (dired-add-entry): Use string-match-p, looking-at-p.
5792 (dired-insert-subdir-newpos): Remove unused local variable.
5794 * filenotify.el (file-notify-callback): Remove unused local variable.
5796 * filesets.el (filesets-error): Mark unused argument.
5797 (filesets-which-command-p, filesets-filter-dir-names)
5798 (filesets-directory-files, filesets-get-external-viewer)
5799 (filesets-ingroup-get-data): Use string-match-p.
5801 * find-file.el (ff-other-file-name, ff-other-file-name)
5802 (ff-find-the-other-file, ff-cc-hh-converter):
5803 Remove unused local variables.
5804 (ff-get-file-name): Use string-match-p.
5805 (ff-all-dirs-under): Use ignore-errors.
5807 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5808 (follow-select-if-visible): Remove unused local variable.
5810 * forms.el (read-file-filter): Move declaration.
5811 (forms--make-format, forms--make-parser, forms-insert-record):
5812 Quote function with #'.
5813 (forms--update): Use string-match-p. Quote function with #'.
5815 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5816 (help-make-xrefs): Use looking-at-p.
5817 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5819 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5820 (ibuffer-confirm-operation-on): Use string-match-p.
5822 * msb.el (msb-item-handler, msb-dired-item-handler):
5823 Mark unused arguments.
5825 * ses.el (ses-decode-cell-symbol)
5826 (ses-kill-override): Remove unused local variable.
5827 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5828 (ses-load): Use ignore-errors, looking-at-p.
5829 (ses-jump-safe): Use ignore-errors.
5830 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5832 * tabify.el (untabify, tabify): Mark unused arguments.
5834 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5835 Mark unused argument.
5836 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5837 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5839 * emacs-lisp/timer.el (timer--time): Define setter with
5840 gv-define-setter to avoid deprecation warning.
5842 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5843 (*record-cmpl-statistics-p*): Remove (was commented out).
5844 (cmpl-statistics-block): Remove (body was commented out).
5845 All callers changed.
5846 (add-completions-from-buffer, load-completions-from-file):
5847 Remove unused variables.
5849 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5851 * filecache.el (file-cache-delete-file-list):
5852 Print message only when told so.
5853 (file-cache-files-matching): Use #' in mapconcat argument.
5855 * ffap.el (ffap-url-at-point): Fix reference to variable
5856 thing-at-point-default-mail-uri-scheme.
5858 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5860 * subr.el (define-error): New function.
5861 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5862 error-file-not-found and define with define-error.
5863 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5864 and define with define-error.
5865 * userlock.el (file-locked, file-supersession):
5866 * simple.el (mark-inactive):
5867 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5868 * progmodes/ada-mode.el (ada-mode-errors):
5869 * play/life.el (life-extinct):
5870 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5871 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5872 * nxml/rng-util.el (rng-error):
5873 * nxml/rng-uri.el (rng-uri-error):
5874 * nxml/rng-match.el (rng-compile-error):
5875 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5876 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5877 * nxml/nxml-rap.el (nxml-scan-error):
5878 * nxml/nxml-outln.el (nxml-outline-error):
5879 * net/soap-client.el (soap-error):
5880 * net/gnutls.el (gnutls-error):
5881 * net/ange-ftp.el (ftp-error):
5882 * mpc.el (mpc-proc-error):
5883 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5884 (json-number-format, json-string-escape, json-string-format)
5885 (json-key-format, json-object-format):
5886 * jka-compr.el (compression-error):
5887 * international/quail.el (quail-error):
5888 * international/kkc.el (kkc-error):
5889 * emacs-lisp/ert.el (ert-test-failed):
5890 * calc/calc.el (calc-error, inexact-result, math-overflow)
5892 * bookmark.el (bookmark-error-no-filename):
5893 * epg.el (epg-error): Define with define-error.
5895 * time.el (display-time-event-handler)
5896 (display-time-next-load-average): Don't call sit-for since it seems
5897 unnecessary (bug#15045).
5899 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5900 Use #' instead of ' to quote functions.
5901 (checkdoc-output-mode): Use setq-local.
5902 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5903 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5904 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5905 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5906 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5907 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5908 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5909 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5911 * ido.el (ido-completion-help): Fix up compiler warning.
5913 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5915 * frameset.el (frameset-p): Add autoload cookie.
5916 (frameset--jump-to-register): New function, based on code moved from
5918 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5920 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5921 (frameset-restore, frameset-save, frameset-session-filter-alist):
5922 Remove declarations.
5923 (register-alist): Doc fix.
5924 (frameset-to-register): Move to frameset.el.
5925 (jump-to-register, describe-register-1): Remove frameset-specific code.
5927 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5929 * allout-widgets.el (allout-widgets-pre-command-business)
5930 (allout-widgets-post-command-business)
5931 (allout-widgets-after-change-handler)
5932 (allout-decorate-item-and-context, allout-set-boundary-marker)
5933 (allout-body-modification-handler)
5934 (allout-graphics-modification-handler): Mark ignored arguments.
5935 (allout-widgets-post-command-business)
5936 (allout-widgets-exposure-change-processor)
5937 (allout-widgets-exposure-undo-processor)
5938 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5939 (allout-parse-item-at-point, allout-decorate-item-guides)
5940 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5941 * allout.el (epa-passphrase-callback-function): Declare.
5942 (allout-overlay-insert-in-front-handler)
5943 (allout-overlay-interior-modification-handler)
5944 (allout-isearch-end-handler, allout-chart-siblings)
5945 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5946 (allout-yank-processing, allout-process-exposed)
5947 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5948 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5949 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5950 (lisp-indent-defform): Mark ignored arguments.
5951 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5952 (calculate-lisp-indent): Remove unused variables.
5953 * international/characters.el (indian-2-column, arabic-2-column)
5954 (tibetan): Mark ignored arguments.
5955 (use-cjk-char-width-table): Mark ignored arguments.
5956 Remove unused variables.
5957 * international/fontset.el (build-default-fontset-data)
5958 (x-compose-font-name, create-fontset-from-fontset-spec):
5959 Mark ignored arguments.
5960 (fontset-plain-name): Remove unused variables.
5961 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5962 (keyboard-coding-system): Mark ignored arguments.
5963 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5964 * help.el (resize-temp-buffer-window):
5965 * window.el (display-buffer-in-major-side-window)
5966 (display-buffer-in-side-window, display-buffer-in-previous-window):
5967 Remove unused variables.
5968 * isearch.el (isearch-forward-symbol):
5969 * version.el (emacs-bzr-version-bzr):
5970 * international/mule-cmds.el (current-language-environment):
5971 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5973 * term/pc-win.el (x-list-fonts, x-display-planes)
5974 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5975 (x-server-version, x-display-screens, x-display-mm-height)
5976 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5977 (x-selection-owner-p, x-own-selection-internal)
5978 (x-disown-selection-internal, x-get-selection-internal)
5979 (msdos-initialize-window-system):
5980 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5981 * term/x-win.el (x-handle-no-bitmap-icon):
5982 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5983 (vc-default-find-file-hook, vc-default-extra-menu):
5984 Mark ignored arguments.
5986 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5988 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5989 break-condition in the context of the debugged code (bug#12685).
5991 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5994 Do not use an overlay to highlight the last prompt. (Bug#14744)
5995 (comint-mode): Make comint-last-prompt buffer local.
5996 (comint-last-prompt): New variable.
5997 (comint-last-prompt-overlay): Remove. Superseded by
5999 (comint-snapshot-last-prompt, comint-output-filter):
6000 Use comint-last-prompt.
6002 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6004 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6005 (frameset-save): Check validity of the resulting frameset.
6007 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6009 * ido.el (ido-record-command): Add doc string.
6011 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6013 * frameset.el (frameset): Do not disable creation of the default
6014 frameset-p predicate. Doc fix.
6015 (frameset-valid-p): New function, copied from the old predicate-p.
6016 Add additional checks.
6017 (frameset-restore): Check with frameset-valid-p.
6018 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6019 (frameset-name, frameset-description, frameset-properties)
6020 (frameset-states): Add docstring.
6021 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6022 (frameset-filter-alist): Doc fixes.
6024 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6026 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6028 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6030 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6031 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6032 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6033 (byte-compile-normal-call): Remove obsolescence check.
6035 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6037 * frameset.el (frameset-restore): Doc fix.
6039 * register.el (frameset-frame-id, frameset-frame-with-id)
6040 (frameset-p, frameset-restore, frameset-save): Declare.
6041 (register-alist): Document framesets.
6042 (frameset-session-filter-alist): Declare.
6043 (frameset-to-register): New function.
6044 (jump-to-register): Implement jumping to framesets. Doc fix.
6045 (describe-register-1): Describe framesets.
6047 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6049 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6051 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6052 Use lexical-binding.
6054 * frameset.el (frameset): Use type vector, not list (incompatible
6055 change). Do not declare a new constructor, use the default one.
6056 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6057 `name' and `description', respectively, and add read-only slot
6058 `timestamp'. Doc fixes.
6059 (frameset-copy, frameset-persistent-filter-alist)
6060 (frameset-filter-alist, frameset-switch-to-gui-p)
6061 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6062 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6063 (frameset-filter-iconified, frameset-keep-original-display-p):
6065 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6066 Rename from frameset-filter-(save|restore)-param. All callers changed.
6068 (frameset-p): Adapt to change to vector and be more thorough.
6069 Change arg name to OBJECT. Doc fix.
6070 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6071 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6072 All callers changed.
6073 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6074 All callers changed.
6075 (frameset--record-minibuffer-relationships): Rename from
6076 frameset--process-minibuffer-frames. All callers changed.
6077 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6078 Use new default constructor (again). Doc fix.
6079 (frameset--find-frame-if): Rename from `frameset--find-frame.
6080 All callers changed.
6081 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6082 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6084 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6085 PARAMETERS and WINDOW-STATE, respectively.
6086 (frameset-restore): Add new keyword argument PREDICATE.
6087 Reset frameset--target-display to nil. Doc fix.
6089 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6091 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6093 (bat-mode-syntax-table): Mark \n as end-of-comment.
6094 (bat-font-lock-keywords): Remove comment rule.
6096 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6097 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6099 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6100 (byte-compile-callargs-warn): Use `push'.
6101 (byte-compile-arglist-warn): Ignore higher-order "calls".
6102 (byte-compile-file-form-autoload): Use `pcase'.
6103 (byte-compile-function-form): If quoting a symbol, check that it exists.
6105 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6107 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6108 and add a few popular commands found in batch files.
6109 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6110 (dos-mode): Doc fixes.
6112 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6114 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6115 (dos-mode): Use setq-local. Add space after "rem".
6116 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6117 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6119 2013-08-07 Arni Magnusson <arnima@hafro.is>
6121 * progmodes/dos.el: New file.
6122 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6125 2013-08-06 Glenn Morris <rgm@gnu.org>
6127 * calendar/calendar.el: Add new faces, and day-header-array.
6128 (calendar-weekday-header, calendar-weekend-header)
6129 (calendar-month-header): New faces.
6130 (calendar-day-header-construct): New function.
6131 (calendar-day-header-width): Also :set calendar-day-header-array.
6132 (calendar-american-month-header, calendar-european-month-header)
6133 (calendar-iso-month-header): Use calendar- faces.
6134 (calendar-generate-month):
6135 Use calendar-day-header-array for day headers; apply faces to them.
6136 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6137 (calendar-abbrev-construct): Add optional maxlen argument.
6138 (calendar-day-name-array): Doc fix.
6139 (calendar-day-name-array, calendar-abbrev-length)
6140 (calendar-day-abbrev-array):
6141 Also :set calendar-day-header-array, and maybe redraw.
6142 (calendar-day-header-array): New option. (Bug#15007)
6143 (calendar-font-lock-keywords): Set to nil and make obsolete.
6144 (calendar-day-name): Add option to use header array.
6146 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6148 * net/shr.el (shr-render-td): Remove debugging.
6149 (shr-render-td): Make width computation consistent by defaulting
6150 all zero-width columns to 10 characters. This may not be optimal,
6151 but it's at least consistent.
6152 (shr-make-table-1): Redo last change to fix the real problem in
6155 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6157 * files.el (cache-long-line-scans):
6158 Make obsolete alias to `cache-long-scans'.
6160 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6162 * frameset.el (frameset, frameset-filter-alist)
6163 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6164 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6165 (frameset-compute-pos): Rename from frameset--compute-pos,
6167 (frameset-move-onscreen): Use frameset-compute-pos.
6168 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6170 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6171 Fix typos in docstrings.
6173 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6175 * frame.el (get-other-frame): Tiny cleanup.
6177 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6179 * vc/vc.el (vc-default-ignore-completion-table):
6180 Silence byte-compiler warning.
6182 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6183 slot , which can indeed be nil.
6184 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6185 Move entry for `left' from persistent to live filter alist.
6186 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6188 (frameset-filter-params): When restoring a frame, copy items added to
6189 `filtered', to avoid unwittingly modifying the original parameters.
6190 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6191 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6193 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6194 to use looking-at-p instead of looking-at. (Bug#15028)
6196 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6198 Revert introduction of isearch-filter-predicates (bug#14714).
6199 Rely on add-function instead.
6200 * isearch.el (isearch-filter-predicates): Rename it back to
6201 isearch-filter-predicate.
6202 (isearch-message-prefix): Use advice-function-mapc and advice
6203 properties to get the isearch-message-prefix.
6204 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6205 instead of run-hook-with-args-until-failure.
6206 (isearch-filter-visible): Not obsolete any more.
6207 * loadup.el: Preload nadvice.
6208 * replace.el (perform-replace): Revert to funcall
6209 instead of run-hook-with-args-until-failure.
6210 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6211 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6212 dired-isearch-filenames-toggle; make it into a proper minor mode.
6213 Use add/remove-function.
6214 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6215 Call the minor-mode rather than add/remove-hook.
6216 (dired-isearch-filter-filenames):
6217 Remove isearch-message-prefix property.
6218 * info.el (Info--search-loop): New function, extracted from Info-search.
6219 Funcall isearch-filter-predicate instead of
6220 run-hook-with-args-until-failure isearch-filter-predicates.
6221 (Info-search): Use it.
6222 (Info-mode): Use isearch-filter-predicate instead of
6223 isearch-filter-predicates.
6225 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6227 Do not call to `selected-window' where it is assumed by default.
6228 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6229 `window-hscroll', `window-width', `window-height', `window-buffer',
6230 `window-frame', `window-start', `window-point', `next-window'
6231 and `window-display-table'.
6232 * abbrev.el (abbrev--default-expand):
6233 * bs.el (bs--show-with-configuration):
6234 * buff-menu.el (Buffer-menu-mouse-select):
6235 * calc/calc.el (calc):
6236 * calendar/calendar.el (calendar-generate-window):
6237 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6239 * comint.el (send-invisible, comint-dynamic-complete-filename)
6240 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6241 * completion.el (complete):
6242 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6243 * disp-table.el (describe-current-display-table):
6244 * doc-view.el (doc-view-insert-image):
6245 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6246 * ehelp.el (with-electric-help):
6247 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6248 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6249 * emacs-lisp/helper.el (Helper-help-scroller):
6250 * emulation/cua-base.el (cua--post-command-handler-1):
6251 * eshell/esh-mode.el (eshell-output-filter):
6252 * ffap.el (ffap-gnus-wrapper):
6253 * help-macro.el (make-help-screen):
6254 * hilit-chg.el (highlight-compare-buffers):
6255 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6256 * hl-line.el (global-hl-line-highlight):
6257 * icomplete.el (icomplete-simple-completing-p):
6258 * isearch.el (isearch-done):
6259 * jit-lock.el (jit-lock-stealth-fontify):
6260 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6261 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6262 * mpc.el (mpc-tagbrowser, mpc):
6263 * net/rcirc.el (rcirc-any-buffer):
6264 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6265 * play/landmark.el (landmark-max-width, landmark-max-height):
6266 * play/zone.el (zone):
6267 * progmodes/compile.el (compilation-goto-locus):
6268 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6269 * progmodes/etags.el (find-tag-other-window):
6270 * progmodes/fortran.el (fortran-column-ruler):
6271 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6272 * progmodes/verilog-mode.el (verilog-point-text):
6273 * reposition.el (reposition-window):
6274 * rot13.el (toggle-rot13-mode):
6275 * server.el (server-switch-buffer):
6276 * shell.el (shell-dynamic-complete-command)
6277 (shell-dynamic-complete-environment-variable):
6278 * simple.el (insert-buffer, set-selective-display)
6279 (delete-completion-window):
6280 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6281 (speedbar-recenter):
6282 * startup.el (fancy-splash-head):
6283 * textmodes/ispell.el (ispell-command-loop):
6284 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6285 * tutorial.el (help-with-tutorial):
6286 * vc/add-log.el (add-change-log-entry):
6287 * vc/compare-w.el (compare-windows):
6288 * vc/ediff-help.el (ediff-indent-help-message):
6289 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6290 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6291 (ediff-setup-control-frame):
6292 * vc/emerge.el (emerge-position-region):
6293 * vc/pcvs-util.el (cvs-bury-buffer):
6294 * window.el (walk-windows, mouse-autoselect-window-select):
6295 * winner.el (winner-set-conf, winner-undo): Related users changed.
6297 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6299 * frameset.el (frameset--set-id): Doc fix.
6300 (frameset-frame-id, frameset-frame-id-equal-p)
6301 (frameset-locate-frame-id): New functions.
6302 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6303 (frameset-restore): Use them.
6305 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6307 Do not call to `selected-frame' where it is assumed by default.
6308 Affected functions are `raise-frame', `redraw-frame',
6309 `frame-first-window', `frame-terminal' and `delete-frame'.
6310 * calendar/appt.el (appt-disp-window):
6311 * epg.el (epg-wait-for-completion):
6312 * follow.el (follow-delete-other-windows-and-split)
6313 (follow-avoid-tail-recenter):
6314 * international/mule.el (set-terminal-coding-system):
6315 * mail/rmail.el (rmail-mail-return):
6316 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6317 * progmodes/f90.el (f90-add-imenu-menu):
6318 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6319 * server.el (server-switch-buffer):
6320 * simple.el (delete-completion-window):
6322 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6323 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6324 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6325 * vc/ediff.el (ediff-documentation): Related users changed.
6326 * frame.el (selected-terminal): Remove the leftover.
6328 2013-08-05 Glenn Morris <rgm@gnu.org>
6330 * calendar/calendar.el (calendar-generate-month):
6331 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6332 (calendar-generate-month, calendar-font-lock-keywords):
6333 Fix for calendar-day-header-width > length of any day name.
6335 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6337 * desktop.el (desktop-clear): Use new name of sort predicate.
6339 * frameset.el (frameset): Add docstring. Move :version property to its
6341 (frameset-copy): Rename from copy-frameset.
6342 (frameset-p): Check more thoroughly.
6343 (frameset-prop): Do not check for :version, which is no longer a prop.
6344 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6345 Use new :never value instead of t.
6346 (frameset-filter-alist): Expand and clarify docstring.
6347 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6348 (frameset-filter-minibuffer, frameset-filter-save-param)
6349 (frameset-filter-restore-param, frameset-filter-iconified):
6350 Add pointer to docstring of frameset-filter-alist.
6351 (frameset-filter-params): Rename filter values to be more meaningful:
6352 :never instead of t, and reverse the meanings of :save and :restore.
6353 (frameset--process-minibuffer-frames): Clarify error message.
6354 (frameset-save): Avoid unnecessary and confusing call to framep.
6355 Use new BOA constructor for framesets.
6356 (frameset--reuse-list): Doc fix.
6357 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6358 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6359 (frameset-minibufferless-first-p): Doc fix.
6360 Rename from frameset-sort-frames-for-deletion.
6361 (frameset-restore): Doc fixes. Use new function names.
6362 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6364 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6366 * desktop.el (desktop-restore-forces-onscreen)
6367 (desktop-restore-reuses-frames): Document :keyword constant values.
6368 (desktop-filter-parameters-alist): Remove, now identical to
6369 frameset-filter-alist.
6370 (desktop--filter-tty*): Remove, moved to frameset.el.
6371 (desktop-save-frameset, desktop-restore-frameset):
6372 Do not pass :filters argument.
6374 * frameset.el (frameset-live-filter-alist)
6375 (frameset-persistent-filter-alist): New variables.
6376 (frameset-filter-alist): Use them. Add autoload cookie.
6377 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6378 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6379 `frameset--id' (it's supposed to be internal to frameset.el).
6380 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6381 (frameset--initial-params): New function.
6382 (frameset--get-frame): Use it. Doc fix.
6383 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6384 Accept :all, not 'all.
6385 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6386 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6387 with fbound symbols. Fix frame id matching, and remove matching ids if
6388 the frame being restored is deleted. Obey :delete.
6390 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6392 * subr.el (macrop): New function.
6393 (text-clone--maintaining): New var.
6394 (text-clone--maintain): Rename from text-clone-maintain. Use it
6395 instead of inhibit-modification-hooks.
6397 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6398 a proxy, so as handle autoloads and redefinitions of the target.
6399 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6401 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6402 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6403 (pcase--mutually-exclusive-p): New function.
6404 (pcase--split-consp): Use it.
6405 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6406 mutually exclusive with the current predicate.
6408 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6409 (edebug-macrop): Remove. Use `macrop' instead.
6410 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6412 * eshell/esh-cmd.el (eshell-macrop):
6413 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6415 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6417 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6418 (advice-mapc): New function, using it.
6419 (advice-function-member-p): New function.
6420 (advice--normalize): Store the cdr in advice--saved-rewrite since
6421 that's the part that will be changed.
6422 (advice--symbol-function): New function.
6423 (advice-remove): Handle removal before the function is defined.
6424 Adjust to new advice--saved-rewrite.
6425 (advice-member-p): Use advice-function-member-p and
6426 advice--symbol-function.
6428 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6430 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6431 (frameset-filter-minibuffer): Doc fix.
6432 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6433 (frameset--set-id, frameset--process-minibuffer-frames)
6434 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6435 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6437 * desktop.el (desktop-clear): Only delete frames when called
6438 interactively and desktop-restore-frames is non-nil. Doc fix.
6439 (desktop-read): Set desktop-saved-frameset to nil.
6441 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6443 * vc/vc.el (vc-ignore): Rewrite.
6444 (vc-default-ignore-completion-table):
6446 (vc--add-line, vc--remove-regexp): New functions.
6448 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6449 (vc-svn-ignore-completion-table): New function.
6451 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6452 (vc-hg-ignore-completion-table):
6453 (vc-hg-find-ignore-file): New functions.
6455 * vc/vc-git.el (vc-git-ignore): Rewrite.
6456 (vc-git-ignore-completion-table):
6457 (vc-git-find-ignore-file): New functions.
6459 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6461 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6462 (vc-bzr-ignore-completion-table):
6463 (vc-bzr-find-ignore-file): New functions.
6465 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6467 * frameset.el (frameset-prop): New function and setter.
6468 (frameset-save): Do not modify frame list passed by the caller.
6470 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6472 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6474 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6476 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6477 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6479 * custom.el (custom-initialize-default, custom-initialize-set)
6480 (custom-initialize-reset, custom-initialize-changed): Affect the
6481 toplevel-default-value (bug#6275, bug#14586).
6482 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6485 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6487 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6488 Add cl-def* expressions.
6490 * frameset.el (frameset-filter-params): Fix order of arguments.
6492 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6494 Move code related to saving frames to frameset.el.
6495 * desktop.el: Require frameset.
6496 (desktop-restore-frames): Doc fix.
6497 (desktop-restore-reuses-frames): Rename from
6498 desktop-restoring-reuses-frames.
6499 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6500 (desktop-clear): Clear frames too.
6501 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6502 (desktop--filter-tty*, desktop-save, desktop-read):
6503 Use frameset functions.
6504 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6505 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6506 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6507 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6508 (desktop--process-minibuffer-frames, desktop-save-frames)
6509 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6510 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6511 (desktop--sort-states, desktop-restoring-frames-p)
6512 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6513 (desktop-restoring-frameset-p, desktop-restore-frameset)
6514 (desktop--check-dont-save, desktop-save-frameset): New functions.
6515 (desktop--app-id): New constant.
6516 (desktop-first-buffer, desktop-buffer-ok-count)
6517 (desktop-buffer-fail-count): Move before first use.
6518 * frameset.el: New file.
6520 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6522 * files.el: Use lexical-binding.
6523 (dir-locals-read-from-file): Remove unused `err' variable.
6524 (hack-dir-local-variables--warned-coding): New var.
6525 (hack-dir-local-variables): Use it to avoid repeated warnings.
6526 (make-backup-file-name--default-function): New function.
6527 (make-backup-file-name-function): Use it as default.
6528 (buffer-stale--default-function): New function.
6529 (buffer-stale-function): Use it as default.
6530 (revert-buffer-insert-file-contents--default-function): New function.
6531 (revert-buffer-insert-file-contents-function): Use it as default.
6532 (insert-directory): Avoid add-to-list.
6534 * autorevert.el (auto-revert-handler): Simplify.
6535 Use buffer-stale--default-function.
6537 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6539 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6541 * whitespace.el (whitespace-ensure-local-variables): New function.
6542 (whitespace-cleanup-region): Call it.
6543 (whitespace-turn-on): Call it.
6545 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6547 Complete file name handlers.
6549 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6550 (tramp-handle-verify-visited-file-modtime)
6551 (tramp-handle-file-notify-rm-watch): New functions.
6552 (tramp-call-process): Do not bind `default-directory'.
6554 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6555 Order alphabetically.
6556 [access-file, add-name-to-file, dired-call-process]:
6557 [dired-compress-file, file-acl, file-notify-rm-watch]:
6558 [file-ownership-preserved-p, file-selinux-context]:
6559 [make-directory-internal, make-symbolic-link, set-file-acl]:
6560 [set-file-selinux-context, set-visited-file-modtime]:
6561 [verify-visited-file-modtime]: Add handler.
6562 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6564 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6565 [file-notify-add-watch, file-notify-rm-watch]:
6566 [set-file-times, set-visited-file-modtime]:
6567 [verify-visited-file-modtime]: Add handler.
6568 (with-tramp-gvfs-error-message)
6569 (tramp-gvfs-handle-set-visited-file-modtime)
6570 (tramp-gvfs-fuse-file-name): Remove.
6571 (tramp-gvfs-handle-file-notify-add-watch)
6572 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6573 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6575 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6576 Order alphabetically.
6577 [file-notify-rm-watch ]: Use default Tramp handler.
6578 [executable-find]: Remove private handler.
6579 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6580 `default-directory'.
6581 (tramp-sh-handle-executable-find)
6582 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6583 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6584 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6585 Do not use `format' in `tramp-message'.
6587 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6588 [file-notify-rm-watch, set-visited-file-modtime]:
6589 [verify-visited-file-modtime]: Add handler.
6590 (tramp-smb-call-winexe): Do not bind `default-directory'.
6592 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6594 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6596 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6598 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6600 (log-view-diff-changeset): Same.
6601 (log-view-diff-common): Call backend command `previous-revision'
6602 to find out the previous revision, in both cases. Swap the
6603 variables `to' and `fr', so that `fr' usually refers to the
6604 earlier revision (Bug#14989).
6606 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6608 * ibuf-ext.el (ibuffer-filter-by-filename):
6609 Make it work with dired buffers too.
6611 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6613 * emacs-lisp/re-builder.el (reb-color-display-p):
6614 * files.el (save-buffers-kill-terminal):
6615 * net/browse-url.el (browse-url):
6616 * server.el (server-save-buffers-kill-terminal):
6617 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6618 Prefer nil to selected-frame for the first arg of frame-parameter.
6620 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6622 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6624 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6626 * minibuffer.el (completion--twq-all): Try and preserve each
6627 completion's case choice (bug#14907).
6629 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6631 * net/network-stream.el (open-network-stream): Mention the new
6632 :nogreeting parameter.
6633 (network-stream-open-starttls): Use the :nogreeting parameter
6636 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6638 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6639 more natural than popping.
6641 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6642 (shr-urlify): Highlight under mouse.
6644 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6646 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6648 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6650 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6653 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6654 point-min==1. Fix search string. Fix parentheses missing.
6656 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6657 assume point-min==1. Fix search string. Fix parentheses missing.
6659 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6661 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6664 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6666 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6667 initial frame is minibuffer-less. (Bug#14841)
6669 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6671 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6674 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6675 (tramp-maybe-open-connection): Use it.
6677 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6679 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6680 minimal set of parameters passed when creating a frame, because
6681 the minibuffer status of a frame cannot be changed later.
6683 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6685 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6686 replace-regexp-in-string and inadvertent omissions in previous change.
6687 (todo-filter-items): Ensure only file names are comma-separated in
6688 name of filtered items buffer.
6690 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6692 * desktop.el: Optionally force offscreen frames back onscreen.
6693 (desktop-restoring-reuses-frames): New option.
6694 (desktop--compute-pos, desktop--move-onscreen): New functions.
6695 (desktop--make-frame): Use desktop--move-onscreen.
6697 2013-07-27 Alan Mackenzie <acm@muc.de>
6699 Fontify a Java generic method as a function.
6700 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6703 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6705 * calendar/todo-mode.el: Add command to rename todo files.
6706 (todo-rename-file): New command.
6707 (todo-key-bindings-t): Add key binding for it. Change the
6708 bindings of todo-filter-regexp-items(-multifile) to use `x'
6709 instead of `r', since the latter is better suited to the new
6712 2013-07-27 Alan Mackenzie <acm@muc.de>
6714 Make Java try-with-resources statement parse properly.
6715 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6716 (c-block-stmt-1-2-key): New language constants/variables.
6717 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6718 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6719 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6720 with c-block-stmt-1-2-key.
6722 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6724 * desktop.el (desktop--make-frame): Apply most frame parameters after
6725 creating the frame to force (partially or totally) offscreen frames to
6726 be restored as such.
6728 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6730 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6733 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6735 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6736 `base' arg of backtrace-frame.
6738 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6740 * simple.el (list-processes): Doc fix.
6742 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6744 * desktop.el (desktop--select-frame):
6745 Try harder to reuse existing frames.
6747 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6749 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6750 (edebug-eval): Use backtrace-eval.
6751 (edebug--display, edebug--recursive-edit): Don't let-bind the
6752 edebug-outer-* vars that keep track of variables we locally let-bind.
6753 (edebug-outside-excursion): Don't restore outside values of locally
6755 (edebug--display): Use user-error.
6756 (cl-lexical-debug, cl-debug-env): Remove.
6758 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6760 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6761 are restored to be sure that they are visible before deleting any
6764 2013-07-26 Matthias Meulien <orontee@gmail.com>
6766 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6767 vc-print-root-log. (Bug#14948)
6769 2013-07-26 Richard Stallman <rms@gnu.org>
6771 Add aliases for encrypting mail.
6772 * epa.el (epa-mail-aliases): New option.
6773 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6774 Bind inhibit-read-only so read-only text doesn't ruin everything.
6775 (epa-mail-default-recipients): New subroutine broken out.
6776 Handle epa-mail-aliases.
6778 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6780 Add support for lexical variables to the debugger's `e' command.
6781 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6782 vars, except for debugger-outer-match-data.
6783 (debugger-frame-number): Move check for "on a function call" from
6784 callers into it. Add `skip-base' argument.
6785 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6786 (debugger-env-macro): Only reset the state stored in non-variables,
6787 i.e. current-buffer and match-data.
6788 (debugger-eval-expression): Rewrite using backtrace-eval.
6789 * subr.el (internal--called-interactively-p--get-frame): Remove.
6790 (called-interactively-p):
6791 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6792 `base' arg of backtrace-frame instead.
6794 2013-07-26 Glenn Morris <rgm@gnu.org>
6796 * align.el (align-regexp): Doc fix. (Bug#14857)
6797 (align-region): Explicit error if subexpression missing/does not match.
6799 * simple.el (global-visual-line-mode):
6800 Do not duplicate the mode lighter. (Bug#14858)
6802 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6804 * window.el (display-buffer): In display-buffer bind
6805 split-window-keep-point to t, bug#14829.
6807 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6809 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6810 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6811 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6812 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6814 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6815 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6817 2013-07-25 Glenn Morris <rgm@gnu.org>
6819 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6821 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6823 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6824 parameter to modify-frame-parameters if the value has not changed;
6825 this is a workaround for bug#14949.
6826 (desktop--make-frame): On cl-delete-if call, check parameter name,
6829 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6831 * vc/vc.el (vc-ignore): New function.
6833 * vc/vc-svn.el (vc-svn-ignore): New function.
6835 * vc/vc-hg.el (vc-hg-ignore): New function.
6837 * vc/vc-git.el (vc-git-ignore): New function.
6839 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6840 (vc-dir-ignore): New function.
6842 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6843 (cvs-append-to-ignore): Move here from pcvs.el.
6845 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6847 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6849 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6851 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6852 (desktop-restore-frames): Warn when deleting an existing frame failed.
6854 2013-07-24 Glenn Morris <rgm@gnu.org>
6856 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6858 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6860 * filenotify.el (file-notify-supported-p):
6861 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6864 * autorevert.el (auto-revert-use-notify):
6865 (auto-revert-notify-add-watch):
6866 * net/tramp.el (tramp-file-name-for-operation):
6867 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6868 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6869 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6870 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6871 Remove `file-notify-supported-p' entry.
6873 2013-07-24 Glenn Morris <rgm@gnu.org>
6875 * printing.el: Replace all uses of deleted ps-windows-system,
6876 ps-lp-system, ps-flatten-list with lpr- versions.
6878 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6880 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6881 checked with memq (bug#14935).
6883 * files.el (revert-buffer-function): Use a non-nil default.
6884 (revert-buffer-preserve-modes): Declare var to
6885 provide access to the `preserve-modes' argument.
6886 (revert-buffer): Let-bind it.
6887 (revert-buffer--default): New function, extracted from revert-buffer.
6889 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6891 * lpr.el: Signal print errors more prominently.
6892 (print-region-function): Don't default to nil.
6893 (lpr-print-region): New function, extracted from print-region-1.
6894 Check lpr's return value and signal an error in case of problem.
6895 (print-region-1): Use it.
6896 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6898 (ps-printer-name): Default to nil.
6899 (ps-printer-name-option): Default to lpr-printer-switch.
6900 (ps-print-region-function): Don't default to nil.
6901 (ps-postscript-code-directory): Simplify default.
6902 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6903 (ps-string-list, ps-eval-switch, ps-flatten-list)
6904 (ps-flatten-list-1): Remove.
6905 (ps-multibyte-buffer): Avoid setq.
6906 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6907 (print-region-function, ps-print-region-function): Don't set them here.
6909 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6911 * ido.el (ido-fractionp):
6912 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6913 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6914 (ido-max-directory-size, ido-max-dir-file-cache)
6915 (ido-decorations): Doc fix.
6917 * ansi-color.el: Fix old URL.
6919 2013-07-23 Michael R. Mauger <michael@mauger.com>
6921 * progmodes/sql.el: Version 3.3
6922 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6923 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6924 (sql-interactive-remove-continuation-prompt): Rewrite, use
6925 functions above. Fix continuation prompt and complete output line
6927 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6928 redirected output buffer.
6929 (sql-mode): Restore deleted code (Bug#13591).
6931 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6933 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6935 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6937 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6939 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6940 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6941 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6943 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6945 * desktop.el (desktop-clear): Simplify; remove useless checks
6946 against invalid buffer names.
6947 (desktop-list*): Use cl-list*.
6948 (desktop-buffer-info, desktop-create-buffer): Simplify.
6950 2013-07-23 Leo Liu <sdl.web@gmail.com>
6952 * bookmark.el (bookmark-make-record): Restore NAME as a default
6955 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6957 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6958 extracted from autoload--insert-text.
6959 (autoload--insert-text): Remove.
6960 (autoload--print-cookie-text): New function, extracted from
6961 autoload--insert-cookie-text.
6962 (autoload--insert-cookie-text): Remove.
6963 (autoload-generate-file-autoloads): Adjust calls accordingly.
6965 * winner.el (winner-hook-installed-p): Remove.
6966 (winner-mode): Simplify accordingly.
6968 * subr.el (add-to-list): Fix compiler-macro when `append' is
6969 not constant. Don't use `cl-member' for the base case.
6971 * progmodes/subword.el: Fix boundary case (bug#13758).
6972 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6974 (subword-backward-regexp): Make it a constant.
6975 (subword-forward-internal): Don't treat a trailing capital as the
6976 beginning of a word.
6978 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6980 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6981 global value of tabulated-list-revert-hook (bug#14930).
6983 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6985 * desktop.el: Require 'cl-lib.
6986 (desktop-before-saving-frames-functions): New hook.
6987 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6988 for frames being saved. Rename from desktop--save-minibuffer-frames.
6989 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6990 Do not save frames with non-nil `desktop-dont-save' parameter.
6991 Filter out deleted frames.
6992 (desktop--find-frame): Use cl-find-if.
6993 (desktop--select-frame): Use cl-(first|second|third) to access values
6995 (desktop--make-frame): Use cl-delete-if.
6996 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6997 (desktop-restore-frames): Use cl-(first|second|third) to access values
6998 of desktop-mini. Look for visible frame at the end, not while
7001 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7002 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7003 Use string-match-p, looking-at-p (bug#14927).
7005 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7007 * desktop.el (desktop-saved-frame-states):
7008 Rename from desktop--saved-states; all users changed.
7009 (desktop-save-frames): Rename from desktop--save-frames.
7010 Do not save state to desktop file.
7011 (desktop-save): Save desktop-saved-frame-states to desktop file
7013 (desktop-restoring-frames-p): New function.
7014 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7015 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7016 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7018 * desktop.el: Correctly restore iconified frames.
7019 (desktop--filter-iconified-position): New function.
7020 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7022 2013-07-20 Glenn Morris <rgm@gnu.org>
7024 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7025 Let `message' do the formatting.
7026 (def-gdb-preempt-display-buffer): Add explicit format.
7028 * image-dired.el (image-dired-track-original-file):
7029 Use with-current-buffer.
7030 (image-dired-track-thumbnail): Use with-current-buffer.
7031 Avoid changing point of wrong window.
7033 * image-dired.el (image-dired-track-original-file):
7034 Avoid changing point of wrong window. (Bug#14909)
7036 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7038 * progmodes/gdb-mi.el (gdb-done-or-error):
7039 Guard against "%" in gdb output. (Bug#14127)
7041 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7043 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7046 * international/mule.el (coding-system-iso-2022-flags): Fix last
7049 2013-07-20 Kenichi Handa <handa@gnu.org>
7051 * international/mule.el (coding-system-iso-2022-flags):
7052 Add `8-bit-level-4'. (Bug#8522)
7054 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7056 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7059 * net/eww.el (eww-process-text-input): Allow inputting when the
7060 point is at the start of the line, as the properties aren't
7063 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7066 2013-07-19 Richard Stallman <rms@gnu.org>
7068 * epa.el (epa-popup-info-window): Doc fix.
7070 * subr.el (split-string): New arg TRIM.
7072 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7074 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7075 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7077 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7079 * filenotify.el (file-notify--library): Rename from
7080 `file-notify-support'. Do not autoload. Adapt all uses.
7081 (file-notify-supported-p): New defun.
7083 * autorevert.el (auto-revert-use-notify):
7084 Use `file-notify-supported-p' instead of `file-notify-support'.
7086 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7088 * net/tramp.el (tramp-file-name-for-operation):
7089 Add `file-notify-supported-p'.
7091 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7093 (tramp-sh-file-name-handler-alist): Add it as handler for
7094 `file-notify-supported-p '.
7096 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7097 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7098 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7099 Add `ignore' as handler for `file-notify-*' functions.
7101 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7103 * simple.el (line-move-partial, line-move): Don't start vscroll or
7104 scroll-up if the current line is not taller than the window.
7107 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7109 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7110 highlight question marks in the method names as strings.
7111 (ruby-block-beg-keywords): Inline.
7112 (ruby-font-lock-keyword-beg-re): Extract from
7113 `ruby-font-lock-keywords'.
7115 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7117 * frame.el (blink-cursor-blinks): New defcustom.
7118 (blink-cursor-blinks-done): New defvar.
7119 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7120 (blink-cursor-timer-function): Check if number of blinks has been
7122 (blink-cursor-suspend, blink-cursor-check): New defuns.
7124 2013-07-15 Glenn Morris <rgm@gnu.org>
7126 * edmacro.el (edmacro-format-keys): Fix previous change.
7128 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7130 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7131 The hack didn't work outside English locales anyway.
7133 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7135 * simple.el (define-alternatives): Rename from alternatives-define,
7136 per RMS' suggestion.
7138 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7140 * desktop.el (desktop-restore-frames): Change default to t.
7141 (desktop-restore-in-current-display): Now offer more options.
7142 (desktop-restoring-reuses-frames): New customization option.
7143 (desktop--saved-states): Doc fix.
7144 (desktop-filter-parameters-alist): New variable, renamed and expanded
7145 from desktop--excluded-frame-parameters.
7146 (desktop--target-display): New variable.
7147 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7148 (desktop--filter-tty*, desktop--filter-*-color)
7149 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7150 (desktop--filter-save-desktop-parm)
7151 (desktop-restore-in-original-display-p): New functions.
7152 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7153 (desktop--save-minibuffer-frames): New function, inspired by a similar
7154 function from Martin Rudalics.
7155 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7156 (desktop--restore-in-this-display-p): Remove.
7157 (desktop--find-frame): Rename from desktop--find-frame-in-display
7158 and add predicate argument.
7159 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7160 (desktop--reuse-list): New variable.
7161 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7163 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7165 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7167 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7169 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7171 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7172 Highlight conversion methods on Kernel.
7174 2013-07-13 Alan Mackenzie <acm@muc.de>
7176 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7177 and comment it out. This out-commenting enables certain C++
7178 declarations to be parsed correctly.
7180 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7182 * international/mule.el (define-coding-system): Doc fix.
7184 * simple.el (default-font-height): Don't call font-info if the
7185 frame's default font didn't change since the frame was created.
7188 2013-07-13 Leo Liu <sdl.web@gmail.com>
7190 * ido.el (ido-read-file-name): Guard against non-symbol value.
7192 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7194 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7197 2013-07-13 Leo Liu <sdl.web@gmail.com>
7199 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7200 ido-set-matches call. (Bug#6852)
7202 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7204 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7205 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7207 (ruby-font-lock-keywords): Distinguish calls to functions with
7208 module-like names from module references. Highlight character
7211 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7213 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7214 (gdb-send): Handle continued commands. (Bug#14847)
7216 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7218 * desktop.el (desktop--v2s): Remove unused local variable.
7219 (desktop-save-buffer): Make defvar-local; adjust docstring.
7220 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7221 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7223 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7225 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7227 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7229 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7232 2013-07-12 Glenn Morris <rgm@gnu.org>
7234 * doc-view.el: Require cl-lib at runtime too.
7235 (doc-view-remove-if): Remove.
7236 (doc-view-search-next-match, doc-view-search-previous-match):
7239 * edmacro.el: Require cl-lib at runtime too.
7240 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7241 (edmacro-mismatch, edmacro-subseq): Remove.
7243 * shadowfile.el: Require cl-lib.
7244 (shadow-remove-if): Remove.
7245 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7248 * wid-edit.el: Require cl-lib.
7249 (widget-choose): Use cl-remove-if.
7250 (widget-remove-if): Remove.
7252 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7253 (ebrowse-delete-if-not): Remove.
7254 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7255 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7256 Use cl-delete-if-not.
7258 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7260 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7261 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7263 2013-07-12 Leo Liu <sdl.web@gmail.com>
7265 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7267 2013-07-11 Glenn Morris <rgm@gnu.org>
7269 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7270 (edebug-gensym-index, edebug-gensym):
7271 Remove reimplementation of cl-gensym.
7272 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7274 * thumbs.el: Require cl-lib at run-time too.
7275 (thumbs-gensym-counter, thumbs-gensym):
7276 Remove reimplementation of cl-gensym.
7277 (thumbs-temp-file): Use cl-gensym.
7279 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7280 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7281 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7282 (ert--union, ert--gensym-counter, ert--gensym-counter)
7283 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7284 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7285 (ert-make-test-unbound, ert--expand-should-1)
7286 (ert--expand-should, ert--should-error-handle-error)
7287 (should-error, ert--explain-equal-rec)
7288 (ert--plist-difference-explanation, ert-select-tests)
7289 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7290 Use cl-lib functions rather than reimplementations.
7292 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7294 * net/tramp.el (tramp-methods): Extend docstring.
7295 (tramp-connection-timeout): New defcustom.
7296 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7297 (with-tramp-progress-reporter): Simplify.
7298 (tramp-process-actions): Improve messages.
7300 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7301 * net/tramp-sh.el (tramp-maybe-open-connection):
7302 Use `tramp-connection-timeout'.
7303 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7306 2013-07-11 Leo Liu <sdl.web@gmail.com>
7308 * ido.el (ido-read-file-name): Conform to the requirements of
7309 read-file-name. (Bug#11861)
7310 (ido-read-directory-name): Conform to the requirements of
7311 read-directory-name.
7313 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7315 * subr.el (delay-warning): New function.
7317 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7319 * simple.el (default-line-height): New function.
7320 (line-move-partial, line-move): Use it instead of computing the
7322 (line-move-partial): Always compute ROWH. If the last line is
7323 partially-visible, but its text is completely visible, allow
7324 cursor to enter such a partially-visible line.
7326 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7328 Improve error messages. (Bug#14808)
7330 * net/tramp.el (tramp-current-connection): New defvar, moved from
7332 (tramp-message-show-progress-reporter-message): Remove, not
7334 (tramp-error-with-buffer): Show message in minibuffer.
7335 Discard input before waiting. Reset connection timestamp.
7336 (with-tramp-progress-reporter): Improve messages.
7337 (tramp-process-actions): Use progress reporter. Delete process in
7338 case of error. Improve messages.
7340 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7341 Call `tramp-error-with-buffer' with vector and buffer.
7342 (tramp-current-connection): Remove.
7343 (tramp-maybe-open-connection): The car of
7344 `tramp-current-connection' are the first 3 slots of the vector.
7346 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7348 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7349 inside continued strings.
7351 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7353 Timestamp fixes for undo (Bug#14824).
7354 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7356 2013-07-10 Leo Liu <sdl.web@gmail.com>
7358 * files.el (require-final-newline): Allow safe local value.
7361 2013-07-09 Leo Liu <sdl.web@gmail.com>
7363 * ido.el (ido-read-directory-name): Handle fallback.
7364 (ido-read-file-name): Update DIR to ido-current-directory.
7366 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7368 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7370 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7371 "autoload". Remove "warn lower camel case" section, previously
7372 commented out. Highlight negation char. Do not highlight the
7373 target in singleton method definitions.
7375 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7377 * faces.el (tty-setup-hook): Declare the hook.
7379 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7380 and detect when a guard/pred depends on local vars (bug#14773).
7381 (pcase--u1): Adjust caller.
7383 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7385 * simple.el (line-move-partial, line-move): Account for
7387 (line-move-partial): Avoid setting vscroll when the last
7388 partially-visible line in window is of default height.
7390 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7392 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7395 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7397 * subr.el (read-quoted-char): Remove unused local variable `char'.
7399 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7401 * ediff.el (ediff-version): Version update.
7402 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7403 (ediff-merge-with-ancestor-command, ediff-directories-command)
7404 (ediff-directories3-command, ediff-merge-directories-command)
7405 (ediff-merge-directories-with-ancestor-command): New functions.
7406 All are command-line interfaces to ediff: to facilitate calling
7407 Emacs with the appropriate ediff functions invoked.
7409 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7410 (viper-save-kill-buffer): Check if buffer is modified.
7412 * viper.el (viper-version): Version update.
7413 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7415 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7417 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7418 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7419 (viper-intercept-ESC-key): Simplify.
7420 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7421 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7422 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7423 (viper-setup-ESC-to-escape): New functions.
7424 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7425 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7427 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7429 * simple.el (default-font-height, window-screen-lines):
7431 (line-move, line-move-partial): Use them instead of
7432 frame-char-height and window-text-height. This makes scrolling
7433 text smoother when the buffer's default face uses a font that is
7434 different from the frame's default font.
7436 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7438 * files.el (write-file): Do not display confirm dialog for NS,
7439 it does its own dialog, which can't be canceled (Bug#14578).
7441 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7443 * simple.el (line-move-partial): Adjust the row returned by
7444 posn-at-point for the current window-vscroll. (Bug#14567)
7446 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7448 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7449 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7452 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7454 * window.el (window-state-put-stale-windows): New variable.
7455 (window--state-put-2): Save list of windows without matching buffer.
7456 (window-state-put): Remove "bufferless" windows if possible.
7458 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7460 * simple.el (alternatives-define): Remove leftover :group keyword.
7463 2013-07-06 Leo Liu <sdl.web@gmail.com>
7465 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7466 (ido-enable-virtual-buffers): New variable.
7467 (ido-buffer-internal, ido-toggle-virtual-buffers)
7468 (ido-make-buffer-list): Use it.
7469 (ido-exhibit): Support turning on and off virtual buffers
7472 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7474 * simple.el (alternatives-define): New macro.
7476 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7478 * subr.el (read-quoted-char): Use read-key.
7479 (sit-for): Let read-event decode tty input (bug#14782).
7481 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7483 * calendar/todo-mode.el: Add handling of file deletion, both by
7484 mode command and externally. Fix various related bugs.
7485 Clarify Commentary and improve some documentation strings and code.
7486 (todo-delete-file): New command.
7487 (todo-check-file): New function.
7488 (todo-show): Handle external deletion of the file we're trying to
7489 show (bug#14688). Replace called-interactively-p by an optional
7490 prefix argument to avoid problematic interaction with catch form
7491 when byte compiled (bug#14702).
7492 (todo-quit): Handle external deletion of the archive's todo file.
7493 Make sure the buffer that was visiting the archive file is still
7494 live before trying to bury it.
7495 (todo-category-completions): Handle external deletion of any
7496 category completion files.
7497 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7498 of todo files, in case of external deletion.
7499 (todo-add-file): Replace unnecessary setq by let-binding.
7500 (todo-find-archive): Check whether there are any archives.
7501 Replace unnecessary setq by let-binding.
7502 (todo-archive-done-item): Use find-file-noselect to get the
7503 archive buffer whether or not the archive already exists.
7504 Remove superfluous code. Use file size instead of buffer-file-name to
7505 check if the archive is new; if it is, update list of archives.
7506 (todo-default-todo-file): Allow nil to be a valid value for when
7507 there are no todo files.
7508 (todo-reevaluate-default-file-defcustom): Use corrected definition
7509 of todo-default-todo-file.
7510 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7511 (todo-delete-category, todo-show-categories-table)
7512 (todo-category-number): Clarify comment.
7513 (todo-filter-items): Clarify documentation string.
7514 (todo-show-current-file, todo-display-as-todo-file)
7515 (todo-reset-and-enable-done-separator): Tweak documentation string.
7516 (todo-done-separator): Make separator length window-width, since
7517 bug#2749 is now fixed.
7519 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7521 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7522 Support both "gvfs-monitor-dir" and "inotifywait".
7523 (tramp-sh-file-inotifywait-process-filter): Rename from
7524 `tramp-sh-file-notify-process-filter'.
7525 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7526 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7528 2013-07-05 Leo Liu <sdl.web@gmail.com>
7530 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7532 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7534 * frame.el (display-pixel-height, display-pixel-width)
7535 (display-mm-height, display-mm-width): Mention behavior on
7536 multi-monitor setups in docstrings.
7537 (w32-display-monitor-attributes-list): Declare function.
7538 (display-monitor-attributes-list): Use it.
7540 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7542 * filenotify.el: New package.
7544 * autorevert.el (top): Require filenotify.el.
7545 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7547 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7548 (auto-revert-notify-handler): Use `file-notify-*' functions.
7550 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7552 * net/tramp.el (tramp-file-name-for-operation):
7553 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7555 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7556 for `file-notify-add-watch' and `file-notify-rm-watch'.
7557 (tramp-process-sentinel): Improve trace.
7558 (tramp-sh-handle-file-notify-add-watch)
7559 (tramp-sh-file-notify-process-filter)
7560 (tramp-sh-handle-file-notify-rm-watch)
7561 (tramp-get-remote-inotifywait): New defuns.
7563 2013-07-03 Juri Linkov <juri@jurta.org>
7565 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7566 call of `occur-read-primary-args' to interactive spec.
7568 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7569 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7571 2013-07-03 Matthias Meulien <orontee@gmail.com>
7573 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7574 `Buffer-menu-multi-occur'. Add it to the menu.
7575 (Buffer-menu-mode): Document it in docstring.
7576 (Buffer-menu-multi-occur): New command. (Bug#14673)
7578 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7580 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7581 keywords and built-ins.
7583 2013-07-03 Glenn Morris <rgm@gnu.org>
7585 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7587 Make info-xref checks case-sensitive by default
7588 * info.el (Info-find-node, Info-find-in-tag-table)
7589 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7590 Add option for exact case matching of nodes.
7591 * info-xref.el (info-xref): New custom group.
7592 (info-xref-case-fold): New option.
7593 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7595 2013-07-03 Leo Liu <sdl.web@gmail.com>
7597 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7599 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7601 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7602 middle of block statement initially, lower the depth. Remove
7603 FIXME comment, not longer valid. Remove middle of block statement
7604 detection, no need to do that anymore since we've been using
7605 `ruby-parse-region' here.
7607 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7609 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7611 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7613 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7615 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7617 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7618 (desktop-restore-in-current-display): New customization option.
7619 (desktop--excluded-frame-parameters): Add `font'.
7620 (desktop--save-frames): Rename from desktop--save-windows.
7621 (desktop--restore-in-this-display-p): New function.
7622 (desktop--make-full-frame): Remove unwanted width/height from
7623 full(width|height) frames.
7624 (desktop--restore-frames): Rename from desktop--restore-windows.
7625 Obey desktop-restore-current-display. Do not delete old frames or
7626 select a new frame unless we were able to restore at least one frame.
7628 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7630 * files.el (find-file-noselect): Simplify conditional expression.
7632 * textmodes/remember.el (remember-append-to-file):
7633 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7635 Add `remember-notes' function to store random notes across Emacs
7637 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7638 notes buffer (if any).
7639 (remember-notes): New command.
7640 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7641 New defcustoms for the `remember-notes' function.
7642 (remember-notes-save-and-bury-buffer): New command.
7643 (remember-notes-mode-map): New variable.
7644 (remember-mode): New minor mode.
7645 (remember-notes--kill-buffer-query): New function.
7646 * startup.el (initial-buffer-choice): Add notes to custom type.
7648 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7650 * bindings.el (right-char, left-char): Don't call sit-for, this is
7651 no longer needed. Use arithmetic comparison only for numerical
7654 * international/mule-cmds.el (select-safe-coding-system):
7655 Handle the case of FROM being a string correctly. (Bug#14755)
7657 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7659 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7660 progression on degenerate tables.
7661 (shr-rescale-image): ImageMagick animated images currently don't work.
7663 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7665 Some fixes and improvements for desktop frame restoration.
7666 It is still experimental and disabled by default.
7667 * desktop.el (desktop--save-windows): Put the selected frame at
7668 the head of the list.
7669 (desktop--make-full-frame): New function.
7670 (desktop--restore-windows): Try to re-select the frame that was
7671 selected upon saving. Do not abort if some frames fail to restore,
7672 just show an error message and continue. Set up maximized frames
7673 so they have default non-maximized dimensions.
7675 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7677 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7678 Don't start heredoc inside a string or comment.
7680 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7682 * bindings.el (visual-order-cursor-movement): New defcustom.
7683 (right-char, left-char): Provide visual-order cursor motion by
7684 calling move-point-visually. Update the doc strings.
7686 2013-06-28 Kenichi Handa <handa@gnu.org>
7688 * international/mule.el (define-coding-system): New coding system
7689 properties :inhibit-null-byte-detection,
7690 :inhibit-iso-escape-detection, and :prefer-utf-8.
7691 (set-buffer-file-coding-system): If :charset-list property of
7692 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7693 appropriate for setting.
7695 * international/mule-cmds.el (select-safe-coding-system):
7696 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7697 multibyte characters, return utf-8 (or one of its siblings).
7699 * international/mule-conf.el (prefer-utf-8): New coding system.
7700 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7703 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7705 * net/shr.el (shr-render-region): New function.
7707 * net/eww.el: Autoload `eww-browse-url'.
7709 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7711 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7712 Adapt to `package-desc-version' being a list.
7713 Use `package--ac-desc-version' to retrieve version from a package
7716 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7718 New experimental feature to save&restore window and frame setup.
7719 * desktop.el (desktop-save-windows): New defcustom.
7720 (desktop--saved-states): New var.
7721 (desktop--excluded-frame-parameters): New defconst.
7722 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7723 (desktop--restore-windows, desktop--save-windows): New functions.
7724 (desktop-save): Call `desktop--save-windows'.
7725 (desktop-read): Call `desktop--restore-windows'.
7727 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7729 * net/shr.el (add-face-text-property): Remove compat definition.
7731 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7733 * info.el (Info-try-follow-nearest-node): Move search for footnote
7734 above search for node name to prevent missing a footnote (bug#14717).
7736 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7738 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7740 2013-06-27 Leo Liu <sdl.web@gmail.com>
7742 * net/eww.el (eww-read-bookmarks): Check file size.
7744 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7746 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7747 advice--pending if newdef is nil or an autoload (bug#13820).
7748 (advice-mapc): New function.
7750 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7752 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7754 (eww-mode-map): Add a menu bar.
7755 (eww-add-bookmark): New command.
7756 (eww-bookmark-mode): New mode and commands.
7757 (eww-add-bookmark): Remove newlines from the title.
7758 (eww-bookmark-browse): Don't bug out if it's the only window.
7760 2013-06-26 Glenn Morris <rgm@gnu.org>
7762 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7763 (hfy-size): Handle ttys. (Bug#14668)
7765 * info-xref.el: Update for Texinfo 5 change in *note format.
7766 (info-xref-node-re, info-xref-note-re): New constants.
7767 (info-xref-check-buffer): Use info-xref-note-re.
7769 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7771 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7773 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7774 nil terminate the loop (bug#14718).
7776 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7778 * net/eww.el: Rework history traversal. When going forward/back,
7779 put these actions into the history, too, so that they can be
7781 (eww-render): Move the history reset to the correct buffer.
7783 2013-06-25 Juri Linkov <juri@jurta.org>
7785 * files-x.el (modify-dir-local-variable): Change the header comment
7786 in the file with directory local variables. (Bug#14692)
7788 * files-x.el (read-file-local-variable-value): Add `default'.
7791 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7793 * net/eww.el (eww-make-unique-file-name): Create a unique file
7794 name before saving to entering `y' accidentally asynchronously.
7796 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7798 * net/eww.el (eww-download): New command and keystroke.
7800 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7802 * net/eww.el (eww-copy-page-url): Change name of command.
7804 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7805 be more consistent with Info and dired.
7807 * net/eww.el (eww-mode-map): Ditto.
7809 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7811 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7812 packages from archives.
7813 (package-archive-contents): Change format; include obsolete packages.
7814 (package-desc): Use `dir' to mark builtin packages.
7815 (package--from-builtin): Set the `dir' field to `builtin'.
7816 (generated-autoload-file, version-control): Declare.
7817 (package-compute-transaction): Change first arg and return value to be
7818 lists of package-descs. Adjust to new package-archive-contents format.
7819 (package--add-to-archive-contents): Adjust to new
7820 package-archive-contents format.
7821 (package-download-transaction): Arg is now a list of package-descs.
7822 (package-install): If `pkg' is a package name, pass it as
7823 a requirement, so it is subject to the usual (e.g. disabled) checks.
7824 (describe-package): Accept package-desc as well.
7825 (describe-package-1): Describe a specific package-desc. Add links to
7826 other package-descs for the same package name.
7827 (package-menu-describe-package): Pass the actual package-desc.
7828 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7830 (package-desc-status): New function.
7831 (package-menu--refresh): New function, extracted
7832 from package-menu--generate.
7833 (package-menu--generate): Use it.
7834 (package-delete): Update package-alist.
7835 (package-menu-execute): Don't call package-initialize.
7837 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7838 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7839 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7840 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7841 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7842 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7844 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7846 * window.el (window--state-get-1): Workaround for bug#14527.
7847 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7849 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7851 * net/eww.el (eww-back-url): Implement the history by stashing all
7852 the data into a list.
7853 (eww-forward-url): Allow going forward in the history, too.
7855 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7857 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7858 for values and use read--expression for expressions (bug#14710).
7859 (read-file-local-variable): Avoid setq.
7860 (read-file-local-variable-mode): Use minor-mode-list.
7862 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7864 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7867 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7869 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7870 Update imenu-support when dialect changes.
7872 2013-06-25 Leo Liu <sdl.web@gmail.com>
7874 * ido.el (ido-read-internal): Allow forward slash on windows.
7876 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7878 * net/eww.el (eww): Start of strings is \\`, not ^.
7880 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7882 * net/shr.el (shr-browse-url): Fix interactive spec.
7884 * net/eww.el (eww): Add a trailing slash to domain names.
7886 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7888 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7890 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7892 * net/shr.el (shr-browse-url): Use an external browser if given a
7895 * net/eww.el (eww-external-browser): Move to shr.
7897 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7899 * net/eww.el (eww): Work more correctly for file: URLs.
7900 (eww-detect-charset): Allow quoted charsets.
7901 (eww-yank-page-url): New command and keystroke.
7903 2013-06-24 Daiki Ueno <ueno@gnu.org>
7905 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7906 file name of gpg executable.
7907 (epg-context-program): New function.
7908 (epg-context-home-directory): New function.
7909 (epg-context-set-program): New function.
7910 (epg-context-set-home-directory): New function.
7911 (epg--start): Use `epg-context-program' instead of
7913 (epg--list-keys-1): Likewise.
7915 2013-06-24 Leo Liu <sdl.web@gmail.com>
7917 * ido.el (ido-read-internal): Fix bug#14620.
7919 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7921 * faces.el (face-documentation): Simplify.
7922 (read-face-attribute, tty-find-type, x-resolve-font-name):
7923 Use `string-match-p'.
7924 (list-faces-display): Use `string-match-p'. Simplify.
7925 (face-spec-recalc): Check face to avoid face alias loops.
7926 (read-color): Use `string-match-p' and non-capturing parenthesis.
7928 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7930 * net/shr.el (shr-rescale-image): Use the new
7931 :max-width/:max-height functionality.
7933 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7935 * net/eww.el (eww-search-prefix): New variable.
7937 (eww-external-browser): New variable.
7938 (eww-mode-map): New keystroke.
7939 (eww-browse-with-external-browser): New command.
7941 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7943 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7945 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7946 Don't skip aligning the next header field when padding is 0;
7947 otherwise, field width is not respected unless the title is as
7950 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7952 * emacs-lisp/package.el (package-el-version): Remove.
7953 (package-process-define-package): Fix inf-loop.
7954 (package-install): Allow symbols as arguments again.
7956 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7958 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7959 add some more keyword-like methods.
7960 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7962 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7964 * bs.el (bs-buffer-show-mark): Make defvar-local.
7965 (bs-mode): Use setq-local.
7967 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7968 (emacs-lock--try-unlocking): Make defvar-local.
7970 2013-06-22 Glenn Morris <rgm@gnu.org>
7972 * play/cookie1.el (cookie-apropos): Minor simplification.
7974 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7976 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7978 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7979 `regexp-opt', it breaks the build during dumping.
7981 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7983 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7984 Highlight keyword-like methods on Kernel and Module with
7985 font-lock-builtin-face.
7986 (auto-mode-alist): Consolidate different entries into one regexp
7987 and add more *file-s.
7989 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7991 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7993 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7994 (diary-entry): Use it in the action of this button type instead of
7997 * calendar/todo-mode.el: New version.
7998 (todo-add-category): Append new category to end of file and give
7999 it the highest number, instead of putting it at the beginning and
8000 giving it 0. Incorporate noninteractive functionality.
8001 (todo-forward-category): Adapt to 1-based category numbering.
8002 Allow skipping over archived categories.
8003 (todo-backward-category): Derive from todo-forward-category.
8004 (todo-backward-item, todo-forward-item): Make noninteractive and
8005 delegate interactive part to new commands. Make sensitive to done items.
8006 (todo-categories): Make value an alist of category names and
8007 vectors of item counts.
8008 (todo-category-beg): Make a defconst.
8009 (todo-category-number): Use 1 instead of 0 as initial value.
8010 (todo-category-select): Make sensitive to overlays, optional item
8011 highlighting and done items.
8012 (todo-delete-item): Make sensitive to overlays and marked and done items.
8013 (todo-edit-item): Make sensitive to overlays and editing of
8014 date/time header optional. Add format checks.
8015 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8016 no-op if point is not on an item. Advertise using todo-edit-quit.
8017 (todo-edit-mode): Make sensitive to new format, font-locking, and
8018 multiple todo files.
8019 (todo-insert-item, todo-insert-item-here): Derive from
8020 todo-basic-insert-item and extend functionality.
8021 (todo-item-end, todo-item-start): Make sensitive to done items.
8022 (todo-item-string): Don't return text properties. Restore point.
8023 (todo-jump-to-category): Make sensitive to multiple todo files and
8024 todo archives. Use extended category completion.
8025 (todo-lower-item, todo-raise-item): Rename to *-priority and
8026 derive from todo-set-item-priority.
8027 (todo-mode): Derive from special-mode. Make sensitive to new
8028 format, font-locking and multiple todo files. Make read-only.
8029 (todo-mode-map): Don't suppress digit keys, so they can supply
8030 prefix arguments. Add many new key bindings.
8031 (todo-prefix): Insert as an overlay instead of file text.
8032 Change semantics from diary date expression to purely visual mark.
8033 (todo-print): Rename to todo-print-buffer. Make buffer display
8034 features printable. Remove option to restrict number of items
8035 printed. Add option to print to file.
8036 (todo-print-function): Rename to todo-print-buffer-function.
8037 (todo-quit): Extend to handle exiting new todo modes.
8038 (todo-remove-item): Make sensitive to overlays.
8039 (todo-save): Extend to buffers of filtered items.
8040 (todo-show): Make sensitive to done items, multiple todo files and
8041 new todo modes. Offer to convert legacy todo file before creating
8042 first new todo file.
8043 (todo-show-priorities): Rename to todo-top-priorities.
8044 Change semantics of value 0.
8045 (todo-top-priorities): Rename to todo-filter-top-priorities,
8046 derive from todo-filter-items and extend functionality.
8047 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8048 and extend functionality to other types of filtered items.
8049 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8050 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8051 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8052 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8053 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8054 (todo-edit-mode-hook, todo-entry-prefix-function)
8055 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8056 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8057 (todo-initials, todo-insert-threshold, todo-item-string-start)
8058 (todo-line-string, todo-menu, todo-mode-hook)
8059 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8060 (todo-print-priorities, todo-remove-separator)
8061 (todo-save-top-priorities-too, todo-string-count-lines)
8062 (todo-string-multiline-p, todo-time-string-format)
8063 (todo-tmp-buffer-name): Remove.
8064 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8065 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8066 (todo-edit-category-diary-inclusion)
8067 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8068 (todo-edit-file, todo-edit-item-date-day)
8069 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8070 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8071 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8072 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8073 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8074 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8075 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8076 (todo-filter-top-priorities-multifile, todo-find-archive)
8077 (todo-find-filtered-items-file, todo-go-to-source-item)
8078 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8079 (todo-jump-to-archive-category, todo-lower-category)
8080 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8081 (todo-move-category, todo-move-item, todo-next-button)
8082 (todo-next-item, todo-padded-string, todo-powerset)
8083 (todo-previous-button, todo-previous-item)
8084 (todo-print-buffer-to-file, todo-raise-category)
8085 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8086 (todo-set-category-number, todo-set-item-priority)
8087 (todo-set-top-priorities-in-category)
8088 (todo-set-top-priorities-in-file, todo-show-categories-table)
8089 (todo-sort-categories-alphabetically-or-numerically)
8090 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8091 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8092 (todo-toggle-item-header, todo-toggle-item-highlighting)
8093 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8094 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8095 (todo-unarchive-items, todo-unmark-category): New commands.
8096 (todo-absolute-file-name, todo-add-to-buffer-list)
8097 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8098 (todo-basic-insert-item, todo-category-completions)
8099 (todo-category-number, todo-category-string-matcher-1)
8100 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8101 (todo-check-format, todo-clear-matches)
8102 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8103 (todo-current-category, todo-date-string-matcher)
8104 (todo-define-insertion-command, todo-diary-expired-matcher)
8105 (todo-diary-goto-entry, todo-diary-item-p)
8106 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8107 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8108 (todo-done-item-section-p, todo-done-separator)
8109 (todo-done-string-matcher, todo-files, todo-filter-items)
8110 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8111 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8112 (todo-insert-category-line, todo-insert-item-from-calendar)
8113 (todo-insert-sort-button, todo-insert-with-overlays)
8114 (todo-insertion-command-name, todo-insertion-key-bindings)
8115 (todo-label-to-key, todo-longest-category-name-length)
8116 (todo-make-categories-list, todo-mode-external-set)
8117 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8118 (todo-modes-set-3, todo-multiple-filter-files)
8119 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8120 (todo-read-category, todo-read-date, todo-read-dayname)
8121 (todo-read-file-name, todo-read-time)
8122 (todo-reevaluate-category-completions-files-defcustom)
8123 (todo-reevaluate-default-file-defcustom)
8124 (todo-reevaluate-filelist-defcustoms)
8125 (todo-reevaluate-filter-files-defcustom)
8126 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8127 (todo-reset-done-separator, todo-reset-done-separator-string)
8128 (todo-reset-done-string, todo-reset-global-current-todo-file)
8129 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8130 (todo-reset-prefix, todo-set-categories)
8131 (todo-set-date-from-calendar, todo-set-show-current-file)
8132 (todo-set-top-priorities, todo-short-file-name)
8133 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8134 (todo-total-item-counts, todo-update-buffer-list)
8135 (todo-update-categories-display, todo-update-categories-sexp)
8136 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8138 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8140 (todo-categories, todo-display, todo-edit, todo-faces)
8141 (todo-filtered): New defgroups.
8142 (todo-archived-only, todo-button, todo-category-string, todo-date)
8143 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8144 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8145 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8146 (todo-add-item-if-new-category, todo-always-add-time-string)
8147 (todo-categories-align, todo-categories-archived-label)
8148 (todo-categories-category-label, todo-categories-diary-label)
8149 (todo-categories-done-label, todo-categories-number-separator)
8150 (todo-categories-todo-label, todo-categories-totals-label)
8151 (todo-category-completions-files, todo-completion-ignore-case)
8152 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8153 (todo-done-separator-string, todo-done-string)
8154 (todo-files-function, todo-filter-done-items, todo-filter-files)
8155 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8156 (todo-initial-category, todo-initial-file, todo-item-mark)
8157 (todo-legacy-date-time-regexp, todo-mode-line-function)
8158 (todo-nondiary-marker, todo-number-prefix)
8159 (todo-print-buffer-function, todo-show-current-file)
8160 (todo-show-done-only, todo-show-first, todo-show-with-done)
8161 (todo-skip-archived-categories, todo-top-priorities-overrides)
8162 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8163 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8165 (todo-category-done, todo-date-pattern, todo-date-string-start)
8166 (todo-diary-items-buffer, todo-done-string-start)
8167 (todo-filtered-items-buffer, todo-item-start)
8168 (todo-month-abbrev-array, todo-month-name-array)
8169 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8170 (todo-top-priorities-buffer): New defconsts.
8171 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8172 (todo-categories-with-marks, todo-category-string-face)
8173 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8174 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8175 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8176 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8177 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8178 (todo-font-lock-keywords, todo-global-current-todo-file)
8179 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8180 (todo-insertion-commands-args)
8181 (todo-insertion-commands-args-genlist)
8182 (todo-insertion-commands-names, todo-insertion-map)
8183 (todo-key-bindings-t, todo-key-bindings-t+a)
8184 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8185 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8186 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8187 (todo-visited): New variables.
8189 2013-06-21 Glenn Morris <rgm@gnu.org>
8191 * play/cookie1.el (cookie-apropos): Add optional display argument.
8192 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8193 (psychoanalyze-pinhead): Use cookie-doctor.
8195 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8197 * emacs-lisp/package.el (tar-get-file-descriptor)
8198 (tar--extract): Declare.
8200 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8202 Extend flymake's warning predicate to be a function (bug#14217).
8203 * progmodes/flymake.el (flymake-warning-predicate): New.
8204 (flymake-parse-line): Use it.
8205 (flymake-warning-re): Make obsolete alias to
8206 `flymake-warning-predicate'.
8208 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8210 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8211 (package-obsolete-list): Remove.
8212 (package-activate): Remove min-version argument. Add `force' argument.
8213 Adjust to new package-alist format.
8214 (package-mark-obsolete): Remove.
8215 (package-unpack): Force reload of the package's autoloads.
8216 (package-installed-p): Check builtins if the installed package is not
8218 (package-initialize): Don't reset package-obsolete-list.
8219 Don't specify which package version to activate.
8220 (package-process-define-package, describe-package-1)
8221 (package-menu--generate): Adjust to new package-alist format.
8223 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8225 * allout-widgets.el (allout-widgets-mode-off)
8226 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8227 (allout-widgets-post-command-business)
8228 (allout-widgets-after-copy-or-kill-function)
8229 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8230 (allout-decorate-item-and-context)
8231 (allout-graphics-modification-handler): Fix typos in docstrings.
8232 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8234 * cmuscheme.el (scheme-start-file): Doc fix.
8235 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8236 (scheme-input-filter): Use `string-match-p'.
8238 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8240 * dired-x.el: Use Dired consistently in docstrings.
8242 * dired.el: Use Dired consistently in docstrings.
8243 (dired-readin, dired-mode): Use `setq-local'.
8244 (dired-switches-alist): Make defvar-local.
8245 (dired-buffers-for-dir): Use `zerop'.
8246 (dired-safe-switches-p, dired-switches-escape-p)
8247 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8248 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8249 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8250 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8251 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8252 (dired-toggle-marks, dired-mark-files-containing-regexp)
8253 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8254 (dired-flag-auto-save-files, dired-flag-backup-files):
8256 (dired-mark-files-regexp, dired-build-subdir-alist):
8257 Use `string-match-p', `looking-at-p'.
8259 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8260 (direct-print-region-helper): Use `string-match-p'.
8262 2013-06-21 Leo Liu <sdl.web@gmail.com>
8264 * comint.el (comint-redirect-results-list-from-process):
8267 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8269 * net/eww.el (eww-update-header-line-format): Quote % characters.
8271 2013-06-21 Glenn Morris <rgm@gnu.org>
8273 * play/cookie1.el (cookie): New custom group.
8274 (cookie-file): New option.
8275 (cookie-check-file): New function.
8276 (cookie): Make it interactive. Make start and end messages optional.
8277 Interactively, display the result. Default to cookie-file.
8278 (cookie-insert): Default to cookie-file.
8279 (cookie-snarf): Make start and end messages optional.
8280 Default to cookie-file. Use with-temp-buffer.
8281 (cookie-read): Rename from read-cookie.
8282 Make start and end messages optional. Default to cookie-file.
8283 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8285 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8286 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8288 2013-06-21 Leo Liu <sdl.web@gmail.com>
8290 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8292 2013-06-21 Glenn Morris <rgm@gnu.org>
8294 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8296 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8297 Daniel Hackney <dan@haxney.org>
8299 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8300 Consolidate the single-file vs tarball code.
8301 (package-desc-suffix): New function.
8302 (package-desc-full-name): Don't bother inlining it.
8303 (package-load-descriptor): Return the new package-desc.
8304 (package-mark-obsolete): Remove unused arg `package'.
8305 (package-unpack): Make it work for single files as well.
8306 Make it update package-alist.
8307 (package--make-autoloads-and-stuff): Rename from
8308 package--make-autoloads-and-compile. Don't compile any more.
8309 (package--compile): New function.
8310 (package-generate-description-file): New function, extracted from
8311 package-unpack-single.
8312 (package-unpack-single): Remove.
8313 (package--with-work-buffer): Add indentation and debugging info.
8314 (package-download-single): Remove.
8315 (package-install-from-archive): Rename from package-download-tar, make
8316 it take a pkg-desc, and make it work for single files as well.
8317 (package-download-transaction): Simplify.
8318 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8319 external tar program.
8320 (package-install-from-buffer): Remove `pkg-desc' argument.
8321 Use package-tar-file-info for tar-mode buffers.
8322 (package-install-file): Simplify accordingly.
8323 (package-archive-base): Change to take a pkg-desc.
8324 * tar-mode.el (tar--check-descriptor): New function, extracted from
8326 (tar-get-descriptor): Use it.
8327 (tar-get-file-descriptor): New function.
8328 (tar--extract): New function, extracted from tar-extract.
8329 (tar--extract): Use it.
8330 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8331 case the summary uses non-ascii. Adjust to new calling convention of
8332 package-tar-file-info.
8334 2013-06-21 Leo Liu <sdl.web@gmail.com>
8336 * comint.el (comint-redirect-results-list-from-process):
8337 Fix random delay. (Bug#14681)
8339 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8341 * profiler.el (profiler-format-number): Use log, not log10.
8343 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8345 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8347 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8349 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8350 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8352 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8353 (AUTOGENEL): ... here.
8354 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8355 (cl--defsubst-expand): Use it.
8357 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8359 * subr.el (log10): Move here from C code, and declare as obsolete.
8360 All uses of (log10 X) replaced with (log X 10).
8362 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8364 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8365 Declare with `defvar-local'.
8366 (tabulated-list-use-header-line, tabulated-list-entries)
8367 (tabulated-list-padding, tabulated-list-printer)
8368 (tabulated-list-sort-key): Declare with `defvar-local'.
8369 (tabulated-list-init-header, tabulated-list-print-fake-header):
8372 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8374 * arc-mode.el (archive-mode): Add `archive-write-file' to
8375 `write-contents-functions' also for remote files. (Bug#14652)
8377 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8379 * cus-edit.el (custom-commands): Fix typos.
8380 (custom-display): Fix tooltip text.
8381 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8382 Fix typos in docstrings.
8383 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8384 (custom-unlispify-menu-entry, custom-magic-value-create)
8385 (custom-add-see-also, custom-group-value-create): Use ?\s.
8386 (custom-guess-type, customize-apropos, editable-field)
8387 (custom-face-value-create): Use `string-match-p'.
8388 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8390 * custom.el (custom-load-symbol): Use `string-match-p'.
8392 * ansi-color.el: Convert to lexical binding.
8393 (ansi-colors): Fix URL.
8394 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8395 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8396 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8398 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8400 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8402 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8404 2013-06-19 Tom Tromey <tromey@redhat.com>
8406 * net/eww.el (eww-top-url): Remove.
8407 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8408 (eww-render): Set new variables. Don't set eww-top-url.
8409 (eww-handle-link): Handle "prev", "home", and "contents".
8410 Downcase the rel text.
8411 (eww-top-url): Choose best top URL.
8413 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8415 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8416 relying in widget.el. Using widget.el leads to too many
8417 user interface inconsistencies.
8418 (eww-self-insert): Implement entering commands in text fields.
8419 (eww-process-text-input): New function to make text input field editing
8421 (eww-submit): Rewrite to use the new-style form methods.
8422 (eww-select-display): Display the correct selected item.
8423 (eww-change-select): Implement changing the select value.
8424 (eww-toggle-checkbox): Implement radio/checkboxes.
8425 (eww-update-field): Fix compilation error.
8426 (eww-tag-textarea): Implement <textarea>.
8428 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8429 we don't shadow mode-specific bindings.
8431 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8434 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8436 2013-06-19 Glenn Morris <rgm@gnu.org>
8438 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8440 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8442 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8445 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8447 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8449 * net/browse-url.el (browse-url-browser-function):
8450 `eww-browse-url' has the right calling signature, `eww' does not.
8452 2013-06-19 Glenn Morris <rgm@gnu.org>
8454 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8455 Only eval autoloaded macros.
8456 (byte-compile-autoload): Only give the macro warning for macros.
8458 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8459 (ps-underlined-faces): Declare.
8461 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8462 (speedbar-add-supported-extension): Declare.
8464 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8465 Don't include a date stamp in the header of the generated file;
8466 it leads to needless differences between output files.
8468 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8470 * net/secrets.el (secrets-struct-secret-content-type):
8471 Replace check of introspection data by a test call of "CreateItem".
8472 Some servers do not offer introspection.
8474 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8476 * electric.el (electric-pair-mode): Improve interaction with
8477 electric-layout-mode.
8478 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8479 (electric-pair-syntax): Use text-mode-syntax-table in comments
8481 (electric-pair--insert): New function.
8482 (electric-pair-post-self-insert-function): Use it and
8483 electric--after-char-pos.
8485 2013-06-19 Leo Liu <sdl.web@gmail.com>
8487 * progmodes/octave.el (octave-help): Fix regexp.
8489 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8491 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8492 (shr-table-horizontal-line): Allow nil as a value, and change the
8494 (shr-insert-table-ruler): Respect the nil value.
8496 2013-06-18 Tom Tromey <tromey@barimba>
8498 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8500 (eww-open-file): New defun.
8501 (eww-render): Initialize new variables.
8502 (eww-display-html): Handle "link" and "a".
8503 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8504 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8505 (eww-back-url): Rename from eww-previous-url.
8506 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8509 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8511 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8512 Distinguish ternary operator tokens from slash symbol and slash
8515 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8517 Convert symbol prettification into minor mode and global minor mode.
8519 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8520 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8521 (prettify-symbols--keywords): Rename from
8522 `prog-prettify-symbols-alist' and make a local defvar.
8523 (prettify-symbols--compose-symbol): Rename from
8524 `prog--prettify-font-lock-compose-symbol'.
8525 (prettify-symbols--make-keywords): Rename from
8526 `prog-prettify-font-lock-symbols-keywords' and simplify.
8527 (prog-prettify-install): Remove.
8528 (prettify-symbols-mode): New minor mode, based on
8529 `prog-prettify-install'.
8530 (turn-on-prettify-symbols-mode): New function.
8531 (global-prettify-symbols-mode): New globalized minor mode.
8533 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8534 * progmodes/cfengine.el (cfengine3-mode):
8535 * progmodes/perl-mode.el (perl-mode): Don't call
8536 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8538 2013-06-18 Juri Linkov <juri@jurta.org>
8540 * files-x.el (modify-file-local-variable-message): New function.
8541 (modify-file-local-variable)
8542 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8543 and call `modify-file-local-variable-message' when it's non-nil.
8544 (add-file-local-variable, delete-file-local-variable)
8545 (add-file-local-variable-prop-line)
8546 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8547 and use it. (Bug#9820)
8549 2013-06-18 Juri Linkov <juri@jurta.org>
8551 * emulation/vi.el (vi-shell-op):
8552 * emulation/vip.el (vip-execute-com, ex-command):
8553 * emulation/viper-cmd.el (viper-exec-bang):
8554 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8555 the call of `shell-command-on-region'. (Bug#14637)
8557 * simple.el (shell-command-on-region): Doc fix.
8559 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8561 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8564 2013-06-18 Glenn Morris <rgm@gnu.org>
8566 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8568 * newcomment.el (comment-search-forward, comment-search-backward):
8569 Doc fix. (Bug#14376)
8571 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8573 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8574 (buffer-face-mode-invoke): Doc fix.
8576 2013-06-18 Matthias Meulien <orontee@gmail.com>
8578 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8579 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8581 2013-06-18 Glenn Morris <rgm@gnu.org>
8583 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8584 Replace obsolete function generic-make-keywords with its expansion.
8586 * progmodes/python.el (ffap-alist): Declare.
8588 * textmodes/reftex.el (bibtex-mode-map): Declare.
8590 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8592 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8593 (package-unpack, package-unpack-single): Return the pkg-dir.
8594 (package-download-transaction): Use it to update package-alist.
8596 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8598 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8601 2013-06-17 Juri Linkov <juri@jurta.org>
8603 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8605 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8607 * emacs-lisp/package.el (package-load-descriptor):
8608 Remove `with-syntax-table' call, `read' doesn't need it.
8609 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8611 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8613 * startup.el (command-line): Expand package name returned by
8614 `package--description-file' (bug#14639).
8616 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8618 * emacs-lisp/package.el (package-load-descriptor): Do not call
8619 `emacs-lisp-mode', just use its syntax table.
8621 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8623 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8624 `font-lock-extra-managed-props' if any prettifying keyword is added.
8625 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8626 (prog-mode): Use `setq-local'.
8628 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8630 * international/characters.el (standard-case-table): Set syntax of ?»
8631 and ?« to punctuation.
8633 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8635 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8636 Save relevant match data before calling `syntax-ppss' (bug#14595).
8638 2013-06-15 Juri Linkov <juri@jurta.org>
8640 * files-x.el (modify-file-local-variable-prop-line): Add local
8641 variables to the end of the existing comment on the first line.
8642 Use `file-auto-mode-skip' to skip interpreter magic line,
8643 and also skip XML declaration.
8645 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8647 * startup.el (package--builtin-versions): New var.
8648 (package-subdirectory-regexp): Remove.
8649 (package--description-file): Hard code its value instead.
8651 * emacs-lisp/package.el: Don't activate packages older than builtin.
8652 (package-obsolete-list): Rename from package-obsolete-alist, and make
8653 it into a simple list of package-desc.
8654 (package-strip-version): Remove.
8655 (package-built-in-p): Use package--builtin-versions.
8656 (package-mark-obsolete): Simplify.
8657 (package-process-define-package): Mark it obsolete if older than the
8659 (package-handle-response): Use line-end-position.
8660 (package-read-archive-contents, package--download-one-archive):
8662 (package--add-to-archive-contents): Skip if older than the builtin or
8664 (package-menu-describe-package): Fix last change.
8665 (package-list-unversioned): New var.
8666 (package-menu--generate): Use it.
8668 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8669 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8670 (autoload-builtin-package-versions): New variable.
8671 (autoload-generate-file-autoloads): Use them.
8672 Remove the list of autoloaded functions/macros from the
8673 (autoload...) comments.
8675 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8677 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8679 * simple.el (line-move-partial): Don't jump to the next screen
8680 line as soon as it becomes visible. Instead, continue enlarging
8681 the vscroll until the portion of a tall screen line that's left on
8682 display is about the height of the frame's default font.
8685 2013-06-15 Glenn Morris <rgm@gnu.org>
8687 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8688 compilation-error-regexp-alist void, or local while let-bound.
8690 * progmodes/make-mode.el (makefile-mode-syntax-table):
8691 Treat "=" as punctuation. (Bug#14614)
8693 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8695 * help-fns.el (describe-variable):
8696 Add extra line for permanent-local variables.
8698 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8700 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8701 Add export, import, library. (Bug#9164)
8702 (library): Set indent function.
8704 2013-06-14 Glenn Morris <rgm@gnu.org>
8706 * term/xterm.el (xterm--query):
8707 Stop after first matching handler. (Bug#14615)
8709 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8711 Add support for dired in saveplace.
8712 * dired.el (dired-initial-position-hook): New variable.
8713 (dired-initial-position): Call hook to place cursor position.
8714 * saveplace.el (save-place-to-alist): Add dired position.
8715 (save-place-dired-hook): New function.
8717 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8719 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8720 through a symbol rather than letrec.
8722 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8723 (package-desc): Add `dir' field.
8724 (package-desc-full-name): New function.
8725 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8726 (package-maybe-load-descriptor): Remove.
8727 (package-load-all-descriptors): Just call package-load-descriptor.
8728 (package--disabled-p): New function.
8729 (package-desc-vers, package-desc-doc): Remove aliases.
8730 (package--dir): Remove function.
8731 (package-activate): Check if a package is disabled.
8732 (package-process-define-package): New function, extracted from
8734 (define-package): Turn into a place holder.
8735 (package-unpack-single, package-tar-file-info):
8736 Use package--description-file.
8737 (package-compute-transaction): Use package--disabled-p.
8738 (package-download-transaction): Don't call
8739 package-maybe-load-descriptor since they're all loaded anyway.
8740 (package-install): Change argument to be a pkg-desc.
8741 (package-delete): Use a single pkg-desc argument.
8742 (describe-package-1): Use package-desc-dir instead of package--dir.
8743 Use package-desc property instead of package-symbol.
8744 (package-install-button-action): Adjust accordingly.
8745 (package--push): Rewrite.
8746 (package-menu--print-info): Adjust accordingly. Change the ID format
8748 (package-menu-describe-package, package-menu-get-status)
8749 (package-menu--find-upgrades, package-menu-mark-upgrades)
8750 (package-menu-execute, package-menu--name-predicate):
8752 * startup.el (package--description-file): New function.
8753 (command-line): Use it.
8754 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8755 Use package-desc-version.
8757 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8758 (byte-compile-preprocess): Use it.
8759 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8760 can't quite recognize.
8761 (byte-compile-add-to-list): Remove.
8762 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8763 (cconv-closure-convert): Add assertion.
8765 * emacs-lisp/map-ynp.el: Use lexical-binding.
8766 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8767 Factor out some repeated code.
8769 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8771 * subr.el (with-eval-after-load): New macro.
8772 (eval-after-load): Allow form to be a function.
8773 take advantage of lexical-binding.
8774 (do-after-load-evaluation): Use dolist and adjust to new format.
8775 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8777 2013-06-13 Juri Linkov <juri@jurta.org>
8779 * replace.el (perform-replace): Display "symbol " and other search
8780 modes from `isearch-message-prefix' in the *Help* buffer.
8782 * isearch.el (isearch-query-replace): Add " symbol" and other
8783 possible search modes from `isearch-message-prefix' to the prompt.
8784 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8785 when reading a regexp to collect.
8787 2013-06-13 Juri Linkov <juri@jurta.org>
8789 * isearch.el (word-search-regexp): Match whitespace if the search
8790 string begins or ends in whitespace. The LAX arg is applied to
8791 both ends of the search string. Use `regexp-quote' and explicit
8792 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8793 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8794 boundaries are replaced with symbol boundaries, and characters
8795 between symbols match non-word non-symbol syntax. (Bug#14602)
8797 2013-06-13 Juri Linkov <juri@jurta.org>
8799 * isearch.el (isearch-del-char): Don't exceed the length of
8800 `isearch-string' by the prefix arg. (Bug#14563)
8802 2013-06-13 Juri Linkov <juri@jurta.org>
8804 * isearch.el (isearch-yank-word, isearch-yank-line)
8805 (isearch-char-by-name, isearch-quote-char)
8806 (isearch-printing-char, isearch-process-search-char):
8807 Add optional count prefix arg. (Bug#14563)
8809 * international/isearch-x.el
8810 (isearch-process-search-multibyte-characters):
8811 Add optional count prefix arg.
8813 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8815 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8816 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8819 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8821 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8823 2013-06-13 Glenn Morris <rgm@gnu.org>
8825 * startup.el (tty-handle-args):
8826 Don't just discard "--" and anything after. (Bug#14608)
8828 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8830 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8832 Implement changes in Secret Service API. Make it backward compatible.
8833 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8834 (secrets-create-item): Use it. Prefix properties with interface.
8836 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8838 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8839 (term-emulate-terminal): Respect term-suppress-hard-newline.
8841 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8843 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8844 Only remove a `thumb-file' overlay. (Bug#14548)
8846 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8848 * mail/reporter.el (reporter-submit-bug-report):
8849 Handle missing package-name. (Bug#14600)
8851 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8853 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8854 (reftex-citation-prompt, reftex-default-bibliography)
8855 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8856 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8857 (reftex-bib-sort-author, reftex-bib-sort-year)
8858 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8859 (reftex-extract-bib-entries-from-thebibliography)
8860 (reftex-get-bibkey-default, reftex-get-bib-names)
8861 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8862 (reftex-format-bib-entry, reftex-parse-bibitem)
8863 (reftex-format-bibitem, reftex-do-citation)
8864 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8865 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8866 (reftex-insert-bib-matches, reftex-format-citation)
8867 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8868 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8869 existing comments into docstrings.
8871 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8873 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8875 2013-06-12 Andreas Schwab <schwab@suse.de>
8877 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8878 for auto-save files.
8880 2013-06-12 Glenn Morris <rgm@gnu.org>
8882 * ido.el (ido-delete-ignored-files): Remove.
8883 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8884 Go back to calling ido-ignore-item-p directly.
8886 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8888 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8890 * ido.el (ido-delete-ignored-files): New function,
8891 split from ido-make-file-list-1.
8892 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8893 (ido-make-file-list-1): Use ido-delete-ignored-files.
8895 2013-06-12 Leo Liu <sdl.web@gmail.com>
8897 * progmodes/octave.el (inferior-octave-startup)
8898 (inferior-octave-completion-table)
8899 (inferior-octave-track-window-width-change)
8900 (octave-eldoc-function-signatures, octave-help)
8901 (octave-find-definition): Use single quoted strings.
8902 (inferior-octave-startup-args): Change default value.
8903 (inferior-octave-startup): Do not hard code "-i" and
8904 "--no-line-editing".
8905 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8906 (inferior-octave-directory-tracker): Use it.
8907 (octave-goto-function-definition): Robustify.
8908 (octave-help): Support highlighting operators in 'See also'.
8909 (octave-find-definition): Find subfunctions only in Octave mode.
8911 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8913 * help-fns.el (help-fns--compiler-macro): If the handler function is
8914 named, then put a link to it.
8915 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8916 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8918 (cl-eval-when): Simplify debug spec.
8919 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8920 compiler-macro function instead of setting `compiler-macro-file'.
8922 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8924 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8925 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8927 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8928 Daniel Hackney <dan@haxney.org>
8930 First part of Daniel Hackney's patch to package.el.
8931 * emacs-lisp/package.el: Use defstruct.
8932 (package-desc): New, main struct.
8933 (package--bi-desc, package--ac-desc): New structs, used to describe the
8934 format in external files.
8935 (package-desc-vers): Replace with package-desc-version accessor.
8936 (package-desc-doc): Replace with package-desc-summary accessor.
8937 (package-activate-1): Remove `package' arg since the pkg-vec now
8939 (define-package): Use package-desc-from-define.
8940 (package-unpack-single): Change file-name arg to be a symbol.
8941 (package--add-to-archive-contents): Use package-desc-create and new
8942 accessor functions to package--ac-desc.
8943 (package-buffer-info, package-tar-file-info): Return a package-desc.
8944 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8945 arg to be a package-desc.
8946 (package-install-file): Adjust accordingly. Use \' to match EOS.
8947 (package--from-builtin): New function.
8948 (describe-package-1, package-menu--generate): Use it.
8949 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8950 (package-generate-autoloads): Idem and return the name of the file.
8951 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8952 Change pkg-info arg to be a package-desc.
8953 Use package-make-ac-desc.
8954 (package-upload-file): Use \' to match EOS.
8955 * finder.el (finder-compile-keywords): Use package-make-builtin.
8957 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8959 * vc/vc.el (vc-deduce-fileset): Change error message.
8960 (vc-read-backend): New function.
8961 (vc-next-action): Use it.
8963 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8965 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8966 (prolog-font-lock-keywords): Use regexp-opt instead.
8967 Don't manually highlight strings.
8968 (prolog-mode-variables): Simplify comment-start-skip.
8969 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8971 * emacs-lisp/generic.el (generic--normalise-comments)
8972 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8973 (generic-mode-set-comments): Use them.
8974 (generic-bracket-support): Use setq-local.
8975 (generic-make-keywords-list): Declare obsolete.
8977 2013-06-11 Glenn Morris <rgm@gnu.org>
8979 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8980 Prettify after setting font-lock-defaults. (Bug#14574)
8982 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8984 * replace.el (query-replace, occur-read-regexp-defaults-function)
8986 * subr.el (declare-function, number-sequence, local-set-key)
8987 (substitute-key-definition, locate-user-emacs-file)
8988 (with-silent-modifications, split-string, eval-after-load):
8989 Fix typos, remove unneeded backslashes and reflow some docstrings.
8991 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8993 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8994 default for Elisp files.
8996 2013-06-11 Glenn Morris <rgm@gnu.org>
8998 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8999 although define-derived-mode was doing this anyway. (Bug#14583)
9001 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9003 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9004 Fix make-variable-buffer-local call to refer to the correct variable.
9006 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9008 * eshell/em-term.el (eshell-visual-commands)
9009 (eshell-visual-subcommands, eshell-visual-options):
9010 Add summary line to docstrings. Add cross-references.
9012 2013-06-10 Glenn Morris <rgm@gnu.org>
9014 * epa.el (epa-read-file-name): New function. (Bug#14510)
9015 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9017 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9019 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9020 output redirection to be ignored with visual commands.
9022 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9024 * eshell/em-term.el (eshell-visual-command-p): New function.
9025 (eshell-term-initialize): Move long lambda to separate function
9026 eshell-visual-command-p.
9027 * eshell/em-dirs.el (eshell-dirs-initialise):
9028 * eshell/em-script.el (eshell-script-initialize):
9029 Add missing #' to lambda.
9031 2013-06-08 Leo Liu <sdl.web@gmail.com>
9033 * progmodes/octave.el (octave-add-log-current-defun): New function.
9034 (octave-mode): Set add-log-current-defun-function.
9035 (octave-goto-function-definition): Do not move point if not found.
9036 (octave-find-definition): Enhance to try subfunctions first.
9038 2013-06-08 Glenn Morris <rgm@gnu.org>
9040 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9041 (byte-compile-backward-char, byte-compile-backward-word):
9042 Improve previous change, to handle non-explicit nil.
9044 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9046 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9047 (smie--opener/closer-at-point): New function.
9048 (smie--matching-block-data): Use it. Don't match from right after an
9049 opener or right before a closer. Obey smie-blink-matching-inners.
9050 Don't signal a mismatch for repeated inners like "switch..case..case".
9052 2013-06-07 Leo Liu <sdl.web@gmail.com>
9054 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9056 (octave-function-header-regexp): Fix. (Bug#14570)
9057 (octave-help-mode-finish-hook, octave-help-mode-finish):
9058 Remove. Just use temp-buffer-show-hook.
9060 * newcomment.el (comment-search-backward): Revert last change.
9063 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9065 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9067 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9068 through xargs, to avoid failure due to MS-Windows limitations on
9069 command-line length.
9071 2013-06-06 Glenn Morris <rgm@gnu.org>
9073 * font-lock.el (lisp-font-lock-keywords-2):
9074 Treat user-error like error.
9076 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9077 (byte-compile-backward-char, byte-compile-backward-word):
9078 Handle explicit nil arguments. (Bug#14565)
9080 2013-06-05 Alan Mackenzie <acm@muc.de>
9082 * isearch.el (isearch-allow-prefix): New user option.
9083 (isearch-other-meta-char): Don't exit isearch when a prefix
9084 argument is typed whilst `isearch-allow-prefix' is non-nil.
9087 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9089 * autorevert.el (auto-revert-notify-handler): Use memq.
9090 Hide assertion failure.
9092 * skeleton.el: Use cl-lib.
9093 (skeleton-further-elements): Use defvar-local.
9094 (skeleton-insert): Use cl-progv.
9096 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9098 * progmodes/prog-mode.el (prog-prettify-symbols)
9099 (prog-prettify-install): Update docstrings.
9101 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9103 * simple.el: Move all the prog-mode code to prog-mode.el.
9104 * progmodes/prog-mode.el: New file.
9105 * loadup.el: Add prog-mode.el.
9107 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9109 * simple.el (prog-prettify-symbols): Add version.
9110 (prog-prettify-install): Add convenience function to prettify symbols.
9112 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9113 (perl--augmented-font-lock-keywords-1)
9114 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9115 variables and use it.
9117 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9118 (cfengine3-mode): Remove unneeded variable and use it.
9120 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9121 (lisp--augmented-font-lock-keywords-1)
9122 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9123 Remove unneeded variables and use it.
9125 2013-06-05 João Távora <joaotavora@gmail.com>
9127 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9128 to point when opening the connection. (Bug#14380)
9130 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9132 * subr.el (load-history-regexp, load-history-filename-element)
9133 (eval-after-load, after-load-functions, do-after-load-evaluation)
9134 (eval-next-after-load, display-delayed-warnings)
9135 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9136 definition of save-match-data.
9137 (overriding-local-map): Remove accidental obsolescence declaration.
9139 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9141 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9143 Generalize symbol prettify support to prog-mode and implement it
9144 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9145 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9146 (prog--prettify-font-lock-compose-symbol)
9147 (prog-prettify-font-lock-symbols-keywords): New variables and
9148 functions to support symbol prettification.
9149 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9150 (lisp--augmented-font-lock-keywords-1)
9151 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9152 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9153 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9154 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9155 Implement prettify of -> => :: strings.
9156 * progmodes/perl-mode.el (perl-prettify-symbols)
9157 (perl--font-lock-compose-symbol)
9158 (perl--font-lock-symbols-keywords): Move to prog-mode.
9159 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9160 (perl-font-lock-keywords-1)
9161 (perl-font-lock-keywords-2): Remove explicit prettify support.
9162 (perl--augmented-font-lock-keywords)
9163 (perl--augmented-font-lock-keywords-1)
9164 (perl--augmented-font-lock-keywords-2, perl-mode):
9165 Implement prettify support.
9167 2013-06-05 Leo Liu <sdl.web@gmail.com>
9169 Re-implement smie matching block highlight using
9170 show-paren-data-function. (Bug#14395)
9171 * emacs-lisp/smie.el (smie-matching-block-highlight)
9172 (smie--highlight-matching-block-overlay)
9173 (smie--highlight-matching-block-lastpos)
9174 (smie-highlight-matching-block)
9175 (smie-highlight-matching-block-mode): Remove.
9176 (smie--matching-block-data-cache): New variable.
9177 (smie--matching-block-data): New function.
9178 (smie-setup): Use smie--matching-block-data for
9179 show-paren-data-function.
9181 * progmodes/octave.el (octave-mode-menu): Fix.
9182 (octave-find-definition): Skip garbage lines.
9184 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9186 Fix compilation error with simultaneous dynamic+lexical scoping.
9187 Add warning when a defvar appears after the first let-binding.
9188 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9189 (byte-compile-close-variables): Initialize it.
9190 (byte-compile--declare-var): New function.
9191 (byte-compile-file-form-defvar)
9192 (byte-compile-file-form-define-abbrev-table)
9193 (byte-compile-file-form-custom-declare-variable): Use it.
9194 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9195 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9196 (byte-compile-bind): Handle dynamic bindings that shadow
9198 (byte-compile-unbind): Make arg non-optional.
9199 (byte-compile-let): Simplify.
9200 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9201 (cconv--analyse-function, cconv-analyse-form): Populate it.
9202 Protect byte-compile-bound-variables to limit the scope of defvars.
9203 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9204 Remove unneeded rule for `declare'.
9206 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9207 so as to avoid depending on cl-adjoin at run-time.
9208 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9210 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9211 (macroexp--warn-and-return): Use it.
9213 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9215 * subr.el: Convert to lexical binding.
9216 (overriding-local-map): Make obsolete.
9217 (add-to-list): Doc fix. Add compiler macro.
9218 (read-key): Swap values of local maps.
9220 2013-06-05 Leo Liu <sdl.web@gmail.com>
9222 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9224 2013-06-04 Leo Liu <sdl.web@gmail.com>
9226 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9227 (compilation-auto-jump): Suppress the "Mark set" message to give
9228 way to exit message.
9230 2013-06-04 Alan Mackenzie <acm@muc.de>
9232 Remove faulty optimisation from indentation calculation.
9233 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9234 search limit based on 2000 characters back from indent-point.
9236 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9238 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9240 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9242 * emacs-lisp/lisp.el: Use lexical-binding.
9243 (lisp--local-variables-1, lisp--local-variables): New functions.
9244 (lisp--local-variables-completion-table): New var.
9245 (lisp-completion-at-point): Use it complete let-bound vars.
9247 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9248 eagerly (bug#14422).
9250 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9252 * autorevert.el (auto-revert-notify-enabled)
9253 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9254 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9255 (auto-revert-notify-handler): Handle also gfilenotify.
9257 * subr.el (file-notify-handle-event): New defun. Replacing ...
9258 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9261 2013-06-03 Juri Linkov <juri@jurta.org>
9263 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9264 `M-s h .'. (Bug#14427)
9266 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9267 command `hi-lock-face-symbol-at-point'.
9268 (hi-lock-face-symbol-at-point): New command.
9269 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9270 (hi-lock-menu): Add `highlight-symbol-at-point'.
9271 (hi-lock-mode): Doc fix.
9273 * isearch.el (isearch-forward-symbol-at-point): New command.
9274 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9275 (isearch-highlight-regexp): Add a regexp which matches
9276 words/symbols for word/symbol mode.
9278 * subr.el (find-tag-default-bounds): New function with the body
9279 mostly moved from `find-tag-default'.
9280 (find-tag-default): Move most code to `find-tag-default-bounds',
9281 call it and apply `buffer-substring-no-properties' afterwards.
9283 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9285 * eshell/em-term.el (eshell-term-initialize):
9286 Use `cl-intersection' rather than `intersection'.
9288 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9290 * vc/log-view.el: Doc fix.
9291 (log-view-mode-map): Copy keymap from `special-mode-map'.
9293 2013-06-02 Eric Ludlam <zappo@gnu.org>
9295 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9296 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9297 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9298 (eieio-unbound, eieio-default-superclass)
9299 (eieio--define-field-accessors, method-static, method-before)
9300 (method-primary, method-after, method-num-lists)
9301 (method-generic-before, method-generic-primary)
9302 (method-generic-after, method-num-slots)
9303 (eieio-specialized-key-to-generic-key)
9304 (eieio--check-type, class-v, class-p)
9305 (eieio-class-name, define-obsolete-function-alias)
9306 (eieio-class-parents-fast, eieio-class-children-fast)
9307 (same-class-fast-p, class-constructor, generic-p)
9308 (generic-primary-only-p, generic-primary-only-one-p)
9309 (class-option-assoc, class-option, eieio-object-p)
9310 (class-abstract-p, class-method-invocation-order)
9311 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9312 (eieio-class-un-autoload, eieio-defclass)
9313 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9314 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9315 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9316 (eieio-defgeneric-reset-generic-form)
9317 (eieio-defgeneric-form-primary-only)
9318 (eieio-defgeneric-reset-generic-form-primary-only)
9319 (eieio-defgeneric-form-primary-only-one)
9320 (eieio-defgeneric-reset-generic-form-primary-only-one)
9321 (eieio-unbind-method-implementations)
9322 (eieio--defmethod, eieio--typep)
9323 (eieio-perform-slot-validation, eieio-validate-slot-value)
9324 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9325 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9326 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9327 (eieio-slot-name-index, eieio-class-slot-name-index)
9328 (eieio-set-defaults, eieio-initarg-to-attribute)
9329 (eieio-attribute-to-initarg, eieio-c3-candidate)
9330 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9331 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9332 (eieio-class-precedence-list, eieio-generic-call-methodname)
9333 (eieio-generic-call-arglst, eieio-generic-call-key)
9334 (eieio-generic-call-next-method-list)
9335 (eieio-pre-method-execution-functions, eieio-generic-call)
9336 (eieio-generic-call-primary-only, eieiomt-method-list)
9337 (eieiomt-optimizing-obarray, eieiomt-install)
9338 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9339 (eieio-generic-form, eieio-defmethod, make-obsolete)
9340 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9341 (defclass): Remove `eval-and-compile' from macro.
9342 (call-next-method, shared-initialize): Instead of using
9343 `scoped-class' variable, use new eieio--scoped-class, and
9344 eieio--with-scoped-class.
9345 (initialize-instance): Rename local variable 'scoped-class' to
9346 'this-class' to remove ambiguitity from old global.
9348 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9350 (eieio--scoped-class-stack): New variable.
9351 (eieio--scoped-class): New fcn.
9352 (eieio--with-scoped-class): New scoping macro.
9353 (eieio-defclass): Use pushnew instead of add-to-list.
9354 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9355 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9356 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9357 `scoped-class' variable, use new eieio--scoped-class, and
9358 eieio--with-scoped-class.
9360 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9362 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9364 * eshell/esh-ext.el (eshell-external-command): Pass args to
9365 `eshell-find-interpreter'.
9366 (eshell-find-interpreter): Add new second parameter ARGS.
9368 * eshell/em-script.el (eshell-script-initialize): Add second arg
9369 to the function added as MATCH to `eshell-interpreter-alist'.
9371 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9372 the function added as MATCH to `eshell-interpreter-alist'.
9374 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9375 (eshell-visual-options): New defcustom.
9376 (eshell-escape-control-x): Adapt docstring.
9377 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9378 `eshell-visual-options' in addition to `eshell-visual-commands'.
9379 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9381 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9383 * progmodes/python.el (python-indent-block-enders): Add break,
9384 continue and raise keywords.
9386 2013-06-01 Glenn Morris <rgm@gnu.org>
9388 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9390 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9391 * progmodes/cc-cmds.el (delete-forward-p):
9392 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9393 * progmodes/cc-engine.el (buffer-syntactic-context):
9394 * progmodes/cc-fonts.el (face-property-instance):
9395 * progmodes/cc-mode.el (set-keymap-parents):
9396 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9397 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9398 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9399 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9400 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9402 * progmodes/cc-vars.el (other): Emacs has this widget since
9403 at least 21.1, so don't (re)define it.
9405 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9406 Replace the obsolete alias pcomplete-arg-quote-list.
9408 2013-06-01 Leo Liu <sdl.web@gmail.com>
9410 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9412 (inferior-octave-minimal-columns)
9413 (inferior-octave-last-column-width): New variables.
9414 (inferior-octave-track-window-width-change): New function.
9415 (inferior-octave-mode): Adjust column width so that Octave output,
9416 for example from 'ls', can fit into the window nicely.
9418 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9420 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9421 Highlight expansions inside regexp literals.
9423 2013-05-31 Glenn Morris <rgm@gnu.org>
9425 * obsolete/sym-comp.el (symbol-complete):
9426 Replace obsolete completion-annotate-function.
9428 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9430 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9432 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9433 New function, checks if point is inside a literal that allows
9434 expression expansion.
9435 (ruby-syntax-propertize-expansion): Use it.
9436 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9439 2013-05-30 Juri Linkov <juri@jurta.org>
9441 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9443 (isearch-invisible): New variable.
9444 (isearch-forward): Doc fix.
9445 (isearch-mode): Set `isearch-invisible'
9446 to the value of `search-invisible'.
9447 (isearch-toggle-case-fold): Doc fix.
9448 (isearch-toggle-invisible): New command.
9449 (isearch-query-replace): Let-bind `search-invisible'
9450 to the value of `isearch-invisible'.
9451 (isearch-search): Use `isearch-invisible' instead of
9452 `search-invisible'. Let-bind `search-invisible'
9453 to the value of `isearch-invisible'. (Bug#11378)
9455 2013-05-30 Juri Linkov <juri@jurta.org>
9457 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9458 call when `query-flag' is nil and `search-invisible' is non-nil.
9461 2013-05-30 Glenn Morris <rgm@gnu.org>
9463 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9465 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9466 (cc-require): Suppress spurious "noruntime" warnings.
9467 (cc-require-when-compile): Use fboundp, for sake of compiler.
9469 * progmodes/cc-mode.el: Move load of cc-vars before that of
9470 cc-langs (which in turn loads cc-vars), to quieten compiler.
9472 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9474 * paren.el: Simplify the code.
9475 (show-paren-mode): Always start the timer.
9476 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9477 (show-paren--overlay, show-paren--overlay-1): Rename from
9478 show-paren-overlay and show-paren-overlay-1, and initialize to an
9479 overlay rather than to nil.
9480 (show-paren-function): Misc cleanup and simplifications.
9482 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9484 * paren.el (show-paren-data-function): New hook.
9485 (show-paren--default): New function, extracted from show-paren-function.
9486 (show-paren-function): Use show-paren-data-function.
9488 2013-05-30 Glenn Morris <rgm@gnu.org>
9490 * ielm.el (ielm-map, ielm-complete-symbol):
9491 Use completion-at-point rather than obsolete functions.
9492 (inferior-emacs-lisp-mode): Doc fix.
9493 Set completion-at-point-functions, rather than
9494 comint-dynamic-complete-functions.
9496 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9497 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9498 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9500 * image.el (image-animated-p): Tweak definition.
9502 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9503 (rlogin-process-connection-type): Tweak default. Add set-after.
9504 (rlogin-host): Doc fix.
9505 (rlogin): Tweak prompt.
9506 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9508 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9509 * progmodes/tcl.el (inferior-tcl-mode-map):
9510 Use completion-at-point rather than obsolete alias.
9512 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9514 * minibuffer.el (read-file-name-completion-ignore-case):
9515 Move before completion--in-region, for eager macro expansion.
9517 2013-05-29 Juri Linkov <juri@jurta.org>
9519 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9520 for total count of matching lines. Add `global-matches' for total
9521 count of matches. Rename `matches' to `lines' for count of
9522 matching lines. Add `matches' for count of matches.
9523 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9524 to `prev-line' for line number of prev match endpt.
9525 Increment `matches' for every match. Print the number of
9526 matching lines in the header.
9527 (occur-context-lines): Rename `lines' to `curr-line'.
9528 Rename `prev-lines' to `prev-line'. (Bug#14017)
9530 2013-05-29 Juri Linkov <juri@jurta.org>
9532 * replace.el (perform-replace): Add `skip-read-only-count',
9533 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9534 Increment them for corresponding conditions and report the number
9535 of skipped occurrences in the final message. (Bug#11746)
9536 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9537 (replace-string, replace-regexp): Doc fix.
9539 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9541 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9543 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9544 prog-mode-map (bug#14504).
9546 2013-05-29 Leo Liu <sdl.web@gmail.com>
9548 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9549 (octave-help): Small simplification.
9551 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9552 off the highlight first.
9554 2013-05-29 Glenn Morris <rgm@gnu.org>
9556 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9557 Handle idlwave-last-system-routine-info-cons-cell being nil.
9559 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9560 (idlwave-write-paths): Simplify via with-temp-buffer.
9562 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9563 * emulation/cua-rect.el: Also load cua-base at run time.
9565 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9566 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9567 (cperl-imenu-on-info): Require imenu.
9569 2013-05-28 Alan Mackenzie <acm@muc.de>
9571 Handle "capitalised keywords" correctly.
9572 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9574 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9576 * eshell/em-unix.el: Add -r option to cp.
9578 2013-05-28 Glenn Morris <rgm@gnu.org>
9580 * vc/vc-arch.el (vc-exec-after): Declare.
9581 (vc-switches): Autoload.
9582 * vc/vc-bzr.el: No need to require vc when compiling.
9583 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9584 (vc-resynch-buffer, vc-dir-refresh): Declare.
9585 (vc-setup-buffer, vc-switches): Autoload.
9586 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9587 (vc-resynch-buffer): Declare.
9588 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9589 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9590 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9591 (grep-read-regexp, grep-read-files, grep-expand-template)
9592 (vc-dir-refresh): Declare.
9593 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9594 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9595 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9596 * vc/vc-mtn.el (vc-exec-after): Declare.
9597 (vc-switches): Autoload.
9598 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9599 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9600 (vc-file-tree-walk): Declare.
9601 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9602 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9603 (vc-tag-precondition, vc-rename-master): Autoload.
9604 * vc/vc-svn.el (vc-exec-after): Declare.
9605 (vc-switches, vc-setup-buffer): Autoload.
9606 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9608 (vc-resynch-buffer): Declare.
9610 * obsolete/fast-lock.el (byte-compile-warnings):
9611 Don't warn about obsolete features in this obsolete file.
9613 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9614 Move definition before use.
9616 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9617 (dun-unix-verbs): Remove dun-zippy.
9618 (dun-zippy): Remove function.
9620 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9622 2013-05-27 Juri Linkov <juri@jurta.org>
9624 * replace.el (replace-search): New function with code moved out
9625 from `perform-replace'.
9626 (replace-highlight, replace-dehighlight): Move function definitions
9627 up closer to `replace-search'. (Bug#11746)
9629 2013-05-27 Juri Linkov <juri@jurta.org>
9631 * replace.el (perform-replace): Ignore invisible matches.
9632 In addition to checking `query-replace-skip-read-only', also
9633 filter out matches by calling `run-hook-with-args-until-failure'
9634 on `isearch-filter-predicates', and also check `search-invisible'
9635 for t or call `isearch-range-invisible'.
9636 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9638 2013-05-27 Juri Linkov <juri@jurta.org>
9640 * isearch.el (isearch-filter-predicates): Rename from
9641 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9642 (isearch-message-prefix): Display text from the property
9643 `isearch-message-prefix' of the currently active filters.
9644 (isearch-search): Don't compare `isearch-filter-predicate' with
9645 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9646 on `isearch-filter-predicates'. Also check `search-invisible' for t
9647 or call `isearch-range-invisible'.
9648 (isearch-filter-visible): Make obsolete.
9649 (isearch-lazy-highlight-search):
9650 Call `run-hook-with-args-until-failure' on
9651 `isearch-filter-predicates' and use `isearch-range-invisible'.
9653 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9654 `isearch-filter-predicates' instead of `funcall'ing
9655 `isearch-filter-predicate'.
9656 (Info-mode): Set `Info-isearch-filter' to
9657 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9659 * dired-aux.el (dired-isearch-filter-predicate-orig):
9661 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9662 (dired-isearch-filenames-end): Add and remove
9663 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9664 instead of changing the value of `isearch-filter-predicate'.
9665 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9666 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9667 Put property `isearch-message-prefix' to "filename " on
9668 `dired-isearch-filter-filenames'.
9670 * wdired.el (wdired-change-to-wdired-mode):
9671 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9672 locally instead of changing `isearch-filter-predicate'.
9673 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9675 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9677 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9678 return the commit hash (Bug#14459). Also set the
9679 `vc-git-detached' property.
9680 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9681 (vc-git-mode-line-string): Use the same help-echo format whether
9682 in detached mode or not, because we know the actual revision now.
9683 When in detached mode, shorten the revision to 7 chars.
9685 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9687 * emacs-lisp/easy-mmode.el (define-minor-mode):
9688 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9689 mode hook and provide a docstring.
9691 2013-05-27 Alan Mackenzie <acm@muc.de>
9693 Remove spurious syntax-table text properties inserted by C-y.
9694 * progmodes/cc-mode.el (c-after-change): Also clear hard
9695 syntax-table property with value nil.
9697 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9699 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9700 when reading the events; the buffer layout shall not be changed.
9702 2013-05-27 Leo Liu <sdl.web@gmail.com>
9704 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9706 (inferior-octave-directory-tracker): Automatically re-sync
9708 (octave-help): Improve handling of 'See also'.
9710 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9712 * doc-view.el: Minor naming convention tweaks.
9713 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9715 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9716 even if there's no `display' property yet (bug#14435).
9718 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9720 * subr.el (unmsys--file-name): Rename from reveal-filename.
9722 * Makefile.in (custom-deps, finder-data, autoloads)
9723 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9724 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9725 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9727 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9729 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9730 error-completion on the first 2 args of condition-case (bug#14446).
9733 2013-05-25 Leo Liu <sdl.web@gmail.com>
9735 * comint.el (comint-previous-matching-input): Do not flood the
9736 *Messages* buffer with trivial messages.
9738 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9740 * progmodes/flymake.el (flymake-nop): Don't return a string.
9741 (flymake-set-at): Fix typo.
9743 * simple.el (read--expression): New function, extracted from
9744 eval-expression. Set completion-at-point-functions (bug#14465).
9745 (eval-expression, eval-minibuffer): Use it.
9747 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9749 * progmodes/flymake.el (flymake-save-buffer-in-file)
9750 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9751 (flymake-selected-frame, flymake-log, flymake-ins-after)
9752 (flymake-set-at, flymake-get-buildfile-from-cache)
9753 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9754 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9755 Refine the doc string.
9756 (flymake-get-file-name-mode-and-masks): Reformat.
9757 (flymake-get-real-file-name-function): Fix a minor bug.
9759 2013-05-24 Juri Linkov <juri@jurta.org>
9761 * progmodes/grep.el (grep-mode-font-lock-keywords):
9762 Support =linenumber= format used by git-grep for lines with
9763 function names. (Bug#13549)
9765 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9767 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9768 0 after a semi-colon; it works better for smie-auto-fill.
9769 (octave--indent-new-comment-line): New function.
9770 (octave-indent-new-comment-line): Use it (indirectly).
9771 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9772 modify comment-line-break-function.
9774 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9775 (smie-setup): Use add-function to set it.
9777 2013-05-24 Sam Steingold <sds@gnu.org>
9779 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9780 argument (before the `interactive' argument).
9782 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9784 * image-mode.el (image-mode-winprops): Add winprops to
9785 image-mode-winprops-alist before running
9786 image-mode-new-window-functions.
9787 * doc-view.el (doc-view-new-window-function): Don't delay
9788 doc-view-goto-page via timers (bug#14435).
9790 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9792 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9793 (doc-view-desktop-save-buffer): New function.
9794 (doc-view-restore-desktop-buffer): New function.
9795 (desktop-buffer-mode-handlers):
9796 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9798 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9799 `desktop-save-buffer' function.
9801 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9803 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9804 (tramp-gvfs-file-name-handler): Raise a user error when
9805 `tramp-gvfs-enabled' is nil.
9806 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9807 Do not raise a user error when loading package. (Bug#14447)
9809 * net/xesam.el: Move to obsolete/.
9811 2013-05-24 Glenn Morris <rgm@gnu.org>
9813 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9815 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9817 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9818 (Info-find-node, Man-getpage-in-background): Declare.
9820 * mail/unrmail.el (unrmail):
9821 Replace obsolete detect-coding-with-priority.
9823 * net/socks.el (socks-split-string): Use this rather than split-string.
9824 (socks-nslookup-host): Update for above change.
9825 (dynamic-choice, s5-dynamic-choice-match)
9826 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9827 Comment out unused code.
9829 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9830 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9831 (gud-tooltip-echo-area): Make obsolete.
9832 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9834 * progmodes/js.el (js--optimize-arglist): Declare.
9836 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9838 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9839 (ediff-window-C): Declare.
9841 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9842 Tweak requires to silence compiler.
9844 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9845 (he-search-string, he-tried-table, he-expand-list)
9846 (he-init-string, he-string-member, he-substitute-string)
9847 (he-reset-string): Declare.
9849 * obsolete/options.el (list-options): Use custom-variable-p,
9850 rather than obsolete alias.
9852 2013-05-23 Sam Steingold <sds@gnu.org>
9854 * simple.el (shell-command-on-region): Pass the `replace' argument
9855 down to `call-process-region' to comply with the doc as reported on
9856 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9858 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9860 * emacs-lisp/smie.el (smie-indent-forward-token)
9861 (smie-indent-backward-token): Handle string tokens (bug#14381).
9863 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9865 * ielm.el (ielm-menu): New menu.
9866 (inferior-emacs-lisp-mode): Set comment-start.
9868 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9870 * textmodes/reftex.el (reftex-ref-style-toggle):
9871 Fix deactivate action.
9873 * textmodes/reftex-vars.el (reftex-ref-style-alist):
9874 Add cleveref macros.
9876 * textmodes/reftex-parse.el
9877 (reftex-locate-bibliography-files): Accept options for
9878 bibliography commands.
9879 * textmodes/reftex-vars.el (reftex-bibliography-commands):
9880 Add addbibresource. Basic Biblatex support.
9882 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9884 * net/tramp-gvfs.el (top):
9885 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9886 when loading package. (Bug#14447)
9888 2013-05-23 Glenn Morris <rgm@gnu.org>
9890 * progmodes/js.el: No need to load comint when compiling.
9891 (ring-insert, comint-send-string, comint-send-input)
9892 (comint-last-input-end, ido-chop): Declare.
9894 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9895 * vc/ediff-mult.el: Adjust requires.
9896 (ediff-directories-internal, ediff-directory-revisions-internal)
9897 (ediff-patch-file-internal): Declare.
9898 * vc/ediff-ptch.el: Adjust requires.
9899 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9900 (ediff-find-file): Autoload.
9901 * vc/ediff-util.el: No need to load ediff when compiling.
9902 (ediff-regions-internal): Declare.
9903 * vc/ediff-wind.el: Adjust requires.
9904 (ediff-compute-toolbar-width): Define when compiling.
9905 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9906 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9907 (dired-get-filename, dired-get-marked-files)
9908 (ediff-last-dir-patch, ediff-patch-default-directory)
9909 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9910 (ediff-patch-buffer-internal): Declare.
9912 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9913 (ispell-process, ispell-buffer-local-words, lm-summary)
9914 (lm-section-start, lm-section-end): Declare.
9915 (checkdoc-ispell-init): Simplify.
9917 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9918 (he-string-member, he-reset-string, he-substitute-string): Declare.
9920 * eshell/em-ls.el: Adjust requires.
9921 (eshell-glob-regexp): Declare.
9922 * eshell/em-tramp.el: Adjust requires.
9923 (eshell-parse-command): Autoload.
9924 * eshell/em-xtra.el: Adjust requires.
9925 (eshell-parse-command): Autoload.
9926 * eshell/esh-ext.el: Adjust requires.
9927 (eshell-parse-command, eshell-close-handles): Autoload.
9928 * eshell/esh-io.el: Adjust requires.
9929 (eshell-output-filter): Autoload.
9930 * eshell/esh-util.el: No need to load tramp when compiling.
9931 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9933 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9934 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9935 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9936 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9937 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9938 * eshell/esh-opt.el, eshell/esh-proc.el:
9939 * eshell/esh-var.el: Adjust requires.
9940 * eshell/eshell.el: Do not require esh-util twice.
9941 (eshell-add-input-to-history): Declare.
9942 (eshell-command): Check history module is active before using it.
9944 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9946 2013-05-22 Leo Liu <sdl.web@gmail.com>
9948 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9950 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9952 * autorevert.el (auto-revert-notify-add-watch)
9953 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9954 it indicates changes in file modification time.
9956 2013-05-22 Glenn Morris <rgm@gnu.org>
9958 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9959 Always delete the autoloaded function from the noruntime and
9960 unresolved functions lists.
9962 * allout.el: No need to load epa, epg, overlay when compiling.
9963 (epg-context-set-passphrase-callback, epg-list-keys)
9964 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9965 (epg-key-user-id-list): Declare.
9967 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9968 (viper-set-parsing-style-toggling-macro)
9969 (viper-set-emacs-state-searchstyle-macros):
9970 Use called-interactively-p on Emacs.
9971 (viper-looking-back): Make it an obsolete alias. Update callers.
9972 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9973 Use looking-back rather than viper-looking-back.
9974 (viper-tmp-insert-at-eob, viper-enlarge-region)
9975 (viper-read-string-with-history, viper-register-to-point)
9976 (viper-append-to-register, viper-change-state-to-vi)
9977 (viper-backward-char-carefully, viper-forward-char-carefully)
9978 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9979 (viper-change-state-to-emacs): Declare.
9980 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9981 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9982 * emulation/viper-mous.el: Do not load viper-cmd.
9983 (viper-backward-char-carefully, viper-forward-char-carefully)
9984 (viper-forward-word, viper-adjust-window): Declare.
9986 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9988 * progmodes/idlw-help.el (idlwave-help-fontify):
9989 Use called-interactively-p.
9991 * term/w32console.el (w32-get-console-codepage)
9992 (w32-get-console-output-codepage): Declare.
9994 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9995 Remove unnecessary declarations.
9996 (dframe-message): Doc fix.
9998 * info.el (dframe-select-attached-frame, dframe-current-frame):
10001 * speedbar.el (speedbar-message): Make it an obsolete alias.
10002 Update all callers.
10003 (speedbar-with-attached-buffer)
10004 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10005 (speedbar-with-writable): Use backquote.
10006 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10007 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10008 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10009 rather than speedbar- aliases.
10010 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10011 (speedbar-make-specialized-keymap, speedbar-insert-button)
10012 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10013 (speedbar-do-function-pointer): Declare.
10014 (rmail-speedbar-button, rmail-speedbar-find-file)
10015 (rmail-speedbar-move-message):
10016 Use dframe-with-attached-buffer rather than speedbar- alias.
10017 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10018 (dframe-message, speedbar-make-specialized-keymap)
10019 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10020 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10021 (speedbar-insert-button, dframe-select-attached-frame)
10022 (dframe-maybee-jump-to-attached-frame)
10023 (speedbar-change-initial-expansion-list)
10024 (speedbar-previously-used-expansion-list-name): Declare.
10025 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10026 Use dframe-message, dframe-with-attached-buffer rather than
10028 (gud-sentinel): Silence compiler.
10029 * progmodes/vhdl-mode.el (speedbar-refresh)
10030 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10031 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10032 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10033 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10034 (speedbar-file-lists, speedbar-make-tag-line)
10035 (speedbar-line-directory, speedbar-goto-this-file)
10036 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10037 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10038 (speedbar-make-button, speedbar-reset-scanners)
10039 (speedbar-files-item-info, speedbar-line-text)
10040 (speedbar-find-file-in-frame, speedbar-set-timer)
10041 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10042 (speedbar-with-writable): Do not (re)define it.
10043 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10044 rather than speedbar- alias.
10046 2013-05-21 Leo Liu <sdl.web@gmail.com>
10048 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10050 (octave-mode): Tweak fill-nobreak-predicate.
10051 (inferior-octave-startup): Check process to avoid infinite loop.
10052 (inferior-octave): Pop to buffer first to show abornmal process
10055 2013-05-21 Glenn Morris <rgm@gnu.org>
10057 * printing.el (pr-menu-bar): Define when compiling.
10059 2013-05-21 Leo Liu <sdl.web@gmail.com>
10061 * progmodes/octave.el (octave-auto-fill): Remove.
10062 (octave-indent-new-comment-line): Improve.
10063 (octave-mode): Use auto fill mode through
10064 comment-line-break-function and fill-nobreak-predicate.
10065 (octave-goto-function-definition): Support DEFUN_DLD.
10066 (octave-beginning-of-defun): Small tweak.
10067 (octave-help): Show parent directory.
10069 2013-05-21 Glenn Morris <rgm@gnu.org>
10071 * files.el (dired-unmark):
10072 * progmodes/gud.el (gdb-input): Update declarations.
10074 * calculator.el (electric, ehelp): No need to load when compiling.
10075 (Electric-command-loop, electric-describe-mode): Declare.
10077 * doc-view.el (doc-view-current-converter-processes): Move before use.
10079 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10080 Move MODE-set-explicitly definition before use.
10082 * international/mule-diag.el (mule-diag):
10083 Don't use obsolete window-system-version.
10085 * mail/feedmail.el (smtpmail): No need to load when compiling.
10086 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10088 * mail/mail-utils.el (rfc822): No need to load when compiling.
10089 (rfc822-addresses): Autoload it.
10090 (mail-strip-quoted-names): Trivial simplification.
10092 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10093 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10095 * net/snmp-mode.el (tempo): Don't duplicate requires.
10097 * progmodes/prolog.el (info): No need to load when compiling.
10098 (comint): Require before shell requires it.
10099 (Info-goto-node): Autoload it.
10100 (Info-follow-nearest-node): Declare.
10101 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10103 * textmodes/artist.el (picture-mode-exit): Declare.
10105 * textmodes/reftex-parse.el (reftex-parse-from-file):
10106 Trivial rewrite so the compiler can parse it better.
10108 2013-05-20 Leo Liu <sdl.web@gmail.com>
10110 * progmodes/octave.el (octave-help-mode-map)
10111 (octave-help-mode-finish-hook): New variables.
10112 (octave-help-mode, octave-help-mode-finish): New functions.
10113 (octave-help): Use octave-help-mode.
10115 2013-05-20 Glenn Morris <rgm@gnu.org>
10117 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10119 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10121 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10122 start at point, so that expansion starting right after opening
10123 slash in a regexp is recognized.
10124 (ruby-syntax-before-regexp-re): New defvar, extracted from
10125 ruby-syntax-propertize-function. Since the value of this regexp
10126 is looked up at runtime now, we should be able to turn
10127 `ruby-syntax-methods-before-regexp' into a defcustom later.
10128 (ruby-syntax-propertize-function): Split regexp matching into two
10129 parts, for opening and closing slashes. That allows us to skip
10130 over string interpolations and support multiline regexps.
10131 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10132 for them, which calls `ruby-syntax-propertize-expansion'.
10133 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10134 call to `ruby-syntax-propertize-function'.
10135 (ruby-syntax-propertize-expansion): Extracted from
10136 `ruby-syntax-propertize-expansions'. Handles one expansion.
10137 (ruby-syntax-propertize-percent-literal): Leave point right after
10138 the percent symbol, so that the expression expansion rule can
10139 propertize the contents.
10140 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10142 (ruby-syntax-propertize-expansions): Remove.
10144 2013-05-18 Juri Linkov <juri@jurta.org>
10146 * man.el (Man-default-man-entry): Remove `-' from the end
10147 of the default value. (Bug#14400)
10149 2013-05-18 Glenn Morris <rgm@gnu.org>
10151 * comint.el (comint-password-prompt-regexp):
10152 Allow "password for XXX" where XXX contains colons (eg https://...).
10154 2013-05-18 Leo Liu <sdl.web@gmail.com>
10156 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10157 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10158 (octave-source-directories): Don't check process.
10159 (octave-source-directories, octave-find-definition): Doc fix.
10161 2013-05-18 Glenn Morris <rgm@gnu.org>
10163 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10164 Remove backspace/delete bindings. (Bug#14392)
10166 * cus-dep.el (custom-make-dependencies): Sort the output.
10167 (custom-versions-load-alist): Convert comment to doc.
10169 2013-05-17 Leo Liu <sdl.web@gmail.com>
10171 * newcomment.el (comment-search-backward): Stricter in finding
10172 comment start. (Bug#14303)
10174 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10175 (octave-comment-start-skip): Properly anchored.
10177 2013-05-17 Leo Liu <sdl.web@gmail.com>
10179 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10180 Clean up when turned off. (Bug#14395)
10181 (smie--highlight-matching-block-overlay): No longer buffer-local.
10182 (smie-highlight-matching-block): Adjust.
10184 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10186 Doc string fix for "nanoseconds" (Bug#14406).
10187 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10188 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10190 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10192 * calc/calc-units.el (math-extract-units): Preserve powers
10195 2013-05-17 Leo Liu <sdl.web@gmail.com>
10197 * subr.el (delete-consecutive-dups): New function.
10198 * ido.el (ido-set-matches-1): Use it.
10199 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10200 * ido.el (ido-remove-consecutive-dups): Remove.
10202 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10204 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10205 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10206 regexp-opt's `words'.
10208 2013-05-16 Leo Liu <sdl.web@gmail.com>
10210 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10211 (smie--highlight-matching-block-overlay)
10212 (smie--highlight-matching-block-lastpos)
10213 (smie--highlight-matching-block-timer): New variables.
10214 (smie-highlight-matching-block): New function.
10215 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10216 (smie-setup): Conditionally enable smie-blink-matching-open.
10218 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10220 Sync with upstream verilog-mode r840.
10221 * progmodes/verilog-mode.el (verilog-mode-version)
10222 (verilog-mode-release-date): Update.
10223 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10224 (verilog-sig-tieoff): Fix string error on
10225 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10226 (verilog-read-decls): Fix parameters confusing
10227 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10229 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10231 * subr.el (reveal-filename): New function.
10233 * loadup.el: Compute Emacs executable versions on MS-Windows,
10234 where executables have the .exe extension. Add a hard link
10235 emacs-XX.YY.ZZ.exe on MS-Windows.
10237 * Makefile.in (XARGS_LIMIT): New variable.
10238 (custom-deps, finder-data, autoloads)
10239 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10240 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10241 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10242 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10244 2013-05-16 Leo Liu <sdl.web@gmail.com>
10246 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10247 (octave-mode-menu, octave-mode-map): Remove its uses.
10249 2013-05-16 Reto Zimmermann <reto@gnu.org>
10251 Sync with upstream vhdl mode v3.34.2.
10252 * progmodes/vhdl-mode.el: Use `push' throughout.
10253 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10254 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10255 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10256 (vhdl-actual-generic-name): New option to derive actual generic name.
10257 (vhdl-port-paste-signals): Replace formal by actual generics.
10258 (vhdl-beautify): New name for old group vhdl-align. Update users.
10259 (vhdl-beautify-options): New option.
10260 (vhdl-last-input-event): New compat alias. Use throughout.
10261 (vhdl-goto-line): Replace user level function `goto-line'.
10262 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10263 vhdl-fix-statement-buffer.
10264 (vhdl-create-mode-menu): Add some entries.
10265 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10266 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10267 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10268 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10269 to force statements on one line.
10270 (vhdl-remove-trailing-spaces-region):
10271 New, split from vhdl-remove-trailing-spaces.
10272 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10273 Respect vhdl-beautify-options.
10274 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10275 (vhdl-update-sensitivity-list): Not add with index if exists without.
10276 Not include array index with signal. Ignore keywords in comments.
10277 (vhdl-get-visible-signals): Regexp tweaks.
10278 (vhdl-template-component-inst): Handle empty library.
10279 (vhdl-template-type): Add template for 'enum' type.
10280 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10281 Use vhdl-replace-string.
10282 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10283 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10284 (vhdl-speedbar-initialize): Update for above name change.
10285 (vhdl-compose-wire-components): Fix in handling of constants.
10286 (vhdl-error-regexp-emacs-alist): New variable.
10287 (vhdl-error-regexp-add-emacs): New function;
10288 adds support for new compile.el (Emacs 22+)
10289 (vhdl-generate-makefile-1): Change target order for single lib. units.
10290 Allow use of absolute file names.
10292 2013-05-16 Leo Liu <sdl.web@gmail.com>
10294 * simple.el (prog-indent-sexp): Indent enclosing defun.
10296 2013-05-15 Glenn Morris <rgm@gnu.org>
10298 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10299 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10300 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10301 (whitespace-highlight): Move to whitespace group.
10303 * comint.el (comint-source):
10304 * pcmpl-linux.el (pcmpl-linux):
10305 * shell.el (shell-faces):
10306 * eshell/esh-opt.el (eshell-opt):
10307 * international/ccl.el (ccl): Remove empty custom groups.
10309 * completion.el (dynamic-completion-mode):
10310 * jit-lock.el (jit-lock-debug-mode):
10311 * minibuffer.el (completion-in-region-mode):
10312 * type-break.el (type-break-mode-line-message-mode)
10313 (type-break-query-mode):
10314 * emulation/tpu-edt.el (tpu-edt-mode):
10315 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10316 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10317 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10319 * term/xterm.el (xterm): Change parent group to terminals.
10321 * master.el (master): Remove empty custom group.
10322 (master-mode): Remove unused :group argument.
10323 * textmodes/refill.el (refill): Remove empty custom group.
10324 (refill-mode): Remove unused :group argument.
10326 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10328 * cus-dep.el: Provide a feature.
10329 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10330 Don't mistakenly ignore files whose basenames match a basename
10331 from preloaded-file-list (eg cedet/ede/simple.el).
10332 Add a fallback method for getting :group.
10334 2013-05-15 Juri Linkov <juri@jurta.org>
10336 * isearch.el (isearch-char-by-name): Rename from
10337 `isearch-insert-char-by-name'. Doc fix.
10338 (isearch-forward): Mention `isearch-char-by-name' in
10339 the docstring. (Bug#13348)
10341 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10342 `exit-minibuffer' instead of
10343 `isearch-nonincremental-exit-minibuffer'.
10344 (isearch-edit-string): Remove mention of
10345 `isearch-nonincremental-exit-minibuffer' from docstring.
10346 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10347 (isearch-forward-exit-minibuffer)
10348 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10350 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10352 * loadup.el: Just use unversioned DOC.
10354 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10355 literals as extending to EOB.
10356 (nxml-last-fontify-end): Remove unused variable.
10357 (nxml-after-change1): Use with-silent-modifications.
10358 (nxml-extend-after-change-region): Simplify.
10359 (nxml-extend-after-change-region1): Remove function.
10360 (nxml-after-change1): Don't adjust for dependent regions.
10361 (nxml-fontify-matcher): Simplify.
10362 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10363 (xmltok-add-dependent): Remove function.
10364 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10365 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10366 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10367 unclosed <[[, <?, comment, and other literals as extending to EOB.
10368 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10369 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10371 (rng-do-some-validation-1): Don't mark dependent regions.
10372 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10373 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10374 (nxml-clear-dependent-regions): Remove functions.
10375 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10376 (nxml-ensure-scan-up-to-date):
10377 Don't clear&mark dependent regions.
10379 2013-05-15 Leo Liu <sdl.web@gmail.com>
10381 * progmodes/octave.el (octave-goto-function-definition):
10382 Improve and fix callers.
10384 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10386 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10387 the setter (bug#14387).
10389 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10390 surrounding group (bug#14402).
10392 2013-05-14 Juri Linkov <juri@jurta.org>
10394 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10397 2013-05-14 Glenn Morris <rgm@gnu.org>
10399 * progmodes/f90.el (f90-imenu-generic-expression):
10400 Fix typo in 2013-05-08 change. (Bug#14402)
10402 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10404 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10405 Remove signals for which replies are never received.
10407 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10409 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10410 (gdb-handler-alist, gdb-handler-number): Remove variables.
10411 (gdb-handler-list): New variable.
10412 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10413 (gdb-pending-handler-p, gdb-handle-reply)
10414 (gdb-remove-all-pending-triggers): New functions.
10415 (gdb-discard-unordered-replies): New defcustom.
10416 (gdb-handler): New defstruct.
10417 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10418 instead of gdb-pending-triggers. Update docstring.
10419 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10420 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10421 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10422 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10423 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10424 (gdb-frame-handler): Pending triggers are now automatically managed.
10425 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10427 (gdb-input): Automatically handles pending triggers. Update docstring.
10428 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10429 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10431 (gdb-done-or-error): Now use gdb-handle-reply.
10433 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10435 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10438 2013-05-14 Glenn Morris <rgm@gnu.org>
10440 * subr.el (user-emacs-directory-warning): New option.
10441 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10443 2013-05-14 Leo Liu <sdl.web@gmail.com>
10445 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10447 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10448 (octave-font-lock-texinfo-comment): Fix invalid search bound
10449 error: wrong side of point.
10451 2013-05-14 Glenn Morris <rgm@gnu.org>
10453 * progmodes/flymake.el (flymake-xml-program): New option.
10454 (flymake-xml-init): Use it.
10456 * term/xterm.el: Provide a feature.
10458 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10460 2013-05-13 Glenn Morris <rgm@gnu.org>
10462 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10463 Add compat aliases as a hack workaround. (Bug#14384)
10465 2013-05-13 Leo Liu <sdl.web@gmail.com>
10467 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10469 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10471 (octave-comment-start-skip): Include %!.
10472 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10474 2013-05-12 Leo Liu <sdl.web@gmail.com>
10476 * progmodes/octave.el (inferior-octave-startup): Store the value
10477 of __octave_srcdir__ for octave-source-directories.
10478 (inferior-octave-check-process): New function refactored out of
10479 inferior-octave-send-list-and-digest.
10480 (octave-source-directories)
10481 (octave-find-definition-filename-function): New variables.
10482 (octave-source-directories)
10483 (octave-find-definition-default-filename): New functions.
10484 (octave-find-definition): Improve to find functions implemented in C++.
10486 2013-05-12 Glenn Morris <rgm@gnu.org>
10488 * calendar/diary-lib.el (diary-outlook-format-1):
10489 Don't include dayname in the output. (Bug#14349)
10491 2013-05-11 Glenn Morris <rgm@gnu.org>
10493 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10495 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10496 Treat cc-provide like provide.
10498 2013-05-11 Kevin Ryde <user42@zip.com.au>
10500 * cus-dep.el (custom-make-dependencies):
10501 Use generated-autoload-load-name for the sake of files such
10502 such cedet/semantic/bovine/c.el, where the base file name
10503 is not in load-path. (Bug#5277)
10505 2013-05-11 Glenn Morris <rgm@gnu.org>
10507 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10510 2013-05-11 Leo Liu <sdl.web@gmail.com>
10512 * progmodes/octave.el (octave-indent-comment): Improve.
10513 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10514 (octave-eldoc-function-signatures, octave-eldoc-function):
10516 (octave-mode, inferior-octave-mode): Add eldoc support.
10518 2013-05-11 Richard Stallman <rms@gnu.org>
10520 * epa.el (epa-decrypt-file): Take output file name as argument
10521 and read it using `interactive'.
10523 2013-05-11 Leo Liu <sdl.web@gmail.com>
10525 * progmodes/octave.el (octave-beginning-of-line)
10526 (octave-end-of-line): Check before using up-list because it jumps
10527 out of more syntactic contructs since moving to smie.
10528 (octave-indent-comment): New function.
10529 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10530 (octave-begin-keywords, octave-end-keywords)
10531 (octave-reserved-words, octave-smie-bnf-table)
10532 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10534 2013-05-11 Glenn Morris <rgm@gnu.org>
10536 * faces.el (internal-face-x-get-resource):
10537 * frame.el (ns-display-monitor-attributes-list):
10538 * calc/calc-aent.el (math-to-radians-2):
10539 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10542 * calc/calc-menu.el: Make it loadable in isolation.
10544 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10545 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10546 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10547 (eudc-bbdb-query-internal): Require 'bbdb.
10549 * lpr.el (lpr-headers-switches):
10550 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10552 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10554 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10556 * term.el (term-set-escape-char): Make it idempotent.
10558 2013-05-10 Leo Liu <sdl.web@gmail.com>
10560 * progmodes/octave.el (inferior-octave-completion-table):
10561 No longer a function and all uses changed. Use cache to speed up
10562 completion due to bug#11906.
10563 (octave-beginning-of-defun): Re-write to be more general.
10565 2013-05-10 Glenn Morris <rgm@gnu.org>
10567 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10569 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10571 * comint.el (comint-redirect-send-command-to-process): Use :around
10572 rather than :override for comint-redirect-filter.
10573 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10574 Call it instead of comint-redirect-original-filter-function (which
10575 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10577 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10579 * frame.el (display-monitor-attributes-list): Add NS case.
10580 (ns-display-monitor-attributes-list): Declare.
10582 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10584 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10586 2013-05-09 Glenn Morris <rgm@gnu.org>
10588 * international/fontset.el (vertical-centering-font-regexp):
10589 Set standard-value.
10591 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10593 * bookmark.el (bookmark-search-delay):
10594 * cus-start.el (vertical-centering-font-regexp):
10595 * ps-mule.el (ps-mule-font-info-database-default):
10596 * ps-print.el (ps-default-fg, ps-default-bg):
10597 * type-break.el (type-break-good-break-interval):
10598 * whitespace.el (whitespace-indentation-regexp)
10599 (whitespace-space-after-tab-regexp):
10600 * emacs-lisp/testcover.el (testcover-1value-functions)
10601 (testcover-noreturn-functions, testcover-progn-functions)
10602 (testcover-prog1-functions):
10603 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10604 * eshell/em-glob.el (eshell-glob-translate-alist):
10605 * play/tetris.el (tetris-tty-colors):
10606 * progmodes/cpp.el (cpp-face-default-list):
10607 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10608 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10609 (idlwave-help-browser-generic-args):
10610 * progmodes/make-mode.el (makefile-special-targets-list):
10611 * progmodes/python.el (python-shell-virtualenv-path):
10612 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10613 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10614 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10615 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10616 * textmodes/reftex-vars.el (reftex-format-label-function):
10617 * textmodes/remember.el (remember-diary-file): Fix custom types.
10619 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10622 2013-05-09 Leo Liu <sdl.web@gmail.com>
10624 * progmodes/octave.el (inferior-octave-completion-at-point):
10625 Restore file completion. (Bug#14300)
10626 (inferior-octave-startup): Fix incorrect highlighting for the
10629 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10631 * progmodes/ruby-mode.el: First cut at SMIE support.
10632 (ruby-use-smie): New var.
10633 (ruby-smie-grammar): New constant.
10634 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10635 (ruby-smie--forward-token, ruby-smie--backward-token)
10636 (ruby-smie-rules): New functions.
10637 (ruby-mode-variables): Setup SMIE if applicable.
10639 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10641 * simple.el (line-move-visual): Signal beginning/end of buffer
10642 only if vertical-motion moved less than it was requested. Avoids
10643 silly incorrect error messages when there are display strings with
10644 multiple newlines at EOL.
10646 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10648 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10649 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10650 (prolog-char-quote-workaround):
10651 * progmodes/cperl-mode.el (cperl-under-as-char):
10652 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10654 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10656 (vhdl-mode-syntax-table-init): Remove.
10658 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10661 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10663 (ld-script-font-lock-keywords):
10664 Change regexps to use things like \_< and \_>.
10666 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10667 Change all regexps to use things like \_< and \_>.
10669 * progmodes/autoconf.el (autoconf-definition-regexp)
10670 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10671 Handle a _ with symbol syntax.
10672 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10674 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10675 Consolidate declaration.
10676 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10678 (ada-create-syntax-table): Remove.
10679 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10680 already has the right syntax nowadays.
10681 (ada-goto-next-word): Don't change the syntax of "_".
10683 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10686 2013-05-08 Sam Steingold <sds@gnu.org>
10688 * thingatpt.el (thing-at-point): Accept optional second argument
10689 NO-PROPERTIES to strip the text properties from the return value.
10690 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10691 to `thing-at-point' instead of stripping the properties ourselves.
10692 Also, when `thing-at-point' fails to find a url, prepend "http://"
10693 to the filename at point on the assumption that the user is
10694 pointing at something like gnu.org/gnu.
10696 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10698 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10699 * faces.el (crm-separator):
10700 Silence byte-compiler.
10702 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10703 (tool-bar-map): Remove unneeded defvars.
10705 2013-05-08 Leo Liu <sdl.web@gmail.com>
10707 Re-work a fix for bug#10994 based on Le Wang's patch.
10708 * ido.el (ido-remove-consecutive-dups): New helper.
10709 (ido-completing-read): Use it.
10710 (ido-chop): Revert fix for bug#10994.
10712 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10714 * cus-edit.el (custom-save-variables):
10715 Pretty-print long values. (Bug#14187)
10717 2013-05-08 Glenn Morris <rgm@gnu.org>
10719 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10720 (m4-mode-syntax-table): Init in the defvar.
10721 (m4-mode-abbrev-table): Let define-derived-mode define it.
10723 2013-05-08 Tom Tromey <tromey@redhat.com>
10725 * progmodes/m4-mode.el (m4-mode-syntax-table):
10726 Do not treat "_" as word constituent. (Bug#14167)
10728 2013-05-07 Glenn Morris <rgm@gnu.org>
10730 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10731 Remove explicit eshell-isearch-cancel-map.
10733 * progmodes/f90.el (f90-smart-end-names): New option.
10734 (f90-smart-end): Doc fix.
10735 (f90-end-block-optional-name): New constant.
10736 (f90-block-match): Respect f90-smart-end-names.
10738 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10740 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10741 about implicit semi-colons (bug#14218).
10743 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10745 * frame.el (display-monitor-attributes-list)
10746 (frame-monitor-attributes): New functions.
10748 2013-05-06 Leo Liu <sdl.web@gmail.com>
10750 * progmodes/octave.el (octave-syntax-propertize-function): Change
10751 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10752 (octave-font-lock-keywords): Use octave-operator-regexp.
10753 (octave-completion-at-point): Rename from
10754 octave-completion-at-point-function.
10755 (inferior-octave-directory-tracker): Robustify.
10756 (octave-text-functions): Remove and fix its uses. No such things
10759 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10761 * emacs-lisp/trace.el (trace--display-buffer): New function.
10762 (trace-make-advice): Use it.
10764 2013-05-06 Juri Linkov <juri@jurta.org>
10766 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10767 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10769 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10770 in the help string. (Bug#12985)
10772 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10774 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10776 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10778 * progmodes/perl-mode.el: Add support for here documents.
10779 (perl-syntax-propertize-function): Match here-doc markers.
10780 (perl-syntax-propertize-special-constructs): Find their end.
10781 (perl-imenu-generic-expression): Use [:alnum:].
10783 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10784 (advice--add-function): Refresh the advice if already present
10787 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10789 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10791 2013-05-06 Glenn Morris <rgm@gnu.org>
10793 * w32-fns.el (w32-charset-info-alist): Declare.
10795 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10796 of its defcustom properties.
10797 (eshell-cmpl-initialize): No need to load pcomplete.
10799 * generic-x.el: No need to require comint when compiling.
10801 * net/eudc-export.el: Make it loadable without bbdb.
10802 (top-level): Use require rather than load-library.
10803 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10804 (eudc-batch-export-records-to-bbdb)
10805 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10808 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10810 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10811 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10812 some tweaks, instead.
10814 2013-05-05 Leo Liu <sdl.web@gmail.com>
10816 * progmodes/octave.el (octave-font-lock-keywords)
10817 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10818 (inferior-octave-send-list-and-digest): Improve error message.
10819 (octave-mode, inferior-octave-mode): Use setq-local.
10820 (octave-help): Set info-lookup-mode.
10822 2013-05-05 Richard Stallman <rms@gnu.org>
10824 * vc/compare-w.el (compare-windows-whitespace):
10825 Treat no-break space as whitespace.
10827 * mail/rmailsum.el (rmail-summary-rmail-update):
10828 Detect empty summary and don't change selected message.
10829 (rmail-summary-goto-msg): Likewise.
10831 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10832 Doc fixes, rename args.
10834 2013-05-05 Alan Mackenzie <acm@muc.de>
10836 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10838 2013-05-05 Juri Linkov <juri@jurta.org>
10840 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10841 to not add the length of the summary segment to the return value.
10844 2013-05-05 Leo Liu <sdl.web@gmail.com>
10846 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10847 (inferior-octave-output-filter): Remove.
10848 (octave-send-region, inferior-octave-startup): Fix callers.
10849 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10850 (octave-binary-file-extensions): New user variable.
10851 (octave-find-definition): Confirm if opening binary files.
10852 (octave-help-file): Use octave-find-definition to get the binary
10854 (octave-help): Adjust for octave-help-file change.
10856 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10858 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10859 Merge the two entries that handle function definitions.
10860 (pascal--syntax-propertize): New const.
10861 (pascal-mode): Use it. Use setq-local.
10863 2013-05-04 Glenn Morris <rgm@gnu.org>
10865 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10866 (diary-from-outlook): Respect diary-from-outlook-function.
10868 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10870 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10871 Move the declaration from C.
10872 (read-minibuffer, eval-minibuffer): Move from C.
10873 (completion-setup-function): Avoid minibuffer-completion-contents.
10875 2013-05-03 Leo Liu <sdl.web@gmail.com>
10877 * progmodes/octave.el (octave-font-lock-keywords): Do not
10878 dehighlight 'end' in comments or strings.
10879 (octave-completing-read, octave-goto-function-definition):
10881 (octave-help-buffer): New user variable.
10882 (octave-help-file, octave-help-function): New button types.
10883 (octave-help): New command and bind it to C-h ;.
10884 (octave-find-definition): New command and bind it to M-.
10885 (user-error): Alias to error if not defined.
10887 2013-05-02 Leo Liu <sdl.web@gmail.com>
10889 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10891 (octave-font-lock-keywords): Include [ and {.
10893 2013-05-02 Leo Liu <sdl.web@gmail.com>
10895 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10896 (inferior-octave): Remove calling comint-mode and return the buffer.
10897 (inferior-octave-startup): Cosmetic changes.
10899 2013-05-02 Leo Liu <sdl.web@gmail.com>
10901 * progmodes/octave.el (octave-syntax-propertize-function):
10902 Include the case when ' is at line beginning. (Bug#14336)
10904 2013-05-02 Glenn Morris <rgm@gnu.org>
10906 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10907 * desktop.el (vc-dir-mode): Just autoload it here.
10909 2013-05-02 Alan Mackenzie <acm@muc.de>
10911 Eliminate variable c-standard-font-lock-fontify-region-function.
10912 * progmodes/cc-mode.el
10913 (c-standard-font-lock-fontify-region-function): Remove.
10914 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10916 2013-05-01 Leo Liu <sdl.web@gmail.com>
10918 * progmodes/octave.el: Compatible with older emacs-24 releases.
10919 (inferior-octave-has-built-in-variables): Remove. Built-in
10920 variables were removed from Octave in 2007.
10921 (inferior-octave-startup): Fix uses.
10922 (comint-line-beginning-position): Remove compatibility code for
10925 2013-05-01 Juri Linkov <juri@jurta.org>
10927 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10929 2013-05-01 Juri Linkov <juri@jurta.org>
10931 * comint.el (comint-previous-matching-input): Don't print message
10932 "History item: %d" when `isearch-mode' is active.
10933 (comint-history-isearch-message): Print message "History item: %d"
10934 when `comint-input-ring-index' is not empty and this function is
10935 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10937 2013-05-01 Leo Liu <sdl.web@gmail.com>
10939 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10940 definitions. Use completion-at-point to insert keywords.
10941 (octave-abbrev-start): Remove.
10942 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10944 2013-04-30 Leo Liu <sdl.web@gmail.com>
10946 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10949 2013-04-30 Alan Mackenzie <acm@muc.de>
10951 Handle arbitrarily long C++ member initialisation lists.
10952 * progmodes/cc-engine.el (c-back-over-member-initializers):
10954 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10955 (most) member init lists.
10957 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10959 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10962 2013-04-30 Leo Liu <sdl.web@gmail.com>
10964 * progmodes/octave.el (octave-variables): Remove. No builtin
10965 variables any more. All converted to functions.
10966 (octave-font-lock-keywords, octave-completion-at-point-function):
10968 (octave-font-lock-texinfo-comment): New user variable.
10969 (octave-texinfo-font-lock-keywords): New variable for texinfo
10971 (octave-function-comment-block): New face.
10972 (octave-font-lock-texinfo-comment): New function.
10973 (octave-mode): Font lock texinfo comment block.
10975 2013-04-29 Leo Liu <sdl.web@gmail.com>
10977 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10978 indexing expression.
10979 (octave-continuation-string): Do not use \.
10980 (inferior-octave-complete-impossible): Remove.
10981 (inferior-octave-completion-table)
10982 (inferior-octave-completion-at-point): Remove its uses.
10983 (inferior-octave-startup): completion_matches was introduced to
10984 Octave in 1996 so safe to assume it.
10985 (octave-function-file-comment): Improve to follow how Octave does it.
10986 (octave-update-function-file-comment): Tweak.
10988 2013-04-29 Leo Liu <sdl.web@gmail.com>
10990 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10991 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10992 (octave-function-file-comment): Fix typo.
10993 (octave-sync-function-file-names): Use read-char-choice.
10995 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10997 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10998 to t for the less important warnings.
11000 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11002 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11004 2013-04-27 Glenn Morris <rgm@gnu.org>
11006 * vc/log-view.el (log-view-current-entry):
11007 Treat "---" separator lines as part of the following rev. (Bug#14169)
11009 2013-04-27 Juri Linkov <juri@jurta.org>
11011 * subr.el (read-number): Doc fix about using it by interactive
11012 code letter `n'. (Bug#14254)
11014 2013-04-27 Juri Linkov <juri@jurta.org>
11016 * desktop.el (desktop-auto-save-timeout): New option.
11017 (desktop-file-checksum): New variable.
11018 (desktop-save): Add optional arg `auto-save' and don't auto-save
11019 if nothing changed.
11020 (desktop-auto-save-timer): New variable.
11021 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11022 (after-init-hook): Call `desktop-auto-save-set-timer'.
11023 Suggested by Reuben Thomas <rrt@sc3d.org> in
11024 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11026 2013-04-27 Leo Liu <sdl.web@gmail.com>
11028 * progmodes/octave.el (octave-function-file-p)
11029 (octave-skip-comment-forward, octave-function-file-comment)
11030 (octave-update-function-file-comment): New functions.
11031 (octave-mode-map): Bind C-c ; to
11032 octave-update-function-file-comment.
11033 (octave-mode-menu): Add octave-update-function-file-comment.
11034 (octave-mode, inferior-octave-mode): Fix doc-string.
11035 (octave-insert-defun): Conform to Octave's coding convention.
11038 * files.el (basic-save-buffer): Don't let errors in
11039 before-save-hook prevent saving buffer.
11041 2013-04-20 Roland Winkler <winkler@gnu.org>
11043 * faces.el (read-face-name): Use completing-read if arg multiple
11046 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11048 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11049 displayed, move point to after the totals line.
11050 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11053 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11055 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11056 Add current dir to the load-path.
11057 (package-generate-autoloads): Don't rely on
11058 autoload-ensure-default-file.
11060 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11062 * textmodes/remember.el (remember-store-in-files): Document that
11063 the file name format is passed to `format-time-string'.
11065 2013-04-26 Leo Liu <sdl.web@gmail.com>
11067 * progmodes/octave.el (octave-sync-function-file-names): New function.
11068 (octave-mode): Use it in before-save-hook.
11070 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11072 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11075 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11076 \n and comment, even if it's not an implicit ; (bug#14218).
11078 2013-04-26 Glenn Morris <rgm@gnu.org>
11080 * subr.el (read-number): Once more use `read' rather than
11081 `string-to-number', to trap non-numeric input. (Bug#14254)
11083 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11085 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11086 Use `syntax-multiline' text property consistently instead of
11087 `font-lock-multiline'. (Bug#14237)
11089 2013-04-26 Glenn Morris <rgm@gnu.org>
11091 * emacs-lisp/shadow.el (list-load-path-shadows):
11092 No longer necessary to check for duplicate simple.el, since
11093 2012-07-07 change to init_lread to not include installation lisp
11094 directories in load-path when running uninstalled. (Bug#14270)
11096 2013-04-26 Leo Liu <sdl.web@gmail.com>
11098 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11099 (octave-mode, inferior-octave-mode): Use setq-local.
11100 (octave-not-in-string-or-comment-p): Rename to
11101 octave-in-string-or-comment-p.
11102 (octave-in-comment-p, octave-in-string-p)
11103 (octave-in-string-or-comment-p): Replace defsubst with defun.
11105 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11107 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11109 2013-04-25 Bastien Guerry <bzg@gnu.org>
11111 * textmodes/remember.el (remember-data-directory)
11112 (remember-directory-file-name-format): Fix custom types.
11114 2013-04-25 Leo Liu <sdl.web@gmail.com>
11116 * progmodes/octave.el (octave-completion-at-point-function):
11117 Make use of inferior octave process.
11118 (octave-initialize-completions): Remove.
11119 (inferior-octave-completion-table): New function.
11120 (inferior-octave-completion-at-point): Use it.
11121 (octave-completion-alist): Remove.
11123 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11125 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11126 (opascal-mode-syntax-table): New var.
11127 (opascal-literal-kind, opascal-is-literal-end)
11128 (opascal-literal-token-at): Rewrite.
11129 (opascal--literal-start-re, opascal-font-lock-keywords)
11130 (opascal--syntax-propertize): New constants.
11131 (opascal-font-lock-defaults): Adjust.
11132 (opascal-mode): Use them. Set comment-<foo> variables as well.
11133 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11134 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11135 (delphi-other-face, opascal-other-face): Remove face variables.
11136 (opascal-save-state): Remove macro.
11137 (opascal-fontifying-progress-step): Remove constant.
11138 (opascal--ignore-changes): Remove var.
11139 (opascal-set-token-property, opascal-parse-next-literal)
11140 (opascal-is-stable-literal, opascal-complete-literal)
11141 (opascal-is-literal-start, opascal-face-of)
11142 (opascal-parse-region, opascal-parse-region-until-stable)
11143 (opascal-fontify-region, opascal-after-change)
11144 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11145 (opascal-debug-parse-region, opascal-debug-parse-window)
11146 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11147 (opascal-debug-fontify-buffer): Remove.
11148 (opascal-debug-mode-map): Adjust accordingly.
11150 2013-04-25 Leo Liu <sdl.web@gmail.com>
11152 Merge octave-mod.el and octave-inf.el into octave.el with some
11154 * progmodes/octave.el: New file renamed from octave-mod.el.
11155 * progmodes/octave-inf.el: Merged into octave.el.
11156 * progmodes/octave-mod.el: Renamed to octave.el.
11158 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11160 * textmodes/reftex-vars.el
11161 (reftex-label-ignored-macros-and-environments): New defcustom.
11163 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11165 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11167 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11168 (smie-indent-keyword): Improve the check to ensure that the next
11169 comment is really on the same line.
11170 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11172 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11173 semi-colons if the line is not otherwise empty (bug#14218).
11175 2013-04-25 Glenn Morris <rgm@gnu.org>
11177 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11179 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11181 * progmodes/opascal.el (opascal-set-token-property): Rename from
11182 opascal-set-text-properties and only set `token' (bug#14134).
11183 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11184 (opascal-literal-text-properties): Remove.
11185 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11188 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11190 * textmodes/remember.el (remember-handler-functions): Add an
11191 option for a new handler `remember-store-in-files'.
11192 (remember-data-directory, remember-directory-file-name-format):
11194 (remember-store-in-files): New function to store remember notes
11195 as separate files within a directory.
11197 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11199 * progmodes/compile.el (compilation-next-error-function):
11200 Pass "formats" to compilation-find-file (bug#11777).
11202 2013-04-24 Glenn Morris <rgm@gnu.org>
11204 * vc/vc-bzr.el (vc-bzr-print-log):
11205 * vc/vc-hg.el (vc-hg-print-log):
11206 * vc/vc-svn.el (vc-svn-print-log):
11207 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11209 * vc/vc-bzr.el (vc-bzr-print-log):
11210 * vc/vc-cvs.el (vc-cvs-print-log):
11211 * vc/vc-git.el (vc-git-print-log):
11212 * vc/vc-hg.el (vc-hg-print-log):
11213 * vc/vc-mtn.el (vc-mtn-print-log):
11214 * vc/vc-rcs.el (vc-rcs-print-log):
11215 * vc/vc-sccs.el (vc-sccs-print-log):
11216 * vc/vc-svn.el (vc-svn-print-log):
11217 * vc/vc.el (vc-print-log-internal): Doc fixes.
11219 2013-04-23 Glenn Morris <rgm@gnu.org>
11221 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11222 Remove venerable code attempting to avoid substitute-command-keys.
11224 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11226 * textmodes/reftex-vars.el (reftex-label-regexps):
11227 Call `reftex-compile-variables' after changes to this variable.
11229 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11231 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11232 Use lexical-binding.
11233 (jit-lock-force-redisplay): Use markers, check buffer's continued
11234 existence and beware narrowed buffers.
11235 (jit-lock-fontify-now): Adjust call accordingly.
11237 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11239 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11240 to avoid misleading the user.
11242 2013-04-22 Leo Liu <sdl.web@gmail.com>
11244 * info-look.el: Prefer latex2e.info. (Bug#14240)
11246 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11248 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11250 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11251 * net/tramp.el (tramp-call-process): ... here.
11252 (tramp-set-completion-function, tramp-parse-putty):
11253 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11254 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11255 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11256 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11257 (tramp-call-local-coding-command): Use `tramp-call-process'
11258 instead of `tramp-compat-call-process'.
11260 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11261 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11262 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11263 (tramp-find-inline-compress): Improve traces.
11264 (tramp-maybe-send-script): Check for Perl binary.
11265 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11267 2013-04-22 Daiki Ueno <ueno@gnu.org>
11269 * epg.el (epg-context-pinentry-mode): New function.
11270 (epg-context-set-pinentry-mode): New function.
11271 (epg--start): Pass --pinentry-mode option to gpg command.
11273 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11275 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11276 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11277 `completion-at-point'. (Bug#13774)
11279 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11280 default key binding for `describe-distribution' has been moved to
11281 `C-h C-o'. (Bug#13970)
11283 2013-04-21 Glenn Morris <rgm@gnu.org>
11285 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11287 (vc-print-log): Clarify interactive prompt.
11289 2013-04-20 Glenn Morris <rgm@gnu.org>
11291 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11292 No longer include timestamp etc information.
11294 2013-04-20 Roland Winkler <winkler@gnu.org>
11296 * faces.el (read-face-name): Bug fix, return just one face if arg
11297 multiple is nil. (Bug#14209)
11299 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11301 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11302 (remove-function): Autoload.
11304 * comint.el (comint-redirect-original-filter-function): Remove.
11305 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11306 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11307 (vc-cvs-annotate-command):
11308 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11309 * progmodes/prolog.el (prolog-consult-compile):
11310 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11311 Use add/remove-function instead.
11312 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11313 (gud-tooltip-process-output, gud-tooltip-tips):
11314 Use add/remove-function instead.
11315 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11316 (scheme-interaction-mode, exit-scheme-interaction-mode):
11317 Use add/remove-function instead.
11319 * vc/vc-dispatcher.el: Use lexical-binding.
11320 (vc--process-sentinel): Rename from vc-process-sentinel.
11321 Change last arg to be the code to run. Don't use vc-previous-sentinel
11322 and vc-sentinel-commands any more.
11323 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11324 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11326 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11328 * progmodes/sh-script.el (sh-imenu-generic-expression):
11329 Handle function names with a single character. (Bug#14111)
11331 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11333 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11334 for subroutines defined in an eval (bug#14182).
11336 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11338 * bookmark.el (bookmark-completing-read): Improve handling of empty
11339 string (bug#14176).
11341 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11343 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11345 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11347 New faster Imenu implementation (bug#14058).
11348 * progmodes/python.el:
11349 (python-imenu-prev-index-position):
11350 (python-imenu-format-item-label-function)
11351 (python-imenu-format-parent-item-label-function)
11352 (python-imenu-format-parent-item-jump-label-function):
11354 (python-imenu-format-item-label)
11355 (python-imenu-format-parent-item-label)
11356 (python-imenu-format-parent-item-jump-label)
11357 (python-imenu--put-parent, python-imenu--build-tree)
11358 (python-imenu-create-index, python-imenu-create-flat-index)
11359 (python-util-popn): New functions.
11360 (python-mode): Set imenu-create-index-function to
11361 python-imenu-create-index.
11363 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11365 * winner.el (winner-active-region): Use region-active-p, activate-mark
11366 and deactivate-mark (bug#14225).
11368 * simple.el (deactivate-mark): Don't inline it.
11370 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11372 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11374 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11376 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11377 file extensions from the archive-mode entry in order to prefer
11378 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11380 2013-04-18 Leo Liu <sdl.web@gmail.com>
11382 * bindings.el (help-event-list): Add ?\?.
11384 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11386 * subr.el (with-wrapper-hook): Declare obsolete.
11387 * simple.el (filter-buffer-substring-function): New hook.
11388 (filter-buffer-substring): Use it.
11389 (filter-buffer-substring-functions): Mark obsolete.
11390 * minibuffer.el (completion-in-region-function): New hook.
11391 (completion-in-region): Use it.
11392 (completion-in-region-functions): Mark obsolete.
11393 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11394 * abbrev.el (abbrev-expand-function): New hook.
11395 (expand-abbrev): Use it.
11396 (abbrev-expand-functions): Mark obsolete.
11397 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11398 and :filter-return.
11400 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11402 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11403 and do not care about match data.
11405 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11407 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11408 completion tables when completing error conditions and
11409 `declare' arguments.
11410 (lisp-complete-symbol, field-complete): Mark as obsolete.
11411 (check-parens): Unmatched parens are user errors.
11412 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11414 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11416 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11417 command changed buffer (ie. `flyspell-pre-buffer' is not current
11418 buffer), which prevents making decisions based on invalid value of
11419 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11420 cause an error when `flyspell-pre-point' was nil after switching
11422 (flyspell-post-command-hook): No longer needs to change buffers when
11423 checking pre-word. While at it remove unnecessary progn.
11425 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11427 * textmodes/ispell.el (ispell-add-per-file-word-list):
11428 Fix `flyspell-correct-word-before-point' error when accepting
11429 words and `coment-padding' is an integer by using
11430 `comment-normalize-vars' (Bug #14214).
11432 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11434 New defun movement commands.
11435 * progmodes/python.el (python-nav--syntactically)
11436 (python-nav--forward-defun, python-nav-backward-defun)
11437 (python-nav-forward-defun): New functions.
11439 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11441 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11442 (python-syntax-context): Use named compiler-macro for backwards
11443 compatibility with Emacs 24.x.
11445 2013-04-17 Leo Liu <sdl.web@gmail.com>
11447 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11448 octave-hide-process-buffer.
11450 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11452 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11455 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11457 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11458 Fix adjustment of offset when receiving incomplete responses from GDB
11461 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11463 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11464 python-mode-abbrev-table.
11465 (python-skeleton-define): Adjust accordingly.
11466 (python-mode-abbrev-table): New table that inherits from it so that
11467 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11469 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11470 (abbrev-symbol): Use it.
11471 (abbrev--before-point): Use it since we already handle inheritance.
11473 2013-04-16 Leo Liu <sdl.web@gmail.com>
11475 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11476 binding to info-lookup-symbol.
11478 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11480 * minibuffer.el (completion--twq-all):
11481 * term/ns-win.el (ns-initialize-window-system):
11482 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11484 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11486 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11489 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11491 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11493 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11494 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11496 (ruby-end-of-defun): Remove the unused arg, change the docstring
11497 to reflect that this function is only used as the value of
11498 `end-of-defun-function'.
11499 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11500 to reflect an earlier change that beginning/end-of-defun functions
11501 jump between methods in a class definition, as well as top-level
11504 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11506 * minibuffer.el (minibuffer-complete): Don't just scroll
11507 a *Completions* that's been iconified.
11508 (minibuffer-force-complete): Make sure repetitions do cycle when going
11509 through completion-in-region -> minibuffer-complete.
11511 2013-04-15 Alan Mackenzie <acm@muc.de>
11513 Correct the placement of c-cpp-delimiters when there're #s not at
11516 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11517 place a submatch around the #.
11518 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11519 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11522 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11524 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11525 (advice--member-p): New arg `name'.
11526 (advice--add-function, advice-member-p): Use it (bug#14202).
11528 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11530 Reformulate java imenu-generic-expression.
11531 The old expression contained ill formed regexps.
11533 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11534 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11535 (cc-imenu-java-method-arg-regexp): New defconsts.
11536 (cc-imenu-java-build-type-args-regex): New defun.
11537 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11538 handling of spaces in the regexp.
11540 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11542 * textmodes/ispell.el (ispell-command-loop): Remove
11543 flyspell highlight of a word when ispell accepts it (bug #14178).
11545 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11547 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11548 uses code from the previous `ange-ftp-run-real-handler'.
11549 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11550 only in case that function exist. This is needed for proper
11551 unloading of Tramp.
11553 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11555 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11557 * textmodes/reftex.el (reftex-compile-variables): Use it.
11559 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11561 * files.el (normal-mode): Only use default major-mode if no other mode
11564 * emacs-lisp/trace.el (trace-values): New function.
11566 * files.el: Allow : in local variables (bug#14089).
11567 (hack-local-variable-regexp): New var.
11568 (hack-local-variables-prop-line, hack-local-variables): Use it.
11570 2013-04-13 Roland Winkler <winkler@gnu.org>
11572 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11573 data before it gets modified by bibtex-beginning-of-entry.
11575 2013-04-13 Roland Winkler <winkler@gnu.org>
11577 * textmodes/bibtex.el (bibtex-url): Doc fix.
11579 2013-04-13 Roland Winkler <winkler@gnu.org>
11581 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11582 does not visit a BibTeX file, exclude it from the list of buffers
11583 returned by bibtex-initialize.
11585 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11587 * window.el (split-window): Remove interactive form, since as a
11588 command this function is a special case of split-window-below.
11589 Correct doc string.
11591 2013-04-12 Roland Winkler <winkler@gnu.org>
11593 * faces.el (read-face-name): Do not override value of arg default.
11594 Allow single faces and strings as default values. Remove those
11595 elements from return value that are not faces.
11596 (describe-face): Simplify.
11597 (face-at-point): New optional args thing and multiple so that this
11598 function can provide the same functionality previously provided by
11600 (make-face-bold, make-face-unbold, make-face-italic)
11601 (make-face-unitalic, make-face-bold-italic, invert-face)
11602 (modify-face, read-face-and-attribute): Use face-at-point.
11604 * cus-edit.el (customize-face, customize-face-other-window)
11605 * cus-theme.el (custom-theme-add-face)
11606 * face-remap.el (buffer-face-set)
11607 * facemenu.el (facemenu-set-face): Use face-at-point.
11609 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11611 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11613 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11615 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11616 off leading { and trailing } from field values.
11618 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11620 * emacs-lisp/timer.el (timer--check): New function.
11621 (timer--time, timer-set-function, timer-event-handler): Use it.
11622 (timer-set-idle-time): Simplify.
11623 (timer--activate): CSE.
11624 (timer-event-handler): Give more info in error message.
11625 (internal-timer-start-idle): New function, moved from C.
11627 * mpc.el (mpc-proc): Add `restart' argument.
11628 (mpc-proc-cmd): Use it.
11629 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11630 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11633 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11635 * progmodes/sh-script.el: Implement `sh-mode' own
11636 `add-log-current-defun-function' (bug#14112).
11637 (sh-current-defun-name): New function.
11638 (sh-mode): Use the function.
11640 2013-04-09 Bastien Guerry <bzg@gnu.org>
11642 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11644 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11646 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11648 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11651 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11653 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11656 2013-04-07 Leo Liu <sdl.web@gmail.com>
11658 * pcmpl-x.el: New file.
11660 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11662 Do not set x-display-name until X connection is established.
11663 This is needed to prevent from weird situation described at
11664 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11665 * frame.el (make-frame): Set x-display-name after call to
11666 window system initialization function, not before.
11667 * term/x-win.el (x-initialize-window-system): Add optional
11668 display argument and use it.
11669 * term/w32-win.el (w32-initialize-window-system):
11670 * term/ns-win.el (ns-initialize-window-system):
11671 * term/pc-win.el (msdos-initialize-window-system):
11672 Add compatible optional display argument.
11674 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11676 * files.el (normal-backup-enable-predicate): On MS-Windows and
11677 MS-DOS compare truenames of temporary-file-directory and of the
11678 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11679 don't fail comparison by compare-strings. Also, compare file
11680 names case-insensitively on MS-Windows and MS-DOS.
11682 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11684 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11685 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11687 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11689 * whitespace.el (whitespace-color-on, whitespace-color-off):
11690 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11692 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11694 * ispell.el (ispell-set-spellchecker-params):
11695 Really set `ispell-args' for all equivs.
11697 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11699 * ido.el (ido-completions): Use extra elements of ido-decorations
11701 (ido-decorations): Update docstring.
11703 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11705 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11706 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11707 nil during initialization, in order not to miss changes since the
11708 file was opened. (Bug#14140)
11710 2013-04-05 Leo Liu <sdl.web@gmail.com>
11712 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11714 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11716 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11718 2013-04-04 Glenn Morris <rgm@gnu.org>
11720 * electric.el (electric-pair-inhibit-predicate): Add :version.
11722 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11724 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11725 when a package is required several times (bug#14082).
11727 2013-04-04 Roland Winkler <winkler@gnu.org>
11729 * faces.el (read-face-name): Behave as promised by the docstring.
11730 Assume that arg default is a list of faces.
11731 (describe-face): Call read-face-name with list of default faces.
11733 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11735 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11736 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11737 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11739 (bookmark-exit-hook-internal): Save even if list is empty.
11741 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11743 * emacs-lisp/package.el (package-pinned-packages): New var.
11744 (package--add-to-archive-contents): Obey it (bug#14118).
11746 2013-04-03 Alan Mackenzie <acm@muc.de>
11748 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11749 Also adapt to the new values of element 7 of a parse state.
11751 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11752 parameter `not-in-delimiter'. Handle being inside comment opener.
11753 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11754 character in case we're typing a '*' after a '/'.
11755 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11756 instead by passing the parameter to c-state-pp-to-literal.
11758 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11759 for elt. 7 of a parse state.
11761 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11763 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11764 * international/latin1-disp.el, international/mule-util.el:
11765 * language/cyril-util.el, language/european.el, language/ind-util.el:
11766 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11767 * language/tibetan.el, language/viet-util.el:
11768 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11770 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11772 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11773 (electric-pair-post-self-insert-function): Use it.
11774 (electric-pair-default-inhibit): New function, extracted from
11775 electric-pair-post-self-insert-function.
11777 2013-03-31 Roland Winkler <winkler@gnu.org>
11779 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11781 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11783 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11785 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11787 Un-indent after "pass" and "return" statements (Bug#13888)
11788 * progmodes/python.el (python-indent-block-enders): New var.
11789 (python-indent-calculate-indentation): Use it.
11791 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11793 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11794 defun. Defining it as defalias could introduce too eager
11795 byte-compiler optimization. (Bug#14030)
11797 2013-03-30 Chong Yidong <cyd@gnu.org>
11799 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11801 2013-03-30 Leo Liu <sdl.web@gmail.com>
11803 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11804 (kmacro-execute-from-register): Pass the keyboard macro to
11805 kmacro-call-macro or repeating won't work correctly.
11807 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11809 * progmodes/subword.el: Back to using `forward-symbol'.
11811 * subr.el (forward-whitespace, forward-symbol)
11812 (forward-same-syntax): Move from thingatpt.el.
11814 2013-03-29 Leo Liu <sdl.web@gmail.com>
11816 * kmacro.el (kmacro-to-register): New command.
11817 (kmacro-execute-from-register): New function.
11818 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11820 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11822 * mpc.el: Use defvar-local and setq-local.
11823 (mpc--proc-connect): Connection failures are not bugs.
11824 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11825 (mpc-volume-map): Bind to the up-events.
11827 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11829 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11830 instead of `forward-symbol'.
11832 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11834 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11835 (edebug--recursive-edit): Use it.
11836 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11837 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11839 2013-03-28 Leo Liu <sdl.web@gmail.com>
11841 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11843 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11845 * facemenu.el (list-colors-callback): New defvar.
11846 (list-colors-redisplay): New function.
11847 (list-colors-display): Install list-colors-redisplay as the
11848 revert-buffer-function. (Bug#14063)
11850 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11852 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11853 and suffixes don't overlap (bug#14061).
11855 * case-table.el: Use lexical-binding.
11856 (case-table-get-table): New function.
11857 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11859 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11861 * progmodes/subword.el: Add `superword-mode' to do word motion
11862 over symbol_words (parallels and leverages `subword-mode' which
11863 does word motion inside MixedCaseWords).
11865 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11867 * eshell/em-unix.el: Move su and sudo to...
11868 * eshell/em-tramp.el: ...Eshell tramp module.
11870 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11872 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11873 Change return value to be a sexp. Delay `get-buffer' to after
11874 restoring the desktop (bug#13951).
11876 2013-03-26 Leo Liu <sdl.web@gmail.com>
11878 * register.el: Move semantic tag handling back to
11879 cedet/semantic/senator.el. (Bug#14052)
11881 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11883 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11884 into the prompt either (bug#13963).
11886 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11888 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11889 part of "(error-foo)".
11891 2013-03-24 Juri Linkov <juri@jurta.org>
11893 * replace.el (list-matching-lines-prefix-face): New defcustom.
11894 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11895 `occur-engine' if `face-differs-from-default-p' returns t.
11896 (occur-engine): Add `,' inside backquote construct to evaluate
11897 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11898 Pass `prefix-face' to the functions `occur-context-lines' and
11899 `occur-engine-add-prefix'.
11900 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11901 `prefix-face' and propertize the prefix with `prefix-face'.
11904 2013-03-24 Leo Liu <sdl.web@gmail.com>
11906 * nxml/rng-valid.el (rng-validate-while-idle)
11907 (rng-validate-quick-while-idle): Guard against deleted buffer.
11910 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11911 is the last entry in kill-buffer-hook.
11913 * files.el (kill-buffer-hook): Doc fix.
11915 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11917 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11918 Make it safe-local.
11920 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11922 2013-03-23 Leo Liu <sdl.web@gmail.com>
11924 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11927 * nxml/rng-valid.el (rng-validate-mode)
11928 (rng-after-change-function, rng-do-some-validation):
11929 * nxml/rng-maint.el (rng-validate-buffer):
11930 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11931 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11932 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11933 (nxml-extend-after-change-region): Use with-silent-modifications.
11935 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11938 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11939 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11940 timer-idle-list. (Bug#13999)
11942 2013-03-23 Juri Linkov <juri@jurta.org>
11944 * info.el (info-index-match): New face.
11945 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11946 main pattern and add text properties with the new face to matches
11947 in index entries relative to the beginning of the index entry.
11950 2013-03-21 Eric Ludlam <zappo@gnu.org>
11952 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11953 Inhibit read only while inserting objects.
11955 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11957 * progmodes/cfengine.el: Update docs to mention
11958 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11959 symbol motion. Remove "_" from the word syntax.
11961 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11963 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11964 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11966 2013-03-20 Juri Linkov <juri@jurta.org>
11968 * info.el (Info-next-reference-or-link)
11969 (Info-prev-reference-or-link): New functions.
11970 (Info-next-reference, Info-prev-reference): Use them.
11971 (Info-try-follow-nearest-node): Handle footnote navigation.
11972 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11974 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11976 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11977 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11979 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11981 Suppress unnecessary non-ASCII chatter during build process.
11982 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11983 (batch-skkdic-convert): Suppress most of the chatter.
11984 It's not needed so much now that machines are faster,
11985 and its non-ASCII component was confusing; see Dmitry Gutov in
11986 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11988 2013-03-20 Leo Liu <sdl.web@gmail.com>
11990 * ido.el (ido-chop): Fix bug#10994.
11992 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11994 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11996 (whitespace-color-on, whitespace-color-off):
11997 Use `font-lock-fontify-buffer' (Bug#13817).
11999 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12001 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12002 remapping in mode-line.
12003 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12005 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12007 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12008 value for `whitespace-line' face (Bug#13875).
12009 (whitespace-font-lock-keywords): Change description.
12010 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12011 the constructed keywords instead.
12012 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12014 2013-03-19 Leo Liu <sdl.web@gmail.com>
12016 * progmodes/compile.el (compilation-display-error): New command.
12017 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12020 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12022 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12024 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12026 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12028 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12030 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12032 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12033 * net/tramp-gvfs.el (top):
12034 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12035 (tramp-handle-shell-command): Use it.
12036 (tramp-dissect-file-name): Raise an error when hostname is a
12037 method name, and neither method nor user is specified.
12039 * net/trampver.el: Update release number.
12041 2013-03-18 Leo Liu <sdl.web@gmail.com>
12043 Make sure eldoc can be turned off properly.
12044 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12046 (eldoc-display-message-p): Revert last change.
12047 (eldoc-display-message-no-interference-p)
12048 (eldoc-print-current-symbol-info): Tweak.
12050 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12052 * doc-view.el (doc-view-new-window-function): Check the new window
12053 overlay's display property instead the char property of the
12054 buffer's first char. Use `with-selected-window' instead of
12055 `save-window-excursion' with `select-window'.
12056 (doc-view-document->bitmap): Check the current doc-view overlay's
12057 display property instead the char property of the buffer's first char.
12059 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12061 Automate the build of ja-dic.el (Bug#13984).
12062 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12063 from the input, rather than assume that it's been done for us by the
12064 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12065 the current date into a ja-dic.el comment, as that complicates
12066 regression testing.
12068 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12070 * whitespace.el: Fix double evaluation.
12071 (whitespace-space, whitespace-hspace, whitespace-tab)
12072 (whitespace-newline, whitespace-trailing, whitespace-line)
12073 (whitespace-space-before-tab, whitespace-indentation)
12074 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12076 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12077 (whitespace-color-on): Use a single font-lock-add-keywords call.
12078 Fix double-evaluation of face variables.
12080 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12082 * net/tramp-adb.el (tramp-adb-parse-device-names):
12083 Use `start-process' instead of `call-process'. Otherwise, the
12084 function might be blocked under MS Windows. (Bug#13299)
12086 2013-03-17 Leo Liu <sdl.web@gmail.com>
12088 Extend eldoc to display info in the mode-line. (Bug#13978)
12089 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12090 (eldoc-mode-line-string): New variable.
12091 (eldoc-minibuffer-message): New function.
12092 (eldoc-message-function): New variable.
12093 (eldoc-message): Use it.
12094 (eldoc-display-message-p)
12095 (eldoc-display-message-no-interference-p):
12096 Support eldoc-post-insert-mode.
12098 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12099 (eval-expression): Run it.
12101 2013-03-17 Roland Winkler <winkler@gnu.org>
12103 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12104 strings in the list of return values.
12106 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12108 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12109 radix before checking for HMS forms.
12111 2013-03-16 Leo Liu <sdl.web@gmail.com>
12113 * progmodes/scheme.el: Add indentation and font-locking for λ.
12116 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12118 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12119 token before point (bug#13942).
12121 2013-03-16 Leo Liu <sdl.web@gmail.com>
12123 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12125 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12127 * startup.el (command-line-normalize-file-name): Fix handling of
12128 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12129 <xfq.free@gmail.com> in
12130 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12132 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12134 Sync with Tramp 2.2.7.
12136 * net/trampver.el: Update release number.
12138 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12140 * doc-view.el: Fix bug#13887.
12141 (doc-view-insert-image): Don't modify overlay associated to
12142 non-live windows, and implement horizontal centering of image in
12143 case it's smaller than the window.
12144 (doc-view-new-window-function): Force redisplay of new windows on
12147 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12149 * saveplace.el (save-place-alist-to-file): Don't sort
12150 `save-place-alist', just pretty-print it (bug#13882).
12152 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12154 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12155 Check whether `default-file-name-coding-system' is bound.
12156 It isn't in XEmacs.
12158 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12160 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12161 backquotes for `obsolete' (bug#13929).
12163 * international/mule.el (find-auto-coding): Include file name in
12164 obsolescence warning (bug#13922).
12166 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12168 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12169 for CFEngine 3-specific indentation.
12170 (cfengine3-indent-line): Use it. Fix up category regex.
12171 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12173 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12175 * type-break.el (type-break-file-name):
12176 * textmodes/remember.el (remember-data-file):
12177 * strokes.el (strokes-file):
12178 * shadowfile.el (shadow-initialize):
12179 * saveplace.el (save-place-file):
12180 * ps-bdf.el (bdf-cache-file):
12181 * progmodes/idlwave.el (idlwave-config-directory):
12182 * net/quickurl.el (quickurl-url-file):
12183 * international/kkc.el (kkc-init-file-name):
12184 * ido.el (ido-save-directory-list-file):
12185 * emulation/viper.el (viper-custom-file-name):
12186 * emulation/vip.el (vip-startup-file):
12187 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12188 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12190 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12192 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12193 * language/thai-word.el: Switch to UTF-8.
12195 See ChangeLog.16 for earlier changes.
12197 ;; Local Variables:
12201 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12203 This file is part of GNU Emacs.
12205 GNU Emacs is free software: you can redistribute it and/or modify
12206 it under the terms of the GNU General Public License as published by
12207 the Free Software Foundation, either version 3 of the License, or
12208 (at your option) any later version.
12210 GNU Emacs is distributed in the hope that it will be useful,
12211 but WITHOUT ANY WARRANTY; without even the implied warranty of
12212 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12213 GNU General Public License for more details.
12215 You should have received a copy of the GNU General Public License
12216 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.