1 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4 (log-edit--match-first-line): New function.
5 (log-edit-font-lock-keywords): Use it.
6 (log-edit-mode): Make jit-lock-defer-multiline work.
8 2014-01-13 Bastien Guerry <bzg@gnu.org>
10 * rect.el (rectangle-mark-mode): When the region is not active,
11 display a message saying that the mark as been set and that
12 rectangle mode is in use.
13 (rectangle--highlight-for-redisplay): Only put an overlay with a
14 visible vertical bar when (display-graphic-p) is non-nil.
15 This partially fixes Bug#16403.
17 2014-01-13 Juri Linkov <juri@jurta.org>
19 * info.el (Info-find-file): Go to DIR before displaying the error
20 about a nonexistent file if no previous Info file is visited.
21 Use `user-error' instead of `error' for "Info file %s does not exist".
22 (Info-find-node-2): In case of a nonexistent node in unwind forms
23 go to the Top node if there is no previous node to revert to.
26 2014-01-13 Martin Rudalics <rudalics@gmx.at>
28 fit-frame/window-to-buffer code fixes including one for Bug#14096.
29 * window.el (fit-frame-to-buffer): Fix doc-string.
30 Respect window-min-height/-width. Fit pixelwise when
31 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
32 when avoiding that frame goes partially off-screen.
33 (fit-window-to-buffer): Respect window-min-height/-width
36 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
38 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
41 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
43 * net/shr.el (shr-render-region): Autoload.
45 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
47 * net/eww.el (eww-download-directory): Rename from
48 `eww-download-path' (Bug#16419).
50 2014-01-12 Leo Liu <sdl.web@gmail.com>
52 * dired-x.el (dired-mode-map): Fix last change.
54 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
56 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
59 * emacs-lisp/generic.el (generic--normalize-comments):
60 Rename from generic--normalise-comments. All uses changed.
61 * play/bubbles.el (bubbles--neighborhood-score):
62 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
63 (bubbles--neighborhood-available)
64 (bubbles--update-neighborhood-score):
65 Rename from names with 'neighbourhood'. All uses changed.
67 2014-01-12 Leo Liu <sdl.web@gmail.com>
69 Re-implement the feature of showing eldoc info after editing.
70 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
71 (eldoc-edit-message-commands): New function.
72 (eldoc-print-after-edit): New variable.
73 (eldoc-pre-command-refresh-echo-area): Emit message only by
74 eldoc-message-commands.
75 (eldoc-mode): Restrict eldoc-message-commands to editing commands
76 if eldoc-print-after-edit is set. (Bug#16346)
78 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
80 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
82 * version.el (emacs-repository-get-version): Enhance so the
83 function works correctly in either a Bazaar or Git repo.
85 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
86 Goes with removal of the joke manpages from /etc.
88 2014-01-10 K. Handa <handa@gnu.org>
90 * mail/rmail.el (rmail-get-coding-system):
91 Check rmail-get-coding-function before "funcall"ing it.
93 2014-01-10 Glenn Morris <rgm@gnu.org>
95 * emacs-lisp/authors.el (authors-fixed-entries):
96 Update for files that no longer exist.
98 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
100 * version.el (emacs-bzr-get-version): Restore compatibilty with
103 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
105 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
108 2014-01-10 Eli Zaretskii <eliz@gnu.org>
110 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
112 2014-01-10 Chong Yidong <cyd@gnu.org>
114 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
116 2014-01-10 Anders Lindgren <andlind@gmail.com>
118 * follow.el (follow-cache-command-list): Include right-char and
121 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
124 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
125 * woman.el (woman-mark-horizontal-position):
126 Rename from woman-mark-horizonal-position. Use changed.
128 2014-01-10 Glenn Morris <rgm@gnu.org>
130 * info.el (info-initialize): If running uninstalled, ensure our
131 own info files are always found first, even if INFOPATH is set.
133 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
135 2014-01-09 David Engster <deng@randomsample.de>
137 * emacs-lisp/eieio-custom.el:
138 * emacs-lisp/eieio-opt.el: Set generated autoload file to
139 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
140 * emacs-lisp/eieio.el: Regenerate autoloads.
142 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
144 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
145 following renames. (Bug#8756)
147 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
149 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
151 (activate-mark): Add `no-tmm' argument.
152 (set-mark, push-mark-command): Use it instead of running
153 activate-mark-hook by hand.
155 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
157 In preparation for the move to git, sanitize out some
158 Bazaar-specific names.
160 * version.el (emacs-bzr-version): Name changed to
161 emacs-repository-version. Obsolete-variable alias made.
162 * loadup.el: Follow through on this name change.
163 * mail/emacsbug.el (report-emacs-bug): Factor out any
164 assumption about the version control system in use.
166 2014-01-08 David Engster <deng@randomsample.de>
168 * help-fns.el (help-fns-describe-function-functions):
169 New variable to call functions for augmenting help buffers.
170 (describe-function-1): Remove explicit calls to
171 `help-fns--compiler-macro', `help-fns--parent-mode' and
172 `help-fns--obsolete'. Put them in above new variable instead, and
173 call them through `run-hook-with-args'.
174 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
175 `eieio-describe-class'. Not meant for interactive use anymore,
176 but to augment existing help buffers. Remove optional second
177 argument. Create proper button for file location.
178 Rewrite function to use `insert' instead of `princ' and `prin1' where
180 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
181 (eieio-method-def, eieio-class-def): Move further up.
182 (describe-method, describe-generic, eieio-describe-method):
184 (eieio-help-constructor, eieio-help-generic): Rename from
185 `eieio-describe-constructor' and `eieio-describe-generic', resp.
186 Rewrite to use `insert' in the current buffer and use proper help
188 (eieio-help-find-method-definition)
189 (eieio-help-find-class-definition): Also accept symbols as
191 (eieio-help-mode-augmentation-maybee): Remove.
192 (eieio-describe-class-sb): Use `describe-function'.
193 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
194 Add `eieio-help-generic' and `eieio-help-constructor'.
196 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
199 * language/china-util.el (hz-ascii-designation):
200 Rename from hz-ascii-designnation.
201 (hz-ascii-designation): Rename from hz-ascii-designnation.
204 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
206 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
209 2014-01-08 Bastien Guerry <bzg@gnu.org>
211 * emacs-lisp/package.el (package-delete):
212 Correctly delete the package from package-alist.
214 2014-01-08 Daiki Ueno <ueno@gnu.org>
216 * emacs-lisp/package.el (url-recreate-url): Declare.
217 (url-http-target-url): Declare.
218 (package-handle-response): Include requested URL in the error message.
219 (package--check-signature): Don't re-signal errors from
220 package--with-work-buffer. Suggested by Stefan Monnier.
222 2014-01-07 Bastien Guerry <bzg@gnu.org>
224 * minibuffer.el (completion--try-word-completion): When both a
225 hyphen and a space are possible candidates for the character
226 following a word, display both candidates. (Bug#15980)
228 2014-01-07 Martin Rudalics <rudalics@gmx.at>
230 * window.el (balance-windows-2): While rounding don't give a
231 window more than the remainder. Bug#16351, Bug#16383.
233 2014-01-07 Glenn Morris <rgm@gnu.org>
235 * menu-bar.el (menu-bar-help-extra-packages): Remove.
236 (menu-bar-help-menu): Use view-external-packages instead.
238 2014-01-07 Bastien Guerry <bzg@gnu.org>
240 * emacs-lisp/package.el (package-delete): Also delete the package
241 name from `package-alist', not its description only.
243 2014-01-07 Glenn Morris <rgm@gnu.org>
245 * help.el (view-external-packages):
246 * menu-bar.el (menu-bar-help-extra-packages):
247 Visit efaq.info rather than etc/MORE.STUFF.
249 2014-01-07 Juri Linkov <juri@jurta.org>
251 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
252 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
254 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
255 that shadows RET. (Bug#16342)
257 2014-01-07 Chong Yidong <cyd@gnu.org>
259 * isearch.el (isearch-yank-char, isearch-yank-word)
260 (isearch-yank-line): Doc fix.
262 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
264 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
265 * emacs-lisp/elint.el (elint-find-builtins):
266 * emacs-lisp/eldoc.el (eldoc-symbol-function):
267 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
268 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
269 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
270 * apropos.el (apropos-safe-documentation):
271 * subr.el (symbol-file): Remove redundant fboundp.
272 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
274 2014-01-06 Bastien Guerry <bzg@gnu.org>
276 * hl-line.el (global-hl-line-overlay): Make a local variable.
277 (global-hl-line-overlays): New variable to store all overlays.
278 (global-hl-line-mode): Don't delete overlays from the current
279 buffer when `global-hl-line-sticky-flag' is non-nil.
280 (global-hl-line-highlight): Add new overlays to
281 `global-hl-line-overlays'.
282 (global-hl-line-unhighlight-all): New function to delete all
283 overlays when turning off `global-hl-line-mode'.
284 This fixes Bug#16183.
286 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
288 * subr.el (set-transient-map): Fix nested case and docstring.
290 2014-01-06 Tassilo Horn <tsdh@gnu.org>
292 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
295 2014-01-06 Daniel Colascione <dancol@dancol.org>
297 Fix defun navigation in vc log view.
299 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
300 like `beginning-of-defun'.
301 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
302 log-view-end-of-defun to log-view-end-of-defun-1. Replace
303 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
304 (log-view-extract-comment): Call `log-view-current-entry' directly
305 instead of relying on broken `log-view-beginning-of-defun' behavior.
307 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
310 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
311 * emacs-lisp/debug.el (cancel-debug-on-entry):
312 * epg.el (epg-error-to-string):
313 * files.el (recover-file):
314 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
315 * mail/emacsbug.el (report-emacs-bug-hook):
316 * mail/sendmail.el (mail-recover):
317 * ses.el (ses-yank-resize):
318 * term/ns-win.el (ns-print-buffer):
319 Spelling fixes in diagnostics, mostly for "canceled" with one L.
320 * epg.el (epg-key-capability-alist): Rename from misspelled version.
322 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
324 2014-01-06 Leo Liu <sdl.web@gmail.com>
326 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
327 to avoid shadowing global key. (Bug#16354)
329 2014-01-06 Daniel Colascione <dancol@dancol.org>
331 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
334 2014-01-05 Martin Rudalics <rudalics@gmx.at>
336 * window.el (balance-windows): Add mising t to fix Bug#16351.
338 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
340 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
342 (shr-insert): If we have a word that's longer than `shr-width',
343 break after it anyway. Otherwise we'll do no breaking once we get
346 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
348 * net/eww.el (eww): Support single/double quote for search.
349 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
350 (eww-history-quit): Delete and use quit-window.
351 (eww-history-kill): Delete, because it doesn't work well and
353 (eww-history-mode-map): Delete some keys and add easy-menu.
355 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
357 Fix misspelling of 'chinese' in rx (Bug#16237).
358 * emacs-lisp/rx.el (rx-categories): Correct spelling of
361 Change subword regexps back to vars (Bug#16296).
362 * progmodes/subword.el (subword-forward-regexp)
363 (subword-backward-regexp): Change these back to variables.
365 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
367 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
368 syntax-begin-function (bug#16247).
370 2014-01-03 Chong Yidong <cyd@gnu.org>
372 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
373 (advice--docstring): Delete variable.
374 (advice--make-1): Leave the docstring empty.
375 (advice-add): Use function-documentation for advised docstring.
377 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
378 Ignore function-documentation property when getting documentation.
379 (ad-activate-advised-definition): Use function-documentation
380 generate the docstring.
381 (ad-make-advised-definition): Don't call
382 ad-make-advised-definition-docstring.
383 (ad-make-advised-definition-docstring, ad-advised-definition-p):
386 * progmodes/sql.el (sql-help): Use function-documentation instead
387 of dynamic-docstring-function property. No need to autoload now.
388 (sql--help-docstring): New variable.
389 (sql--make-help-docstring): Use it.
391 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
393 * ielm.el (ielm-tab): Retarget.
394 (ielm-map): Use ielm-tab for tab.
395 (ielm-complete-filename): Use comint-filename-completion.
396 (ielm-complete-symbol): Remove.
397 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
398 remove ielm-tab from completion-at-point-functions (bug#16224).
400 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
401 Beware signals raised by predicates (bug#16201).
403 2014-01-02 Richard Stallman <rms@gnu.org>
405 * dired-aux.el (dired-do-print): Handle printer-name.
407 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
408 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
409 (rmail-epa-decrypt): Turn off mime processing.
411 * mail/rmail.el (rmail-make-in-reply-to-field):
412 Add parens in message-id.
414 * mail/rmail.el (rmail-get-coding-function): Variable.
415 (rmail-get-coding-system): Use it.
417 2013-12-31 Eli Zaretskii <eliz@gnu.org>
419 * international/mule-conf.el: Unify the charset indian-is13194.
420 (indian-is13194): Specify unify-map.
422 2013-12-31 Leo Liu <sdl.web@gmail.com>
424 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
426 2013-12-30 Daniel Colascione <dancol@dancol.org>
428 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
429 of printing a useless when we resume from sleep.
431 * progmodes/sh-script.el
432 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
433 in indentation code. (Bug#16233)
435 2013-12-28 João Távora <joaotavora@gmail.com>
437 * elec-pair.el (electric-pair-post-self-insert-function):
438 Don't open extra newlines at beginning of buffer. (Bug#16272)
440 2013-12-28 Eli Zaretskii <eliz@gnu.org>
442 * frame.el (window-system-for-display): Don't allow to create a
443 GUI frame from a -nw session on MS-Windows. (Bug#14739)
445 2013-12-28 Glenn Morris <rgm@gnu.org>
447 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
450 * apropos.el (apropos-match-face):
451 * calculator.el (calculator-displayer):
452 * dabbrev.el (dabbrev-search-these-buffers-only):
453 * face-remap.el (buffer-face-mode-face):
454 * simple.el (yank-handled-properties):
455 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
456 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
457 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
458 (hashcash-double-spend-database):
459 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
460 (ruby-deep-indent-paren-style):
461 * textmodes/flyspell.el (flyspell-auto-correct-binding):
462 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
463 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
464 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
465 Specify custom types.
467 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
468 * bookmark.el (bookmark-bmenu-use-header-line):
469 * doc-view.el (doc-view-scale-internally):
470 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
471 * register.el (register-preview-delay):
472 * net/shr.el (shr-bullet):
473 * progmodes/cfengine.el (cfengine-cf-promises)
474 (cfengine-parameters-indent):
475 * progmodes/octave.el (inferior-octave-error-regexp-alist):
476 * textmodes/reftex-vars.el (reftex-label-regexps):
477 * vc/log-edit.el (log-edit-setup-add-author): Add version.
479 * net/tls.el (tls-certtool-program): Fix default value.
481 * desktop.el (desktop-restore-in-current-display):
482 * newcomment.el (comment-empty-lines):
483 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
484 (idlwave-pad-keyword):
485 * progmodes/tcl.el (tcl-tab-always-indent):
486 * textmodes/reftex-vars.el (reftex-index-default-tag):
487 * elec-pair.el (electric-pair-skip-whitespace):
488 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
490 * emacs-lisp/authors.el (authors-ignored-files)
491 (authors-valid-file-names, authors-renamed-files-alist): Additions.
493 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
495 * shell.el (shell-dynamic-complete-command): Doc fix.
496 (shell--command-completion-data): Shell completion now matches
497 executable filenames from the current buffer's directory, on
498 systems in which this behavior is the default (windows-nt, ms-dos).
500 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
502 * net/shr.el (shr-insert): Don't infloop if the width is zero.
504 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
506 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
509 * electric.el: Move all electric-pair-* to elec-pair.el.
510 * elec-pair.el: New file, split from electric.el.
512 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
514 * net/shr.el (shr-find-fill-point): Don't try to fill if the
515 indentation level is larger than the width, because that will
517 (shr-insert): Fill repeatedly long texts, so that Japanese is
518 formatted correctly (bug#16263).
519 (shr-find-fill-point): Off by one error in comparison with the
522 2013-12-26 João Távora <joaotavora@gmail.com>
524 * electric.el (electric-pair-mode): More flexible engine for skip-
525 and inhibit predicates, new options for pairing-related functionality.
526 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
527 if that keeps or improves their balance in buffers.
528 (electric-pair-delete-adjacent-pairs): Delete the pair when
529 backspacing over adjacent matched delimiters.
530 (electric-pair-open-extra-newline): Open extra newline when
531 inserting newlines between adjacent matched delimiters.
532 (electric--sort-post-self-insertion-hook):
533 Sort post-self-insert-hook according to priority values when
534 minor-modes are activated.
535 * simple.el (newline-and-indent): Call newline with interactive
537 (blink-paren-post-self-insert-function): Set priority to 100.
538 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
539 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
540 comments. Locally set electric-pair-skip-whitespace to 'chomp and
541 electric-pair-open-newline-between-pairs to nil.
543 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
545 * progmodes/python.el: Use lexical-binding.
546 (python-nav-beginning-of-defun): Stop searching ASAP.
548 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
550 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
551 Fix interactive spec. Doc fix. (Bug#15754)
553 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
555 * emacs-lisp/byte-run.el (eval-when-compile):
556 * progmodes/cc-defs.el (cc-eval-when-compile):
557 Fix edebug spec (bug#16184).
559 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
561 * net/shr.el (shr-visit-file): Remove debugging function.
562 (shr-insert): Don't infloop if we can't find a good place to break
563 the line (bug#16256).
565 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
567 * progmodes/python.el:
568 (python-nav--lisp-forward-sexp): New function.
569 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
570 python-nav-lisp-forward-sexp-safe.
571 (python-nav--forward-sexp): New argument SAFE allows switching
572 forward sexp movement behavior for parens.
573 (python-nav-forward-sexp): Throw errors on unterminated parens
575 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
576 (python-nav-backward-sexp-safe): New functions.
577 (python-shell-buffer-substring):
578 Use `python-nav-forward-sexp-safe'.
580 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
582 * net/shr.el (shr-find-fill-point): Don't break lines before a
584 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
585 (shr-find-fill-point): Remove the special checks for the quotation
586 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
588 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
590 * net/eww.el (eww-form-textarea): Use a different face for
591 textareas than text input since they have different keymaps
594 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
596 * progmodes/python.el (python-nav-beginning-of-statement):
597 Speed up (Bug#15295).
599 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
601 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
602 the window configuration.
604 2013-12-24 Eli Zaretskii <eliz@gnu.org>
606 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
607 we run on MS-Windows or MS-DOS.
609 2013-12-24 Martin Rudalics <rudalics@gmx.at>
611 * window.el (balance-windows-area): Call window-size instead of
612 window-height and window-width. Bug#16241.
614 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
616 * net/eww.el (eww-bookmark-quit): Remove.
617 (eww-bookmark-browse): Restore the window configuration when you
618 choose a bookmark (bug#16144).
620 2013-12-24 Daniel Colascione <dancol@dancol.org>
622 * icomplete.el: Remove redundant :group arguments to `defcustom'
624 (icomplete-show-matches-on-no-input): New customizable variable.
625 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
626 we have something to show.
627 (icomplete-exhibit): Compute completions even if we have no user input.
629 2013-12-23 Daniel Colascione <dancol@dancol.org>
631 * icomplete.el: Move `provide' to end of file.
633 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
635 * net/gnutls.el (gnutls-verify-error): Add version tag.
637 2013-12-23 Chong Yidong <cyd@gnu.org>
639 * subr.el (set-transient-map): Rename from
640 set-temporary-overlay-map. Doc fix.
642 * face-remap.el (text-scale-adjust):
643 * indent.el (indent-rigidly):
644 * kmacro.el (kmacro-call-macro):
645 * minibuffer.el (minibuffer-force-complete):
646 * repeat.el (repeat):
647 * simple.el (universal-argument--mode):
648 * calendar/todo-mode.el (todo-insert-item--next-param):
649 * progmodes/f90.el (f90-abbrev-start): Callers changed.
651 * indent.el (indent-rigidly): Use substitute-command-keys.
653 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
655 * net/eww.el (eww-tag-select): Add text-property to jump to next
657 (eww): Add non-supported ftp error.
659 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
661 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
662 comments. Handle electric indent after typing `?' and `!'.
664 2013-12-22 Chong Yidong <cyd@gnu.org>
666 * faces.el (face-spec-recalc): If the theme specs are not
667 applicable to a frame, fall back on the defface spec.
668 This prevents themes from obliterating faces on low-color terminals.
670 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
672 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
673 after `{'. We need it after block openers, and it doesn't seem
674 to hurt after hash openers.
676 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
678 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
679 extracted from `ruby-smie-rules'.
680 (ruby--electric-indent-chars): New variable.
681 (ruby--electric-indent-p): New function.
682 (ruby-mode): Use `electric-indent-functions' instead of
683 `electric-indent-chars'.
685 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
687 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
689 (ruby-smie-rules): Indent plus one level after `=>'.
691 2013-12-21 Richard Stallman <rms@gnu.org>
693 * simple.el (newline): Doc fix.
695 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
697 * net/eww.el (eww-list-histories, eww-list-histories)
698 (eww-history-browse, eww-history-quit, eww-history-kill)
699 (eww-history-mode-map, eww-history-mode): New command and
700 functions to list browser histories.
701 (eww-form-text): Support text form with disabled
702 and readonly attributes.
703 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
705 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
707 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
708 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
709 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
710 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
712 (eww-bookmark-mode-map): Add menu.
713 (eww-render, eww-mode): Use `setq-local'.
714 (eww-tool-bar-map): New variable.
715 (eww-mode): Set `tool-bar-map'.
716 (eww-view-source): Check for `html-mode' with `fboundp'.
718 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
720 * net/shr.el (shr--extract-best-source): Don't bug out on audio
721 elements with text inside. Also remove debugging.
723 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
725 * cus-start.el (all): Add ns-use-srgb-colorspace.
727 2013-12-21 Chong Yidong <cyd@gnu.org>
729 * custom.el (custom-theme-recalc-face): Do nothing if the face is
730 undefined. Thus, theme settings for undefined faces do not take
731 effect until the faces are defined with defface, the same as with
734 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
735 (face-spec-reset-face): Don't assign extra properties in temacs.
736 (face-spec-recalc): Apply X resources too.
738 2013-12-21 Chong Yidong <cyd@gnu.org>
740 * faces.el (face-spec-set):
741 * cus-face.el (custom-theme-set-faces, custom-set-faces):
742 * custom.el (defface): Doc fixes (Bug#16203).
744 * indent.el (indent-rigidly-map): Add docstring, and move commands
745 into named functions.
746 (indent-rigidly-left, indent-rigidly-right)
747 (indent-rigidly-left-to-tab-stop)
748 (indent-rigidly-right-to-tab-stop): New functions. Decide on
749 indentation direction based on bidi direction, and accumulate
750 sequential commands in a single undo boundary.
751 (indent-rigidly--pop-undo): New utility function.
753 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
755 * faces.el (read-face-name): Require crm.el when using crm-separator.
757 2013-12-20 Daniel Colascione <dancol@dancol.org>
759 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
760 so that we don't reflow comments into the shebang line.
762 2013-12-20 Juri Linkov <juri@jurta.org>
764 * saveplace.el (save-place-to-alist): Add `dired-filename' as
765 a position when `dired-directory' is non-nil. Check integer
766 positions with `integerp'.
767 (toggle-save-place, save-places-to-alist): Add check for
769 (save-place-find-file-hook): Check integer positions with
771 (save-place-dired-hook): Use `dired-goto-file' when
772 `dired-filename' is found in the assoc list. Check integer
773 positions with `integerp'.
774 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
776 * dired.el (dired-initial-position-hook): Rename back from
777 `dired-initial-point-hook'.
778 (dired-initial-position): Rename `dired-initial-point-hook' to
779 `dired-initial-position-hook'.
780 (dired-file-name-at-point): Doc fix. (Bug#15329)
782 2013-12-20 Juri Linkov <juri@jurta.org>
784 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
785 (read-regexp-suggestions): New function.
786 (read-regexp): Use `read-regexp-defaults-function' to get default values.
787 Use `read-regexp-suggestions'. Add non-empty default to history
789 (occur-read-regexp-defaults-function): Remove function.
790 (occur-read-primary-args): Use `regexp-history-last' instead of
791 `occur-read-regexp-defaults-function'.
793 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
794 (hi-lock-line-face-buffer, hi-lock-face-buffer)
795 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
796 `hi-lock-read-regexp-defaults-function'. Doc fix.
797 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
798 with `find-tag-default-as-symbol-regexp'. Doc fix.
799 (hi-lock-read-regexp-defaults): Remove function.
800 (hi-lock-regexp-okay): Add check for null.
802 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
803 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
805 * subr.el (find-tag-default-as-symbol-regexp): New function.
806 (find-tag-default-as-regexp): Move symbol regexp formatting to
807 `find-tag-default-as-symbol-regexp'.
809 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
811 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
814 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
816 * calendar/todo-mode.el: New implementation of item insertion
817 commands and key bindings.
818 (todo-key-prompt): New face.
819 (todo-insert-item): New command.
820 (todo-insert-item--parameters): New defconst, replacing defvar
821 todo-insertion-commands-args-genlist.
822 (todo-insert-item--param-key-alist): New defconst, replacing
823 defvar todo-insertion-commands-arg-key-list.
824 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
825 (todo-insert-item--argsleft, todo-insert-item--apply-args)
826 (todo-insert-item--next-param): New functions.
827 (todo-insert-item--args, todo-insert-item--argleft)
828 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
830 (todo-key-bindings-t): Change binding of "i" from
831 todo-insertion-map to todo-insert-item.
832 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
833 (todo-insertion-command-name, todo-insertion-commands-names)
834 (todo-define-insertion-command, todo-insertion-commands)
835 (todo-insertion-key-bindings, todo-insertion-map): Remove.
837 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
839 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
840 (todo-toggle-item-highlighting): Use eval-and-compile instead of
842 (todo-move-category): Allow choosing a non-existing todo file to
843 move the category to, and create that file.
844 (todo-default-priority): New user option.
845 (todo-set-item-priority): Use it.
846 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
847 (desktop-restore-file-buffer): Declare.
848 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
849 (todo-modes-set-2): Locally set desktop-save-buffer to
850 todo-desktop-save-buffer.
851 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
852 (auto-mode-alist): Add autoload cookie.
854 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
856 * emacs-lisp/subr-x.el: Renamed from helpers.el.
857 helpers.el was a poor choice of name.
858 (string-remove-prefix): New function.
859 (string-remove-suffix): New function.
861 2013-12-20 Martin Rudalics <rudalics@gmx.at>
863 Fix assignment for new window total sizes.
864 * window.el (window--pixel-to-size): Remove function.
865 (window--pixel-to-total-1, window--pixel-to-total):
866 Fix calculation of new total sizes.
868 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
870 * comint.el (comint-output-filter): Fix rear-nonsticky property
871 placement (Bug#16010).
873 2013-12-20 Chong Yidong <cyd@gnu.org>
875 * faces.el (read-color): Minor fix for completion function.
877 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
879 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
880 New option. (Bug#16182)
881 (ruby-smie--indent-to-stmt-p): Use it.
882 (ruby-smie-rules): Revert the logic in the handling of `when'.
883 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
884 (ruby-deep-arglist, ruby-deep-indent-paren)
885 (ruby-deep-indent-paren-style): Update docstrings to note that the
886 vars don't have any effect with SMIE.
888 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
890 * calc/calc.el (calc-enter, calc-pop): Use the variable
891 `calc-context-sensitive-enter'.
893 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
895 * net/shr.el (shr-insert): Protect against infloops in degenerate
898 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
900 * progmodes/octave.el (octave): Add link to manual and octave
902 (octave-mode-menu): Link to octave-mode manual.
904 2013-12-20 Leo Liu <sdl.web@gmail.com>
906 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
907 insertion using skeleton-end-newline. (Bug#16138)
909 2013-12-20 Juri Linkov <juri@jurta.org>
911 * replace.el (occur-engine): Use `add-face-text-property'
912 to add the face property to matches and titles. (Bug#14645)
914 * hi-lock.el (hi-green): Use lighter color "light green" closer to
915 the palette of other hi-lock colors.
916 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
918 2013-12-19 Juri Linkov <juri@jurta.org>
920 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
921 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
922 (minibuffer-history-symbol): Move variable declaration closer to
925 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
928 2013-12-19 Juri Linkov <juri@jurta.org>
930 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
932 (log-edit-hook): Add it to :options. (Bug#16170)
934 2013-12-19 Juri Linkov <juri@jurta.org>
936 * simple.el (eval-expression-print-format): Don't check for
937 command names and the last command. Always display additional
938 formats of the integer result in the echo area, and insert them
939 to the current buffer only with a zero prefix arg.
940 Display character when char-displayable-p is non-nil.
941 (eval-expression): With a zero prefix arg, set `print-length' and
942 `print-level' to nil, and insert the integer values from
943 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
945 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
946 `eval-last-sexp-arg-internal'. Doc fix.
947 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
948 `eval-last-sexp-print-value'. Doc fix.
949 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
950 Set `print-length' and `print-level' to nil when arg is zero.
951 (eval-last-sexp): Doc fix.
952 (eval-defun-2): Print the integer values from
953 `eval-expression-print-format' at the end.
955 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
956 values from `eval-expression-print-format' at the end.
958 * ielm.el (ielm-eval-input): Print the integer
959 values from `eval-expression-print-format' at the end.
961 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
963 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
964 2013-12-11T19:01:44Z!tzz@lifelogs.com.
966 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
968 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
969 (hl-line-highlight, global-hl-line-highlight): Use it.
970 (hl-line-overlay): Use defvar-local.
972 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
974 * term/ns-win.el: Require dnd.
975 (global-map): Remove drag items.
976 (ns-insert-text, ns-set-foreground-at-mouse)
977 (ns-set-background-at-mouse):
978 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
979 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
982 2013-12-19 Glenn Morris <rgm@gnu.org>
984 * emacs-lisp/ert.el (ert-select-tests):
985 Fix string/symbol mixup. (Bug#16121)
987 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
989 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
990 keywords to their parent.
992 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
994 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
995 first arg to be a string (fixed dead code), or an operator symbol.
996 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
998 (ruby-smie-rules): Remove parent token check in the `.' clause, it
999 did nothing. Don't respond to `(:after ".")', it will be called
1000 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1001 change anything. Only return indentation for binary operators
1002 when they are hanging. De-dent opening paren when its parent is
1003 `.', otherwise it looks bad when the dot is not at bol or eol
1006 2013-12-19 Juri Linkov <juri@jurta.org>
1008 * replace.el (query-replace-read-args): Split a non-negative arg
1009 and a negative arg into separate elements.
1010 (query-replace, query-replace-regexp, replace-string)
1011 (replace-regexp): Add arg `backward'. Doc fix.
1012 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1013 move point to the beginning of the match.
1014 (replace-search, replace-highlight): Use new arg `backward'
1015 to set the value of `isearch-forward'.
1016 (perform-replace): Add arg `backward' and use it to perform
1017 replacement backward. (Bug#14979)
1019 * isearch.el (isearch-query-replace): Use a negative prefix arg
1020 to call `perform-replace' with a non-nil arg `backward'.
1022 2013-12-18 Juri Linkov <juri@jurta.org>
1024 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1025 to the default list. Move `log-edit-show-files' to the end.
1026 Add more available functions to options.
1027 (log-edit): Move default specific settings to
1028 `log-edit-insert-message-template'. Don't move point.
1029 (log-edit-insert-message-template): New function.
1030 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1033 2013-12-18 Juri Linkov <juri@jurta.org>
1035 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1036 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1038 2013-12-18 Leo Liu <sdl.web@gmail.com>
1040 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1043 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1045 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1046 formats for displaying file sizes when the -s switch is given.
1047 Instead, compute a separate format for displaying the size in
1048 blocks, which is displayed in addition to the "regular" size.
1049 When -h is given in addition to -s, produce size in blocks in
1050 human-readable form as well. (Bug#16179)
1052 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1054 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1055 Reference tables with ~\ref{...} instead of only \ref{...}.
1057 2013-12-18 Chong Yidong <cyd@gnu.org>
1059 * cus-edit.el (custom-magic-alist): Fix "themed" description
1062 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1063 is non-nil, do not create a new entry in the symbol's theme-value
1064 or theme-face property; update theme-settings only (Bug#14664).
1065 (custom-available-themes): Doc fix.
1067 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1070 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1072 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1074 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1077 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1079 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1081 2013-12-18 Glenn Morris <rgm@gnu.org>
1083 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1084 * cus-start.el (load-prefer-newer): New option.
1086 2013-12-18 Le Wang <l26wang@gmail.com>
1088 * comint.el (comint-previous-matching-input-from-input):
1089 Retain point (Bug#13404).
1091 2013-12-18 Chong Yidong <cyd@gnu.org>
1093 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1095 2013-12-18 Glenn Morris <rgm@gnu.org>
1097 * mail/emacsbug.el (report-emacs-bug):
1098 Only mention enable-multibyte-characters if non-standard.
1100 2013-12-17 Juri Linkov <juri@jurta.org>
1102 * arc-mode.el (archive-extract-by-file): Check if directory exists
1103 before deletion to not show irrelevant errors if it doesn't exist.
1105 2013-12-17 Juri Linkov <juri@jurta.org>
1107 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1110 * net/eww.el (browse-web): Add alias to `eww'.
1111 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1112 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1114 * net/browse-url.el (browse-url-browser-function): Move `eww'
1115 closer to similar functions.
1117 * startup.el (fancy-startup-screen, fancy-about-screen):
1118 Set browse-url-browser-function to eww-browse-url locally.
1121 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1123 * window.el (window--pixel-to-total): Remove unused `mini' var.
1124 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1125 (split-window): Remove unused `new' var.
1126 (window--display-buffer): Remove unused `frame' and `delta' vars.
1127 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1130 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1132 * dired.el (dired-mark-pop-up):
1133 * register.el (register-preview): Don't bind
1134 split-height-threshold here since it's now done in
1135 display-buffer-below-selected.
1137 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1139 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1140 xterm-rgb-convert-to-16bit.
1141 (rxvt-register-default-colors): Standardize with
1142 xterm-register-default-colors (Bug#14078).
1144 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1146 * simple.el (kill-region): Pass mark first, then point, so that
1147 kill-append works right (Bug#12819).
1148 (copy-region-as-kill, kill-ring-save): Likewise.
1150 2013-12-17 Leo Liu <sdl.web@gmail.com>
1152 * net/rcirc.el (rcirc-add-face):
1153 * eshell/em-prompt.el (eshell-emit-prompt):
1154 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1157 2013-12-17 Chong Yidong <cyd@gnu.org>
1159 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1160 Suggested by Xue Fuqiao.
1162 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1164 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1166 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1168 * net/shr.el (shr-insert-document): Remove unused var
1169 `shr-preliminary-table-render'.
1170 (shr-rescale-image): Remove unused arg `force'.
1171 (shr-put-image): Update calls accordingly.
1172 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1174 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1176 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1177 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1178 :close-all, to see which indentation method to use (Bug#16116).
1179 (smie-rules-function): Document the method :close-all.
1181 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1183 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1185 * net/eww.el (eww-display-html): If we can't find the anchor we're
1186 looking for, then go to point-min.
1188 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1190 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1191 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1192 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1193 Expand dir too, in case it's relative.
1195 2013-12-16 Juri Linkov <juri@jurta.org>
1197 * desktop.el (desktop-auto-save-timeout): Change default to
1198 `auto-save-timeout'. Doc fix.
1199 (desktop-save): Skip the timestamp in desktop-saved-frameset
1200 when checking for auto-save changes.
1201 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1202 `desktop-auto-save' is called repeatedly by the idle timer.
1203 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1204 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1207 2013-12-16 Juri Linkov <juri@jurta.org>
1209 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1211 (isearch-pre-command-hook): Check `this-command' for symbolp.
1213 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1215 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1217 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1219 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1220 (cfengine3--current-function): Bring in the current-function
1221 functionality from `cfengine3--current-word'.
1222 (cfengine3-completion-function): Bring in the
1223 bounds-of-current-word functionality from
1224 `cfengine3--current-word'.
1226 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1228 * window.el (display-buffer-below-selected):
1229 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1231 2013-12-16 Leo Liu <sdl.web@gmail.com>
1233 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1234 Remove NOMSG arg and all uses changed.
1236 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1238 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1239 (cua--deactivate-rectangle): Don't deactivate the mark.
1240 (cua-set-rectangle-mark): Don't set mark-active since
1241 cua--activate-rectangle already does it for us.
1242 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1243 non-rectangular region.
1245 * emulation/cua-base.el (cua-repeat-replace-region):
1246 Use with-current-buffer.
1248 * net/gnutls.el: Use cl-lib.
1249 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1251 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1253 * emacs-lisp/package.el (package-built-in-p): Support both
1254 built-in and the package.el converted package descriptions.
1255 (package-show-package-list): Allow keywords.
1256 (package-keyword-button-action): Use it instead of
1257 `finder-list-matches'.
1258 (package-menu-filter-interactive): Interactive filtering (by
1260 (package-menu--generate): Support keywords and change keymappings
1261 and headers when they are given.
1262 (package--has-keyword-p): Helper function.
1263 (package-menu--refresh): Use it.
1264 (package--mapc): Helper function.
1265 (package-all-keywords): Use it.
1266 (package-menu-mode-map): Set up menu items and keybindings to
1267 provide a filtering UI.
1269 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1271 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1272 the behavior when a certificate fails validation. Defaults to
1273 old behavior: never abort, just warn.
1274 (gnutls-negotiate): Use it.
1276 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1278 * window.el (display-buffer-below-selected): Never split window
1279 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1281 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1283 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1284 (package-buffer-info): Use it (bug#15108).
1286 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1288 * icomplete.el (icomplete-completions): Make sure the prefix is already
1289 displayed elsewhere before hiding it (bug#16219).
1291 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1293 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1294 open-paren tokens when preceded by a open-paren, too.
1295 (ruby-smie-rules): Handle virtual indentation after open-paren
1296 tokens specially. If there is code between it and eol, return the
1297 column where is starts (Bug#16118).
1299 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1301 * progmodes/cfengine.el: Fix `add-hook' doc.
1302 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1303 (cfengine3--current-word): Fix parameters.
1304 (cfengine3-make-syntax-cache): Simplify further.
1305 (cfengine3-completion-function, cfengine3--current-function):
1306 Use `assq' for symbols.
1307 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1309 2013-12-13 Glenn Morris <rgm@gnu.org>
1311 * loadup.el (load-path): Warn if site-load or site-init changes it.
1312 No more need to reset it when bootstrapping.
1314 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1316 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1317 locations for cf-promises.
1318 (cfengine-mode-syntax-functions-regex): New caching variable.
1319 (cfengine3-fallback-syntax): Fallback syntax for cases where
1320 cf-promises doesn't run.
1321 (cfengine3--current-word): Reimplement using
1322 `cfengine-mode-syntax-functions-regex'.
1323 (cfengine3-completion-function, cfengine3--current-function):
1324 Use `cfengine3-make-syntax-cache' directly.
1325 (cfengine3-clear-syntax-cache): New function.
1326 (cfengine3-make-syntax-cache): Simplify and create
1327 `cfengine-mode-syntax-functions-regex' on demand.
1328 (cfengine3-format-function-docstring): Don't call
1329 `cfengine3-make-syntax-cache' explicitly.
1331 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1333 Fix windmove-find-other-window broken after pixelwise resizing
1335 * windmove.el (windmove-other-window-loc): Revert change from
1337 (windmove-find-other-window): Call window-in-direction.
1338 * window.el (window-in-direction): New arguments SIGN, WRAP and
1339 MINI to emulate original windmove-find-other-window behavior.
1341 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1343 * simple.el (blink-matching--overlay): New variable.
1344 (blink-matching-open): Instead of moving point, highlight the
1345 matching paren with an overlay
1346 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1348 * faces.el (paren-showing-faces, show-paren-match)
1349 (show-paren-mismatch): Move from paren.el.
1351 2013-12-13 Leo Liu <sdl.web@gmail.com>
1353 * indent.el (indent-region): Disable progress reporter in
1354 minibuffer. (Bug#16108)
1356 * bindings.el (visual-order-cursor-movement): Fix version.
1358 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1360 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1361 Also match after beginning of line.
1362 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1363 files. Thanks to Russell Sim. (Bug#15378)
1365 2013-12-13 Juri Linkov <juri@jurta.org>
1367 * simple.el <Keypad support>: Remove key bindings duplicated
1368 with bindings.el. (Bug#14397)
1370 2013-12-13 Juri Linkov <juri@jurta.org>
1372 * comint.el (comint-mode-map): Replace `delete-char' with
1373 `delete-forward-char'. (Bug#16109)
1375 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1377 * progmodes/python.el (python-indent-calculate-indentation):
1378 Fix de-denters cornercase. (Bug#15731)
1380 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1382 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1383 (advice--make): Pay attention to `depth'.
1384 (advice--make-1): Don't autoload commands eagerly.
1385 * emacs-lisp/elp.el (elp-instrument-function):
1386 * emacs-lisp/trace.el (trace-function-internal):
1387 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1389 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1391 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1393 * term/w32-win.el (w32-handle-dropped-file):
1394 * startup.el (normal-top-level):
1395 * net/browse-url.el (browse-url-file-url):
1396 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1397 decode file names using 'utf-8' rather than
1398 file-name-coding-system.
1400 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1402 * progmodes/python.el (python-indent-context)
1403 (python-indent-calculate-indentation): Fix auto-identation
1404 behavior for comment blocks. (Bug#15916)
1406 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1408 * progmodes/python.el (python-indent-calculate-indentation):
1409 When determining indentation, don't treat "return", "pass", etc., as
1410 operators when they are just string constituents. (Bug#15812)
1412 2013-12-12 Juri Linkov <juri@jurta.org>
1414 * uniquify.el (uniquify-buffer-name-style): Change default to
1415 `post-forward-angle-brackets'.
1417 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1418 `uniquify'. Change default to `post-forward-angle-brackets'.
1420 2013-12-11 Glenn Morris <rgm@gnu.org>
1422 * emacs-lisp/package.el (finder-list-matches):
1423 Autoload rather than falsely declaring.
1425 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1427 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1428 (eww-mode-map): Use them.
1430 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1432 * window.el (display-buffer-in-side-window): Fix doc-string
1435 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1437 * vc/vc-git.el: Silence byte-compiler warnings.
1438 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1439 (log-edit-set-header): Declare.
1441 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1443 * Makefile.in (custom-deps, finder-data): Run output file names
1444 through unmsys--file-name. (Bug#16099)
1446 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1448 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1449 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1451 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1452 instead of deleting the selection "by hand" (bug#16098).
1453 Rely on insert-for-yank to yank rectangles.
1454 (cua-highlight-region-shift-only): Mark obsolete.
1455 (cua-mode): Don't enable/disable transient-mark-mode,
1456 shift-select-mode (cua-mode works both with and without them), and
1457 pc-selection-mode (obsolete).
1458 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1459 (cua--deactivate-rectangle): Deactivate it.
1461 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1462 (delete-selection-helper): Make sure yank starts at the top of the
1464 (minibuffer-keyboard-quit): Use region-active-p.
1466 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1468 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1469 to `delete' (bug#16109).
1471 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1473 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1474 info manual and show keybindings and set `:group' keyword.
1476 2013-12-11 Juri Linkov <juri@jurta.org>
1478 * delsel.el (delete-active-region): Let-bind `this-command'
1479 to prevent `kill-region' from changing its original value.
1480 (delete-selection-helper): Handle `overwrite-mode' for the type
1481 `kill' exactly the same way as for the type `t'.
1482 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1483 Support more commands. (Bug#13312)
1485 2013-12-11 Juri Linkov <juri@jurta.org>
1487 * bindings.el: Map kp keys to non-kp keys systematically
1488 with basic modifiers control, meta and shift. (Bug#14397)
1490 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1492 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1493 "Close browser" menu items. Fix wrong function of "List
1496 2013-12-11 Juri Linkov <juri@jurta.org>
1498 * misearch.el (multi-isearch-buffers): Set the value of
1499 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1500 arg of isearch-forward to t.
1501 (multi-isearch-buffers-regexp): Set the value of
1502 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1503 arg of isearch-forward-regexp to t.
1504 (multi-isearch-files): Set the value of
1505 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1506 arg of isearch-forward to t.
1507 (multi-isearch-files-regexp): Set the value of
1508 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1509 arg of isearch-forward-regexp to t. (Bug#16035)
1511 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1512 arg of isearch-forward to t.
1513 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1514 arg of isearch-forward-regexp to t.
1515 (dired-isearch-filter-filenames): Remove unnecessary check for
1516 `dired-isearch-filenames'.
1518 * comint.el (comint-history-isearch-backward):
1519 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1520 (comint-history-isearch-backward-regexp):
1521 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1523 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1525 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1526 unmsys--file-name. (Bug#16099)
1528 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1530 * emacs-lisp/package.el (package-keyword-button-action):
1531 Remove finder.el require dependency.
1533 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1535 * emacs-lisp/package.el: Require finder.el.
1536 (describe-package-1): Add keyword buttons.
1537 (package-make-button): New convenience function.
1538 (package-keyword-button-action): Keyword button action using
1539 `finder-list-matches'.
1541 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1543 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1546 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1548 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1551 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1553 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1554 after the end of a percent literal.
1556 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1558 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1559 Handle caret-delimited strings (Bug#16079).
1561 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1563 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1564 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1565 `ruby-parse-partial' (Bug#16078).
1567 2013-12-09 Leo Liu <sdl.web@gmail.com>
1569 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1571 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1573 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1574 (js-switch-indent-offset): New option.
1575 (js--proper-indentation): Use it. And handle the case when
1576 "default" is actually a key in an object literal.
1577 (js--same-line): New function.
1578 (js--multi-line-declaration-indentation): Use it.
1579 (js--indent-in-array-comp, js--array-comp-indentation):
1581 (js--proper-indentation): Use them, to handle array comprehension
1584 2013-12-08 Leo Liu <sdl.web@gmail.com>
1586 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1587 (flymake-make-overlay): Remove arg MOUSE-FACE.
1588 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1590 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1592 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1594 (redisplay-highlight-region-function): Use it.
1596 * emulation/cua-base.el (cua--explicit-region-start)
1597 (cua--last-region-shifted): Remove.
1598 (cua--deactivate): Use deactivate-mark.
1599 (cua--pre-command-handler-1): Don't handle shift-selection.
1600 (cua--post-command-handler-1): Don't change transient-mark-mode.
1601 (cua--select-keymaps): Use region-active-p rather than
1602 cua--explicit-region-start or cua--last-region-shifted.
1603 (cua-mode): Enable shift-select-mode.
1605 2013-12-08 Leo Liu <sdl.web@gmail.com>
1607 * progmodes/flymake.el (flymake-popup-current-error-menu):
1608 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1609 (flymake-posn-at-point-as-event, flymake-popup-menu)
1610 (flymake-make-emacs-menu): Remove. (Bug#16077)
1612 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1614 * rect.el (rectangle-mark-mode): Activate mark even if
1615 transient-mark-mode is off (bug#16066).
1616 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1617 is > mark and at bolp.
1619 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1620 (region-extract-function): Use it.
1621 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1622 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1624 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1625 kill-ring-save, kill-region, delete-char, delete-forward-char.
1626 Ignore self-insert-iso.
1628 * emulation/cua-gmrk.el (cua--init-global-mark):
1629 Ignore `self-insert-iso'.
1631 * emulation/cua-base.el (cua--prefix-copy-handler)
1632 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1633 checking cua--rectangle.
1634 (cua-delete-region): Use region-extract-function.
1635 (cua-replace-region): Delete function.
1636 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1637 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1638 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1639 (cua--init-keymaps): Don't remap delete-selection commands.
1640 (cua-mode): Use delete-selection-mode instead of rolling our own
1643 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1644 Obey region-extract-function.
1646 Make registers and delete-selection-mode work on rectangles.
1647 * register.el (describe-register-1): Don't modify the register's value.
1648 (copy-to-register): Obey region-extract-function.
1649 * delsel.el (delete-active-region): Obey region-extract-function.
1651 2013-12-08 Leo Liu <sdl.web@gmail.com>
1653 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1654 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1655 (flymake-compilation-prevents-syntax-check)
1656 (flymake-start-syntax-check-on-newline)
1657 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1658 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1659 (flymake-xml-program, flymake-master-file-dirs)
1660 (flymake-master-file-count-limit)
1661 (flymake-allowed-file-name-masks): Relocate.
1662 (flymake-makehash, flymake-float-time)
1663 (flymake-replace-regexp-in-string, flymake-split-string)
1664 (flymake-get-temp-dir): Remove.
1665 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1666 (flymake-current-row, flymake-selected-frame)
1667 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1668 related functions. (Bug#16077)
1670 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1672 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1674 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1676 * help-fns.el (describe-function-1): Use new advice-* functions
1677 rather than old ad-* functions. Fix function type description and
1678 source links for advised functions and subrs.
1680 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1682 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1684 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1686 * progmodes/compile.el (compilation-start):
1687 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1689 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1690 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1692 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1694 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1695 Touch up the last change.
1697 2013-12-06 Leo Liu <sdl.web@gmail.com>
1699 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1700 (inferior-octave-startup): Always use "octave> " for prompt.
1701 (octave-goto-function-definition)
1702 (octave-sync-function-file-names)
1703 (octave-find-definition-default-filename): Remove redundant backquotes.
1705 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1707 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1709 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1710 where appropriate already.
1711 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1712 end of method names (Bug#15874).
1714 2013-12-06 Juri Linkov <juri@jurta.org>
1716 * isearch.el (isearch--saved-overriding-local-map):
1717 New internal variable.
1718 (isearch-mode): Set it to the initial value of
1719 `overriding-terminal-local-map'.
1720 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1721 with `isearch--saved-overriding-local-map'. (Bug#16035)
1723 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1725 * progmodes/octave.el (inferior-octave-completion-table):
1726 Turn back into function, use `completion-table-with-cache'
1727 (Bug#11906). Update all references.
1729 * minibuffer.el (completion-table-with-cache): New function.
1731 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1733 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1735 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1737 * net/eww.el (eww-current-source): New variable to store page
1739 (eww-display-html, eww-mode, eww-save-history)
1740 (eww-restore-history): Use it.
1741 (eww-view-source): New command to view page source.
1742 Opportunistically uses `html-mode' to highlight the buffer.
1743 (eww-mode-map): Install it.
1745 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1747 * net/dbus.el (dbus-unregister-service)
1748 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1750 (dbus-unregister-service): Skip :serial entries in
1751 `dbus-registered-objects-table'.
1752 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1754 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1756 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1757 around keywords with extra `split-string' argument.
1759 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1761 * windmove.el (windmove-other-window-loc): Handle navigation
1762 between windows (excluding the minibuffer window - Bug#16017).
1764 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1766 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1767 in D-Bus type syntax.
1768 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1769 preserve unibyte strings. (Bug#16048)
1771 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1773 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1774 Call force-mode-line-update is the proper buffer (bug#16042).
1776 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1778 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1779 `log-edit-remember-comment', make argument optional. Adjust all
1781 (log-edit-mode): Add `log-edit-remember-comment' to
1782 `kill-buffer-hook' locally.
1783 (log-edit-kill-buffer): Don't remember comment explicitly since
1784 the buffer is killed anyway.
1786 2013-12-04 Juri Linkov <juri@jurta.org>
1788 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1789 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1791 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1793 * notifications.el (notifications-close-notification): Call the
1794 D-Bus method with ID being a `:uint32'. (Bug#16030)
1796 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1798 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1800 2013-12-03 Juri Linkov <juri@jurta.org>
1802 * progmodes/compile.el (compilation-start): Rename window alist
1803 entry `no-display-ok' to `allow-no-window'.
1805 * simple.el (shell-command): Add window alist entry
1806 `allow-no-window' to `display-buffer'.
1807 (async-shell-command): Doc fix.
1809 * window.el (display-buffer-no-window): New action function.
1810 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1812 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1814 * vc/log-edit.el (log-edit-set-header): Extract from
1815 `log-edit-toggle-header'.
1816 (log-edit-extract-headers): Separate the summary, when extracted
1817 from header, from the rest of the message with an empty line.
1819 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1820 line, if present, to the Summary header.
1822 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1824 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1825 in current-buffer (bug#16029).
1827 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1829 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1830 (debugger-mode-map): Bind it.
1831 (debugger--backtrace-base): New function.
1832 (debugger-eval-expression): Use it.
1833 (debugger-frame-number): Skip local vars when present.
1834 (debugger--locals-visible-p, debugger--insert-locals)
1835 (debugger--show-locals, debugger--hide-locals): New functions.
1837 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1839 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1841 (tramp-get-remote-locale): New defun.
1842 (tramp-open-connection-setup-interactive-shell): Use it.
1844 2013-12-02 Leo Liu <sdl.web@gmail.com>
1846 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1848 * progmodes/sh-script.el (sh-shell-process):
1849 * progmodes/octave.el (inferior-octave-process-live-p):
1850 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1851 (gdb-inferior-io-sentinel):
1852 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1854 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1856 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1857 `save-selected-window' to `log-edit-hide-buf'. This makes
1858 `log-edit-show-files' idempotent.
1859 (log-edit-show-files): Mark the new window as dedicated.
1861 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1863 * vc/log-edit.el (log-edit-mode-map): Add binding for
1864 `log-edit-kill-biffer'.
1865 (log-edit-hide-buf): Add a FIXME comment.
1866 (log-edit-add-new-comment): New function, extracted from
1868 (log-edit-done, log-edit-add-to-changelog): Use it.
1869 (log-edit-kill-buffer): New command.
1871 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1873 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1874 instead of killing the buffer.
1876 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1878 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1880 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1882 * net/eww.el (eww-form-checkbox-selected-symbol)
1883 (eww-form-checkbox-symbol): New customizable variable.
1884 (eww-form-checkbox, eww-toggle-checkbox):
1885 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1887 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1888 (shr--get-media-pref, shr--extract-best-source): New function.
1889 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1890 no :src tag was specified.
1892 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1893 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1894 Use \\` to match beginning of string instead of ^.
1895 (eww-browse-with-external-browser): Provide optional URL parameter.
1896 (eww-render): Set `eww-current-title' back to "".
1898 * net/shr.el (shr-tag-video): Display content for video if no
1899 poster is available.
1900 (shr-tag-audio): Add support for <audio> tag.
1902 * net/eww.el (eww-text-input-types): New const.
1903 (eww-process-text-input): Treat input types in
1904 `eww-text-input-types' as text.
1906 * net/shr.el (shr-tag-table): Fix comment typo.
1908 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1910 * net/eww.el (eww-follow-link): New command to avoid reloading
1911 pages when we follow #target links (bug#15243).
1912 (eww-quit): Special mode buffers shouldn't query before exiting.
1914 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1916 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1919 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1921 * net/eww.el (eww-restore-history): Update the window title after
1922 moving in the history.
1923 (eww-current-dom): New variable used to save the current DOM.
1925 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1927 * vc/log-edit.el (log-edit-mode-map): Add binding for
1928 `log-edit-beginning-of-line'.
1929 (log-edit-setup-add-author): New user option.
1930 (log-edit-beginning-of-line): New command.
1931 (log-edit): Move major mode call above the contents setup so that
1932 the local variable values are already applied.
1933 (log-edit): Only insert "Author: " when
1934 `log-edit-setup-add-author' is non-nil.
1935 (log-edit): When SETUP is non-nil, position point after ": "
1936 instead of point-min.
1938 2013-12-01 Glenn Morris <rgm@gnu.org>
1940 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1942 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1944 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1945 redisplay to make sure the initial frame gets a chance to become
1946 visible. (Bug#16014)
1948 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1950 Support resizing frames and windows pixelwise.
1951 * cus-start.el (frame-resize-pixelwise)
1952 (window-resize-pixelwise): New entries.
1953 * emacs-lisp/debug.el (debug): Use window-total-height instead
1954 of window-total-size.
1955 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1956 * help.el (describe-bindings-internal): Call help-buffer
1957 (temp-buffer-max-width): New option.
1958 (resize-temp-buffer-window, help-window-setup)
1959 (with-help-window): Rewrite.
1960 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1962 * window.el (frame-char-size, window-min-pixel-height)
1963 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1964 (window-min-pixel-width, window-safe-min-pixel-size)
1965 (window-combination-p, window-safe-min-size)
1966 (window-resizable-p, window--size-to-pixel)
1967 (window--pixel-to-size, window--resize-apply-p): New functions.
1968 (window-safe-min-height): Fix doc-string.
1969 (window-size, window-min-size, window--min-size-1)
1970 (window-sizable, window-sizable-p, window--min-delta-1)
1971 (window-min-delta, window--max-delta-1, window-max-delta)
1972 (window--resizable, window--resizable-p, window-resizable)
1973 (window-full-height-p, window-full-width-p, window-at-side-p)
1974 (window--in-direction-2, window-in-direction)
1975 (window--resize-reset-1, window--resize-mini-window)
1976 (window-resize, window-resize-no-error)
1977 (window--resize-child-windows-normal)
1978 (window--resize-child-windows, window--resize-siblings)
1979 (window--resize-this-window, window--resize-root-window)
1980 (window--resize-root-window-vertically)
1981 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1982 (maximize-window, minimize-window, delete-window)
1983 (quit-restore-window, window-split-min-size, split-window)
1984 (balance-windows-2, balance-windows)
1985 (balance-windows-area-adjust, balance-windows-area)
1986 (window--state-get-1, window-state-get, window--state-put-1)
1987 (window--state-put-2, window-state-put)
1988 (display-buffer-record-window, window--display-buffer):
1989 Make functions handle pixelwise sizing of windows.
1990 (display-buffer--action-function-custom-type)
1991 (display-buffer-fallback-action):
1992 Add display-buffer-in-previous-window.
1993 (display-buffer-use-some-window): Resize window to height it had
1995 (fit-window-to-buffer-horizontally): New option.
1996 (fit-frame-to-buffer): Describe new values.
1997 (fit-frame-to-buffer-bottom-margin): Replace with
1998 fit-frame-to-buffer-margins.
1999 (window--sanitize-margin): New function.
2000 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2001 using window-text-pixel-size.
2003 2013-11-30 Glenn Morris <rgm@gnu.org>
2005 * emacs-lisp/bytecomp.el (byte-compile-form):
2006 Make the `interactive-only' warning like the `obsolete' one.
2007 * comint.el (comint-run):
2008 * files.el (insert-file-literally, insert-file):
2009 * replace.el (replace-string, replace-regexp):
2010 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2011 (goto-line, insert-buffer, next-line, previous-line):
2012 Tweak `interactive-only' spec.
2014 Stop keeping (most) generated cedet grammar files in the repository.
2015 * Makefile.in (semantic): New.
2016 (compile-main): Depend on semantic.
2018 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2020 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2021 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2023 * uniquify.el (uniquify-buffer-name-style): Change default.
2025 * loadup.el: Preload "uniquify".
2027 * time.el (display-time-update): Update all mode lines (bug#15999).
2029 * electric.el (electric-indent-mode): Enable by default.
2030 * loadup.el: Preload "electric".
2032 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2034 * emacs-lisp/helpers.el (string-empty-p): New function.
2035 (string-blank-p): New function.
2037 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2039 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2042 2013-11-29 Andreas Politz <politza@fh-trier.de>
2043 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2044 allow non-lambda lists as functions.
2045 (imenu--in-alist): Don't recurse into non-subalists.
2046 (imenu): Don't pass function itself as an argument (Bug#14029).
2048 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2050 * progmodes/python.el (python-mode-map): Remove binding for ":".
2051 (python-indent-electric-colon): Remove command.
2052 (python-indent-post-self-insert-function): Integrate the previous code
2053 of python-indent-electric-colon. Make it conditional on
2054 electric-indent-mode.
2055 (python-mode): Add ?: to electric-indent-chars.
2056 Move python-indent-post-self-insert-function to the end of
2057 post-self-insert-hook.
2059 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2061 * doc-view.el (doc-view-goto-page): Update mode-line.
2063 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2065 2013-11-27 Glenn Morris <rgm@gnu.org>
2067 * international/charprop.el, international/uni-bidi.el:
2068 * international/uni-category.el, international/uni-combining.el:
2069 * international/uni-comment.el, international/uni-decimal.el:
2070 * international/uni-decomposition.el, international/uni-digit.el:
2071 * international/uni-lowercase.el, international/uni-mirrored.el:
2072 * international/uni-name.el, international/uni-numeric.el:
2073 * international/uni-old-name.el, international/uni-titlecase.el:
2074 * international/uni-uppercase.el:
2075 Remove generated files from VCS repository.
2077 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2079 * filenotify.el (file-notify-add-watch): Don't special-case
2080 w32notify when computing the directory to watch.
2082 2013-11-27 Glenn Morris <rgm@gnu.org>
2084 Make bootstrap without generated uni-*.el files possible again.
2085 * loadup.el: Update command-line-args checking for unidata-gen.
2086 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2087 * composite.el, international/characters.el:
2088 Handle unicode tables being undefined.
2090 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2091 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2092 (compile-main): Depend on leim rule.
2094 * loadup.el: Move leim-list.el to leim/ subdirectory.
2095 * startup.el (normal-top-level): No more leim directory.
2096 * international/ja-dic-cnv.el (skkdic-convert):
2097 Disable version-control and autoloads in output files.
2098 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2099 Disable version-control and autoloads in output files.
2100 * leim/quail: Move here from ../leim.
2101 * leim/quail/hangul.el (hangul-input-method-activate):
2102 Add autoload cookie.
2103 (generated-autoload-load-name): Set file-local value.
2104 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2105 (generated-autoload-load-name): Set file-local value.
2107 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2109 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2110 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2111 (eww-quit): Ask confirmation before quitting eww.
2113 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2115 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2116 reading output from Diff on MS-Windows and MS-DOS.
2118 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2120 * emacs-lisp/helpers.el (string-reverse): New function.
2122 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2124 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2125 names on MS Windows, like "/[::1]:".
2127 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2130 2013-11-26 Glenn Morris <rgm@gnu.org>
2132 * progmodes/python.el (python-indent-guess-indent-offset):
2133 Avoid corner-case error. (Bug#15975)
2135 Preload leim-list.el. (Bug#4789)
2136 * loadup.el: Load leim-list.el when found.
2137 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2139 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2141 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2143 * emacs-lisp/helpers.el (string-join): New function.
2145 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2147 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2148 Mark as obsolete and replace it with a symbol property.
2149 (byte-compile-form): Use new 'interactive-only property.
2150 * comint.el, files.el, replace.el, simple.el:
2151 Apply new 'interactive-only properly.
2153 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2155 * window.el (display-buffer-at-bottom): Make sure that
2156 split-window-sensibly creates the new window on bottom
2159 2013-11-23 David Kastrup <dak@gnu.org>
2161 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2162 on the conflict markers when available.
2163 (smerge--get-marker): New function.
2164 (smerge-end-re, smerge-base-re): Add subgroup.
2166 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2168 * frame.el (handle-focus-in, handle-focus-out): Add missing
2171 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2173 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2174 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2176 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2178 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2179 (gomoku--last-pos): New var.
2180 (gomoku--intangible-chars): New const.
2181 (gomoku--intangible): New function.
2182 (gomoku-mode): Use it. Derive from special-mode.
2183 (gomoku-move-up): Adjust line count.
2184 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2185 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2186 Simplify accordingly.
2188 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2189 Remove blink-cursor code.
2190 (blink-cursor-timer-function, blink-cursor-suspend):
2191 Don't special-case GUIs.
2192 (blink-cursor-mode): Use focus-in/out-hook.
2194 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2196 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2197 work when annotation is invisible (Bug#13886).
2199 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2201 * json.el (json-alist-p): Only return non-nil if the alist has
2202 simple keys (Bug#13518).
2204 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2206 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2207 when control-statement is the first statement in a buffer (Bug#15956).
2209 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2211 * imenu.el (imenu-generic-skip-comments-and-strings):
2212 New option (Bug#15560).
2213 (imenu--generic-function): Use it.
2215 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2217 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2220 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2222 * emacs-lisp/helpers.el: Add some string helpers.
2223 (string-trim-left): Removes leading whitespace.
2224 (string-trim-right): Removes trailing whitespace.
2225 (string-trim): Removes leading and trailing whitespace.
2227 * subr.el (string-suffix-p): New function.
2229 2013-11-23 Glenn Morris <rgm@gnu.org>
2231 * progmodes/python.el (python-shell-send-file):
2232 Add option to delete file when done. (Bug#15647)
2233 (python-shell-send-string, python-shell-send-region): Use it.
2235 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2237 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2238 to set buffer-read-only to t, never to nil. (Bug#15938)
2240 * textmodes/tex-mode.el (latex-noindent-environments):
2241 Add safe-local-variable property. (Bug#15936)
2243 2013-11-23 Glenn Morris <rgm@gnu.org>
2245 * textmodes/enriched.el (enriched-mode): Doc fix.
2246 * emacs-lisp/authors.el (authors-renamed-files-alist):
2247 Add enriched.doc -> enriched.txt.
2249 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2251 2013-11-22 Leo Liu <sdl.web@gmail.com>
2253 * progmodes/octave.el (inferior-octave-startup): Spit out error
2256 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2258 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2261 (ruby-encoding-magic-comment-style): Add :version.
2263 2013-11-22 Leo Liu <sdl.web@gmail.com>
2265 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2267 (octave-help-mode): Adapt to change to help-mode-finish to use
2268 derived-mode-p on 2013-09-17.
2269 (inferior-octave-prompt): Also match octave-gui.
2270 (octave-kill-process): Don't ask twice. (Bug#10564)
2272 2013-11-22 Leo Liu <sdl.web@gmail.com>
2274 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2275 (inferior-octave-startup, inferior-octave-check-process)
2276 (inferior-octave-track-window-width-change)
2277 (octave-completion-at-point, octave-eldoc-function): Use it.
2278 (octave-kill-process): Provide confirmation. (Bug#10564)
2280 2013-11-21 Leo Liu <sdl.web@gmail.com>
2282 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2283 Fix obsolete variable comment-use-global-state.
2285 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2287 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2288 Add `octave-source-file'.
2289 (octave-source-file): New function. (Bug#15935)
2291 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2293 * net/eww.el (eww-local-regex): New variable.
2294 (eww): Use it to detect localhost and similar.
2296 2013-11-21 Leo Liu <sdl.web@gmail.com>
2298 Add completion for command `ag'.
2299 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2300 (pcomplete/ag): New function.
2301 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2303 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2305 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2307 (make-obsolete): Remove interactive spec.
2309 2013-11-21 Glenn Morris <rgm@gnu.org>
2311 * startup.el (command-line-1): Use path-separator with -L.
2313 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2315 * emacs-lisp/package.el (describe-package-1): Add package archive
2318 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2320 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2321 Change default to "# encoding: %s" to differentiate it from the
2322 default Ruby encoding comment template.
2324 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2326 * ses.el (ses-mode): Doc fix. (Bug#14748)
2328 2013-11-20 Leo Liu <sdl.web@gmail.com>
2330 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2332 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2334 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2335 when rebase or bisect are in progress.
2337 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2339 * filenotify.el (file-notify-add-watch): Doc fix.
2341 2013-11-19 Leo Liu <sdl.web@gmail.com>
2343 * obsolete/rcompile.el: Mark obsolete.
2345 * progmodes/compile.el (compilation-start)
2346 (compilation-goto-locus, compilation-find-file):
2347 Pass no-display-ok and handle nil value from display-buffer.
2350 * window.el (display-buffer-alist, display-buffer): Document the
2351 new parameter no-display-ok. Return either a window or nil
2352 but never a non-window value.
2354 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2356 * electric.el (electric-indent-mode-map): Remove.
2357 (electric-indent-mode): Change the global-map instead (bug#15915).
2359 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2362 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2364 * emacs-lisp/nadvice.el (remove-function): Align with
2365 add-function's behavior.
2367 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2368 (gdb--string-regexp): New constant.
2369 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2370 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2371 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2373 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2374 Adjust use accordingly.
2375 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2377 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2379 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2380 interpolation curlies (Bug#15914).
2382 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2384 * calc/calc.el (calc-context-sensitive-enter): New variable.
2385 (calc-enter): Use `calc-context-sensitive-enter'.
2387 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2389 * progmodes/cfengine.el: Version bump.
2390 (cfengine-cf-promises): New defcustom to locate cf-promises.
2391 (cfengine3-vartypes): Add new "data" type.
2392 (cfengine3--current-word): New function to get current name-like
2394 (cfengine3--current-function): New function to look up a CFEngine
2395 function's definition.
2396 (cfengine3-format-function-docstring): New function.
2397 (cfengine3-make-syntax-cache): New function.
2398 (cfengine3-documentation-function): New function: ElDoc glue.
2399 (cfengine3-completion-function): New function: completion glue.
2400 (cfengine3-mode): Set `compile-command',
2401 `eldoc-documentation-function', and add to
2402 `completion-at-point-functions'.
2404 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2406 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2407 `tramp-current-connection'.
2409 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2411 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2412 nil/self/true/false with "end of symbol".
2414 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2416 * subr.el (version-regexp-alist): Fix a typo.
2418 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2420 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2421 "en_US.utf8" and "LC_CTYPE" to "".
2422 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2423 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2425 2013-11-15 Leo Liu <sdl.web@gmail.com>
2427 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2429 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2431 * progmodes/gud.el (ctl-x-map):
2432 Remove C-x SPC binding. (Bug#12342)
2433 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2435 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2437 * subr.el (version-regexp-alist):
2438 Recognize hg, svn and darcs versions as snapshot versions.
2440 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2441 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2442 (ruby--encoding-comment-required-p): Extract from
2443 `ruby-mode-set-encoding'.
2444 (ruby-mode-set-encoding): Add the ability to always insert an
2445 utf-8 encoding comment. Fix and simplify coding comment update
2448 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2450 * net/tramp-gvfs.el (top): Run init code only when
2451 `tramp-gvfs-enabled' is not nil.
2452 (tramp-gvfs-enabled): Check also :system bus.
2454 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2456 Sync with upstream verilog-mode revision 78e66ba.
2457 * progmodes/verilog-mode.el (verilog-end-of-defun)
2458 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2459 (verilog-get-end-of-defun): Remove unused argument.
2460 (verilog-comment-depth): Remove unused local `e'.
2461 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2462 Don't pass arg to verilog-get-end-of-defun.
2464 2013-11-14 Glenn Morris <rgm@gnu.org>
2466 * obsolete/assoc.el (aget): Prefix dynamic variable.
2468 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2470 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2472 * widget.el, hfy-cmap.el: Remove bogus package version number.
2474 2013-11-13 Glenn Morris <rgm@gnu.org>
2476 * replace.el (replace-eval-replacement):
2477 Try to give more helpful error message. (Bug#15836)
2479 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2480 (archive-7z-update): Avoid custom type mismatches.
2482 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2484 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2486 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2487 address can be empty.
2489 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2490 Accept nil SWITCHES.
2491 (tramp-gvfs-handle-write-region): Implement APPEND.
2493 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2495 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2496 binary "|" operator and closing block args delimiter.
2497 Remove FIXME comment referring to Ruby 1.8-only syntax.
2498 (ruby-smie--implicit-semi-p): Not after "|" operator.
2499 (ruby-smie--closing-pipe-p): New function.
2500 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2501 (ruby-smie-rules): Indent after "|".
2503 2013-11-12 Glenn Morris <rgm@gnu.org>
2505 * ps-print.el (ps-face-attribute-list):
2506 Handle anonymous faces. (Bug#15827)
2508 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2510 * window.el (display-buffer-other-frame): Fix doc-string.
2513 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2515 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2517 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2519 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2520 (tramp-sh-handle-file-local-copy): Don't write a message when
2521 saving temporary files.
2523 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2524 both directories are remote.
2525 (tramp-smb-handle-directory-files): Do not return double entries.
2526 Do not expand full file names.
2527 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2528 (tramp-smb-handle-write-region): Implement APPEND.
2529 (tramp-smb-get-stat-capability): Fix a stupid bug.
2531 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2533 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2535 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2537 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2538 throwing error over malformed let/let* (bug#15814).
2540 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2542 * iswitchb.el (iswitchb-mode): Mark obsolete.
2544 2013-11-11 Glenn Morris <rgm@gnu.org>
2546 * international/uni-bidi.el, international/uni-category.el:
2547 * international/uni-name.el, international/uni-numeric.el:
2548 Regenerate for Unicode 6.3.0.
2550 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2552 * net/tramp.el (tramp-methods):
2553 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2554 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2556 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2558 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2559 Force highlighting text after Summary keyword in doc face for rpm.
2561 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2563 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2564 available and the word has no wildcards, append one to the grep pattern.
2565 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2566 (ispell-complete-word): Call `ispell-lookup-words' with the value
2567 independent of `ispell-look-p'.
2569 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2571 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2573 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2576 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2578 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2579 (ruby-font-lock-keywords): Use backquote.
2581 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2583 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2584 (ruby-smie--backward-token): Only consider full-string matches.
2586 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2588 * faces.el (describe-face): Add distant-foreground.
2590 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2592 * progmodes/ruby-mode.el: Improve encoding comment handling.
2593 (ruby-encoding-magic-comment-style): New option.
2594 (ruby-custom-encoding-magic-comment-template): New option.
2595 (ruby--insert-coding-comment, ruby--detect-encoding):
2596 New functions extracted from `ruby-mode-set-encoding'.
2597 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2598 to control the style of the auto-inserted encoding comment.
2600 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2602 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2603 Use `smie-backward-sexp' with token argument.
2605 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2607 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2608 Remove instrumentation code.
2610 2013-11-08 Glenn Morris <rgm@gnu.org>
2612 * progmodes/autoconf.el (autoconf-mode):
2613 Tweak comment-start-skip. (Bug#15822)
2615 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2617 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2618 at bobp (bug#15826).
2619 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2621 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2623 * man.el (Man-start-calling): New macro, extracted from
2624 Man-getpage-in-background.
2625 (Man-getpage-in-background): Use it.
2626 (Man-update-manpage): New command.
2627 (Man-mode-map): Bind it.
2629 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2631 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2632 of "and", "or", "&&" and "||".
2633 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2634 argument. Prohibit opening curly brace because it could only be a
2635 block opener in that position.
2636 (ruby-smie--forward-token, ruby-smie--backward-token):
2637 Separate "|" from "&" or "*" going after it. That can happen in block
2639 (ruby-smie--indent-to-stmt): New function, seeks the end of
2640 previous statement or beginning of buffer.
2641 (ruby-smie-rules): Use it.
2642 (ruby-smie-rules): Check if there's a ":" before a curly block
2643 opener candidate; if there is, it's a hash.
2645 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2647 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2648 (cl--block-wrapper): Fix last accidental change.
2650 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2652 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2653 Instrument, in order to hunt failure on hydra.
2655 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2657 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2658 malformed bindings form (bug#15814).
2660 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2662 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2663 "." compared to " @ ". This incidentally fixes some indentation
2665 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2666 (ruby-smie-grammar): New tokens: "and" and "or".
2667 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2668 Exclude "and" and "or". Remove "do" in order to work around token
2670 (ruby-smie-rules): Add all infix tokens. Handle the case of
2671 beginning-of-buffer.
2673 2013-11-06 Glenn Morris <rgm@gnu.org>
2675 * Makefile.in (setwins_almost, setwins_for_subdirs):
2676 Avoid accidental matches.
2678 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2680 * menu-bar.el (popup-menu): Use key-binding.
2682 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2684 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2685 menus, support also the menus produced by minor modes.
2688 2013-11-06 Leo Liu <sdl.web@gmail.com>
2690 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2691 DISTANCE to bound the search. All uses changed. (Bug#15808)
2693 2013-11-06 Glenn Morris <rgm@gnu.org>
2695 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2696 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2697 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2699 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2701 * electric.el (electric-indent-just-newline): New command.
2702 (electric-indent-mode-map): New keymap.
2703 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2704 Re-add :group which weren't redundant.
2706 * electric.el (electric-indent-local-mode): New minor mode.
2707 (electric-indent-functions-without-reindent): New var.
2708 (electric-indent-post-self-insert-function): Use it.
2709 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2711 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2713 * international/quail.el (quail-help): Be more explicit about the
2714 meaning of the labels shown on the keys. (Bug#15800)
2716 * startup.el (normal-top-level): Load the subdirs.el files before
2717 setting the locale environment. (Bug#15805)
2719 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2721 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2722 via arguments so as to get the right ones (bug#15418).
2724 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2726 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2728 Fix problems found while writing a test suite.
2730 * net/tramp-compat.el (tramp-compat-load): New defun.
2731 * net/tramp.el (tramp-handle-load): Use it.
2733 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2734 "(numberp ok-if-already-exists)" correctly.
2736 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2738 * international/characters.el (glyphless-char-display-control):
2741 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2743 * progmodes/python.el (python-mode):
2744 * progmodes/scheme.el (scheme-mode):
2745 * progmodes/prolog.el (prolog-mode):
2746 * progmodes/ruby-mode.el (ruby-mode):
2747 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2748 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2750 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2752 * rect.el (rectangle--highlight-for-redisplay):
2753 * emacs-lisp/smie.el (smie--next-indent-change):
2754 Use buffer-chars-modified-tick.
2756 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2758 * electric.el (electric-indent-post-self-insert-function):
2759 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2761 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2763 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2765 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2767 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2770 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2772 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2774 * progmodes/python.el: Fix up last change.
2775 (python-shell--save-temp-file): New function.
2776 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2777 `string' comes from the current buffer.
2778 (python-shell-send-string-no-output): Remove `msg' arg.
2779 (python--use-fake-loc): New var.
2780 (python-shell-buffer-substring): Obey it. Try to compensate for the
2781 extra coding line added by python-shell--save-temp-file.
2782 (python-shell-send-region): Use python-shell--save-temp-file and
2783 python-shell-send-file directly. Add `nomain' argument.
2784 (python-shell-send-buffer): Use python-shell-send-region.
2785 (python-electric-pair-string-delimiter): New function.
2786 (python-mode): Use it.
2788 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2790 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2791 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2792 environment and decoding all of the default-directory's to here
2794 (command-line): Decode also argv[0].
2796 * loadup.el: Error out if default-directory is a multibyte string
2797 when we are dumping.
2799 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2801 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2803 * emacs-lisp/package.el (package-menu-mode)
2804 (package-menu--print-info, package-menu--archive-predicate):
2805 Add Archive column to package list.
2807 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2809 Fix problems found while writing a test suite.
2811 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2812 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2813 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2814 to nil when running original file name handler. Otherwise,
2815 there are problems with constructs like "$$FOO".
2817 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2820 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2822 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2824 * subr.el (version<, version<=, version=):
2825 Update docstrings with information for snapshot versions.
2827 * helpers.el: New library for misc helper functions.
2828 (hash-table-keys): New function returning a list of hash keys.
2829 (hash-table-values): New function returning a list of hash values.
2831 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2833 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2834 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2836 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2838 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2839 checking whether point is after a 1-letter word.
2841 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2843 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2844 Don't infloop when expanding region over `multiline' syntax-type that
2845 begins a line (bug#15778).
2847 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2849 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2850 Make it into a proper minor mode.
2851 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2852 (rectangle-mark-mode-map): New keymap.
2853 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2855 2013-11-04 Glenn Morris <rgm@gnu.org>
2857 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2859 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2861 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2862 (ruby-smie-rules): Use smie-rule-parent instead.
2864 * emacs-lisp/smie.el (smie-rule-parent): Always call
2865 smie-indent-virtual rather than only for hanging tokens.
2866 (smie--next-indent-change): New helper command.
2868 2013-11-03 Glenn Morris <rgm@gnu.org>
2870 * Makefile.in (abs_srcdir): Remove.
2871 (emacs): Unset EMACSLOADPATH.
2873 2013-11-02 Glenn Morris <rgm@gnu.org>
2875 * Makefile.in (EMACS): Use a relative filename.
2876 (abs_top_builddir): Remove.
2877 (custom-deps, finder-data, autoloads): Use --chdir.
2879 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2881 Use relative filenames in TAGS files.
2882 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2883 (lisptagsfiles4, TAGS): Use relative file names.
2884 (TAGS-LISP): Remove.
2885 (maintainer-clean): No more TAGS-LISP file.
2887 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2888 (lisptagsfiles4): Use absolute filenames again.
2889 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2890 Remove all *loaddefs files, not just the first. Remove esh-groups.
2891 (maintainer-clean): Delete TAGS, TAGS-LISP.
2893 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2895 * emacs-lisp/package.el (package-version-join):
2896 Recognize snapshot versions.
2898 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2900 * subr.el (version-regexp-alist): Add support for snapshot versions.
2902 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2904 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2905 New function, replacement for `smie-rule-parent' for when we want to
2906 skip over our direct parent if it's an assignment token..
2907 (ruby-smie-rules): Use it.
2909 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2911 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2912 unconditionally. Remove now unnecessary forward declarations.
2913 Remove XEmacs-specific setup.
2914 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2915 (ruby-font-lock-syntactic-keywords)
2916 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2917 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2918 (ruby-here-doc-end-syntax): Remove.
2919 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2920 defined as function.
2922 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2924 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2926 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2928 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2929 table and abbrev table, `define-derived-mode' does that for us
2932 2013-11-01 Glenn Morris <rgm@gnu.org>
2934 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2935 files is atomic for some time, so no parallel compilation issues).
2937 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2939 * faces.el (face-x-resources): Add :distant-foreground.
2940 (region): Use :distant-foreground for gtk and ns.
2942 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2944 Allow multiple bibliographies when BibLaTeX is used rather than
2946 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2947 (reftex-locate-bibliography-files): Us it.
2949 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2951 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2952 allow comments in pbm files.
2954 * term/w32-win.el (dynamic-library-alist): Support newer versions
2955 of libjpeg starting with v7: look only for the DLL from the
2956 version against which Emacs was built.
2957 Support versions of libpng beyond 1.4.x.
2958 Support libtiff v4.x.
2960 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2962 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2963 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2965 (ruby-deep-arglist): Add property :type.
2967 2013-10-31 Glenn Morris <rgm@gnu.org>
2969 * Makefile.in (custom-deps, finder-data): No need to setq the target
2970 variables, we are in the right directory and the defaults work fine.
2972 2013-10-30 Glenn Morris <rgm@gnu.org>
2974 * Makefile.in (autoloads): Do not use abs_lisp.
2976 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2977 `newline' does not respect `standard-output', so use `princ'.
2979 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2981 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2982 * buff-menu.el (Buffer-menu--unmark): New function.
2983 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2985 2013-10-30 Glenn Morris <rgm@gnu.org>
2987 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2989 * emacs-lisp/package.el (lm-homepage): Declare.
2991 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2994 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2996 * Makefile.in (finder-data, autoloads, update-subdirs)
2997 (compile-main, compile-clean, compile-always, bootstrap-clean):
2998 Check return value of cd.
2999 (compile-calc): Remove.
3001 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3003 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3005 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3006 (byte-compile-and-folded): New function.
3007 (=, <, >, <=, >=): Use it.
3009 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3010 (path-separator, null-device, buffer-file-coding-system)
3011 (lpr-headers-switches): Check system-type before modifying them.
3012 (find-buffer-file-type-coding-system): Mark obsolete.
3013 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3014 find-file-not-found-set-buffer-file-coding-system.
3015 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3016 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3017 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3018 (w32-direct-print-region-helper, w32-direct-print-region-function)
3019 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3020 * startup.el (normal-top-level-add-subdirs-to-load-path):
3021 * ps-print.el (ps-print-region-function):
3022 * lpr.el (print-region-function): Use new name.
3024 * subr.el (custom-declare-variable-early): Remove function.
3025 (custom-declare-variable-list): Remove var.
3026 (error, user-error): Remove `while' loop.
3027 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3028 (user-emacs-directory-warning, locate-user-emacs-file):
3030 * simple.el (read-quoted-char-radix, read-quoted-char):
3031 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3033 * custom.el (custom-declare-variable-list): Don't process
3034 custom-declare-variable-list.
3036 * progmodes/python.el (python-shell-get-buffer): New function.
3037 (python-shell-get-process): Use it.
3038 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3039 Python which encoding was used. Don't split-string since we only care
3040 about the first line. Return the temp-file, if applicable.
3041 (python-shell-send-region): Tell compile.el how to turn locations in
3042 the temp-file into locations in the source buffer.
3044 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3046 * subr.el (undefined): Add missing behavior from the C code for
3049 * rect.el: Use lexical-binding. Add new rectangular region support.
3050 (rectangle-mark): New command.
3051 (rectangle--region): New var.
3052 (deactivate-mark-hook): Reset rectangle--region.
3053 (rectangle--extract-region, rectangle--insert-for-yank)
3054 (rectangle--highlight-for-redisplay)
3055 (rectangle--unhighlight-for-redisplay): New functions.
3056 (region-extract-function, redisplay-unhighlight-region-function)
3057 (redisplay-highlight-region-function): Use them to handle
3059 * simple.el (region-extract-function): New var.
3060 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3061 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3062 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3063 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3064 (redisplay-unhighlight-region-function)
3065 (redisplay-highlight-region-function): New vars.
3066 (redisplay--update-region-highlight): New function.
3067 (pre-redisplay-function): Use it.
3068 (exchange-point-and-mark): Don't deactivate the mark before
3069 reactivate-it anyway.
3070 * comint.el (comint-kill-region): Remove yank-handler argument.
3071 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3072 (delete-char): Remove property, since it's now part of their
3074 (self-insert-iso): Remove property since this command doesn't exist.
3076 * emacs-lisp/package.el (package--download-one-archive)
3077 (describe-package-1): Don't query the user about final newline.
3079 2013-10-29 Daniel Colascione <dancol@dancol.org>
3081 * net/tramp.el (tramp-methods): Document new functionality.
3082 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3083 tramp-hostname-checker if method provides one instead of scanning
3084 argument list for "%h" to decide hostname acceptability.
3086 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3088 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3089 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3090 Handle COPY-CONTENTS. (Bug#15737)
3092 2013-10-28 Daiki Ueno <ueno@gnu.org>
3095 (epa-file-cache-passphrase-for-symmetric-encryption):
3096 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3098 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3100 * image.el (defimage):
3101 (image-load-path): Doc fixes.
3103 2013-10-27 Alan Mackenzie <acm@muc.de>
3105 Indent statements in macros following "##" correctly.
3106 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3107 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3109 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3111 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3113 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3115 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3116 after `=' is probably a new expression.
3118 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3120 * man.el (man-imenu-title): New option.
3121 (Man-mode-map): Add menu. (Bug#15722)
3122 (Man-mode): Add imenu to menu.
3124 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3126 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3127 specific in what the first arg can be: a non-keyword word,
3128 string/regexp/percent literal opener, opening paren, or unary
3129 operator followed directly by word.
3131 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3133 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3134 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3135 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3136 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3137 Remove vars, they do not apply any more.
3138 (prolog-mode-abbrev-table): Remove redundant declaration.
3139 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3140 (prolog-use-smie): Remove.
3141 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3142 supported by prolog-electric-if-then-else-flag.
3143 (prolog-mode-variables, prolog-menu): Use setq-local.
3144 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3145 Remove binding to `Backspace' since this key doesn't exist anyway.
3146 Remove bindings for electric self-inserting keys.
3147 (prog-mode): Assume it's defined.
3148 (prolog-post-self-insert): New function.
3149 (prolog-mode): Use it.
3150 (prolog-indent-line, prolog-indent-level)
3151 (prolog-find-indent-of-matching-paren)
3152 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3153 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3154 (prolog-goto-next-paren, prolog-in-string-or-comment)
3155 (prolog-tokenize, prolog-inside-mline-comment)
3156 (prolog-find-start-of-mline-comment): Remove functions.
3157 (prolog-find-unmatched-paren, prolog-clause-end)
3158 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3159 (prolog-electric--if-then-else): Rename from
3160 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3161 (prolog-tokenize-searchkey): Remove const.
3162 (prolog-clause-info): Use forward-sexp.
3163 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3164 (prolog-electric-if-then-else): Remove commands.
3165 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3166 for use in post-self-insert-hook.
3167 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3168 for use in post-self-insert-hook.
3169 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3170 for use in post-self-insert-hook.
3171 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3172 adapt it for use in post-self-insert-hook.
3174 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3176 * emacs-lisp/ert.el (ert-run-tests-interactively):
3177 Use `completing-read'. (Bug#9756)
3179 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3181 * simple.el (line-move): Call line-move-1 instead of
3182 line-move-visual when the current window hscroll is zero, but
3183 temporary-goal-column indicates we will need to hscroll as result
3184 of the movement. (Bug#15712)
3186 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3188 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3189 capitalization. Use :visible instead of :active.
3190 Fix `ruby-indent-exp' reference. Add menu items for the generic
3191 commands that are used with SMIE.
3192 (ruby-do-end-to-brace): Insert space after `{'.
3194 2013-10-25 John Anthony <john@jo.hnanthony.com>
3196 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3198 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3200 2013-10-25 Glenn Morris <rgm@gnu.org>
3202 * vc/vc.el (vc-print-log): Don't use a working revision unless
3203 one was explicitly specified. (Bug#15322)
3205 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3207 * subr.el (add-to-list): Preserve return value in compiler-macro
3210 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3212 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3213 result. Ask user to retry using '-all' flag. (Bug#15701)
3215 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3217 * emacs-lisp/smie.el: New smie-config system.
3218 (smie-config): New defcustom.
3219 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3220 (smie-config-guess, smie-config-save): New commands.
3221 (smie-config--mode-local, smie-config--buffer-local)
3222 (smie-config--trace, smie-config--modefuns): New vars.
3223 (smie-config--advice, smie-config--mode-hook)
3224 (smie-config--setter, smie-config-local, smie-config--get-trace)
3225 (smie-config--guess-value, smie-config--guess): New functions.
3226 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3227 text properties. Treat "string fence" syntax like string syntax.
3229 * progmodes/sh-script.el (sh-use-smie): Change default.
3230 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3231 (sh-var-value): Simplify by CSE.
3232 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3233 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3235 (sh-guess-basic-offset): Use cl-incf.
3236 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3238 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3240 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3243 2013-10-24 Glenn Morris <rgm@gnu.org>
3245 * Makefile.in (abs_top_srcdir): Remove.
3246 (update-subdirs): Use relative path to update-subdirs.
3248 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3250 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3251 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3252 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3253 Call unmsys--file-name before expand-file-name, not after it.
3255 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3257 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3258 (ert-test-skipped): New error.
3259 (ert-skip, ert-stats-skipped): New defuns.
3260 (ert--skip-unless): New macro.
3261 (ert-test-skipped): New struct.
3262 (ert--run-test-debugger, ert-test-result-type-p)
3263 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3264 (ert--stats-set-test-and-result, ert-char-for-test-result)
3265 (ert-string-for-test-result, ert-run-tests-batch)
3266 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3267 Handle skipped tests. (Bug#9803)
3269 2013-10-24 Glenn Morris <rgm@gnu.org>
3271 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3273 * Makefile.in (abs_top_srcdir): New, set by configure.
3274 (update-subdirs): Correct build-aux location.
3276 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3278 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3279 value, whether we could auto-deduce `backend', or not.
3281 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3282 with parameters" example. Simplify the "is it block or is it
3283 hash" check, but also make it more thorough.
3285 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3287 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3289 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3291 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3294 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3297 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3299 * progmodes/compile.el (compilation-directory-matcher)
3300 (compilation-page-delimiter):
3301 Support GNU Make-4.0 directory quoting. (Bug#15678)
3303 2013-10-23 Leo Liu <sdl.web@gmail.com>
3305 * ido.el (ido-tidy): Handle read-only text.
3307 2013-10-23 Glenn Morris <rgm@gnu.org>
3309 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3310 (emacs, compile, compile-always):
3311 Quote entities that might contain whitespace.
3312 (custom-deps, finder-data, autoloads): Use abs_lisp.
3313 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3314 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3315 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3317 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3319 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3320 Use `following-char'.
3322 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3324 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3325 * progmodes/ruby-mode.el (ruby-smie-rules):
3326 Remove corresponding workaround. Fix indentation rule of ";" so it
3327 also applies when ";" is the parent.
3329 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3331 * frame.el (display-screens, display-pixel-height)
3332 (display-pixel-width, display-mm-width, display-backing-store)
3333 (display-save-under, display-planes, display-color-cells)
3334 (display-visual-class, display-monitor-attributes-list):
3335 Mention the optional ‘display’ argument in doc strings.
3337 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3339 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3340 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3342 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3344 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3345 TODO. Add "." after " @ ".
3346 (ruby-smie--at-dot-call): New function. Checks if point at method
3347 call with explicit target.
3348 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3349 to the method name tokens when it precedes them.
3350 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3351 (ruby-smie-rules): Add rule for indentation before and after "."
3354 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3356 * textmodes/remember.el (remember-diary-extract-entries):
3359 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3362 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3364 * progmodes/ruby-mode.el (ruby-smie-grammar):
3365 Add (almost) all infix operators.
3366 (ruby-smie--implicit-semi-p): Add new operator chars.
3368 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3370 (ruby-smie--args-separator-p): Check that there's no newline
3371 between method call and its arguments.
3373 2013-10-20 Alan Mackenzie <acm@muc.de>
3375 Allow comma separated lists after Java "implements".
3377 * progmodes/cc-engine.el (c-backward-over-enum-header):
3379 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3380 from a "disallowed" list in enum fontification.
3382 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3384 * startup.el (default-frame-background-mode): Remove unused defvar.
3386 * progmodes/verilog-mode.el (verilog-mode): Don't set
3387 comment-indent-function globally.
3389 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3391 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3392 Move Info menu item creation to ns-win.el.
3394 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3397 * menu-bar.el: Move GNUStep specific menus...
3399 * term/ns-win.el (ns-initialize-window-system): ... to here.
3401 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3403 * simple.el (newline): Only run post-self-insert-hook when
3404 called interactively.
3406 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3408 * icomplete.el (icomplete-with-completion-tables): Add :version.
3410 2013-10-19 Alan Mackenzie <acm@muc.de>
3412 Fix fontification bugs with constructors and const.
3414 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3415 CASE 2) Remove the check for the absence of a suffix construct
3416 after a function declaration with only types (no identifiers) in
3417 the parentheses. Also, accept a function declaration with just a
3418 type inside the parentheses, if this type can be positively
3419 recognised as such, or if a prefix keyword like "explicit" nails
3420 down the construct as a declaration.
3422 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3424 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3425 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3426 the problem whereby selecting a menu item that leads to a
3427 minibuffer prompt moves the cursor out of the minibuffer window,
3428 making it hard to type at the prompt. Suggested by Stefan Monnier
3429 <monnier@iro.umontreal.ca>.
3431 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3433 * menu-bar.el: Don't make Services menu.
3435 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3437 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3438 (ffap-alist): Use ffap-c++-mode for c++-mode.
3439 (ffap-c++-path): New variable.
3440 (ffap-c++-mode): New function.
3442 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3444 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3446 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3448 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3449 introduced on 2013-09-08, which results in an infinite loop
3450 requesting a password.
3452 2013-10-18 Glenn Morris <rgm@gnu.org>
3454 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3456 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3458 Sync with upstream verilog-mode revision 1a6ecec7.
3459 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3460 (verilog-mode-release-date): Remove.
3461 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3462 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3463 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3464 (verilog-auto-tieoff-ignore-regexp)
3465 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3466 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3467 (verilog-signals-with, verilog-dir-cache-preserving)
3468 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3470 (verilog-case-fold): New option, to control case folding in
3471 regexp searches, bug597.
3472 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3473 (verilog-string-match-fold, verilog-in-paren-count)
3474 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3475 (verilog-at-close-struct-p): New functions.
3476 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3477 (verilog-forward-sexp, verilog-set-auto-endcomments):
3478 (verilog-leap-to-case-head): Handle "unique0" case.
3479 (verilog-in-constraint-re): New constant.
3480 (verilog-keywords, verilog-type-font-keywords):
3481 Add some SystemVerilog 1800-2012 keywords.
3482 (verilog-label-be): Remove unimplemented argument, bug669.
3483 (verilog-batch-execute-func): When batch expanding clear
3484 create-lockfiles to prevent spurious user locks when a file ends
3486 (verilog-calculate-indent, verilog-calc-1)
3487 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3488 (verilog-do-indent): Fix indentation of nested constraints
3490 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3491 (verilog-auto-inst-param): Use verilog-string-match-fold.
3492 (verilog-read-inst-module-matcher):
3493 Fix AUTOINST on gate primitives with #1.
3494 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3495 Reads all user-defined typed variables.
3496 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3497 (verilog-signals-matching-regexp)
3498 (verilog-signals-not-matching-regexp, verilog-auto):
3499 Respect verilog-case-fold.
3500 (verilog-diff-report): Fix line count.
3501 (verilog-auto-assign-modport): Remove unused local `modi'.
3502 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3503 better handle multidimensional arrays.
3504 Fix packed array ports misadding bit index in AUTOINST, bug637.
3505 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3506 to not double-declare existing outputs and inputs, respectively.
3507 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3508 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3509 (verilog-sk-uvm-component): New skeleton.
3510 (verilog-submit-bug-report): Add verilog-case-fold,
3511 remove verilog-mode-release-date.
3513 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3515 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3518 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3520 * textmodes/remember.el (remember): Set buffer-offer-save in
3521 remember buffers (bug#13566).
3523 2013-10-18 Daniel Colascione <dancol@dancol.org>
3525 When evaluating forms in ielm, direct standard output to ielm
3526 buffer. Add new ielm-return-for-effect command. Remove trailing
3527 whitespace throughout.
3529 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3530 (ielm-return-for-effect): New command.
3531 (ielm-send-input): Accept optional `for-effect' parameter.
3532 (ielm-eval-input): Accept optional `for-effect' parameter.
3533 Bind `standard-output' to stream we create using
3534 `ielm-standard-output-impl'. Suppress printing result when
3536 (ielm-standard-output-impl): New function.
3537 (inferior-emacs-lisp-mode): Explain new features in documentation.
3539 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3543 * net/tramp.el (tramp-debug-message): Do not check for connection
3545 (tramp-message): Use "vector" connection property.
3547 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3548 (tramp-equal-remote, tramp-eshell-directory-change)
3549 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3550 (tramp-adb-handle-rename-file)
3551 * net/tramp-cmds.el (tramp-list-remote-buffers)
3552 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3553 * net/tramp-compat.el (tramp-compat-process-running-p)
3554 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3555 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3556 (tramp-gvfs-handle-rename-file)
3557 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3558 (tramp-set-file-uid-gid)
3559 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3560 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3563 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3564 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3565 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3566 (tramp-gw-open-network-stream): Suppress unrelated traces.
3568 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3569 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3570 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3571 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3572 connection property.
3574 * net/tramp-cache.el (top): Suppress traces when reading
3577 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3578 Refactor common code. Improve debug message.
3579 (tramp-maybe-open-connection)
3580 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3581 connection buffer too early.
3583 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3584 from `tramp-smb-actions-with-acl'.
3585 (tramp-smb-actions-set-acl): New defconst.
3586 (tramp-smb-handle-copy-directory)
3587 (tramp-smb-action-get-acl): New defun, renamed from
3588 `tramp-smb-action-with-acl'.
3589 (tramp-smb-action-set-acl): New defun.
3590 (tramp-smb-handle-set-file-acl): Rewrite.
3592 2013-10-17 Glenn Morris <rgm@gnu.org>
3594 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3596 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3598 * skeleton.el (skeleton-newline): Remove.
3599 (skeleton-internal-1): Use (insert "\n") instead.
3601 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3604 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3605 forward-sexp-function while we redo its job (bug#15613).
3607 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3609 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3610 represented by lists.
3612 2013-10-16 Glenn Morris <rgm@gnu.org>
3614 * tmm.el (tmm--history): New dynamic variable.
3615 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3617 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3619 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3620 (tramp-smb-errors): Add error messages.
3621 (tramp-smb-actions-with-acl): New defconst.
3622 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3623 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3624 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3625 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3626 (tramp-smb-get-stat-capability): Fix tests.
3628 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3630 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3633 2013-10-16 Glenn Morris <rgm@gnu.org>
3635 * ansi-color.el (ansi-color-drop-regexp):
3636 Add 1J, 1K, 2K. (Bug#15617)
3638 * files.el (hack-local-variables--warned-lexical): New.
3639 (hack-local-variables):
3640 Warn about misplaced lexical-binding. (Bug#15616)
3642 * net/eww.el (eww-render): Always set eww-current-url,
3643 and update header line. (Bug#15622)
3644 (eww-display-html): ... Rather than just doing it here.
3646 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3648 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3649 menu navigations commands.
3651 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3653 * progmodes/subword.el (subword-capitalize): Be careful when
3654 the search for [[:alpha:]] fails (bug#15580).
3656 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3658 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3659 to commands that scroll the menu.
3661 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3663 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3664 Handle methods ending with `?' and `!'.
3666 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3668 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3669 `japanese-cp932' to `cp932' to fix the problem where saving a
3670 source file written in Shift_JIS twice would end up having
3671 `coding: japanese-cp932' which Ruby could not recognize.
3672 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3673 in `ruby-encoding-map'.
3674 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3675 doesn't need to be explicitly declared in magic comment.
3676 (ruby-encoding-map): Add type declaration for better customize UI.
3678 2013-10-13 Glenn Morris <rgm@gnu.org>
3680 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3681 Occur buffers are read-only. http://bugs.debian.org/720775
3683 * emacs-lisp/authors.el (authors-fixed-entries):
3684 Comment out old alpha stuff.
3686 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3688 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3689 to `after-save-hook' instead of `before-save-hook'.
3690 (ruby-mode-set-encoding): Use the value of coding system used to
3691 write the file. Call `basic-save-buffer-1' after modifying the
3694 2013-10-13 Alan Mackenzie <acm@muc.de>
3696 Fix indentation/fontification of Java enum with
3697 "implements"/generic.
3699 * progmodes/cc-engine.el (c-backward-over-enum-header):
3700 Extracted from the three other places and enhanced to handle generics.
3701 (c-inside-bracelist-p): Uses new function above.
3702 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3704 (c-font-lock-enum-tail): Uses new function above.
3706 2013-10-13 Kenichi Handa <handa@gnu.org>
3708 * international/mule-cmds.el (select-safe-coding-system): Remove a
3709 superfluous condition in chekcing whether a coding system is safe
3712 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3714 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3716 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3718 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3720 2013-10-13 Glenn Morris <rgm@gnu.org>
3722 * menu-bar.el (menu-bar-update-buffers):
3723 Unify Buffers menu prompt string. (Bug#15576)
3725 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3727 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3729 (authors-fixed-entries): Use accented form of name.
3731 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3733 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3734 method calls (bug#15594).
3735 (ruby-smie--args-separator-p): New function.
3736 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3737 recognize paren-free method calls.
3739 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3740 internals of universal-argument.
3742 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3744 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3745 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3746 dropped menu on second mouse click on the menu bar.
3748 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3750 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3751 (explicit-shell-file-name): Declare.
3752 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3753 (sh-completion-at-point-function): New function.
3755 (sh-smie--keyword-p): Remove unused argument.
3756 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3758 (sh-set-shell): Always setup SMIE, even if we use the
3759 old indentation code.
3761 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3763 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3765 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3766 predicate would return nil are almost non-existent.
3767 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3769 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3770 cache also after commands that modify the buffer but don't move
3773 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3775 * env.el (substitute-env-in-file-name): New function.
3776 (substitute-env-vars): Extend the meaning of the optional arg.
3778 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3780 * term/w32-win.el (dynamic-library-alist): Define separate lists
3781 of GIF DLLs for versions before and after 5.0.0 of giflib.
3784 2013-10-10 João Távora <joaotavora@gmail.com>
3786 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3787 not locked, use last revision and current source as
3788 defaults. (Bug#15569)
3790 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3792 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3795 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3797 * window.el (pop-to-buffer-same-window): Fix doc-string.
3800 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3802 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3804 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3806 * calendar/icalendar.el (icalendar-import-file):
3807 Fix interactive spec. (Bug#15482)
3809 2013-10-10 Glenn Morris <rgm@gnu.org>
3811 * desktop.el (desktop-save): Default to saving in .emacs.d,
3812 since PWD is no longer in desktop-path by default. (Bug#15319)
3814 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3815 now that text mode has a menu with the same entry.
3816 (menu-bar-text-mode-auto-fill): Remove now unused func.
3817 * textmodes/text-mode.el (text-mode-map):
3818 Use auto-fill help text from menu-bar.el.
3820 2013-10-10 John Anthony <john@jo.hnanthony.com>
3822 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3824 2013-10-09 Juri Linkov <juri@jurta.org>
3826 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3827 instead of this-command-keys. Add universal-argument-more and
3828 universal-argument-minus to the list of prefix commands. (Bug#15568)
3830 2013-10-09 Glenn Morris <rgm@gnu.org>
3832 * vc/vc-svn.el (vc-svn-create-repo):
3833 Expand paths in file://... url. (Bug#15446)
3835 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3837 (authors): Remove unused local variables.
3839 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3841 * profiler.el: Create a more coherent calltree from partial backtraces.
3842 (profiler-format): Hide the tail with `invisible' so that C-s can still
3843 find the hidden elements.
3844 (profiler-calltree-depth): Don't recurse so enthusiastically.
3845 (profiler-function-equal): New hash-table-test.
3846 (profiler-calltree-build-unified): New function.
3847 (profiler-calltree-build): Use it.
3848 (profiler-report-make-name-part): Indent the calltree less.
3849 (profiler-report-mode): Add visibility specs for profiler-format.
3850 (profiler-report-expand-entry, profiler-report-toggle-entry):
3851 Expand the whole subtree when provided with a prefix arg.
3853 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3855 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3857 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3858 hanging iuwu-mod token.
3859 (ruby-smie--forward-token): Do not include a dot after a token in
3861 (ruby-smie--backward-token): Likewise.
3863 2013-10-08 Juri Linkov <juri@jurta.org>
3865 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3866 to isearch-other-control-char.
3867 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3868 and isearch-post-command-hook to post-command-hook.
3869 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3870 and isearch-post-command-hook from post-command-hook.
3871 (isearch-unread-key-sequence)
3872 (isearch-reread-key-sequence-naturally)
3873 (isearch-lookup-scroll-key, isearch-other-control-char)
3874 (isearch-other-meta-char): Remove functions.
3875 (isearch-pre-command-hook, isearch-post-command-hook):
3876 New functions based on isearch-other-meta-char rewritten
3877 relying on the new behavior of overriding-terminal-local-map
3878 that does not replace the local keymaps any more. (Bug#15200)
3880 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3882 Support menus on text-mode terminals.
3883 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3886 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3888 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3889 Move here from mouse.el.
3890 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3892 (tty-menu-navigation-map): New map for TTY menu navigation.
3894 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3896 * frame.el (display-mouse-p): Report text-mode mouse as available
3898 (display-popup-menus-p): Report availability if mouse is
3899 available; don't condition on window-system.
3901 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3902 (tty-menu-selected-face): New faces.
3904 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3906 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3907 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3908 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3909 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3911 (lisp-mode-variables): New `elisp' argument.
3912 (emacs-lisp-mode): Use it.
3913 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3914 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3916 * indent.el: Use lexical-binding.
3917 (indent-region): Add progress reporter.
3918 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3920 (indent--next-tab-stop): New function to implement this behavior.
3921 (tab-to-tab-stop, move-to-tab-stop): Use it.
3923 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3925 * indent.el (indent-rigidly--current-indentation): New function.
3926 (indent-rigidly-map): New var.
3927 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3929 2013-10-08 Bastien Guerry <bzg@gnu.org>
3931 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3933 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3935 * progmodes/perl-mode.el: Use lexical-binding.
3936 Remove redundant :group args.
3937 (perl-nochange): Change default to be closer to other major modes's
3939 (perl-indent-line): Don't consider text on current line as a
3940 valid beginning of function from which to indent.
3942 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3943 with more than one argument (bug#15538).
3945 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3947 * vc/pcvs.el: Use lexical-binding.
3948 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3949 environment of `eval'.
3950 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3951 than a list of expressions. Adjust callers.
3952 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3954 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3956 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3957 case of the dot in a chained method call being on the following line.
3959 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3961 * electric.el (electric-indent-inhibit): New var.
3962 (electric-indent-post-self-insert-function): Use it.
3963 * progmodes/python.el (python-mode): Set it.
3965 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3968 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3970 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3971 (css-mode): Use electric-indent-chars.
3973 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3974 (font-lock-beg, font-lock-end): Move before first use.
3975 (nxml-mode): Use syntax-propertize-function.
3976 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3977 (nxml-extend-after-change-region): Remove.
3978 * nxml/xmltok.el: Use lexical-binding.
3979 (xmltok-save): Use `declare'.
3980 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3981 * nxml/nxml-util.el: Use lexical-binding.
3982 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3984 * nxml/nxml-ns.el: Use lexical-binding.
3985 (nxml-ns-save): Use `declare'.
3986 (nxml-ns-prefixes-for): Avoid add-to-list.
3987 * nxml/rng-match.el: Use lexical-binding.
3988 (rng--ipattern): Use cl-defstruct.
3989 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3990 (rng-cons-group-after, rng-subst-group-after)
3991 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3992 Use closures instead of `(lambda...).
3994 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3996 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3999 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4000 Use `tramp-handle-insert-file-contents'.
4001 (tramp-gvfs-handle-insert-file-contents): Remove function.
4003 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4004 Use `save-restriction' in order to keep markers.
4006 * net/trampver.el: Update release number.
4008 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4010 * progmodes/compile.el (compilation-parse-errors):
4011 Use compilation--put-prop.
4012 (compilation--ensure-parse): Check compilation-multiline.
4014 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4016 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4019 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4021 * progmodes/ruby-mode.el: Fix recently added tests.
4022 (ruby-smie-grammar): Add - and +.
4023 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4024 (ruby-smie--backward-id): New functions.
4025 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4026 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4029 2013-10-07 Leo Liu <sdl.web@gmail.com>
4031 * register.el (register-preview-delay)
4032 (register-preview-functions): New variables.
4033 (register-read-with-preview, register-preview)
4034 (register-describe-oneline): New functions.
4035 (point-to-register, window-configuration-to-register)
4036 (frame-configuration-to-register, jump-to-register)
4037 (number-to-register, view-register, insert-register)
4038 (copy-to-register, append-to-register, prepend-to-register)
4039 (copy-rectangle-to-register): Use register-read-with-preview to
4040 read register. (Bug#15525)
4042 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4044 * net/network-stream.el (network-stream-open-starttls): Don't add
4045 --insecure if it's already present, because that gnutls-cli
4046 rejects getting that parameter twice.
4048 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4050 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4053 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4055 * newcomment.el (comment-use-global-state): Change default value
4056 to t, mark obsolete (Bug#15251).
4057 (comment-beginning): In addition to `comment-to-syntax', check the
4058 value of `comment-use-global-state'.
4060 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4062 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4063 (ruby-comment-column): Follow the global default, by default.
4064 (ruby-smie-grammar): Add assignment syntax.
4065 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4066 open-paren, a comma, or a \.
4067 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4068 and line continuations.
4069 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4070 followed by implicit semi-colons. Add rule for string concatenation
4071 and for indentation at BOB.
4072 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4074 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4075 calling next-sexp, since next-token may have skipped chars which
4076 next-sexp doesn't know should be skipped!
4078 2013-10-05 Leo Liu <sdl.web@gmail.com>
4080 * progmodes/octave.el (octave-send-region):
4081 Call compilation-forget-errors.
4083 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4085 * vc/vc-svn.el (vc-svn-find-admin-dir):
4086 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4087 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4088 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4089 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4091 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4093 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4095 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4097 * subr.el (read-passwd): Hide chars even when called within a context
4098 where after-change-functions is disabled (bug#15501).
4099 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4100 until we removed ourself from overriding-terminal-local-map.
4102 2013-10-04 Leo Liu <sdl.web@gmail.com>
4104 * progmodes/octave.el (inferior-octave-mode):
4105 Call compilation-forget-errors.
4107 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4109 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4111 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4113 * net/secrets.el (secrets-create-collection): Add optional
4114 argument ALIAS. Use proper Label keyword. Append ALIAS as
4115 dbus-call-method argument. (Bug#15516)
4117 2013-10-04 Leo Liu <sdl.web@gmail.com>
4119 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4120 (inferior-octave-compilation-font-lock-keywords): New variables.
4121 (compilation-error-regexp-alist)
4122 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4123 (inferior-octave-mode): Use compilation-shell-minor-mode.
4125 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4127 * minibuffer.el (completion--replace): Be careful that `end' might be
4130 2013-10-03 Daiki Ueno <ueno@gnu.org>
4132 Add support for package signature checking.
4133 * emacs-lisp/package.el (url-http-file-exists-p)
4134 (epg-make-context, epg-context-set-home-directory)
4135 (epg-verify-string, epg-context-result-for)
4136 (epg-signature-status, epg-signature-to-string)
4137 (epg-check-configuration, epg-configuration)
4138 (epg-import-keys-from-file): Declare.
4139 (package-check-signature): New user option.
4140 (package-unsigned-archives): New user option.
4141 (package-desc): Add `signed' field.
4142 (package-load-descriptor): Set `signed' field if .signed file exists.
4143 (package--archive-file-exists-p): New function.
4144 (package--check-signature): New function.
4145 (package-install-from-archive): Check package signature.
4146 (package--download-one-archive): Check archive signature.
4147 (package-delete): Remove .signed file.
4148 (package-import-keyring): New command.
4149 (package-refresh-contents): Import default keyring.
4150 (package-desc-status): Add "unsigned" status.
4151 (describe-package-1, package-menu--print-info)
4152 (package-menu-mark-delete, package-menu--find-upgrades)
4153 (package-menu--status-predicate): Support "unsigned" status.
4155 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4157 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4158 the new compilation scheme using the new byte-codes.
4160 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4161 (byte-pophandler): New byte codes.
4162 (byte-goto-ops): Adjust accordingly.
4163 (byte-compile--use-old-handlers): New var.
4164 (byte-compile-catch): Use new byte codes depending on
4165 byte-compile--use-old-handlers.
4166 (byte-compile-condition-case--old): Rename from
4167 byte-compile-condition-case.
4168 (byte-compile-condition-case--new): New function.
4169 (byte-compile-condition-case): New function that dispatches depending
4170 on byte-compile--use-old-handlers.
4171 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4174 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4175 Optimize under `condition-case' and `catch' if
4176 byte-compile--use-old-handlers is nil.
4177 (disassemble-offset): Handle new bytecodes.
4179 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4181 * subr.el (error): Use `declare'.
4182 (decode-char, encode-char): Use advertised-calling-convention instead
4183 of the docstring to discourage use of the `restriction' arg.
4185 2013-10-03 Daiki Ueno <ueno@gnu.org>
4187 * epg.el (epg-verify-file): Add a comment saying that it does not
4188 notify verification error as a return value nor a signal.
4189 (epg-verify-string): Ditto.
4191 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4193 * progmodes/compile.el (compilation-start): Try globbing the arg to
4196 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4198 Sync with Tramp 2.2.8.
4200 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4201 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4202 * net/trampver.el: Update release number.
4204 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4206 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4207 and default-process-coding-system for darwin only.
4209 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4211 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4213 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4215 * vc/vc-git.el (vc-git-grep): Disable pager.
4217 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4219 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4220 Use :url instead of :homepage, as per
4221 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4223 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4224 non-nil, use `syntax-ppss' (Bug#15251).
4226 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4228 * progmodes/octave.el (inferior-octave-startup-file):
4229 Prefer ~/.emacs.d/init_octave.m.
4231 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4233 * emacs-lisp/package.el (package-desc-from-define):
4234 Accept additional arguments as plist, convert them to an alist and store
4235 them in the `extras' slot.
4236 (package-generate-description-file): Convert extras alist back to
4237 plist and append to the `define-package' form arguments.
4238 (package--alist-to-plist): New function.
4239 (package--ac-desc): Add `extras' slot.
4240 (package--add-to-archive-contents): Check if the archive-contents
4241 vector is long enough, and if it is, pass its `extras' slot value
4242 to `package-desc-create'.
4243 (package-buffer-info): Call `lm-homepage', pass the returned value
4244 to `package-desc-from-define'.
4245 (describe-package-1): Render the homepage button (Bug#13291).
4247 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4248 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4250 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4252 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4253 and default-process-coding-system to utf-8-unix (Bug#15402).
4255 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4257 * subr.el (looking-back): Do not recommend using looking-back.
4259 2013-09-28 Alan Mackenzie <acm@muc.de>
4261 Fix indentation/fontification of Java enum with "implements".
4263 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4264 regexp which matches "implements", etc., in Java.
4265 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4266 specifier clauses coming after "enum".
4267 * progmodes/cc-fonts.el (c-font-lock-declarations)
4268 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4271 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4273 * faces.el (region): Change ns_selection_color to
4274 ns_selection_fg_color, add ns_selection_bg_color.
4276 2013-09-28 Leo Liu <sdl.web@gmail.com>
4278 * progmodes/octave.el (inferior-octave-completion-table)
4279 (inferior-octave-completion-at-point): Minor tweaks.
4281 * textmodes/ispell.el (ispell-lookup-words): Rename from
4282 lookup-words. (Bug#15460)
4283 (lookup-words): Obsolete.
4284 (ispell-complete-word, ispell-command-loop): All uses changed.
4286 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4288 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4289 (octave-mode-menu): Add octave-send-buffer.
4290 (octave-send-buffer): New function.
4292 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4294 * progmodes/octave.el (octave-mode-map): Add key binding for
4296 (octave-mode-menu): Add octave-lookfor.
4297 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4299 (octave-lookfor): New function.
4301 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4303 * emacs-lisp/cl-macs.el:
4304 (cl--loop-destr-temps): Remove.
4305 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4307 (cl--loop-set-iterator-function): New function.
4308 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4309 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4310 Bind `it' with `let' instead of substituting it with `cl-subst'.
4311 (cl--unused-var-p): New function.
4312 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4313 Eliminate some unused variable warnings (bug#15326).
4315 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4317 * doc-view.el (doc-view-scale-reset): Rename from
4318 `doc-view-reset-zoom-level'.
4319 (doc-view-scale-adjust): New command.
4320 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4321 `doc-view-scale-adjust'.
4323 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4325 * doc-view.el (doc-view-reset-zoom-level): New command.
4326 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4327 zoom commands (bug#15466).
4329 2013-09-26 Kenichi Handa <handa@gnu.org>
4331 * international/quail.el (quail-help): Make it not a command.
4333 2013-09-26 Leo Liu <sdl.web@gmail.com>
4335 * minibuffer.el (completion-all-sorted-completions): Make args
4336 optional as they are.
4338 2013-09-25 Daniel Colascione <dancol@dancol.org>
4340 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4341 specs are and that they're not evaluated.
4343 2013-09-24 Sam Steingold <sds@gnu.org>
4345 * midnight.el (clean-buffer-list-kill-regexps)
4346 (clean-buffer-list-kill-buffer-names): Update for the new Man
4347 buffer naming which includes the object name.
4349 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4351 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4352 (eshell-parse-command, eshell-parse-pipeline): Use it since
4353 eshell-separate-commands requires a dynamic scoped var.
4354 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4356 2013-09-23 Leo Liu <sdl.web@gmail.com>
4358 * autoinsert.el (auto-insert-alist): Make the value of
4359 lexical-binding match its file setting.
4361 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4363 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4365 * autoarg.el (autoarg-kp-digit-argument):
4366 * electric.el (Electric-command-loop):
4367 * kmacro.el (kmacro-step-edit-insert):
4368 Do not set universal-argument-num-events.
4370 2013-09-22 Leo Liu <sdl.web@gmail.com>
4372 * files.el (interpreter-mode-alist): Add octave.
4374 2013-09-21 Alan Mackenzie <acm@muc.de>
4376 C++: fontify identifier in declaration following "public:" correctly.
4377 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4378 to match "public", etc.
4379 (c-decl-prefix-re): Add ":" into the C++ value.
4380 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4381 bit. Add a check for a ":" preceded by "public", etc.
4383 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4385 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4386 recognized by GDB 7.5 and later.
4388 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4390 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4392 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4394 * subr.el (internal--call-interactively): New const.
4395 (called-interactively-p): Use it (bug#3984).
4397 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4399 * vc/pcvs.el (cvs-mode-ignore):
4400 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4401 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4403 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4405 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4406 (eshell-ls-orig-insert-directory): Remove.
4407 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4408 (eshell-ls-use-in-dired): Use advice-add/remove.
4409 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4410 Add `orig-fun' arg for use in :around advice.
4411 Make it check (redundantly) eshell-ls-use-in-dired.
4413 2013-09-19 Glenn Morris <rgm@gnu.org>
4415 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4417 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4419 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4421 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4423 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4424 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4425 (tramp-get-remote-python): New defuns.
4426 (tramp-get-remote-uid-with-perl)
4427 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4428 contributed by yary <not.com@gmail.com> (tiny change).
4429 (tramp-get-remote-uid-with-python)
4430 (tramp-get-remote-gid-with-python): New defuns. Python code
4431 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4432 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4434 2013-09-19 Glenn Morris <rgm@gnu.org>
4436 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4438 * eshell/em-unix.el (eshell-remove-entries):
4439 Rename argument to avoid name-clash with global `top-level'.
4441 * eshell/esh-proc.el (eshell-kill-process-function):
4442 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4443 (eshell-reset-after-proc): Remove unused arg `proc'.
4445 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4446 (directory-files-and-attributes): Mark unused arg.
4448 * eshell/em-unix.el (eshell-remove-entries):
4449 Remove unused arg `path'. Update callers.
4451 * eshell/em-hist.el (eshell-hist-parse-arguments):
4452 Remove unused arg `silent'. Update callers.
4454 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4455 Fix (f)boundp mix-up.
4457 * eshell/em-smart.el (eshell-smart-scroll-window)
4458 (eshell-disable-after-change):
4459 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4461 2013-09-18 Alan Mackenzie <acm@muc.de>
4463 Fix fontification of type when followed by "const".
4464 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4465 "known" types from fontification.
4467 2013-09-18 Glenn Morris <rgm@gnu.org>
4469 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4470 (chart-face-list): Drop Emacsen without display-color-p.
4472 * net/eww.el (libxml-parse-html-region): Declare.
4473 (eww-display-html): Explicit error if no libxml2 support.
4475 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4477 * image.el (image-type-from-buffer, image-multi-frame-p):
4478 Remove --without-x warning/error.
4480 * mouse.el (mouse-yank-primary):
4481 * term.el (term-mouse-paste):
4482 Reorder to silence --without-x compilation.
4484 * mpc.el (doc-view-mode): Silence --without-x compilation.
4486 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4487 Silence --without-x compilation.
4489 * progmodes/gud.el (gud-find-file, gud-mode):
4490 Silence --without-x compilation.
4491 (tooltip-mode): Declare.
4493 * wdired.el (dired-backup-overwrite): Remove declaration.
4494 (wdired-mode-map): Add doc string.
4496 * custom.el (x-get-resource): Declare.
4498 * eshell/em-glob.el (ange-cache):
4499 * eshell/em-unix.el (ange-cache): Declare.
4501 * faces.el (x-display-list, x-open-connection, x-get-resource):
4504 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4505 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4508 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4510 * net/gnutls.el (gnutls-log-level): Declare.
4512 * net/shr.el (image-size, image-animate): Declare.
4514 * simple.el (font-info): Declare.
4516 * subr.el (x-popup-dialog): Declare.
4518 * term/common-win.el (x-select-enable-primary)
4519 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4522 * term/ns-win.el (x-handle-args): Declare.
4524 * term/x-win.el (x-select-enable-clipboard): Declare.
4526 * term/w32-win.el (create-default-fontset): Declare.
4528 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4531 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4532 (fit-frame-to-buffer): Explicit error if --without-x.
4533 (mouse-autoselect-window-select): Silence compiler.
4535 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4537 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4538 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4539 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4540 * eshell/esh-util.el (eshell-sublist):
4541 Remove unused local variables.
4543 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4545 * textmodes/two-column.el: Make 2C-split work for --without-x.
4546 (scroll-bar-columns): Autoload.
4547 (top-level): Require fringe when compiling.
4549 2013-09-18 Leo Liu <sdl.web@gmail.com>
4551 * subr.el (add-hook): Robustify to handle closure as well.
4553 2013-09-17 Glenn Morris <rgm@gnu.org>
4555 * simple.el (messages-buffer-mode-map): Unbind "g".
4557 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4559 * help-mode.el (help-mode-finish): Use derived-mode-p.
4560 Remove obsolete highlighting.
4562 * play/life.el (life-mode): Use define-derived-mode. Derive from
4564 (life): Let-bind inhibit-read-only.
4565 (life-setup): Avoid `setq'. Use `life-mode'.
4567 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4568 which should not be needed any more.
4569 (package-menu-refresh, package-menu-describe-package): Use user-error.
4571 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4572 (eshell-post-rewrite-command-hook): Make obsolete.
4573 (eshell-parse-command): Simplify.
4574 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4575 (eshell--cmd): Declare.
4576 (eshell-parse-pipeline): Remove unused var `final-p'.
4577 Pass a dynvar to eshell-post-rewrite-command-hook.
4578 Implement the new eshell-post-rewrite-command-function.
4579 (eshell-invoke-directly): Remove unused arg `input'.
4580 * eshell/esh-io.el (eshell-io-initialize):
4581 Use eshell-post-rewrite-command-function (bug#15399).
4582 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4583 adjust to new calling convention.
4584 (eshell-create-handles): Rename args to avoid clashing with dynvar
4587 2013-09-17 Glenn Morris <rgm@gnu.org>
4589 * simple.el (messages-buffer-mode): New major mode.
4590 (messages-buffer): New function.
4591 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4592 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4593 (ert-run-test): Use `messages-buffer' function.
4594 (ert--force-message-log-buffer-truncation): Ignore read-only.
4595 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4596 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4598 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4600 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4602 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4604 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4606 * icomplete.el (icomplete-in-buffer): New var.
4607 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4608 vars and replace them with functions.
4609 (icomplete-minibuffer-setup): Adjust accordingly.
4610 (icomplete--completion-table, icomplete--completion-predicate)
4611 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4613 (icomplete-forward-completions, icomplete-backward-completions)
4614 (icomplete-simple-completing-p, icomplete-exhibit)
4615 (icomplete-completions): Use them.
4616 (icomplete--in-region-buffer): New var.
4617 (icomplete--in-region-setup): New function.
4618 (icomplete-mode): Use it.
4620 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4622 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4623 return args and options.
4624 (eshell-eval-using-options): Use the new return value of
4625 eshell--do-opts to set the options's vars in their scope.
4626 (eshell--set-option): Rename from eshell-set-option.
4628 (eshell--process-option): Rename from eshell-process-option.
4630 (eshell--process-args): Use an `opt-vals' alist to store the options's
4631 values during their processing and return them additionally to the
4634 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4636 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4637 continuation character an operator, as far as indentation is
4638 concerned (Bug#15369).
4640 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4642 * window.el (window--state-put-2): Don't process buffer state
4643 when buffer doesn't exist any more (Bug#15382).
4645 2013-09-15 Glenn Morris <rgm@gnu.org>
4647 * eshell/em-unix.el (eshell/rm):
4648 Make -f ignore missing files. (Bug#15373)
4650 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4651 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4652 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4654 2013-09-14 Glenn Morris <rgm@gnu.org>
4656 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4658 2013-09-13 Glenn Morris <rgm@gnu.org>
4660 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4661 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4663 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4665 * frame.el (x-focus-frame): Mark as declared in frame.c.
4667 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4669 * ls-lisp.el: Use advice-add.
4670 (original-insert-directory): Remove.
4671 (ls-lisp--insert-directory): Rename from insert-directory; add
4672 `orig-fun' argument.
4673 (insert-directory): Advise.
4675 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4677 * term.el (term-emulate-terminal): Decode the command string
4678 before passing it to term-command-hook. (Bug#15337)
4680 2013-09-13 Glenn Morris <rgm@gnu.org>
4682 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4684 * eshell/esh-ext.el (eshell-search-path): Declare.
4686 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4687 Otherwise an error occurs if eshell-dirs module not loaded.
4689 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4691 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4693 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4694 `tramp-check-proper-host'. Check for a valid method name.
4696 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4697 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4698 * net/tramp-sh.el (tramp-maybe-open-connection):
4699 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4701 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4702 also for hash values.
4704 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4706 * term/ns-win.el (parameters): Don't declare as dynamic.
4707 (before-make-frame-hook): Don't add ineffective function.
4709 * eshell/*.el: Use lexical-binding (bug#15231).
4711 2013-09-12 Kenichi Handa <handa@gnu.org>
4713 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4715 2013-09-12 Glenn Morris <rgm@gnu.org>
4717 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4718 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4720 * subr.el (do-after-load-evaluation): Also give compiler warnings
4721 when obsolete files are used (except by obsolete files).
4723 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4724 in the status output, assume `filename' is the first. (Bug#15322)
4726 * vc/vc.el (vc-deduce-fileset): Doc fix.
4728 * calc/calc-help.el (Info-goto-node):
4729 * progmodes/cperl-mode.el (Info-find-node):
4730 * vc/ediff.el (Info-goto-node): Update declarations.
4732 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4734 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4735 (vc-bzr-pull): Require vc-dispatcher.
4736 * vc/vc-git.el (vc-compilation-mode): Declare.
4737 (vc-git-pull): Require vc-dispatcher.
4739 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4741 * progmodes/octave.el (help-button-action): Declare.
4743 * shell.el (shell-directory-tracker): Output error as a message
4744 rather than just returning it as a string.
4745 (shell-process-pushd): Remove useless use of message.
4747 * dframe.el (dframe-timer-fn):
4748 * files.el (dir-locals-read-from-file):
4749 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4751 * reveal.el (reveal-post-command):
4752 * saveplace.el (load-save-place-alist-from-file):
4753 * shell.el (shell-resync-dirs):
4754 * w32-common-fns.el (x-get-selection-value):
4755 * emacs-lisp/copyright.el (copyright-find-copyright):
4756 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4757 * emulation/tpu-edt.el (tpu-copy-keyfile):
4758 * play/bubbles.el (bubbles--mark-neighbourhood):
4759 * progmodes/executable.el
4760 (executable-make-buffer-file-executable-if-script-p):
4761 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4763 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4765 Cleanup Eshell to rely less on dynamic scoping.
4766 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4767 last-value, and ext-command here. Bind `args' closer to `body'.
4768 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4769 (eshell--args): Declare new dynamic var.
4770 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4771 last-value, and ext-command. Pass `args' to `body'.
4772 (eshell-process-args): Bind eshell--args.
4773 (eshell-set-option): Use eshell--args.
4774 * eshell/eshell.el (eshell): Use derived-mode-p.
4775 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4776 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4777 (eshell-glob-function): Declare.
4778 * eshell/esh-util.el: Require cl-lib.
4779 (eshell-read-hosts-file): Avoid add-to-list.
4780 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4782 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4784 (eshell/diff): Remove unused var `err'.
4785 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4787 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4788 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4790 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4791 Move declaration before first use.
4792 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4793 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4796 2013-09-12 Glenn Morris <rgm@gnu.org>
4798 * term/ns-win.el (global-map): Remove binding for ispell-next,
4799 deleted 1999-05-29. (Bug#15357)
4801 2013-09-11 Glenn Morris <rgm@gnu.org>
4803 * echistory.el (electric-command-history): Remove call to deleted func.
4805 * play/landmark.el (landmark-mode): Fix typos.
4807 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4808 Check cvs-sort-ignore-file is bound.
4810 * savehist.el: No need for cl when compiling on Emacs.
4812 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4814 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4816 (eshell-self-insert-command, eshell-send-invisible):
4817 Remove unused argument.
4818 (eshell-handle-control-codes): Remove unused var `orig'.
4819 Avoid delete-backward-char.
4821 * files.el (set-auto-mode): Simplify a bit further.
4823 2013-09-11 Glenn Morris <rgm@gnu.org>
4825 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4826 (set-auto-mode): Don't regexp-quote elements.
4827 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4828 * progmodes/cc-mode.el (interpreter-mode-alist):
4829 * progmodes/ruby-mode.el (interpreter-mode-alist):
4830 Revert previous change.
4832 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4834 * play/snake.el (snake-mode):
4835 * play/mpuz.el (mpuz-mode):
4836 * play/landmark.el (lm-mode):
4837 * play/blackbox.el (blackbox-mode):
4838 * play/5x5.el (5x5-mode):
4839 * obsolete/options.el (Edit-options-mode):
4840 * net/quickurl.el (quickurl-list-mode):
4841 * net/newst-treeview.el (newsticker-treeview-mode):
4842 * mail/rmailsum.el (rmail-summary-mode):
4843 * mail/mspools.el (mspools-mode):
4844 * locate.el (locate-mode):
4845 * ibuffer.el (ibuffer-mode):
4846 * emulation/ws-mode.el (wordstar-mode):
4847 * emacs-lisp/debug.el (debugger-mode):
4848 * array.el (array-mode):
4849 * net/eudc.el (eudc-mode): Use define-derived-mode.
4850 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4851 Move initialization into declaration.
4852 (mairix-searches-mode): Use define-derived-mode.
4853 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4854 (eudc-edit-hotlist): Use dolist.
4855 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4856 (Man-mode): Use define-derived-mode.
4857 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4858 (Info-edit-mode): Use define-derived-mode.
4859 (Info-cease-edit): Use Info-mode.
4860 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4862 (eshell-mode): Use define-derived-mode.
4863 * chistory.el (command-history-mode-map): Rename from
4864 command-history-map.
4865 (command-history-mode): Use define-derived-mode.
4866 (Command-history-setup): Remove function.
4867 * calc/calc.el (calc-trail-mode-map): New var.
4868 (calc-trail-mode): Use define-derived-mode.
4869 (calc-trail-buffer): Set calc-main-buffer manually.
4870 * bookmark.el (bookmark-insert-annotation): New function.
4871 (bookmark-edit-annotation): Use it.
4872 (bookmark-edit-annotation-mode): Make it a proper major mode.
4873 (bookmark-send-edited-annotation): Use derived-mode-p.
4874 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4875 closer to its ideal place. Use \' to match EOS.
4877 * profiler.el (profiler-calltree-find): Use function-equal.
4879 2013-09-10 Glenn Morris <rgm@gnu.org>
4881 * files.el (interpreter-mode-alist): Convert to regexps.
4882 (set-auto-mode): Adapt for this. (Bug#15306)
4883 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4884 Comment out unused variable.
4885 * progmodes/cc-mode.el (interpreter-mode-alist):
4886 * progmodes/python.el (interpreter-mode-alist):
4887 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4888 * progmodes/sh-script.el (sh-set-shell):
4889 No longer use interpreter-mode-alist to get list of shells.
4891 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4893 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4895 * simple.el: Use set-temporary-overlay-map for universal-argument.
4896 (universal-argument-map): Don't use default-bindings (bug#15317).
4897 Bind switch-frame explicitly. Replace universal-argument-minus with
4898 a conditional binding.
4899 (universal-argument-num-events, saved-overriding-map): Remove.
4900 (restore-overriding-map): Remove.
4901 (universal-argument--mode): Rename from save&set-overriding-map,
4903 (universal-argument, universal-argument-more, negative-argument)
4904 (digit-argument): Adjust accordingly.
4905 (universal-argument-minus): Remove.
4906 (universal-argument-other-key): Remove.
4908 * subr.el (with-demoted-errors): Add `format' argument.
4910 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4912 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4913 `tramp-cleanup-connection'.
4915 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4916 parameters KEEP-DEBUG and KEEP-PASSWORD.
4918 * net/tramp.el (tramp-file-name-handler):
4919 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4920 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4921 (tramp-maybe-open-connection):
4922 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4923 Use `tramp-cleanup-connection'.
4925 * net/tramp-sh.el (tramp-maybe-open-connection):
4926 Catch 'uname-changed inside the progress reporter.
4928 2013-09-10 Glenn Morris <rgm@gnu.org>
4930 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4932 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4933 returns "alternate access method" in mode (eg "-rw-r--r--.").
4935 2013-09-08 Glenn Morris <rgm@gnu.org>
4937 * saveplace.el (load-save-place-alist-from-file):
4938 Demote errors. (Bug#15305)
4940 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4942 Improve compatibility with older Emacsen, and XEmacs.
4944 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4945 only if it is bound. It isn't for XEmacs.
4946 (with-tramp-progress-reporter): Do not let-bind `result'.
4947 This yields to scoping errors in XEmacs.
4948 (tramp-handle-make-auto-save-file-name): New function, moved from
4951 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4952 for `make-auto-save-file-name'.
4953 (tramp-adb--gnu-switches-to-ash):
4954 Use `tramp-compat-replace-regexp-in-string'.
4956 * net/tramp-cache.el (tramp-cache-print): Call
4957 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4959 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4960 bound. It isn't for XEmacs.
4962 * net/tramp-compat.el (tramp-compat-copy-file):
4963 Catch `wrong-number-of-arguments' error.
4964 (tramp-compat-replace-regexp-in-string): New defun.
4966 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4967 for `make-auto-save-file-name'.
4968 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4970 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4971 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4972 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4974 * net/tramp-gw.el (tramp-gw-open-network-stream):
4975 Use `tramp-compat-replace-regexp-in-string'.
4977 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4978 Call `tramp-handle-make-auto-save-file-name'.
4979 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4980 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4981 (tramp-sh-file-inotifywait-process-filter):
4982 Use `tramp-compat-replace-regexp-in-string'.
4983 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4985 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4986 for `make-auto-save-file-name'.
4987 (tramp-smb-handle-copy-directory):
4988 Call `tramp-compat-replace-regexp-in-string'.
4989 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4990 (tramp-smb-handle-copy-file): Improve error message.
4991 (tramp-smb-handle-rename-file): Rename directly only in case
4992 `newname' does not exist yet. This is a restriction of smbclient.
4993 (tramp-smb-maybe-open-connection): Rerun the function only when
4994 `auth-sources' is non-nil.
4996 2013-09-08 Kenichi Handa <handa@gnu.org>
4998 * international/characters.el: Set category "^" (Combining) for
5001 2013-09-07 Alan Mackenzie <acm@muc.de>
5003 Correctly fontify Java class constructors.
5004 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5006 (c-recognize-typeless-decls): Set the Java value to t.
5007 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5008 While handling a "(", add a check for, effectively, Java, and handle a
5009 "typeless" declaration there.
5011 2013-09-07 Roland Winkler <winkler@gnu.org>
5013 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5014 field subtitle for entry type book.
5016 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5018 * minibuffer.el: Make minibuffer-complete call completion-in-region
5019 rather than other way around.
5020 (completion--some, completion-pcm--find-all-completions):
5021 Don't delay signals when debugging.
5022 (minibuffer-completion-contents): Beware fields within the
5023 minibuffer contents.
5024 (completion-all-sorted-completions): Use defvar-local.
5025 (completion--do-completion, completion--cache-all-sorted-completions)
5026 (completion-all-sorted-completions, minibuffer-force-complete):
5027 Add args `beg' and `end'.
5028 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5029 (minibuffer-complete): Use completion-in-region.
5030 (completion-complete-and-exit): New fun, extracted from
5031 minibuffer-complete-and-exit.
5032 (minibuffer-complete-and-exit): Use it.
5033 (completion--complete-and-exit): Rename from
5034 minibuffer--complete-and-exit.
5035 (completion-in-region--single-word): New function, extracted from
5036 minibuffer-complete-word.
5037 (minibuffer-complete-word): Use it.
5038 (display-completion-list): Make `common-substring' argument obsolete.
5039 (completion--in-region): Call completion--in-region-1 instead of
5040 minibuffer-complete.
5041 (completion-help-at-point): Pass boundaries to
5042 minibuffer-completion-help as args rather than via an overlay.
5043 (completion-pcm--string->pattern): Use `any-delim'.
5044 (completion-pcm--optimize-pattern): New function.
5045 (completion-pcm--pattern->regex): Handle `any-delim'.
5046 * icomplete.el (icomplete-forward-completions)
5047 (icomplete-backward-completions, icomplete-completions):
5048 Adjust calls to completion-all-sorted-completions and
5049 completion--cache-all-sorted-completions.
5050 (icomplete-with-completion-tables): Default to t.
5051 * emacs-lisp/crm.el (crm--current-element): Rename from
5052 crm--select-current-element. Don't put an overlay but return the
5054 (crm--completion-command): Take two new args to bind to the boundaries.
5055 (crm-completion-help): Adjust accordingly.
5056 (crm-complete): Use completion-in-region.
5057 (crm-complete-word): Use completion-in-region--single-word.
5058 (crm-complete-and-exit): Use completion-complete-and-exit.
5060 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5062 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5065 2013-09-06 Juri Linkov <juri@jurta.org>
5067 * info.el (Info-display-images-node): When image file doesn't exist
5068 display text version of the image if it's provided in the Info file.
5069 Otherwise, display the location of missing image from SRC attribute.
5070 Add help-echo text property from ALT attribute. (Bug#15279)
5072 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5074 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5075 (edit-abbrevs-mode): Use define-derived-mode.
5077 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5078 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5080 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5081 Use define-derived-mode.
5083 * epg.el (epg-start-encrypt): Minor CSE simplification.
5085 2013-09-06 William Xu <william.xwl@gmail.com>
5087 * arc-mode.el: Add support for 7za (bug#15264).
5088 (archive-7z-program): New var.
5089 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5090 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5091 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5093 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5097 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5098 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5099 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5100 (tramp-postfix-host-format, tramp-file-name-regexp)
5101 (tramp-completion-file-name-regexp)
5102 (tramp-completion-dissect-file-name)
5103 (tramp-handle-substitute-in-file-name): Remove 'url case.
5104 (tramp-file-name-regexp-url)
5105 (tramp-completion-file-name-regexp-url): Remove constants.
5107 2013-09-06 Glenn Morris <rgm@gnu.org>
5109 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5111 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5113 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5114 keywords" below "here-doc beginnings" (Bug#15270).
5116 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5118 * subr.el (pop): Use `car-safe'.
5119 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5120 to detect unused `pop' return value.
5122 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5124 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5125 (python-fill-string): Remove unused var `marker'.
5126 (python-skeleton-add-menu-items): Remove unused var `items'.
5128 * international/mule-cmds.el: Require CL.
5129 (find-coding-systems-for-charsets): Avoid add-to-list.
5130 (sanitize-coding-system-list): New function, extracted from
5131 select-safe-coding-system-interactively.
5132 (select-safe-coding-system-interactively): Use it.
5133 (read-input-method-name): Accept symbols for `default'.
5135 * emacs-lisp/advice.el (defadvice): Add indent rule.
5137 2013-09-05 Daniel Hackney <dan@haxney.org>
5141 * net/browse-url.el:
5144 * net/eudcb-ldap.el:
5157 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5158 byte compiler. Remove some unused let-bound variables.
5160 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5162 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5163 a "ref-cell", since it gets better optimized (bug#14883).
5165 2013-09-05 Glenn Morris <rgm@gnu.org>
5167 * progmodes/cc-awk.el (c-forward-sws): Declare.
5169 2013-09-04 Glenn Morris <rgm@gnu.org>
5171 * generic-x.el [rul-generic-mode]: Require cc-mode.
5172 (c++-mode-syntax-table): Declare.
5173 (rul-generic-mode-syntax-table): Init in the defvar.
5175 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5177 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5178 (vc-do-command, vc-set-async-update):
5179 * vc/vc-mtn.el (vc-mtn-dir-status):
5180 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5181 (vc-hg-pull, vc-hg-merge-branch):
5182 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5183 (vc-git-merge-branch):
5184 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5185 (vc-cvs-dir-status-files):
5186 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5187 (vc-bzr-dir-status-files):
5188 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5189 * vc/vc-annotate.el: Use lexical-binding.
5190 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5191 (vc-sentinel-movepoint): Declare.
5192 (vc-annotate): Don't use `goto-line'.
5193 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5194 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5195 (vc-sentinel-movepoint): Declare.
5196 * vc/vc-svn.el: Use lexical-binding.
5197 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5199 * vc/vc-rcs.el: Use lexical-binding.
5201 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5202 `deleted'. Don't drop errors silently.
5204 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5206 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5208 * vc/vc.el (vc-ignore): Rewrite.
5209 (vc-default-ignore): New function.
5210 (vc-default-ignore-completion-table): Use find-ignore-file.
5212 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5213 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5214 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5215 Remove. Most code moved to vc.el.
5217 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5219 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5220 * net/tramp-smb.el (tramp-smb-get-file-entries):
5221 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5222 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5224 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5226 (eww-change-select): Remove unused var `properties'.
5227 (eww-make-unique-file-name): Remove unused var `base'.
5229 * finder.el (finder-compile-keywords): Don't mess with windows.
5231 * calculator.el (calculator-funcall): Fix typo in last change.
5233 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5235 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5236 <pkg>-autoloads.el file stop us.
5238 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5239 warnings, and factor out common code.
5241 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5243 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5244 two-character operators and whether the character preceding them
5245 changes their meaning (Bug#15208).
5247 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5249 Format code sent to Python shell for robustness.
5250 * progmodes/python.el (python-shell-buffer-substring):
5252 (python-shell-send-region, python-shell-send-buffer): Use it.
5254 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5256 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5257 * net/tramp.el (tramp-user-error): ... here.
5258 (tramp-find-method, tramp-check-proper-host)
5259 (tramp-dissect-file-name, tramp-debug-message)
5260 (tramp-handle-shell-command):
5261 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5262 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5264 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5266 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5268 * avoid.el (mouse-avoidance-point-position)
5269 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5272 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5274 * progmodes/python.el (python-shell-completion-get-completions):
5275 Drop use of deleted `comint-last-prompt-overlay'.
5276 (python-nav-if-name-main): New command.
5278 2013-09-01 Glenn Morris <rgm@gnu.org>
5280 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5281 Avoid leading space in $wins. Otherwise the sed command used by
5282 eg compile-main ends up containing "/*.el". (Bug#15170)
5284 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5286 2013-08-30 Glenn Morris <rgm@gnu.org>
5288 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5289 Fix is-this-a-directory logic. (Bug#15220)
5291 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5293 * textmodes/css-mode.el: Use SMIE.
5294 (css-smie-grammar): New var.
5295 (css-smie--forward-token, css-smie--backward-token)
5296 (css-smie-rules): New functions.
5297 (css-mode): Use them.
5298 (css-navigation-syntax-table): Remove var.
5299 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5300 (css-indent-calculate, css-indent-line): Remove functions.
5302 Misc changes to reduce use of `(lambda...); and other cleanups.
5303 * cus-edit.el: Use lexical-binding.
5304 (customize-push-and-save, customize-apropos)
5305 (custom-buffer-create-internal): Use closures.
5306 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5307 * progmodes/ada-xref.el: Use setq.
5308 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5309 * dframe.el: Use lexical-binding.
5310 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5311 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5312 * descr-text.el: Use lexical-binding.
5313 (describe-text-widget, describe-text-sexp, describe-property-list):
5315 * comint.el (comint-history-isearch-push-state): Use a closure.
5316 * calculator.el: Use lexical-binding.
5317 (calculator-number-to-string): Make it work with lexical-binding.
5318 (calculator-funcall): Same and use cl-letf.
5320 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5321 (lisp--company-doc-string, lisp--company-location): New functions.
5322 (lisp-completion-at-point): Use them to improve Company support.
5324 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5325 params of lambda expressions.
5326 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5327 (ruby-smie--opening-pipe-p): New function.
5328 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5329 symbols and matched |...| for formal params.
5330 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5331 from being treated as hanging. Handle "rescue".
5333 2013-08-29 Glenn Morris <rgm@gnu.org>
5335 * progmodes/cc-engine.el (c-pull-open-brace):
5336 Move definition before use.
5338 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5340 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5341 are immutable. Don't use `unsafe' any more.
5342 (cl--defsubst-expand): Don't substitute at the same time as keeping
5343 a residual unused let-binding. Don't use `unsafe' any more.
5345 2013-08-29 Glenn Morris <rgm@gnu.org>
5347 * calendar/cal-china.el (calendar-chinese-year-cache):
5350 * nxml/nxml-util.el (nxml-debug-clear-inside):
5351 Use cl-loop rather than loop.
5353 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5355 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5357 2013-08-28 Glenn Morris <rgm@gnu.org>
5359 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5361 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5363 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5365 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5367 * simple.el (repeat-complex-command--called-interactively-skip):
5369 (repeat-complex-command): Use it (bug#14136).
5371 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5372 (c-define-abbrev-table): Add `doc' argument.
5373 (c-mode-abbrev-table, c++-mode-abbrev-table)
5374 (objc-mode-abbrev-table, java-mode-abbrev-table)
5375 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5376 (awk-mode-abbrev-table): Use it.
5377 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5378 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5379 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5380 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5381 Move initialization into the declaration; and remove any
5384 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5385 and dynamic let binding.
5387 * vc/smerge-mode.el: Remove redundant :group args.
5389 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5392 2013-08-28 Juri Linkov <juri@jurta.org>
5394 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5395 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5396 (isearch-other-meta-char): Handle an undefined shifted printing
5397 character by downshifting it. (Bug#15200)
5399 2013-08-28 Juri Linkov <juri@jurta.org>
5401 * isearch.el (isearch-search): Change regexp error message for
5402 non-regexp searches. (Bug#15166)
5404 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5406 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5407 for portability to hosts where /bin/sh has problems.
5409 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5411 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5413 2013-08-27 Juri Linkov <juri@jurta.org>
5415 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5416 in the keyboard macro. (Bug#15126)
5418 2013-08-27 Juri Linkov <juri@jurta.org>
5420 * isearch.el (isearch-quote-char): Comment out converting unibyte
5421 to multibyte, thus syncing with its `quoted-insert' counterpart.
5424 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5426 * window.el (display-buffer-use-some-window): Add missing
5427 argument in call of get-largest-window (Bug#15185).
5428 Reported by Stephen Leake.
5430 2013-08-27 Glenn Morris <rgm@gnu.org>
5432 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5434 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5436 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5437 from a matcher-function unless there's no more matches (bug#15161).
5439 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5441 * minibuffer.el: Revert change from 2013-08-20.
5443 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5444 with text property `tramp-default', if appropriate.
5445 (tramp-check-proper-host): New defun.
5446 (tramp-dissect-file-name): Do not check hostname. Revert change
5448 (tramp-backtrace): Make VEC-OR-PROC optional.
5450 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5451 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5452 * net/tramp-sh.el (tramp-maybe-open-connection):
5453 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5454 Apply `tramp-check-proper-host'.
5456 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5458 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5459 lambda expression in order to have `describe-variable' display it.
5461 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5463 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5464 BUF can be optional. (Bug#15186)
5466 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5468 * progmodes/flymake.el (flymake-get-real-file-name-function):
5469 Fix broken customization. (Bug#15184)
5471 2013-08-25 Alan Mackenzie <acm@muc.de>
5473 Improve indentation of bracelists defined by macros (without "=").
5475 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5476 expansion begins with "{", regard it as bracelist when it doesn't
5479 Parse C++ inher-intro when there's a template split over 2 lines.
5481 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5482 rigorously the search for "class" etc. followed by ":".
5484 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5485 random languages a regexp which never matches rather than nil.
5487 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5489 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5490 (c-awk-regexp-one-line-possibly-open-char-list-re)
5491 (c-awk-one-line-possibly-open-regexp-re)
5492 (c-awk-one-line-non-syn-ws*-re): Remove.
5493 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5494 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5495 (c-awk-space*-unclosed-regexp-/-re): New constants.
5496 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5497 aren't regexp delimiters.
5499 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5500 handling for a rare situation in AWK Mode involving unterminated
5503 2013-08-23 Glenn Morris <rgm@gnu.org>
5505 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5507 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5509 * files.el (create-file-buffer): If the result would begin with
5510 spaces, prepend a "|" instead of removing them. (Bug#15162)
5512 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5514 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5515 text-properties (bug#15155).
5517 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5519 (calc-keypad-redraw): Remove unused var `pad'.
5520 (calc-keypad-press): Remove unused var `menu'.
5522 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5524 * window.el (display-buffer-pop-up-frame):
5525 Call pop-up-frame-function with BUFFER current so `make-frame' will
5526 use it as the new frame's buffer (Bug#15133).
5528 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5530 * calendar/timeclock.el: Minor cleanups.
5531 (timeclock-ask-before-exiting, timeclock-use-display-time):
5533 (timeclock-modeline-display): Define as alias before the
5535 (timeclock-mode-line-display): Use define-minor-mode.
5536 (timeclock-day-list-template): Make it a function, add an argument.
5537 (timeclock-day-list-required, timeclock-day-list-length)
5538 (timeclock-day-list-debt, timeclock-day-list-span)
5539 (timeclock-day-list-break): Adjust calls accordingly.
5541 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5543 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5544 Use read--expression so that completion works again.
5546 2013-08-21 Sam Steingold <sds@gnu.org>
5548 Add rudimentary inferior shell interaction
5549 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5550 (sh-set-shell): Reset it.
5551 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5552 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5554 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5556 * align.el: Use lexical-binding.
5557 (align-region): Simplify accordingly.
5559 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5561 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5563 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5566 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5570 * net/tramp-cmds.el:
5572 * net/tramp-gvfs.el:
5574 * net/tramp-sh.el: Don't wrap external variable declarations by
5575 `eval-when-compile'.
5577 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5579 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5580 now that Emacs supports ImageMagick animations.
5582 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5584 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5585 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5587 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5589 * window.el (mouse-autoselect-window-select): Do autoselect when
5590 mouse pointer is on margin.
5592 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5594 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5596 2013-08-16 Glenn Morris <rgm@gnu.org>
5598 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5599 Handle "Remote Directory" response of some clients. (Bug#15058)
5601 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5602 Tweak warning. (Bug#14926)
5604 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5605 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5607 * image-mode.el (image-mode-map): Add menu items to reverse,
5608 increase, decrease, reset animation speed.
5609 (image--set-speed, image-increase-speed, image-decrease-speed)
5610 (image-reverse-speed, image-reset-speed): New functions.
5611 (image-mode-map): Add bindings for speed commands.
5613 * image.el (image-animate-get-speed, image-animate-set-speed):
5615 (image-animate-timeout): Respect image :speed property.
5617 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5619 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5620 previous line (bug#15101).
5621 (debugger-eval-expression, debugger-record-expression):
5622 Use read--expression (bug#15102).
5624 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5626 Remove byte compiler warnings, visible when compiling with
5627 `byte-compile-force-lexical-warnings' set to t.
5629 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5630 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5631 (tramp-handle-unhandled-file-name-directory)
5632 (tramp-handle-file-notify-add-watch, tramp-action-login)
5633 (tramp-action-succeed, tramp-action-permission-denied)
5634 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5637 * net/tramp-adb.el (tramp-adb-parse-device-names)
5638 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5639 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5640 (tramp-adb-handle-file-truename): Remove unused arguments.
5642 * net/tramp-cache.el (tramp-flush-directory-property)
5643 (tramp-flush-connection-property, tramp-list-connections)
5644 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5646 * net/tramp-compat.el (tramp-compat-make-temp-file):
5647 Rename FILENAME to F.
5649 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5650 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5651 (tramp-zeroconf-parse-workstation-device-names)
5652 (tramp-zeroconf-parse-webdav-device-names)
5653 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5655 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5656 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5658 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5660 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5661 (tramp-sh-handle-insert-file-contents-literally)
5662 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5664 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5665 Remove unused variables.
5667 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5668 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5669 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5671 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5672 Make them a defconst.
5673 (tramp-uuencode-region): Remove unused variable.
5675 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5677 * frameset.el (frameset--prop-setter): New function.
5678 (frameset-prop): Add gv-setter declaration.
5679 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5680 parameter was already set in FILTERED. Doc fix.
5681 (frameset--record-minibuffer-relationships): Allow saving a
5682 minibufferless frame without its corresponding minibuffer frame.
5683 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5684 frame, if the frame id matches.
5685 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5686 frames before orphaned ones.
5687 (frameset-restore): Warn about orphaned windows, instead of error out.
5689 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5691 * window.el (window-make-atom): Don't overwrite parameter
5693 (display-buffer-in-atom-window): Handle special case where we
5694 split an already atomic window.
5695 (window--major-non-side-window, display-buffer-in-side-window)
5696 (window--side-check): Ignore minibuffer window when walking
5698 (window-deletable-p): Return 'frame only if no other frame uses
5699 our minibuffer window.
5700 (record-window-buffer): Run buffer-list-update-hook.
5701 (split-window): Make sure window--check-frame won't destroy an
5702 existing atomic window in case the new window gets nested
5704 (display-buffer-at-bottom): Ignore minibuffer window when
5705 walking window tree. Don't split a side window.
5706 (pop-to-buffer): Don't set-buffer here, the select-window call
5708 (mouse-autoselect-window-select): Autoselect only if we are in the
5709 text portion of the window.
5711 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5713 * net/shr.el (shr-parse-image-data): New function to grab both the
5714 data itself and the Content-Type.
5715 (shr-put-image): Use it.
5717 * net/eww.el (eww-display-image): Ditto.
5719 * image.el (image-content-type-suffixes): New variable.
5721 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5723 * progmodes/python.el (python-imenu--build-tree)
5724 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5726 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5728 * simple.el (backward-word): Mention the optional argument.
5730 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5732 * frameset.el (frameset--make): Rename constructor from make-frameset.
5733 (frameset-p, frameset-valid-p): Don't autoload.
5734 (frameset-valid-p): Use normal accessors.
5736 2013-08-13 Glenn Morris <rgm@gnu.org>
5738 * progmodes/compile.el (compile-command): Tweak example in doc.
5739 * obsolete/scribe.el (scribe-mode):
5740 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5742 * mail/feedmail.el (feedmail-confirm-outgoing)
5743 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5745 * cus-start.el (truncate-partial-width-windows): Fix type.
5747 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5749 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5751 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5753 * emacs-lisp/timer.el (timer--time-setter): New function.
5754 (timer--time): Use it as gv-setter.
5756 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5757 setter is not a symbol.
5759 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5761 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5762 if sending fails. This makes debugging easier.
5764 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5766 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5767 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5768 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5770 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5772 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5774 2013-08-12 Glenn Morris <rgm@gnu.org>
5776 * format.el (format-annotate-function):
5777 Handle read-only text properties in the source. (Bug#14887)
5779 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5781 * net/eww.el (eww-display-html): Ignore coding system errors.
5782 One web site uses "utf-8lias" as the coding system.
5784 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5786 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5788 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5790 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5791 (tutorial--detailed-help): Remove unused local variables.
5792 (tutorial--save-tutorial-to): Use ignore-errors.
5793 (help-with-tutorial): Use looking-at-p.
5795 * view.el (view-buffer-other-window, view-buffer-other-frame):
5796 Mark unused arguments.
5798 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5799 (woman-select-symbol-fonts, woman, woman-find-file)
5800 (woman-insert-file-contents, woman-non-underline-faces):
5802 (woman1-unquote): Move declaration.
5804 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5805 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5806 argument. Remove unused local variable.
5807 (xml-parse-elem-type): Use string-match-p.
5808 (xml-substitute-numeric-entities): Use ignore-errors.
5810 * calculator.el (calculator): Mark unused argument.
5811 (calculator-paste, calculator-quit, calculator-integer-p):
5813 (calculator-string-to-number, calculator-decimal, calculator-exp)
5814 (calculator-op-or-exp): Use string-match-p.
5816 * dired.el (dired-buffer-more-recently-used-p): Declare.
5817 (dired-insert-set-properties, dired-insert-old-subdirs):
5820 * dired-aux.el (dired-compress): Use ignore-errors.
5821 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5822 (dired-do-async-shell-command, dired-do-shell-command)
5823 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5824 (dired-insert-subdir-validate): Use string-match-p.
5825 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5826 (dired-add-entry): Use string-match-p, looking-at-p.
5827 (dired-insert-subdir-newpos): Remove unused local variable.
5829 * filenotify.el (file-notify-callback): Remove unused local variable.
5831 * filesets.el (filesets-error): Mark unused argument.
5832 (filesets-which-command-p, filesets-filter-dir-names)
5833 (filesets-directory-files, filesets-get-external-viewer)
5834 (filesets-ingroup-get-data): Use string-match-p.
5836 * find-file.el (ff-other-file-name, ff-other-file-name)
5837 (ff-find-the-other-file, ff-cc-hh-converter):
5838 Remove unused local variables.
5839 (ff-get-file-name): Use string-match-p.
5840 (ff-all-dirs-under): Use ignore-errors.
5842 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5843 (follow-select-if-visible): Remove unused local variable.
5845 * forms.el (read-file-filter): Move declaration.
5846 (forms--make-format, forms--make-parser, forms-insert-record):
5847 Quote function with #'.
5848 (forms--update): Use string-match-p. Quote function with #'.
5850 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5851 (help-make-xrefs): Use looking-at-p.
5852 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5854 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5855 (ibuffer-confirm-operation-on): Use string-match-p.
5857 * msb.el (msb-item-handler, msb-dired-item-handler):
5858 Mark unused arguments.
5860 * ses.el (ses-decode-cell-symbol)
5861 (ses-kill-override): Remove unused local variable.
5862 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5863 (ses-load): Use ignore-errors, looking-at-p.
5864 (ses-jump-safe): Use ignore-errors.
5865 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5867 * tabify.el (untabify, tabify): Mark unused arguments.
5869 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5870 Mark unused argument.
5871 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5872 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5874 * emacs-lisp/timer.el (timer--time): Define setter with
5875 gv-define-setter to avoid deprecation warning.
5877 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5878 (*record-cmpl-statistics-p*): Remove (was commented out).
5879 (cmpl-statistics-block): Remove (body was commented out).
5880 All callers changed.
5881 (add-completions-from-buffer, load-completions-from-file):
5882 Remove unused variables.
5884 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5886 * filecache.el (file-cache-delete-file-list):
5887 Print message only when told so.
5888 (file-cache-files-matching): Use #' in mapconcat argument.
5890 * ffap.el (ffap-url-at-point): Fix reference to variable
5891 thing-at-point-default-mail-uri-scheme.
5893 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5895 * subr.el (define-error): New function.
5896 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5897 error-file-not-found and define with define-error.
5898 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5899 and define with define-error.
5900 * userlock.el (file-locked, file-supersession):
5901 * simple.el (mark-inactive):
5902 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5903 * progmodes/ada-mode.el (ada-mode-errors):
5904 * play/life.el (life-extinct):
5905 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5906 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5907 * nxml/rng-util.el (rng-error):
5908 * nxml/rng-uri.el (rng-uri-error):
5909 * nxml/rng-match.el (rng-compile-error):
5910 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5911 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5912 * nxml/nxml-rap.el (nxml-scan-error):
5913 * nxml/nxml-outln.el (nxml-outline-error):
5914 * net/soap-client.el (soap-error):
5915 * net/gnutls.el (gnutls-error):
5916 * net/ange-ftp.el (ftp-error):
5917 * mpc.el (mpc-proc-error):
5918 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5919 (json-number-format, json-string-escape, json-string-format)
5920 (json-key-format, json-object-format):
5921 * jka-compr.el (compression-error):
5922 * international/quail.el (quail-error):
5923 * international/kkc.el (kkc-error):
5924 * emacs-lisp/ert.el (ert-test-failed):
5925 * calc/calc.el (calc-error, inexact-result, math-overflow)
5927 * bookmark.el (bookmark-error-no-filename):
5928 * epg.el (epg-error): Define with define-error.
5930 * time.el (display-time-event-handler)
5931 (display-time-next-load-average): Don't call sit-for since it seems
5932 unnecessary (bug#15045).
5934 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5935 Use #' instead of ' to quote functions.
5936 (checkdoc-output-mode): Use setq-local.
5937 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5938 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5939 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5940 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5941 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5942 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5943 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5944 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5946 * ido.el (ido-completion-help): Fix up compiler warning.
5948 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5950 * frameset.el (frameset-p): Add autoload cookie.
5951 (frameset--jump-to-register): New function, based on code moved from
5953 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5955 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5956 (frameset-restore, frameset-save, frameset-session-filter-alist):
5957 Remove declarations.
5958 (register-alist): Doc fix.
5959 (frameset-to-register): Move to frameset.el.
5960 (jump-to-register, describe-register-1): Remove frameset-specific code.
5962 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5964 * allout-widgets.el (allout-widgets-pre-command-business)
5965 (allout-widgets-post-command-business)
5966 (allout-widgets-after-change-handler)
5967 (allout-decorate-item-and-context, allout-set-boundary-marker)
5968 (allout-body-modification-handler)
5969 (allout-graphics-modification-handler): Mark ignored arguments.
5970 (allout-widgets-post-command-business)
5971 (allout-widgets-exposure-change-processor)
5972 (allout-widgets-exposure-undo-processor)
5973 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5974 (allout-parse-item-at-point, allout-decorate-item-guides)
5975 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5976 * allout.el (epa-passphrase-callback-function): Declare.
5977 (allout-overlay-insert-in-front-handler)
5978 (allout-overlay-interior-modification-handler)
5979 (allout-isearch-end-handler, allout-chart-siblings)
5980 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5981 (allout-yank-processing, allout-process-exposed)
5982 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5983 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5984 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5985 (lisp-indent-defform): Mark ignored arguments.
5986 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5987 (calculate-lisp-indent): Remove unused variables.
5988 * international/characters.el (indian-2-column, arabic-2-column)
5989 (tibetan): Mark ignored arguments.
5990 (use-cjk-char-width-table): Mark ignored arguments.
5991 Remove unused variables.
5992 * international/fontset.el (build-default-fontset-data)
5993 (x-compose-font-name, create-fontset-from-fontset-spec):
5994 Mark ignored arguments.
5995 (fontset-plain-name): Remove unused variables.
5996 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5997 (keyboard-coding-system): Mark ignored arguments.
5998 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5999 * help.el (resize-temp-buffer-window):
6000 * window.el (display-buffer-in-major-side-window)
6001 (display-buffer-in-side-window, display-buffer-in-previous-window):
6002 Remove unused variables.
6003 * isearch.el (isearch-forward-symbol):
6004 * version.el (emacs-bzr-version-bzr):
6005 * international/mule-cmds.el (current-language-environment):
6006 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6008 * term/pc-win.el (x-list-fonts, x-display-planes)
6009 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6010 (x-server-version, x-display-screens, x-display-mm-height)
6011 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6012 (x-selection-owner-p, x-own-selection-internal)
6013 (x-disown-selection-internal, x-get-selection-internal)
6014 (msdos-initialize-window-system):
6015 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6016 * term/x-win.el (x-handle-no-bitmap-icon):
6017 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6018 (vc-default-find-file-hook, vc-default-extra-menu):
6019 Mark ignored arguments.
6021 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6023 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6024 break-condition in the context of the debugged code (bug#12685).
6026 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6029 Do not use an overlay to highlight the last prompt. (Bug#14744)
6030 (comint-mode): Make comint-last-prompt buffer local.
6031 (comint-last-prompt): New variable.
6032 (comint-last-prompt-overlay): Remove. Superseded by
6034 (comint-snapshot-last-prompt, comint-output-filter):
6035 Use comint-last-prompt.
6037 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6039 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6040 (frameset-save): Check validity of the resulting frameset.
6042 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6044 * ido.el (ido-record-command): Add doc string.
6046 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6048 * frameset.el (frameset): Do not disable creation of the default
6049 frameset-p predicate. Doc fix.
6050 (frameset-valid-p): New function, copied from the old predicate-p.
6051 Add additional checks.
6052 (frameset-restore): Check with frameset-valid-p.
6053 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6054 (frameset-name, frameset-description, frameset-properties)
6055 (frameset-states): Add docstring.
6056 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6057 (frameset-filter-alist): Doc fixes.
6059 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6061 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6063 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6065 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6066 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6067 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6068 (byte-compile-normal-call): Remove obsolescence check.
6070 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6072 * frameset.el (frameset-restore): Doc fix.
6074 * register.el (frameset-frame-id, frameset-frame-with-id)
6075 (frameset-p, frameset-restore, frameset-save): Declare.
6076 (register-alist): Document framesets.
6077 (frameset-session-filter-alist): Declare.
6078 (frameset-to-register): New function.
6079 (jump-to-register): Implement jumping to framesets. Doc fix.
6080 (describe-register-1): Describe framesets.
6082 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6084 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6086 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6087 Use lexical-binding.
6089 * frameset.el (frameset): Use type vector, not list (incompatible
6090 change). Do not declare a new constructor, use the default one.
6091 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6092 `name' and `description', respectively, and add read-only slot
6093 `timestamp'. Doc fixes.
6094 (frameset-copy, frameset-persistent-filter-alist)
6095 (frameset-filter-alist, frameset-switch-to-gui-p)
6096 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6097 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6098 (frameset-filter-iconified, frameset-keep-original-display-p):
6100 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6101 Rename from frameset-filter-(save|restore)-param. All callers changed.
6103 (frameset-p): Adapt to change to vector and be more thorough.
6104 Change arg name to OBJECT. Doc fix.
6105 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6106 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6107 All callers changed.
6108 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6109 All callers changed.
6110 (frameset--record-minibuffer-relationships): Rename from
6111 frameset--process-minibuffer-frames. All callers changed.
6112 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6113 Use new default constructor (again). Doc fix.
6114 (frameset--find-frame-if): Rename from `frameset--find-frame.
6115 All callers changed.
6116 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6117 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6119 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6120 PARAMETERS and WINDOW-STATE, respectively.
6121 (frameset-restore): Add new keyword argument PREDICATE.
6122 Reset frameset--target-display to nil. Doc fix.
6124 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6126 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6128 (bat-mode-syntax-table): Mark \n as end-of-comment.
6129 (bat-font-lock-keywords): Remove comment rule.
6131 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6132 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6134 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6135 (byte-compile-callargs-warn): Use `push'.
6136 (byte-compile-arglist-warn): Ignore higher-order "calls".
6137 (byte-compile-file-form-autoload): Use `pcase'.
6138 (byte-compile-function-form): If quoting a symbol, check that it exists.
6140 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6142 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6143 and add a few popular commands found in batch files.
6144 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6145 (dos-mode): Doc fixes.
6147 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6149 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6150 (dos-mode): Use setq-local. Add space after "rem".
6151 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6152 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6154 2013-08-07 Arni Magnusson <arnima@hafro.is>
6156 * progmodes/dos.el: New file.
6157 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6160 2013-08-06 Glenn Morris <rgm@gnu.org>
6162 * calendar/calendar.el: Add new faces, and day-header-array.
6163 (calendar-weekday-header, calendar-weekend-header)
6164 (calendar-month-header): New faces.
6165 (calendar-day-header-construct): New function.
6166 (calendar-day-header-width): Also :set calendar-day-header-array.
6167 (calendar-american-month-header, calendar-european-month-header)
6168 (calendar-iso-month-header): Use calendar- faces.
6169 (calendar-generate-month):
6170 Use calendar-day-header-array for day headers; apply faces to them.
6171 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6172 (calendar-abbrev-construct): Add optional maxlen argument.
6173 (calendar-day-name-array): Doc fix.
6174 (calendar-day-name-array, calendar-abbrev-length)
6175 (calendar-day-abbrev-array):
6176 Also :set calendar-day-header-array, and maybe redraw.
6177 (calendar-day-header-array): New option. (Bug#15007)
6178 (calendar-font-lock-keywords): Set to nil and make obsolete.
6179 (calendar-day-name): Add option to use header array.
6181 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6183 * net/shr.el (shr-render-td): Remove debugging.
6184 (shr-render-td): Make width computation consistent by defaulting
6185 all zero-width columns to 10 characters. This may not be optimal,
6186 but it's at least consistent.
6187 (shr-make-table-1): Redo last change to fix the real problem in
6190 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6192 * files.el (cache-long-line-scans):
6193 Make obsolete alias to `cache-long-scans'.
6195 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6197 * frameset.el (frameset, frameset-filter-alist)
6198 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6199 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6200 (frameset-compute-pos): Rename from frameset--compute-pos,
6202 (frameset-move-onscreen): Use frameset-compute-pos.
6203 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6205 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6206 Fix typos in docstrings.
6208 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6210 * frame.el (get-other-frame): Tiny cleanup.
6212 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6214 * vc/vc.el (vc-default-ignore-completion-table):
6215 Silence byte-compiler warning.
6217 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6218 slot , which can indeed be nil.
6219 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6220 Move entry for `left' from persistent to live filter alist.
6221 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6223 (frameset-filter-params): When restoring a frame, copy items added to
6224 `filtered', to avoid unwittingly modifying the original parameters.
6225 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6226 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6228 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6229 to use looking-at-p instead of looking-at. (Bug#15028)
6231 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6233 Revert introduction of isearch-filter-predicates (bug#14714).
6234 Rely on add-function instead.
6235 * isearch.el (isearch-filter-predicates): Rename it back to
6236 isearch-filter-predicate.
6237 (isearch-message-prefix): Use advice-function-mapc and advice
6238 properties to get the isearch-message-prefix.
6239 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6240 instead of run-hook-with-args-until-failure.
6241 (isearch-filter-visible): Not obsolete any more.
6242 * loadup.el: Preload nadvice.
6243 * replace.el (perform-replace): Revert to funcall
6244 instead of run-hook-with-args-until-failure.
6245 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6246 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6247 dired-isearch-filenames-toggle; make it into a proper minor mode.
6248 Use add/remove-function.
6249 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6250 Call the minor-mode rather than add/remove-hook.
6251 (dired-isearch-filter-filenames):
6252 Remove isearch-message-prefix property.
6253 * info.el (Info--search-loop): New function, extracted from Info-search.
6254 Funcall isearch-filter-predicate instead of
6255 run-hook-with-args-until-failure isearch-filter-predicates.
6256 (Info-search): Use it.
6257 (Info-mode): Use isearch-filter-predicate instead of
6258 isearch-filter-predicates.
6260 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6262 Do not call to `selected-window' where it is assumed by default.
6263 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6264 `window-hscroll', `window-width', `window-height', `window-buffer',
6265 `window-frame', `window-start', `window-point', `next-window'
6266 and `window-display-table'.
6267 * abbrev.el (abbrev--default-expand):
6268 * bs.el (bs--show-with-configuration):
6269 * buff-menu.el (Buffer-menu-mouse-select):
6270 * calc/calc.el (calc):
6271 * calendar/calendar.el (calendar-generate-window):
6272 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6274 * comint.el (send-invisible, comint-dynamic-complete-filename)
6275 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6276 * completion.el (complete):
6277 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6278 * disp-table.el (describe-current-display-table):
6279 * doc-view.el (doc-view-insert-image):
6280 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6281 * ehelp.el (with-electric-help):
6282 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6283 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6284 * emacs-lisp/helper.el (Helper-help-scroller):
6285 * emulation/cua-base.el (cua--post-command-handler-1):
6286 * eshell/esh-mode.el (eshell-output-filter):
6287 * ffap.el (ffap-gnus-wrapper):
6288 * help-macro.el (make-help-screen):
6289 * hilit-chg.el (highlight-compare-buffers):
6290 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6291 * hl-line.el (global-hl-line-highlight):
6292 * icomplete.el (icomplete-simple-completing-p):
6293 * isearch.el (isearch-done):
6294 * jit-lock.el (jit-lock-stealth-fontify):
6295 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6296 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6297 * mpc.el (mpc-tagbrowser, mpc):
6298 * net/rcirc.el (rcirc-any-buffer):
6299 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6300 * play/landmark.el (landmark-max-width, landmark-max-height):
6301 * play/zone.el (zone):
6302 * progmodes/compile.el (compilation-goto-locus):
6303 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6304 * progmodes/etags.el (find-tag-other-window):
6305 * progmodes/fortran.el (fortran-column-ruler):
6306 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6307 * progmodes/verilog-mode.el (verilog-point-text):
6308 * reposition.el (reposition-window):
6309 * rot13.el (toggle-rot13-mode):
6310 * server.el (server-switch-buffer):
6311 * shell.el (shell-dynamic-complete-command)
6312 (shell-dynamic-complete-environment-variable):
6313 * simple.el (insert-buffer, set-selective-display)
6314 (delete-completion-window):
6315 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6316 (speedbar-recenter):
6317 * startup.el (fancy-splash-head):
6318 * textmodes/ispell.el (ispell-command-loop):
6319 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6320 * tutorial.el (help-with-tutorial):
6321 * vc/add-log.el (add-change-log-entry):
6322 * vc/compare-w.el (compare-windows):
6323 * vc/ediff-help.el (ediff-indent-help-message):
6324 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6325 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6326 (ediff-setup-control-frame):
6327 * vc/emerge.el (emerge-position-region):
6328 * vc/pcvs-util.el (cvs-bury-buffer):
6329 * window.el (walk-windows, mouse-autoselect-window-select):
6330 * winner.el (winner-set-conf, winner-undo): Related users changed.
6332 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6334 * frameset.el (frameset--set-id): Doc fix.
6335 (frameset-frame-id, frameset-frame-id-equal-p)
6336 (frameset-locate-frame-id): New functions.
6337 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6338 (frameset-restore): Use them.
6340 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6342 Do not call to `selected-frame' where it is assumed by default.
6343 Affected functions are `raise-frame', `redraw-frame',
6344 `frame-first-window', `frame-terminal' and `delete-frame'.
6345 * calendar/appt.el (appt-disp-window):
6346 * epg.el (epg-wait-for-completion):
6347 * follow.el (follow-delete-other-windows-and-split)
6348 (follow-avoid-tail-recenter):
6349 * international/mule.el (set-terminal-coding-system):
6350 * mail/rmail.el (rmail-mail-return):
6351 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6352 * progmodes/f90.el (f90-add-imenu-menu):
6353 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6354 * server.el (server-switch-buffer):
6355 * simple.el (delete-completion-window):
6357 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6358 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6359 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6360 * vc/ediff.el (ediff-documentation): Related users changed.
6361 * frame.el (selected-terminal): Remove the leftover.
6363 2013-08-05 Glenn Morris <rgm@gnu.org>
6365 * calendar/calendar.el (calendar-generate-month):
6366 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6367 (calendar-generate-month, calendar-font-lock-keywords):
6368 Fix for calendar-day-header-width > length of any day name.
6370 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6372 * desktop.el (desktop-clear): Use new name of sort predicate.
6374 * frameset.el (frameset): Add docstring. Move :version property to its
6376 (frameset-copy): Rename from copy-frameset.
6377 (frameset-p): Check more thoroughly.
6378 (frameset-prop): Do not check for :version, which is no longer a prop.
6379 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6380 Use new :never value instead of t.
6381 (frameset-filter-alist): Expand and clarify docstring.
6382 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6383 (frameset-filter-minibuffer, frameset-filter-save-param)
6384 (frameset-filter-restore-param, frameset-filter-iconified):
6385 Add pointer to docstring of frameset-filter-alist.
6386 (frameset-filter-params): Rename filter values to be more meaningful:
6387 :never instead of t, and reverse the meanings of :save and :restore.
6388 (frameset--process-minibuffer-frames): Clarify error message.
6389 (frameset-save): Avoid unnecessary and confusing call to framep.
6390 Use new BOA constructor for framesets.
6391 (frameset--reuse-list): Doc fix.
6392 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6393 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6394 (frameset-minibufferless-first-p): Doc fix.
6395 Rename from frameset-sort-frames-for-deletion.
6396 (frameset-restore): Doc fixes. Use new function names.
6397 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6399 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6401 * desktop.el (desktop-restore-forces-onscreen)
6402 (desktop-restore-reuses-frames): Document :keyword constant values.
6403 (desktop-filter-parameters-alist): Remove, now identical to
6404 frameset-filter-alist.
6405 (desktop--filter-tty*): Remove, moved to frameset.el.
6406 (desktop-save-frameset, desktop-restore-frameset):
6407 Do not pass :filters argument.
6409 * frameset.el (frameset-live-filter-alist)
6410 (frameset-persistent-filter-alist): New variables.
6411 (frameset-filter-alist): Use them. Add autoload cookie.
6412 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6413 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6414 `frameset--id' (it's supposed to be internal to frameset.el).
6415 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6416 (frameset--initial-params): New function.
6417 (frameset--get-frame): Use it. Doc fix.
6418 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6419 Accept :all, not 'all.
6420 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6421 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6422 with fbound symbols. Fix frame id matching, and remove matching ids if
6423 the frame being restored is deleted. Obey :delete.
6425 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6427 * subr.el (macrop): New function.
6428 (text-clone--maintaining): New var.
6429 (text-clone--maintain): Rename from text-clone-maintain. Use it
6430 instead of inhibit-modification-hooks.
6432 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6433 a proxy, so as handle autoloads and redefinitions of the target.
6434 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6436 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6437 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6438 (pcase--mutually-exclusive-p): New function.
6439 (pcase--split-consp): Use it.
6440 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6441 mutually exclusive with the current predicate.
6443 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6444 (edebug-macrop): Remove. Use `macrop' instead.
6445 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6447 * eshell/esh-cmd.el (eshell-macrop):
6448 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6450 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6452 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6453 (advice-mapc): New function, using it.
6454 (advice-function-member-p): New function.
6455 (advice--normalize): Store the cdr in advice--saved-rewrite since
6456 that's the part that will be changed.
6457 (advice--symbol-function): New function.
6458 (advice-remove): Handle removal before the function is defined.
6459 Adjust to new advice--saved-rewrite.
6460 (advice-member-p): Use advice-function-member-p and
6461 advice--symbol-function.
6463 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6465 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6466 (frameset-filter-minibuffer): Doc fix.
6467 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6468 (frameset--set-id, frameset--process-minibuffer-frames)
6469 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6470 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6472 * desktop.el (desktop-clear): Only delete frames when called
6473 interactively and desktop-restore-frames is non-nil. Doc fix.
6474 (desktop-read): Set desktop-saved-frameset to nil.
6476 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6478 * vc/vc.el (vc-ignore): Rewrite.
6479 (vc-default-ignore-completion-table):
6481 (vc--add-line, vc--remove-regexp): New functions.
6483 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6484 (vc-svn-ignore-completion-table): New function.
6486 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6487 (vc-hg-ignore-completion-table):
6488 (vc-hg-find-ignore-file): New functions.
6490 * vc/vc-git.el (vc-git-ignore): Rewrite.
6491 (vc-git-ignore-completion-table):
6492 (vc-git-find-ignore-file): New functions.
6494 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6496 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6497 (vc-bzr-ignore-completion-table):
6498 (vc-bzr-find-ignore-file): New functions.
6500 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6502 * frameset.el (frameset-prop): New function and setter.
6503 (frameset-save): Do not modify frame list passed by the caller.
6505 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6507 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6509 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6511 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6512 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6514 * custom.el (custom-initialize-default, custom-initialize-set)
6515 (custom-initialize-reset, custom-initialize-changed): Affect the
6516 toplevel-default-value (bug#6275, bug#14586).
6517 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6520 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6522 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6523 Add cl-def* expressions.
6525 * frameset.el (frameset-filter-params): Fix order of arguments.
6527 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6529 Move code related to saving frames to frameset.el.
6530 * desktop.el: Require frameset.
6531 (desktop-restore-frames): Doc fix.
6532 (desktop-restore-reuses-frames): Rename from
6533 desktop-restoring-reuses-frames.
6534 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6535 (desktop-clear): Clear frames too.
6536 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6537 (desktop--filter-tty*, desktop-save, desktop-read):
6538 Use frameset functions.
6539 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6540 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6541 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6542 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6543 (desktop--process-minibuffer-frames, desktop-save-frames)
6544 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6545 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6546 (desktop--sort-states, desktop-restoring-frames-p)
6547 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6548 (desktop-restoring-frameset-p, desktop-restore-frameset)
6549 (desktop--check-dont-save, desktop-save-frameset): New functions.
6550 (desktop--app-id): New constant.
6551 (desktop-first-buffer, desktop-buffer-ok-count)
6552 (desktop-buffer-fail-count): Move before first use.
6553 * frameset.el: New file.
6555 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6557 * files.el: Use lexical-binding.
6558 (dir-locals-read-from-file): Remove unused `err' variable.
6559 (hack-dir-local-variables--warned-coding): New var.
6560 (hack-dir-local-variables): Use it to avoid repeated warnings.
6561 (make-backup-file-name--default-function): New function.
6562 (make-backup-file-name-function): Use it as default.
6563 (buffer-stale--default-function): New function.
6564 (buffer-stale-function): Use it as default.
6565 (revert-buffer-insert-file-contents--default-function): New function.
6566 (revert-buffer-insert-file-contents-function): Use it as default.
6567 (insert-directory): Avoid add-to-list.
6569 * autorevert.el (auto-revert-handler): Simplify.
6570 Use buffer-stale--default-function.
6572 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6574 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6576 * whitespace.el (whitespace-ensure-local-variables): New function.
6577 (whitespace-cleanup-region): Call it.
6578 (whitespace-turn-on): Call it.
6580 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6582 Complete file name handlers.
6584 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6585 (tramp-handle-verify-visited-file-modtime)
6586 (tramp-handle-file-notify-rm-watch): New functions.
6587 (tramp-call-process): Do not bind `default-directory'.
6589 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6590 Order alphabetically.
6591 [access-file, add-name-to-file, dired-call-process]:
6592 [dired-compress-file, file-acl, file-notify-rm-watch]:
6593 [file-ownership-preserved-p, file-selinux-context]:
6594 [make-directory-internal, make-symbolic-link, set-file-acl]:
6595 [set-file-selinux-context, set-visited-file-modtime]:
6596 [verify-visited-file-modtime]: Add handler.
6597 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6599 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6600 [file-notify-add-watch, file-notify-rm-watch]:
6601 [set-file-times, set-visited-file-modtime]:
6602 [verify-visited-file-modtime]: Add handler.
6603 (with-tramp-gvfs-error-message)
6604 (tramp-gvfs-handle-set-visited-file-modtime)
6605 (tramp-gvfs-fuse-file-name): Remove.
6606 (tramp-gvfs-handle-file-notify-add-watch)
6607 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6608 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6610 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6611 Order alphabetically.
6612 [file-notify-rm-watch ]: Use default Tramp handler.
6613 [executable-find]: Remove private handler.
6614 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6615 `default-directory'.
6616 (tramp-sh-handle-executable-find)
6617 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6618 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6619 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6620 Do not use `format' in `tramp-message'.
6622 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6623 [file-notify-rm-watch, set-visited-file-modtime]:
6624 [verify-visited-file-modtime]: Add handler.
6625 (tramp-smb-call-winexe): Do not bind `default-directory'.
6627 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6629 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6631 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6633 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6635 (log-view-diff-changeset): Same.
6636 (log-view-diff-common): Call backend command `previous-revision'
6637 to find out the previous revision, in both cases. Swap the
6638 variables `to' and `fr', so that `fr' usually refers to the
6639 earlier revision (Bug#14989).
6641 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6643 * ibuf-ext.el (ibuffer-filter-by-filename):
6644 Make it work with dired buffers too.
6646 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6648 * emacs-lisp/re-builder.el (reb-color-display-p):
6649 * files.el (save-buffers-kill-terminal):
6650 * net/browse-url.el (browse-url):
6651 * server.el (server-save-buffers-kill-terminal):
6652 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6653 Prefer nil to selected-frame for the first arg of frame-parameter.
6655 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6657 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6659 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6661 * minibuffer.el (completion--twq-all): Try and preserve each
6662 completion's case choice (bug#14907).
6664 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6666 * net/network-stream.el (open-network-stream): Mention the new
6667 :nogreeting parameter.
6668 (network-stream-open-starttls): Use the :nogreeting parameter
6671 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6673 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6674 more natural than popping.
6676 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6677 (shr-urlify): Highlight under mouse.
6679 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6681 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6683 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6685 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6688 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6689 point-min==1. Fix search string. Fix parentheses missing.
6691 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6692 assume point-min==1. Fix search string. Fix parentheses missing.
6694 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6696 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6699 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6701 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6702 initial frame is minibuffer-less. (Bug#14841)
6704 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6706 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6709 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6710 (tramp-maybe-open-connection): Use it.
6712 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6714 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6715 minimal set of parameters passed when creating a frame, because
6716 the minibuffer status of a frame cannot be changed later.
6718 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6720 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6721 replace-regexp-in-string and inadvertent omissions in previous change.
6722 (todo-filter-items): Ensure only file names are comma-separated in
6723 name of filtered items buffer.
6725 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6727 * desktop.el: Optionally force offscreen frames back onscreen.
6728 (desktop-restoring-reuses-frames): New option.
6729 (desktop--compute-pos, desktop--move-onscreen): New functions.
6730 (desktop--make-frame): Use desktop--move-onscreen.
6732 2013-07-27 Alan Mackenzie <acm@muc.de>
6734 Fontify a Java generic method as a function.
6735 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6738 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6740 * calendar/todo-mode.el: Add command to rename todo files.
6741 (todo-rename-file): New command.
6742 (todo-key-bindings-t): Add key binding for it. Change the
6743 bindings of todo-filter-regexp-items(-multifile) to use `x'
6744 instead of `r', since the latter is better suited to the new
6747 2013-07-27 Alan Mackenzie <acm@muc.de>
6749 Make Java try-with-resources statement parse properly.
6750 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6751 (c-block-stmt-1-2-key): New language constants/variables.
6752 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6753 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6754 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6755 with c-block-stmt-1-2-key.
6757 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6759 * desktop.el (desktop--make-frame): Apply most frame parameters after
6760 creating the frame to force (partially or totally) offscreen frames to
6761 be restored as such.
6763 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6765 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6768 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6770 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6771 `base' arg of backtrace-frame.
6773 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6775 * simple.el (list-processes): Doc fix.
6777 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6779 * desktop.el (desktop--select-frame):
6780 Try harder to reuse existing frames.
6782 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6784 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6785 (edebug-eval): Use backtrace-eval.
6786 (edebug--display, edebug--recursive-edit): Don't let-bind the
6787 edebug-outer-* vars that keep track of variables we locally let-bind.
6788 (edebug-outside-excursion): Don't restore outside values of locally
6790 (edebug--display): Use user-error.
6791 (cl-lexical-debug, cl-debug-env): Remove.
6793 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6795 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6796 are restored to be sure that they are visible before deleting any
6799 2013-07-26 Matthias Meulien <orontee@gmail.com>
6801 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6802 vc-print-root-log. (Bug#14948)
6804 2013-07-26 Richard Stallman <rms@gnu.org>
6806 Add aliases for encrypting mail.
6807 * epa.el (epa-mail-aliases): New option.
6808 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6809 Bind inhibit-read-only so read-only text doesn't ruin everything.
6810 (epa-mail-default-recipients): New subroutine broken out.
6811 Handle epa-mail-aliases.
6813 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6815 Add support for lexical variables to the debugger's `e' command.
6816 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6817 vars, except for debugger-outer-match-data.
6818 (debugger-frame-number): Move check for "on a function call" from
6819 callers into it. Add `skip-base' argument.
6820 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6821 (debugger-env-macro): Only reset the state stored in non-variables,
6822 i.e. current-buffer and match-data.
6823 (debugger-eval-expression): Rewrite using backtrace-eval.
6824 * subr.el (internal--called-interactively-p--get-frame): Remove.
6825 (called-interactively-p):
6826 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6827 `base' arg of backtrace-frame instead.
6829 2013-07-26 Glenn Morris <rgm@gnu.org>
6831 * align.el (align-regexp): Doc fix. (Bug#14857)
6832 (align-region): Explicit error if subexpression missing/does not match.
6834 * simple.el (global-visual-line-mode):
6835 Do not duplicate the mode lighter. (Bug#14858)
6837 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6839 * window.el (display-buffer): In display-buffer bind
6840 split-window-keep-point to t, bug#14829.
6842 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6844 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6845 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6846 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6847 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6849 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6850 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6852 2013-07-25 Glenn Morris <rgm@gnu.org>
6854 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6856 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6858 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6859 parameter to modify-frame-parameters if the value has not changed;
6860 this is a workaround for bug#14949.
6861 (desktop--make-frame): On cl-delete-if call, check parameter name,
6864 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6866 * vc/vc.el (vc-ignore): New function.
6868 * vc/vc-svn.el (vc-svn-ignore): New function.
6870 * vc/vc-hg.el (vc-hg-ignore): New function.
6872 * vc/vc-git.el (vc-git-ignore): New function.
6874 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6875 (vc-dir-ignore): New function.
6877 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6878 (cvs-append-to-ignore): Move here from pcvs.el.
6880 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6882 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6884 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6886 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6887 (desktop-restore-frames): Warn when deleting an existing frame failed.
6889 2013-07-24 Glenn Morris <rgm@gnu.org>
6891 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6893 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6895 * filenotify.el (file-notify-supported-p):
6896 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6899 * autorevert.el (auto-revert-use-notify):
6900 (auto-revert-notify-add-watch):
6901 * net/tramp.el (tramp-file-name-for-operation):
6902 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6903 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6904 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6905 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6906 Remove `file-notify-supported-p' entry.
6908 2013-07-24 Glenn Morris <rgm@gnu.org>
6910 * printing.el: Replace all uses of deleted ps-windows-system,
6911 ps-lp-system, ps-flatten-list with lpr- versions.
6913 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6915 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6916 checked with memq (bug#14935).
6918 * files.el (revert-buffer-function): Use a non-nil default.
6919 (revert-buffer-preserve-modes): Declare var to
6920 provide access to the `preserve-modes' argument.
6921 (revert-buffer): Let-bind it.
6922 (revert-buffer--default): New function, extracted from revert-buffer.
6924 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6926 * lpr.el: Signal print errors more prominently.
6927 (print-region-function): Don't default to nil.
6928 (lpr-print-region): New function, extracted from print-region-1.
6929 Check lpr's return value and signal an error in case of problem.
6930 (print-region-1): Use it.
6931 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6933 (ps-printer-name): Default to nil.
6934 (ps-printer-name-option): Default to lpr-printer-switch.
6935 (ps-print-region-function): Don't default to nil.
6936 (ps-postscript-code-directory): Simplify default.
6937 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6938 (ps-string-list, ps-eval-switch, ps-flatten-list)
6939 (ps-flatten-list-1): Remove.
6940 (ps-multibyte-buffer): Avoid setq.
6941 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6942 (print-region-function, ps-print-region-function): Don't set them here.
6944 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6946 * ido.el (ido-fractionp):
6947 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6948 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6949 (ido-max-directory-size, ido-max-dir-file-cache)
6950 (ido-decorations): Doc fix.
6952 * ansi-color.el: Fix old URL.
6954 2013-07-23 Michael R. Mauger <michael@mauger.com>
6956 * progmodes/sql.el: Version 3.3
6957 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6958 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6959 (sql-interactive-remove-continuation-prompt): Rewrite, use
6960 functions above. Fix continuation prompt and complete output line
6962 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6963 redirected output buffer.
6964 (sql-mode): Restore deleted code (Bug#13591).
6966 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6968 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6970 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6972 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6974 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6975 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6976 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6978 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6980 * desktop.el (desktop-clear): Simplify; remove useless checks
6981 against invalid buffer names.
6982 (desktop-list*): Use cl-list*.
6983 (desktop-buffer-info, desktop-create-buffer): Simplify.
6985 2013-07-23 Leo Liu <sdl.web@gmail.com>
6987 * bookmark.el (bookmark-make-record): Restore NAME as a default
6990 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6992 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6993 extracted from autoload--insert-text.
6994 (autoload--insert-text): Remove.
6995 (autoload--print-cookie-text): New function, extracted from
6996 autoload--insert-cookie-text.
6997 (autoload--insert-cookie-text): Remove.
6998 (autoload-generate-file-autoloads): Adjust calls accordingly.
7000 * winner.el (winner-hook-installed-p): Remove.
7001 (winner-mode): Simplify accordingly.
7003 * subr.el (add-to-list): Fix compiler-macro when `append' is
7004 not constant. Don't use `cl-member' for the base case.
7006 * progmodes/subword.el: Fix boundary case (bug#13758).
7007 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7009 (subword-backward-regexp): Make it a constant.
7010 (subword-forward-internal): Don't treat a trailing capital as the
7011 beginning of a word.
7013 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7015 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7016 global value of tabulated-list-revert-hook (bug#14930).
7018 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7020 * desktop.el: Require 'cl-lib.
7021 (desktop-before-saving-frames-functions): New hook.
7022 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7023 for frames being saved. Rename from desktop--save-minibuffer-frames.
7024 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7025 Do not save frames with non-nil `desktop-dont-save' parameter.
7026 Filter out deleted frames.
7027 (desktop--find-frame): Use cl-find-if.
7028 (desktop--select-frame): Use cl-(first|second|third) to access values
7030 (desktop--make-frame): Use cl-delete-if.
7031 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7032 (desktop-restore-frames): Use cl-(first|second|third) to access values
7033 of desktop-mini. Look for visible frame at the end, not while
7036 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7037 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7038 Use string-match-p, looking-at-p (bug#14927).
7040 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7042 * desktop.el (desktop-saved-frame-states):
7043 Rename from desktop--saved-states; all users changed.
7044 (desktop-save-frames): Rename from desktop--save-frames.
7045 Do not save state to desktop file.
7046 (desktop-save): Save desktop-saved-frame-states to desktop file
7048 (desktop-restoring-frames-p): New function.
7049 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7050 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7051 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7053 * desktop.el: Correctly restore iconified frames.
7054 (desktop--filter-iconified-position): New function.
7055 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7057 2013-07-20 Glenn Morris <rgm@gnu.org>
7059 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7060 Let `message' do the formatting.
7061 (def-gdb-preempt-display-buffer): Add explicit format.
7063 * image-dired.el (image-dired-track-original-file):
7064 Use with-current-buffer.
7065 (image-dired-track-thumbnail): Use with-current-buffer.
7066 Avoid changing point of wrong window.
7068 * image-dired.el (image-dired-track-original-file):
7069 Avoid changing point of wrong window. (Bug#14909)
7071 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7073 * progmodes/gdb-mi.el (gdb-done-or-error):
7074 Guard against "%" in gdb output. (Bug#14127)
7076 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7078 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7081 * international/mule.el (coding-system-iso-2022-flags): Fix last
7084 2013-07-20 Kenichi Handa <handa@gnu.org>
7086 * international/mule.el (coding-system-iso-2022-flags):
7087 Add `8-bit-level-4'. (Bug#8522)
7089 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7091 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7094 * net/eww.el (eww-process-text-input): Allow inputting when the
7095 point is at the start of the line, as the properties aren't
7098 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7101 2013-07-19 Richard Stallman <rms@gnu.org>
7103 * epa.el (epa-popup-info-window): Doc fix.
7105 * subr.el (split-string): New arg TRIM.
7107 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7109 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7110 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7112 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7114 * filenotify.el (file-notify--library): Rename from
7115 `file-notify-support'. Do not autoload. Adapt all uses.
7116 (file-notify-supported-p): New defun.
7118 * autorevert.el (auto-revert-use-notify):
7119 Use `file-notify-supported-p' instead of `file-notify-support'.
7121 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7123 * net/tramp.el (tramp-file-name-for-operation):
7124 Add `file-notify-supported-p'.
7126 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7128 (tramp-sh-file-name-handler-alist): Add it as handler for
7129 `file-notify-supported-p '.
7131 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7132 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7133 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7134 Add `ignore' as handler for `file-notify-*' functions.
7136 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7138 * simple.el (line-move-partial, line-move): Don't start vscroll or
7139 scroll-up if the current line is not taller than the window.
7142 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7144 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7145 highlight question marks in the method names as strings.
7146 (ruby-block-beg-keywords): Inline.
7147 (ruby-font-lock-keyword-beg-re): Extract from
7148 `ruby-font-lock-keywords'.
7150 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7152 * frame.el (blink-cursor-blinks): New defcustom.
7153 (blink-cursor-blinks-done): New defvar.
7154 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7155 (blink-cursor-timer-function): Check if number of blinks has been
7157 (blink-cursor-suspend, blink-cursor-check): New defuns.
7159 2013-07-15 Glenn Morris <rgm@gnu.org>
7161 * edmacro.el (edmacro-format-keys): Fix previous change.
7163 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7165 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7166 The hack didn't work outside English locales anyway.
7168 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7170 * simple.el (define-alternatives): Rename from alternatives-define,
7171 per RMS' suggestion.
7173 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7175 * desktop.el (desktop-restore-frames): Change default to t.
7176 (desktop-restore-in-current-display): Now offer more options.
7177 (desktop-restoring-reuses-frames): New customization option.
7178 (desktop--saved-states): Doc fix.
7179 (desktop-filter-parameters-alist): New variable, renamed and expanded
7180 from desktop--excluded-frame-parameters.
7181 (desktop--target-display): New variable.
7182 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7183 (desktop--filter-tty*, desktop--filter-*-color)
7184 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7185 (desktop--filter-save-desktop-parm)
7186 (desktop-restore-in-original-display-p): New functions.
7187 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7188 (desktop--save-minibuffer-frames): New function, inspired by a similar
7189 function from Martin Rudalics.
7190 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7191 (desktop--restore-in-this-display-p): Remove.
7192 (desktop--find-frame): Rename from desktop--find-frame-in-display
7193 and add predicate argument.
7194 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7195 (desktop--reuse-list): New variable.
7196 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7198 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7200 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7202 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7204 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7206 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7207 Highlight conversion methods on Kernel.
7209 2013-07-13 Alan Mackenzie <acm@muc.de>
7211 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7212 and comment it out. This out-commenting enables certain C++
7213 declarations to be parsed correctly.
7215 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7217 * international/mule.el (define-coding-system): Doc fix.
7219 * simple.el (default-font-height): Don't call font-info if the
7220 frame's default font didn't change since the frame was created.
7223 2013-07-13 Leo Liu <sdl.web@gmail.com>
7225 * ido.el (ido-read-file-name): Guard against non-symbol value.
7227 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7229 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7232 2013-07-13 Leo Liu <sdl.web@gmail.com>
7234 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7235 ido-set-matches call. (Bug#6852)
7237 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7239 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7240 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7242 (ruby-font-lock-keywords): Distinguish calls to functions with
7243 module-like names from module references. Highlight character
7246 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7248 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7249 (gdb-send): Handle continued commands. (Bug#14847)
7251 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7253 * desktop.el (desktop--v2s): Remove unused local variable.
7254 (desktop-save-buffer): Make defvar-local; adjust docstring.
7255 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7256 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7258 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7260 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7262 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7264 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7267 2013-07-12 Glenn Morris <rgm@gnu.org>
7269 * doc-view.el: Require cl-lib at runtime too.
7270 (doc-view-remove-if): Remove.
7271 (doc-view-search-next-match, doc-view-search-previous-match):
7274 * edmacro.el: Require cl-lib at runtime too.
7275 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7276 (edmacro-mismatch, edmacro-subseq): Remove.
7278 * shadowfile.el: Require cl-lib.
7279 (shadow-remove-if): Remove.
7280 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7283 * wid-edit.el: Require cl-lib.
7284 (widget-choose): Use cl-remove-if.
7285 (widget-remove-if): Remove.
7287 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7288 (ebrowse-delete-if-not): Remove.
7289 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7290 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7291 Use cl-delete-if-not.
7293 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7295 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7296 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7298 2013-07-12 Leo Liu <sdl.web@gmail.com>
7300 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7302 2013-07-11 Glenn Morris <rgm@gnu.org>
7304 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7305 (edebug-gensym-index, edebug-gensym):
7306 Remove reimplementation of cl-gensym.
7307 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7309 * thumbs.el: Require cl-lib at run-time too.
7310 (thumbs-gensym-counter, thumbs-gensym):
7311 Remove reimplementation of cl-gensym.
7312 (thumbs-temp-file): Use cl-gensym.
7314 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7315 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7316 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7317 (ert--union, ert--gensym-counter, ert--gensym-counter)
7318 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7319 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7320 (ert-make-test-unbound, ert--expand-should-1)
7321 (ert--expand-should, ert--should-error-handle-error)
7322 (should-error, ert--explain-equal-rec)
7323 (ert--plist-difference-explanation, ert-select-tests)
7324 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7325 Use cl-lib functions rather than reimplementations.
7327 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7329 * net/tramp.el (tramp-methods): Extend docstring.
7330 (tramp-connection-timeout): New defcustom.
7331 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7332 (with-tramp-progress-reporter): Simplify.
7333 (tramp-process-actions): Improve messages.
7335 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7336 * net/tramp-sh.el (tramp-maybe-open-connection):
7337 Use `tramp-connection-timeout'.
7338 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7341 2013-07-11 Leo Liu <sdl.web@gmail.com>
7343 * ido.el (ido-read-file-name): Conform to the requirements of
7344 read-file-name. (Bug#11861)
7345 (ido-read-directory-name): Conform to the requirements of
7346 read-directory-name.
7348 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7350 * subr.el (delay-warning): New function.
7352 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7354 * simple.el (default-line-height): New function.
7355 (line-move-partial, line-move): Use it instead of computing the
7357 (line-move-partial): Always compute ROWH. If the last line is
7358 partially-visible, but its text is completely visible, allow
7359 cursor to enter such a partially-visible line.
7361 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7363 Improve error messages. (Bug#14808)
7365 * net/tramp.el (tramp-current-connection): New defvar, moved from
7367 (tramp-message-show-progress-reporter-message): Remove, not
7369 (tramp-error-with-buffer): Show message in minibuffer.
7370 Discard input before waiting. Reset connection timestamp.
7371 (with-tramp-progress-reporter): Improve messages.
7372 (tramp-process-actions): Use progress reporter. Delete process in
7373 case of error. Improve messages.
7375 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7376 Call `tramp-error-with-buffer' with vector and buffer.
7377 (tramp-current-connection): Remove.
7378 (tramp-maybe-open-connection): The car of
7379 `tramp-current-connection' are the first 3 slots of the vector.
7381 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7383 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7384 inside continued strings.
7386 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7388 Timestamp fixes for undo (Bug#14824).
7389 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7391 2013-07-10 Leo Liu <sdl.web@gmail.com>
7393 * files.el (require-final-newline): Allow safe local value.
7396 2013-07-09 Leo Liu <sdl.web@gmail.com>
7398 * ido.el (ido-read-directory-name): Handle fallback.
7399 (ido-read-file-name): Update DIR to ido-current-directory.
7401 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7403 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7405 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7406 "autoload". Remove "warn lower camel case" section, previously
7407 commented out. Highlight negation char. Do not highlight the
7408 target in singleton method definitions.
7410 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7412 * faces.el (tty-setup-hook): Declare the hook.
7414 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7415 and detect when a guard/pred depends on local vars (bug#14773).
7416 (pcase--u1): Adjust caller.
7418 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7420 * simple.el (line-move-partial, line-move): Account for
7422 (line-move-partial): Avoid setting vscroll when the last
7423 partially-visible line in window is of default height.
7425 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7427 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7430 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7432 * subr.el (read-quoted-char): Remove unused local variable `char'.
7434 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7436 * ediff.el (ediff-version): Version update.
7437 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7438 (ediff-merge-with-ancestor-command, ediff-directories-command)
7439 (ediff-directories3-command, ediff-merge-directories-command)
7440 (ediff-merge-directories-with-ancestor-command): New functions.
7441 All are command-line interfaces to ediff: to facilitate calling
7442 Emacs with the appropriate ediff functions invoked.
7444 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7445 (viper-save-kill-buffer): Check if buffer is modified.
7447 * viper.el (viper-version): Version update.
7448 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7450 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7452 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7453 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7454 (viper-intercept-ESC-key): Simplify.
7455 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7456 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7457 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7458 (viper-setup-ESC-to-escape): New functions.
7459 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7460 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7462 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7464 * simple.el (default-font-height, window-screen-lines):
7466 (line-move, line-move-partial): Use them instead of
7467 frame-char-height and window-text-height. This makes scrolling
7468 text smoother when the buffer's default face uses a font that is
7469 different from the frame's default font.
7471 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7473 * files.el (write-file): Do not display confirm dialog for NS,
7474 it does its own dialog, which can't be canceled (Bug#14578).
7476 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7478 * simple.el (line-move-partial): Adjust the row returned by
7479 posn-at-point for the current window-vscroll. (Bug#14567)
7481 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7483 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7484 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7487 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7489 * window.el (window-state-put-stale-windows): New variable.
7490 (window--state-put-2): Save list of windows without matching buffer.
7491 (window-state-put): Remove "bufferless" windows if possible.
7493 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7495 * simple.el (alternatives-define): Remove leftover :group keyword.
7498 2013-07-06 Leo Liu <sdl.web@gmail.com>
7500 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7501 (ido-enable-virtual-buffers): New variable.
7502 (ido-buffer-internal, ido-toggle-virtual-buffers)
7503 (ido-make-buffer-list): Use it.
7504 (ido-exhibit): Support turning on and off virtual buffers
7507 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7509 * simple.el (alternatives-define): New macro.
7511 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7513 * subr.el (read-quoted-char): Use read-key.
7514 (sit-for): Let read-event decode tty input (bug#14782).
7516 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7518 * calendar/todo-mode.el: Add handling of file deletion, both by
7519 mode command and externally. Fix various related bugs.
7520 Clarify Commentary and improve some documentation strings and code.
7521 (todo-delete-file): New command.
7522 (todo-check-file): New function.
7523 (todo-show): Handle external deletion of the file we're trying to
7524 show (bug#14688). Replace called-interactively-p by an optional
7525 prefix argument to avoid problematic interaction with catch form
7526 when byte compiled (bug#14702).
7527 (todo-quit): Handle external deletion of the archive's todo file.
7528 Make sure the buffer that was visiting the archive file is still
7529 live before trying to bury it.
7530 (todo-category-completions): Handle external deletion of any
7531 category completion files.
7532 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7533 of todo files, in case of external deletion.
7534 (todo-add-file): Replace unnecessary setq by let-binding.
7535 (todo-find-archive): Check whether there are any archives.
7536 Replace unnecessary setq by let-binding.
7537 (todo-archive-done-item): Use find-file-noselect to get the
7538 archive buffer whether or not the archive already exists.
7539 Remove superfluous code. Use file size instead of buffer-file-name to
7540 check if the archive is new; if it is, update list of archives.
7541 (todo-default-todo-file): Allow nil to be a valid value for when
7542 there are no todo files.
7543 (todo-reevaluate-default-file-defcustom): Use corrected definition
7544 of todo-default-todo-file.
7545 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7546 (todo-delete-category, todo-show-categories-table)
7547 (todo-category-number): Clarify comment.
7548 (todo-filter-items): Clarify documentation string.
7549 (todo-show-current-file, todo-display-as-todo-file)
7550 (todo-reset-and-enable-done-separator): Tweak documentation string.
7551 (todo-done-separator): Make separator length window-width, since
7552 bug#2749 is now fixed.
7554 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7556 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7557 Support both "gvfs-monitor-dir" and "inotifywait".
7558 (tramp-sh-file-inotifywait-process-filter): Rename from
7559 `tramp-sh-file-notify-process-filter'.
7560 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7561 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7563 2013-07-05 Leo Liu <sdl.web@gmail.com>
7565 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7567 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7569 * frame.el (display-pixel-height, display-pixel-width)
7570 (display-mm-height, display-mm-width): Mention behavior on
7571 multi-monitor setups in docstrings.
7572 (w32-display-monitor-attributes-list): Declare function.
7573 (display-monitor-attributes-list): Use it.
7575 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7577 * filenotify.el: New package.
7579 * autorevert.el (top): Require filenotify.el.
7580 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7582 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7583 (auto-revert-notify-handler): Use `file-notify-*' functions.
7585 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7587 * net/tramp.el (tramp-file-name-for-operation):
7588 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7590 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7591 for `file-notify-add-watch' and `file-notify-rm-watch'.
7592 (tramp-process-sentinel): Improve trace.
7593 (tramp-sh-handle-file-notify-add-watch)
7594 (tramp-sh-file-notify-process-filter)
7595 (tramp-sh-handle-file-notify-rm-watch)
7596 (tramp-get-remote-inotifywait): New defuns.
7598 2013-07-03 Juri Linkov <juri@jurta.org>
7600 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7601 call of `occur-read-primary-args' to interactive spec.
7603 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7604 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7606 2013-07-03 Matthias Meulien <orontee@gmail.com>
7608 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7609 `Buffer-menu-multi-occur'. Add it to the menu.
7610 (Buffer-menu-mode): Document it in docstring.
7611 (Buffer-menu-multi-occur): New command. (Bug#14673)
7613 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7615 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7616 keywords and built-ins.
7618 2013-07-03 Glenn Morris <rgm@gnu.org>
7620 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7622 Make info-xref checks case-sensitive by default
7623 * info.el (Info-find-node, Info-find-in-tag-table)
7624 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7625 Add option for exact case matching of nodes.
7626 * info-xref.el (info-xref): New custom group.
7627 (info-xref-case-fold): New option.
7628 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7630 2013-07-03 Leo Liu <sdl.web@gmail.com>
7632 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7634 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7636 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7637 middle of block statement initially, lower the depth. Remove
7638 FIXME comment, not longer valid. Remove middle of block statement
7639 detection, no need to do that anymore since we've been using
7640 `ruby-parse-region' here.
7642 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7644 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7646 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7648 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7650 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7652 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7653 (desktop-restore-in-current-display): New customization option.
7654 (desktop--excluded-frame-parameters): Add `font'.
7655 (desktop--save-frames): Rename from desktop--save-windows.
7656 (desktop--restore-in-this-display-p): New function.
7657 (desktop--make-full-frame): Remove unwanted width/height from
7658 full(width|height) frames.
7659 (desktop--restore-frames): Rename from desktop--restore-windows.
7660 Obey desktop-restore-current-display. Do not delete old frames or
7661 select a new frame unless we were able to restore at least one frame.
7663 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7665 * files.el (find-file-noselect): Simplify conditional expression.
7667 * textmodes/remember.el (remember-append-to-file):
7668 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7670 Add `remember-notes' function to store random notes across Emacs
7672 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7673 notes buffer (if any).
7674 (remember-notes): New command.
7675 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7676 New defcustoms for the `remember-notes' function.
7677 (remember-notes-save-and-bury-buffer): New command.
7678 (remember-notes-mode-map): New variable.
7679 (remember-mode): New minor mode.
7680 (remember-notes--kill-buffer-query): New function.
7681 * startup.el (initial-buffer-choice): Add notes to custom type.
7683 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7685 * bindings.el (right-char, left-char): Don't call sit-for, this is
7686 no longer needed. Use arithmetic comparison only for numerical
7689 * international/mule-cmds.el (select-safe-coding-system):
7690 Handle the case of FROM being a string correctly. (Bug#14755)
7692 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7694 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7695 progression on degenerate tables.
7696 (shr-rescale-image): ImageMagick animated images currently don't work.
7698 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7700 Some fixes and improvements for desktop frame restoration.
7701 It is still experimental and disabled by default.
7702 * desktop.el (desktop--save-windows): Put the selected frame at
7703 the head of the list.
7704 (desktop--make-full-frame): New function.
7705 (desktop--restore-windows): Try to re-select the frame that was
7706 selected upon saving. Do not abort if some frames fail to restore,
7707 just show an error message and continue. Set up maximized frames
7708 so they have default non-maximized dimensions.
7710 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7712 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7713 Don't start heredoc inside a string or comment.
7715 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7717 * bindings.el (visual-order-cursor-movement): New defcustom.
7718 (right-char, left-char): Provide visual-order cursor motion by
7719 calling move-point-visually. Update the doc strings.
7721 2013-06-28 Kenichi Handa <handa@gnu.org>
7723 * international/mule.el (define-coding-system): New coding system
7724 properties :inhibit-null-byte-detection,
7725 :inhibit-iso-escape-detection, and :prefer-utf-8.
7726 (set-buffer-file-coding-system): If :charset-list property of
7727 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7728 appropriate for setting.
7730 * international/mule-cmds.el (select-safe-coding-system):
7731 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7732 multibyte characters, return utf-8 (or one of its siblings).
7734 * international/mule-conf.el (prefer-utf-8): New coding system.
7735 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7738 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7740 * net/shr.el (shr-render-region): New function.
7742 * net/eww.el: Autoload `eww-browse-url'.
7744 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7746 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7747 Adapt to `package-desc-version' being a list.
7748 Use `package--ac-desc-version' to retrieve version from a package
7751 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7753 New experimental feature to save&restore window and frame setup.
7754 * desktop.el (desktop-save-windows): New defcustom.
7755 (desktop--saved-states): New var.
7756 (desktop--excluded-frame-parameters): New defconst.
7757 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7758 (desktop--restore-windows, desktop--save-windows): New functions.
7759 (desktop-save): Call `desktop--save-windows'.
7760 (desktop-read): Call `desktop--restore-windows'.
7762 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7764 * net/shr.el (add-face-text-property): Remove compat definition.
7766 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7768 * info.el (Info-try-follow-nearest-node): Move search for footnote
7769 above search for node name to prevent missing a footnote (bug#14717).
7771 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7773 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7775 2013-06-27 Leo Liu <sdl.web@gmail.com>
7777 * net/eww.el (eww-read-bookmarks): Check file size.
7779 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7781 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7782 advice--pending if newdef is nil or an autoload (bug#13820).
7783 (advice-mapc): New function.
7785 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7787 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7789 (eww-mode-map): Add a menu bar.
7790 (eww-add-bookmark): New command.
7791 (eww-bookmark-mode): New mode and commands.
7792 (eww-add-bookmark): Remove newlines from the title.
7793 (eww-bookmark-browse): Don't bug out if it's the only window.
7795 2013-06-26 Glenn Morris <rgm@gnu.org>
7797 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7798 (hfy-size): Handle ttys. (Bug#14668)
7800 * info-xref.el: Update for Texinfo 5 change in *note format.
7801 (info-xref-node-re, info-xref-note-re): New constants.
7802 (info-xref-check-buffer): Use info-xref-note-re.
7804 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7806 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7808 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7809 nil terminate the loop (bug#14718).
7811 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7813 * net/eww.el: Rework history traversal. When going forward/back,
7814 put these actions into the history, too, so that they can be
7816 (eww-render): Move the history reset to the correct buffer.
7818 2013-06-25 Juri Linkov <juri@jurta.org>
7820 * files-x.el (modify-dir-local-variable): Change the header comment
7821 in the file with directory local variables. (Bug#14692)
7823 * files-x.el (read-file-local-variable-value): Add `default'.
7826 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7828 * net/eww.el (eww-make-unique-file-name): Create a unique file
7829 name before saving to entering `y' accidentally asynchronously.
7831 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7833 * net/eww.el (eww-download): New command and keystroke.
7835 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7837 * net/eww.el (eww-copy-page-url): Change name of command.
7839 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7840 be more consistent with Info and dired.
7842 * net/eww.el (eww-mode-map): Ditto.
7844 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7846 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7847 packages from archives.
7848 (package-archive-contents): Change format; include obsolete packages.
7849 (package-desc): Use `dir' to mark builtin packages.
7850 (package--from-builtin): Set the `dir' field to `builtin'.
7851 (generated-autoload-file, version-control): Declare.
7852 (package-compute-transaction): Change first arg and return value to be
7853 lists of package-descs. Adjust to new package-archive-contents format.
7854 (package--add-to-archive-contents): Adjust to new
7855 package-archive-contents format.
7856 (package-download-transaction): Arg is now a list of package-descs.
7857 (package-install): If `pkg' is a package name, pass it as
7858 a requirement, so it is subject to the usual (e.g. disabled) checks.
7859 (describe-package): Accept package-desc as well.
7860 (describe-package-1): Describe a specific package-desc. Add links to
7861 other package-descs for the same package name.
7862 (package-menu-describe-package): Pass the actual package-desc.
7863 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7865 (package-desc-status): New function.
7866 (package-menu--refresh): New function, extracted
7867 from package-menu--generate.
7868 (package-menu--generate): Use it.
7869 (package-delete): Update package-alist.
7870 (package-menu-execute): Don't call package-initialize.
7872 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7873 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7874 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7875 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7876 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7877 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7879 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7881 * window.el (window--state-get-1): Workaround for bug#14527.
7882 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7884 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7886 * net/eww.el (eww-back-url): Implement the history by stashing all
7887 the data into a list.
7888 (eww-forward-url): Allow going forward in the history, too.
7890 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7892 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7893 for values and use read--expression for expressions (bug#14710).
7894 (read-file-local-variable): Avoid setq.
7895 (read-file-local-variable-mode): Use minor-mode-list.
7897 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7899 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7902 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7904 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7905 Update imenu-support when dialect changes.
7907 2013-06-25 Leo Liu <sdl.web@gmail.com>
7909 * ido.el (ido-read-internal): Allow forward slash on windows.
7911 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7913 * net/eww.el (eww): Start of strings is \\`, not ^.
7915 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7917 * net/shr.el (shr-browse-url): Fix interactive spec.
7919 * net/eww.el (eww): Add a trailing slash to domain names.
7921 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7923 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7925 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7927 * net/shr.el (shr-browse-url): Use an external browser if given a
7930 * net/eww.el (eww-external-browser): Move to shr.
7932 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7934 * net/eww.el (eww): Work more correctly for file: URLs.
7935 (eww-detect-charset): Allow quoted charsets.
7936 (eww-yank-page-url): New command and keystroke.
7938 2013-06-24 Daiki Ueno <ueno@gnu.org>
7940 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7941 file name of gpg executable.
7942 (epg-context-program): New function.
7943 (epg-context-home-directory): New function.
7944 (epg-context-set-program): New function.
7945 (epg-context-set-home-directory): New function.
7946 (epg--start): Use `epg-context-program' instead of
7948 (epg--list-keys-1): Likewise.
7950 2013-06-24 Leo Liu <sdl.web@gmail.com>
7952 * ido.el (ido-read-internal): Fix bug#14620.
7954 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7956 * faces.el (face-documentation): Simplify.
7957 (read-face-attribute, tty-find-type, x-resolve-font-name):
7958 Use `string-match-p'.
7959 (list-faces-display): Use `string-match-p'. Simplify.
7960 (face-spec-recalc): Check face to avoid face alias loops.
7961 (read-color): Use `string-match-p' and non-capturing parenthesis.
7963 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7965 * net/shr.el (shr-rescale-image): Use the new
7966 :max-width/:max-height functionality.
7968 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7970 * net/eww.el (eww-search-prefix): New variable.
7972 (eww-external-browser): New variable.
7973 (eww-mode-map): New keystroke.
7974 (eww-browse-with-external-browser): New command.
7976 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7978 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7980 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7981 Don't skip aligning the next header field when padding is 0;
7982 otherwise, field width is not respected unless the title is as
7985 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7987 * emacs-lisp/package.el (package-el-version): Remove.
7988 (package-process-define-package): Fix inf-loop.
7989 (package-install): Allow symbols as arguments again.
7991 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7993 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7994 add some more keyword-like methods.
7995 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7997 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7999 * bs.el (bs-buffer-show-mark): Make defvar-local.
8000 (bs-mode): Use setq-local.
8002 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8003 (emacs-lock--try-unlocking): Make defvar-local.
8005 2013-06-22 Glenn Morris <rgm@gnu.org>
8007 * play/cookie1.el (cookie-apropos): Minor simplification.
8009 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8011 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8013 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8014 `regexp-opt', it breaks the build during dumping.
8016 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8018 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8019 Highlight keyword-like methods on Kernel and Module with
8020 font-lock-builtin-face.
8021 (auto-mode-alist): Consolidate different entries into one regexp
8022 and add more *file-s.
8024 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8026 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8028 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8029 (diary-entry): Use it in the action of this button type instead of
8032 * calendar/todo-mode.el: New version.
8033 (todo-add-category): Append new category to end of file and give
8034 it the highest number, instead of putting it at the beginning and
8035 giving it 0. Incorporate noninteractive functionality.
8036 (todo-forward-category): Adapt to 1-based category numbering.
8037 Allow skipping over archived categories.
8038 (todo-backward-category): Derive from todo-forward-category.
8039 (todo-backward-item, todo-forward-item): Make noninteractive and
8040 delegate interactive part to new commands. Make sensitive to done items.
8041 (todo-categories): Make value an alist of category names and
8042 vectors of item counts.
8043 (todo-category-beg): Make a defconst.
8044 (todo-category-number): Use 1 instead of 0 as initial value.
8045 (todo-category-select): Make sensitive to overlays, optional item
8046 highlighting and done items.
8047 (todo-delete-item): Make sensitive to overlays and marked and done items.
8048 (todo-edit-item): Make sensitive to overlays and editing of
8049 date/time header optional. Add format checks.
8050 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8051 no-op if point is not on an item. Advertise using todo-edit-quit.
8052 (todo-edit-mode): Make sensitive to new format, font-locking, and
8053 multiple todo files.
8054 (todo-insert-item, todo-insert-item-here): Derive from
8055 todo-basic-insert-item and extend functionality.
8056 (todo-item-end, todo-item-start): Make sensitive to done items.
8057 (todo-item-string): Don't return text properties. Restore point.
8058 (todo-jump-to-category): Make sensitive to multiple todo files and
8059 todo archives. Use extended category completion.
8060 (todo-lower-item, todo-raise-item): Rename to *-priority and
8061 derive from todo-set-item-priority.
8062 (todo-mode): Derive from special-mode. Make sensitive to new
8063 format, font-locking and multiple todo files. Make read-only.
8064 (todo-mode-map): Don't suppress digit keys, so they can supply
8065 prefix arguments. Add many new key bindings.
8066 (todo-prefix): Insert as an overlay instead of file text.
8067 Change semantics from diary date expression to purely visual mark.
8068 (todo-print): Rename to todo-print-buffer. Make buffer display
8069 features printable. Remove option to restrict number of items
8070 printed. Add option to print to file.
8071 (todo-print-function): Rename to todo-print-buffer-function.
8072 (todo-quit): Extend to handle exiting new todo modes.
8073 (todo-remove-item): Make sensitive to overlays.
8074 (todo-save): Extend to buffers of filtered items.
8075 (todo-show): Make sensitive to done items, multiple todo files and
8076 new todo modes. Offer to convert legacy todo file before creating
8077 first new todo file.
8078 (todo-show-priorities): Rename to todo-top-priorities.
8079 Change semantics of value 0.
8080 (todo-top-priorities): Rename to todo-filter-top-priorities,
8081 derive from todo-filter-items and extend functionality.
8082 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8083 and extend functionality to other types of filtered items.
8084 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8085 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8086 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8087 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8088 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8089 (todo-edit-mode-hook, todo-entry-prefix-function)
8090 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8091 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8092 (todo-initials, todo-insert-threshold, todo-item-string-start)
8093 (todo-line-string, todo-menu, todo-mode-hook)
8094 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8095 (todo-print-priorities, todo-remove-separator)
8096 (todo-save-top-priorities-too, todo-string-count-lines)
8097 (todo-string-multiline-p, todo-time-string-format)
8098 (todo-tmp-buffer-name): Remove.
8099 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8100 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8101 (todo-edit-category-diary-inclusion)
8102 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8103 (todo-edit-file, todo-edit-item-date-day)
8104 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8105 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8106 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8107 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8108 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8109 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8110 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8111 (todo-filter-top-priorities-multifile, todo-find-archive)
8112 (todo-find-filtered-items-file, todo-go-to-source-item)
8113 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8114 (todo-jump-to-archive-category, todo-lower-category)
8115 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8116 (todo-move-category, todo-move-item, todo-next-button)
8117 (todo-next-item, todo-padded-string, todo-powerset)
8118 (todo-previous-button, todo-previous-item)
8119 (todo-print-buffer-to-file, todo-raise-category)
8120 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8121 (todo-set-category-number, todo-set-item-priority)
8122 (todo-set-top-priorities-in-category)
8123 (todo-set-top-priorities-in-file, todo-show-categories-table)
8124 (todo-sort-categories-alphabetically-or-numerically)
8125 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8126 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8127 (todo-toggle-item-header, todo-toggle-item-highlighting)
8128 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8129 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8130 (todo-unarchive-items, todo-unmark-category): New commands.
8131 (todo-absolute-file-name, todo-add-to-buffer-list)
8132 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8133 (todo-basic-insert-item, todo-category-completions)
8134 (todo-category-number, todo-category-string-matcher-1)
8135 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8136 (todo-check-format, todo-clear-matches)
8137 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8138 (todo-current-category, todo-date-string-matcher)
8139 (todo-define-insertion-command, todo-diary-expired-matcher)
8140 (todo-diary-goto-entry, todo-diary-item-p)
8141 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8142 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8143 (todo-done-item-section-p, todo-done-separator)
8144 (todo-done-string-matcher, todo-files, todo-filter-items)
8145 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8146 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8147 (todo-insert-category-line, todo-insert-item-from-calendar)
8148 (todo-insert-sort-button, todo-insert-with-overlays)
8149 (todo-insertion-command-name, todo-insertion-key-bindings)
8150 (todo-label-to-key, todo-longest-category-name-length)
8151 (todo-make-categories-list, todo-mode-external-set)
8152 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8153 (todo-modes-set-3, todo-multiple-filter-files)
8154 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8155 (todo-read-category, todo-read-date, todo-read-dayname)
8156 (todo-read-file-name, todo-read-time)
8157 (todo-reevaluate-category-completions-files-defcustom)
8158 (todo-reevaluate-default-file-defcustom)
8159 (todo-reevaluate-filelist-defcustoms)
8160 (todo-reevaluate-filter-files-defcustom)
8161 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8162 (todo-reset-done-separator, todo-reset-done-separator-string)
8163 (todo-reset-done-string, todo-reset-global-current-todo-file)
8164 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8165 (todo-reset-prefix, todo-set-categories)
8166 (todo-set-date-from-calendar, todo-set-show-current-file)
8167 (todo-set-top-priorities, todo-short-file-name)
8168 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8169 (todo-total-item-counts, todo-update-buffer-list)
8170 (todo-update-categories-display, todo-update-categories-sexp)
8171 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8173 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8175 (todo-categories, todo-display, todo-edit, todo-faces)
8176 (todo-filtered): New defgroups.
8177 (todo-archived-only, todo-button, todo-category-string, todo-date)
8178 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8179 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8180 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8181 (todo-add-item-if-new-category, todo-always-add-time-string)
8182 (todo-categories-align, todo-categories-archived-label)
8183 (todo-categories-category-label, todo-categories-diary-label)
8184 (todo-categories-done-label, todo-categories-number-separator)
8185 (todo-categories-todo-label, todo-categories-totals-label)
8186 (todo-category-completions-files, todo-completion-ignore-case)
8187 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8188 (todo-done-separator-string, todo-done-string)
8189 (todo-files-function, todo-filter-done-items, todo-filter-files)
8190 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8191 (todo-initial-category, todo-initial-file, todo-item-mark)
8192 (todo-legacy-date-time-regexp, todo-mode-line-function)
8193 (todo-nondiary-marker, todo-number-prefix)
8194 (todo-print-buffer-function, todo-show-current-file)
8195 (todo-show-done-only, todo-show-first, todo-show-with-done)
8196 (todo-skip-archived-categories, todo-top-priorities-overrides)
8197 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8198 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8200 (todo-category-done, todo-date-pattern, todo-date-string-start)
8201 (todo-diary-items-buffer, todo-done-string-start)
8202 (todo-filtered-items-buffer, todo-item-start)
8203 (todo-month-abbrev-array, todo-month-name-array)
8204 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8205 (todo-top-priorities-buffer): New defconsts.
8206 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8207 (todo-categories-with-marks, todo-category-string-face)
8208 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8209 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8210 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8211 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8212 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8213 (todo-font-lock-keywords, todo-global-current-todo-file)
8214 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8215 (todo-insertion-commands-args)
8216 (todo-insertion-commands-args-genlist)
8217 (todo-insertion-commands-names, todo-insertion-map)
8218 (todo-key-bindings-t, todo-key-bindings-t+a)
8219 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8220 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8221 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8222 (todo-visited): New variables.
8224 2013-06-21 Glenn Morris <rgm@gnu.org>
8226 * play/cookie1.el (cookie-apropos): Add optional display argument.
8227 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8228 (psychoanalyze-pinhead): Use cookie-doctor.
8230 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8232 * emacs-lisp/package.el (tar-get-file-descriptor)
8233 (tar--extract): Declare.
8235 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8237 Extend flymake's warning predicate to be a function (bug#14217).
8238 * progmodes/flymake.el (flymake-warning-predicate): New.
8239 (flymake-parse-line): Use it.
8240 (flymake-warning-re): Make obsolete alias to
8241 `flymake-warning-predicate'.
8243 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8245 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8246 (package-obsolete-list): Remove.
8247 (package-activate): Remove min-version argument. Add `force' argument.
8248 Adjust to new package-alist format.
8249 (package-mark-obsolete): Remove.
8250 (package-unpack): Force reload of the package's autoloads.
8251 (package-installed-p): Check builtins if the installed package is not
8253 (package-initialize): Don't reset package-obsolete-list.
8254 Don't specify which package version to activate.
8255 (package-process-define-package, describe-package-1)
8256 (package-menu--generate): Adjust to new package-alist format.
8258 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8260 * allout-widgets.el (allout-widgets-mode-off)
8261 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8262 (allout-widgets-post-command-business)
8263 (allout-widgets-after-copy-or-kill-function)
8264 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8265 (allout-decorate-item-and-context)
8266 (allout-graphics-modification-handler): Fix typos in docstrings.
8267 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8269 * cmuscheme.el (scheme-start-file): Doc fix.
8270 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8271 (scheme-input-filter): Use `string-match-p'.
8273 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8275 * dired-x.el: Use Dired consistently in docstrings.
8277 * dired.el: Use Dired consistently in docstrings.
8278 (dired-readin, dired-mode): Use `setq-local'.
8279 (dired-switches-alist): Make defvar-local.
8280 (dired-buffers-for-dir): Use `zerop'.
8281 (dired-safe-switches-p, dired-switches-escape-p)
8282 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8283 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8284 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8285 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8286 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8287 (dired-toggle-marks, dired-mark-files-containing-regexp)
8288 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8289 (dired-flag-auto-save-files, dired-flag-backup-files):
8291 (dired-mark-files-regexp, dired-build-subdir-alist):
8292 Use `string-match-p', `looking-at-p'.
8294 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8295 (direct-print-region-helper): Use `string-match-p'.
8297 2013-06-21 Leo Liu <sdl.web@gmail.com>
8299 * comint.el (comint-redirect-results-list-from-process):
8302 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8304 * net/eww.el (eww-update-header-line-format): Quote % characters.
8306 2013-06-21 Glenn Morris <rgm@gnu.org>
8308 * play/cookie1.el (cookie): New custom group.
8309 (cookie-file): New option.
8310 (cookie-check-file): New function.
8311 (cookie): Make it interactive. Make start and end messages optional.
8312 Interactively, display the result. Default to cookie-file.
8313 (cookie-insert): Default to cookie-file.
8314 (cookie-snarf): Make start and end messages optional.
8315 Default to cookie-file. Use with-temp-buffer.
8316 (cookie-read): Rename from read-cookie.
8317 Make start and end messages optional. Default to cookie-file.
8318 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8320 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8321 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8323 2013-06-21 Leo Liu <sdl.web@gmail.com>
8325 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8327 2013-06-21 Glenn Morris <rgm@gnu.org>
8329 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8331 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8332 Daniel Hackney <dan@haxney.org>
8334 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8335 Consolidate the single-file vs tarball code.
8336 (package-desc-suffix): New function.
8337 (package-desc-full-name): Don't bother inlining it.
8338 (package-load-descriptor): Return the new package-desc.
8339 (package-mark-obsolete): Remove unused arg `package'.
8340 (package-unpack): Make it work for single files as well.
8341 Make it update package-alist.
8342 (package--make-autoloads-and-stuff): Rename from
8343 package--make-autoloads-and-compile. Don't compile any more.
8344 (package--compile): New function.
8345 (package-generate-description-file): New function, extracted from
8346 package-unpack-single.
8347 (package-unpack-single): Remove.
8348 (package--with-work-buffer): Add indentation and debugging info.
8349 (package-download-single): Remove.
8350 (package-install-from-archive): Rename from package-download-tar, make
8351 it take a pkg-desc, and make it work for single files as well.
8352 (package-download-transaction): Simplify.
8353 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8354 external tar program.
8355 (package-install-from-buffer): Remove `pkg-desc' argument.
8356 Use package-tar-file-info for tar-mode buffers.
8357 (package-install-file): Simplify accordingly.
8358 (package-archive-base): Change to take a pkg-desc.
8359 * tar-mode.el (tar--check-descriptor): New function, extracted from
8361 (tar-get-descriptor): Use it.
8362 (tar-get-file-descriptor): New function.
8363 (tar--extract): New function, extracted from tar-extract.
8364 (tar--extract): Use it.
8365 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8366 case the summary uses non-ascii. Adjust to new calling convention of
8367 package-tar-file-info.
8369 2013-06-21 Leo Liu <sdl.web@gmail.com>
8371 * comint.el (comint-redirect-results-list-from-process):
8372 Fix random delay. (Bug#14681)
8374 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8376 * profiler.el (profiler-format-number): Use log, not log10.
8378 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8380 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8382 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8384 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8385 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8387 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8388 (AUTOGENEL): ... here.
8389 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8390 (cl--defsubst-expand): Use it.
8392 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8394 * subr.el (log10): Move here from C code, and declare as obsolete.
8395 All uses of (log10 X) replaced with (log X 10).
8397 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8399 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8400 Declare with `defvar-local'.
8401 (tabulated-list-use-header-line, tabulated-list-entries)
8402 (tabulated-list-padding, tabulated-list-printer)
8403 (tabulated-list-sort-key): Declare with `defvar-local'.
8404 (tabulated-list-init-header, tabulated-list-print-fake-header):
8407 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8409 * arc-mode.el (archive-mode): Add `archive-write-file' to
8410 `write-contents-functions' also for remote files. (Bug#14652)
8412 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8414 * cus-edit.el (custom-commands): Fix typos.
8415 (custom-display): Fix tooltip text.
8416 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8417 Fix typos in docstrings.
8418 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8419 (custom-unlispify-menu-entry, custom-magic-value-create)
8420 (custom-add-see-also, custom-group-value-create): Use ?\s.
8421 (custom-guess-type, customize-apropos, editable-field)
8422 (custom-face-value-create): Use `string-match-p'.
8423 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8425 * custom.el (custom-load-symbol): Use `string-match-p'.
8427 * ansi-color.el: Convert to lexical binding.
8428 (ansi-colors): Fix URL.
8429 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8430 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8431 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8433 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8435 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8437 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8439 2013-06-19 Tom Tromey <tromey@redhat.com>
8441 * net/eww.el (eww-top-url): Remove.
8442 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8443 (eww-render): Set new variables. Don't set eww-top-url.
8444 (eww-handle-link): Handle "prev", "home", and "contents".
8445 Downcase the rel text.
8446 (eww-top-url): Choose best top URL.
8448 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8450 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8451 relying in widget.el. Using widget.el leads to too many
8452 user interface inconsistencies.
8453 (eww-self-insert): Implement entering commands in text fields.
8454 (eww-process-text-input): New function to make text input field editing
8456 (eww-submit): Rewrite to use the new-style form methods.
8457 (eww-select-display): Display the correct selected item.
8458 (eww-change-select): Implement changing the select value.
8459 (eww-toggle-checkbox): Implement radio/checkboxes.
8460 (eww-update-field): Fix compilation error.
8461 (eww-tag-textarea): Implement <textarea>.
8463 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8464 we don't shadow mode-specific bindings.
8466 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8469 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8471 2013-06-19 Glenn Morris <rgm@gnu.org>
8473 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8475 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8477 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8480 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8482 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8484 * net/browse-url.el (browse-url-browser-function):
8485 `eww-browse-url' has the right calling signature, `eww' does not.
8487 2013-06-19 Glenn Morris <rgm@gnu.org>
8489 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8490 Only eval autoloaded macros.
8491 (byte-compile-autoload): Only give the macro warning for macros.
8493 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8494 (ps-underlined-faces): Declare.
8496 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8497 (speedbar-add-supported-extension): Declare.
8499 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8500 Don't include a date stamp in the header of the generated file;
8501 it leads to needless differences between output files.
8503 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8505 * net/secrets.el (secrets-struct-secret-content-type):
8506 Replace check of introspection data by a test call of "CreateItem".
8507 Some servers do not offer introspection.
8509 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8511 * electric.el (electric-pair-mode): Improve interaction with
8512 electric-layout-mode.
8513 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8514 (electric-pair-syntax): Use text-mode-syntax-table in comments
8516 (electric-pair--insert): New function.
8517 (electric-pair-post-self-insert-function): Use it and
8518 electric--after-char-pos.
8520 2013-06-19 Leo Liu <sdl.web@gmail.com>
8522 * progmodes/octave.el (octave-help): Fix regexp.
8524 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8526 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8527 (shr-table-horizontal-line): Allow nil as a value, and change the
8529 (shr-insert-table-ruler): Respect the nil value.
8531 2013-06-18 Tom Tromey <tromey@barimba>
8533 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8535 (eww-open-file): New defun.
8536 (eww-render): Initialize new variables.
8537 (eww-display-html): Handle "link" and "a".
8538 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8539 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8540 (eww-back-url): Rename from eww-previous-url.
8541 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8544 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8546 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8547 Distinguish ternary operator tokens from slash symbol and slash
8550 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8552 Convert symbol prettification into minor mode and global minor mode.
8554 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8555 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8556 (prettify-symbols--keywords): Rename from
8557 `prog-prettify-symbols-alist' and make a local defvar.
8558 (prettify-symbols--compose-symbol): Rename from
8559 `prog--prettify-font-lock-compose-symbol'.
8560 (prettify-symbols--make-keywords): Rename from
8561 `prog-prettify-font-lock-symbols-keywords' and simplify.
8562 (prog-prettify-install): Remove.
8563 (prettify-symbols-mode): New minor mode, based on
8564 `prog-prettify-install'.
8565 (turn-on-prettify-symbols-mode): New function.
8566 (global-prettify-symbols-mode): New globalized minor mode.
8568 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8569 * progmodes/cfengine.el (cfengine3-mode):
8570 * progmodes/perl-mode.el (perl-mode): Don't call
8571 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8573 2013-06-18 Juri Linkov <juri@jurta.org>
8575 * files-x.el (modify-file-local-variable-message): New function.
8576 (modify-file-local-variable)
8577 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8578 and call `modify-file-local-variable-message' when it's non-nil.
8579 (add-file-local-variable, delete-file-local-variable)
8580 (add-file-local-variable-prop-line)
8581 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8582 and use it. (Bug#9820)
8584 2013-06-18 Juri Linkov <juri@jurta.org>
8586 * emulation/vi.el (vi-shell-op):
8587 * emulation/vip.el (vip-execute-com, ex-command):
8588 * emulation/viper-cmd.el (viper-exec-bang):
8589 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8590 the call of `shell-command-on-region'. (Bug#14637)
8592 * simple.el (shell-command-on-region): Doc fix.
8594 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8596 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8599 2013-06-18 Glenn Morris <rgm@gnu.org>
8601 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8603 * newcomment.el (comment-search-forward, comment-search-backward):
8604 Doc fix. (Bug#14376)
8606 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8608 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8609 (buffer-face-mode-invoke): Doc fix.
8611 2013-06-18 Matthias Meulien <orontee@gmail.com>
8613 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8614 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8616 2013-06-18 Glenn Morris <rgm@gnu.org>
8618 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8619 Replace obsolete function generic-make-keywords with its expansion.
8621 * progmodes/python.el (ffap-alist): Declare.
8623 * textmodes/reftex.el (bibtex-mode-map): Declare.
8625 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8627 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8628 (package-unpack, package-unpack-single): Return the pkg-dir.
8629 (package-download-transaction): Use it to update package-alist.
8631 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8633 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8636 2013-06-17 Juri Linkov <juri@jurta.org>
8638 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8640 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8642 * emacs-lisp/package.el (package-load-descriptor):
8643 Remove `with-syntax-table' call, `read' doesn't need it.
8644 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8646 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8648 * startup.el (command-line): Expand package name returned by
8649 `package--description-file' (bug#14639).
8651 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8653 * emacs-lisp/package.el (package-load-descriptor): Do not call
8654 `emacs-lisp-mode', just use its syntax table.
8656 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8658 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8659 `font-lock-extra-managed-props' if any prettifying keyword is added.
8660 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8661 (prog-mode): Use `setq-local'.
8663 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8665 * international/characters.el (standard-case-table): Set syntax of ?»
8666 and ?« to punctuation.
8668 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8670 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8671 Save relevant match data before calling `syntax-ppss' (bug#14595).
8673 2013-06-15 Juri Linkov <juri@jurta.org>
8675 * files-x.el (modify-file-local-variable-prop-line): Add local
8676 variables to the end of the existing comment on the first line.
8677 Use `file-auto-mode-skip' to skip interpreter magic line,
8678 and also skip XML declaration.
8680 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8682 * startup.el (package--builtin-versions): New var.
8683 (package-subdirectory-regexp): Remove.
8684 (package--description-file): Hard code its value instead.
8686 * emacs-lisp/package.el: Don't activate packages older than builtin.
8687 (package-obsolete-list): Rename from package-obsolete-alist, and make
8688 it into a simple list of package-desc.
8689 (package-strip-version): Remove.
8690 (package-built-in-p): Use package--builtin-versions.
8691 (package-mark-obsolete): Simplify.
8692 (package-process-define-package): Mark it obsolete if older than the
8694 (package-handle-response): Use line-end-position.
8695 (package-read-archive-contents, package--download-one-archive):
8697 (package--add-to-archive-contents): Skip if older than the builtin or
8699 (package-menu-describe-package): Fix last change.
8700 (package-list-unversioned): New var.
8701 (package-menu--generate): Use it.
8703 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8704 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8705 (autoload-builtin-package-versions): New variable.
8706 (autoload-generate-file-autoloads): Use them.
8707 Remove the list of autoloaded functions/macros from the
8708 (autoload...) comments.
8710 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8712 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8714 * simple.el (line-move-partial): Don't jump to the next screen
8715 line as soon as it becomes visible. Instead, continue enlarging
8716 the vscroll until the portion of a tall screen line that's left on
8717 display is about the height of the frame's default font.
8720 2013-06-15 Glenn Morris <rgm@gnu.org>
8722 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8723 compilation-error-regexp-alist void, or local while let-bound.
8725 * progmodes/make-mode.el (makefile-mode-syntax-table):
8726 Treat "=" as punctuation. (Bug#14614)
8728 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8730 * help-fns.el (describe-variable):
8731 Add extra line for permanent-local variables.
8733 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8735 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8736 Add export, import, library. (Bug#9164)
8737 (library): Set indent function.
8739 2013-06-14 Glenn Morris <rgm@gnu.org>
8741 * term/xterm.el (xterm--query):
8742 Stop after first matching handler. (Bug#14615)
8744 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8746 Add support for dired in saveplace.
8747 * dired.el (dired-initial-position-hook): New variable.
8748 (dired-initial-position): Call hook to place cursor position.
8749 * saveplace.el (save-place-to-alist): Add dired position.
8750 (save-place-dired-hook): New function.
8752 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8754 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8755 through a symbol rather than letrec.
8757 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8758 (package-desc): Add `dir' field.
8759 (package-desc-full-name): New function.
8760 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8761 (package-maybe-load-descriptor): Remove.
8762 (package-load-all-descriptors): Just call package-load-descriptor.
8763 (package--disabled-p): New function.
8764 (package-desc-vers, package-desc-doc): Remove aliases.
8765 (package--dir): Remove function.
8766 (package-activate): Check if a package is disabled.
8767 (package-process-define-package): New function, extracted from
8769 (define-package): Turn into a place holder.
8770 (package-unpack-single, package-tar-file-info):
8771 Use package--description-file.
8772 (package-compute-transaction): Use package--disabled-p.
8773 (package-download-transaction): Don't call
8774 package-maybe-load-descriptor since they're all loaded anyway.
8775 (package-install): Change argument to be a pkg-desc.
8776 (package-delete): Use a single pkg-desc argument.
8777 (describe-package-1): Use package-desc-dir instead of package--dir.
8778 Use package-desc property instead of package-symbol.
8779 (package-install-button-action): Adjust accordingly.
8780 (package--push): Rewrite.
8781 (package-menu--print-info): Adjust accordingly. Change the ID format
8783 (package-menu-describe-package, package-menu-get-status)
8784 (package-menu--find-upgrades, package-menu-mark-upgrades)
8785 (package-menu-execute, package-menu--name-predicate):
8787 * startup.el (package--description-file): New function.
8788 (command-line): Use it.
8789 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8790 Use package-desc-version.
8792 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8793 (byte-compile-preprocess): Use it.
8794 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8795 can't quite recognize.
8796 (byte-compile-add-to-list): Remove.
8797 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8798 (cconv-closure-convert): Add assertion.
8800 * emacs-lisp/map-ynp.el: Use lexical-binding.
8801 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8802 Factor out some repeated code.
8804 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8806 * subr.el (with-eval-after-load): New macro.
8807 (eval-after-load): Allow form to be a function.
8808 take advantage of lexical-binding.
8809 (do-after-load-evaluation): Use dolist and adjust to new format.
8810 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8812 2013-06-13 Juri Linkov <juri@jurta.org>
8814 * replace.el (perform-replace): Display "symbol " and other search
8815 modes from `isearch-message-prefix' in the *Help* buffer.
8817 * isearch.el (isearch-query-replace): Add " symbol" and other
8818 possible search modes from `isearch-message-prefix' to the prompt.
8819 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8820 when reading a regexp to collect.
8822 2013-06-13 Juri Linkov <juri@jurta.org>
8824 * isearch.el (word-search-regexp): Match whitespace if the search
8825 string begins or ends in whitespace. The LAX arg is applied to
8826 both ends of the search string. Use `regexp-quote' and explicit
8827 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8828 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8829 boundaries are replaced with symbol boundaries, and characters
8830 between symbols match non-word non-symbol syntax. (Bug#14602)
8832 2013-06-13 Juri Linkov <juri@jurta.org>
8834 * isearch.el (isearch-del-char): Don't exceed the length of
8835 `isearch-string' by the prefix arg. (Bug#14563)
8837 2013-06-13 Juri Linkov <juri@jurta.org>
8839 * isearch.el (isearch-yank-word, isearch-yank-line)
8840 (isearch-char-by-name, isearch-quote-char)
8841 (isearch-printing-char, isearch-process-search-char):
8842 Add optional count prefix arg. (Bug#14563)
8844 * international/isearch-x.el
8845 (isearch-process-search-multibyte-characters):
8846 Add optional count prefix arg.
8848 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8850 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8851 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8854 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8856 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8858 2013-06-13 Glenn Morris <rgm@gnu.org>
8860 * startup.el (tty-handle-args):
8861 Don't just discard "--" and anything after. (Bug#14608)
8863 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8865 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8867 Implement changes in Secret Service API. Make it backward compatible.
8868 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8869 (secrets-create-item): Use it. Prefix properties with interface.
8871 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8873 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8874 (term-emulate-terminal): Respect term-suppress-hard-newline.
8876 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8878 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8879 Only remove a `thumb-file' overlay. (Bug#14548)
8881 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8883 * mail/reporter.el (reporter-submit-bug-report):
8884 Handle missing package-name. (Bug#14600)
8886 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8888 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8889 (reftex-citation-prompt, reftex-default-bibliography)
8890 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8891 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8892 (reftex-bib-sort-author, reftex-bib-sort-year)
8893 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8894 (reftex-extract-bib-entries-from-thebibliography)
8895 (reftex-get-bibkey-default, reftex-get-bib-names)
8896 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8897 (reftex-format-bib-entry, reftex-parse-bibitem)
8898 (reftex-format-bibitem, reftex-do-citation)
8899 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8900 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8901 (reftex-insert-bib-matches, reftex-format-citation)
8902 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8903 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8904 existing comments into docstrings.
8906 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8908 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8910 2013-06-12 Andreas Schwab <schwab@suse.de>
8912 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8913 for auto-save files.
8915 2013-06-12 Glenn Morris <rgm@gnu.org>
8917 * ido.el (ido-delete-ignored-files): Remove.
8918 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8919 Go back to calling ido-ignore-item-p directly.
8921 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8923 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8925 * ido.el (ido-delete-ignored-files): New function,
8926 split from ido-make-file-list-1.
8927 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8928 (ido-make-file-list-1): Use ido-delete-ignored-files.
8930 2013-06-12 Leo Liu <sdl.web@gmail.com>
8932 * progmodes/octave.el (inferior-octave-startup)
8933 (inferior-octave-completion-table)
8934 (inferior-octave-track-window-width-change)
8935 (octave-eldoc-function-signatures, octave-help)
8936 (octave-find-definition): Use single quoted strings.
8937 (inferior-octave-startup-args): Change default value.
8938 (inferior-octave-startup): Do not hard code "-i" and
8939 "--no-line-editing".
8940 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8941 (inferior-octave-directory-tracker): Use it.
8942 (octave-goto-function-definition): Robustify.
8943 (octave-help): Support highlighting operators in 'See also'.
8944 (octave-find-definition): Find subfunctions only in Octave mode.
8946 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8948 * help-fns.el (help-fns--compiler-macro): If the handler function is
8949 named, then put a link to it.
8950 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8951 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8953 (cl-eval-when): Simplify debug spec.
8954 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8955 compiler-macro function instead of setting `compiler-macro-file'.
8957 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8959 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8960 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8962 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8963 Daniel Hackney <dan@haxney.org>
8965 First part of Daniel Hackney's patch to package.el.
8966 * emacs-lisp/package.el: Use defstruct.
8967 (package-desc): New, main struct.
8968 (package--bi-desc, package--ac-desc): New structs, used to describe the
8969 format in external files.
8970 (package-desc-vers): Replace with package-desc-version accessor.
8971 (package-desc-doc): Replace with package-desc-summary accessor.
8972 (package-activate-1): Remove `package' arg since the pkg-vec now
8974 (define-package): Use package-desc-from-define.
8975 (package-unpack-single): Change file-name arg to be a symbol.
8976 (package--add-to-archive-contents): Use package-desc-create and new
8977 accessor functions to package--ac-desc.
8978 (package-buffer-info, package-tar-file-info): Return a package-desc.
8979 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8980 arg to be a package-desc.
8981 (package-install-file): Adjust accordingly. Use \' to match EOS.
8982 (package--from-builtin): New function.
8983 (describe-package-1, package-menu--generate): Use it.
8984 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8985 (package-generate-autoloads): Idem and return the name of the file.
8986 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8987 Change pkg-info arg to be a package-desc.
8988 Use package-make-ac-desc.
8989 (package-upload-file): Use \' to match EOS.
8990 * finder.el (finder-compile-keywords): Use package-make-builtin.
8992 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8994 * vc/vc.el (vc-deduce-fileset): Change error message.
8995 (vc-read-backend): New function.
8996 (vc-next-action): Use it.
8998 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9000 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9001 (prolog-font-lock-keywords): Use regexp-opt instead.
9002 Don't manually highlight strings.
9003 (prolog-mode-variables): Simplify comment-start-skip.
9004 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9006 * emacs-lisp/generic.el (generic--normalise-comments)
9007 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9008 (generic-mode-set-comments): Use them.
9009 (generic-bracket-support): Use setq-local.
9010 (generic-make-keywords-list): Declare obsolete.
9012 2013-06-11 Glenn Morris <rgm@gnu.org>
9014 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9015 Prettify after setting font-lock-defaults. (Bug#14574)
9017 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9019 * replace.el (query-replace, occur-read-regexp-defaults-function)
9021 * subr.el (declare-function, number-sequence, local-set-key)
9022 (substitute-key-definition, locate-user-emacs-file)
9023 (with-silent-modifications, split-string, eval-after-load):
9024 Fix typos, remove unneeded backslashes and reflow some docstrings.
9026 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9028 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9029 default for Elisp files.
9031 2013-06-11 Glenn Morris <rgm@gnu.org>
9033 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9034 although define-derived-mode was doing this anyway. (Bug#14583)
9036 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9038 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9039 Fix make-variable-buffer-local call to refer to the correct variable.
9041 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9043 * eshell/em-term.el (eshell-visual-commands)
9044 (eshell-visual-subcommands, eshell-visual-options):
9045 Add summary line to docstrings. Add cross-references.
9047 2013-06-10 Glenn Morris <rgm@gnu.org>
9049 * epa.el (epa-read-file-name): New function. (Bug#14510)
9050 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9052 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9054 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9055 output redirection to be ignored with visual commands.
9057 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9059 * eshell/em-term.el (eshell-visual-command-p): New function.
9060 (eshell-term-initialize): Move long lambda to separate function
9061 eshell-visual-command-p.
9062 * eshell/em-dirs.el (eshell-dirs-initialise):
9063 * eshell/em-script.el (eshell-script-initialize):
9064 Add missing #' to lambda.
9066 2013-06-08 Leo Liu <sdl.web@gmail.com>
9068 * progmodes/octave.el (octave-add-log-current-defun): New function.
9069 (octave-mode): Set add-log-current-defun-function.
9070 (octave-goto-function-definition): Do not move point if not found.
9071 (octave-find-definition): Enhance to try subfunctions first.
9073 2013-06-08 Glenn Morris <rgm@gnu.org>
9075 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9076 (byte-compile-backward-char, byte-compile-backward-word):
9077 Improve previous change, to handle non-explicit nil.
9079 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9081 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9082 (smie--opener/closer-at-point): New function.
9083 (smie--matching-block-data): Use it. Don't match from right after an
9084 opener or right before a closer. Obey smie-blink-matching-inners.
9085 Don't signal a mismatch for repeated inners like "switch..case..case".
9087 2013-06-07 Leo Liu <sdl.web@gmail.com>
9089 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9091 (octave-function-header-regexp): Fix. (Bug#14570)
9092 (octave-help-mode-finish-hook, octave-help-mode-finish):
9093 Remove. Just use temp-buffer-show-hook.
9095 * newcomment.el (comment-search-backward): Revert last change.
9098 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9100 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9102 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9103 through xargs, to avoid failure due to MS-Windows limitations on
9104 command-line length.
9106 2013-06-06 Glenn Morris <rgm@gnu.org>
9108 * font-lock.el (lisp-font-lock-keywords-2):
9109 Treat user-error like error.
9111 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9112 (byte-compile-backward-char, byte-compile-backward-word):
9113 Handle explicit nil arguments. (Bug#14565)
9115 2013-06-05 Alan Mackenzie <acm@muc.de>
9117 * isearch.el (isearch-allow-prefix): New user option.
9118 (isearch-other-meta-char): Don't exit isearch when a prefix
9119 argument is typed whilst `isearch-allow-prefix' is non-nil.
9122 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9124 * autorevert.el (auto-revert-notify-handler): Use memq.
9125 Hide assertion failure.
9127 * skeleton.el: Use cl-lib.
9128 (skeleton-further-elements): Use defvar-local.
9129 (skeleton-insert): Use cl-progv.
9131 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9133 * progmodes/prog-mode.el (prog-prettify-symbols)
9134 (prog-prettify-install): Update docstrings.
9136 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9138 * simple.el: Move all the prog-mode code to prog-mode.el.
9139 * progmodes/prog-mode.el: New file.
9140 * loadup.el: Add prog-mode.el.
9142 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9144 * simple.el (prog-prettify-symbols): Add version.
9145 (prog-prettify-install): Add convenience function to prettify symbols.
9147 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9148 (perl--augmented-font-lock-keywords-1)
9149 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9150 variables and use it.
9152 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9153 (cfengine3-mode): Remove unneeded variable and use it.
9155 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9156 (lisp--augmented-font-lock-keywords-1)
9157 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9158 Remove unneeded variables and use it.
9160 2013-06-05 João Távora <joaotavora@gmail.com>
9162 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9163 to point when opening the connection. (Bug#14380)
9165 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9167 * subr.el (load-history-regexp, load-history-filename-element)
9168 (eval-after-load, after-load-functions, do-after-load-evaluation)
9169 (eval-next-after-load, display-delayed-warnings)
9170 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9171 definition of save-match-data.
9172 (overriding-local-map): Remove accidental obsolescence declaration.
9174 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9176 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9178 Generalize symbol prettify support to prog-mode and implement it
9179 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9180 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9181 (prog--prettify-font-lock-compose-symbol)
9182 (prog-prettify-font-lock-symbols-keywords): New variables and
9183 functions to support symbol prettification.
9184 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9185 (lisp--augmented-font-lock-keywords-1)
9186 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9187 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9188 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9189 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9190 Implement prettify of -> => :: strings.
9191 * progmodes/perl-mode.el (perl-prettify-symbols)
9192 (perl--font-lock-compose-symbol)
9193 (perl--font-lock-symbols-keywords): Move to prog-mode.
9194 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9195 (perl-font-lock-keywords-1)
9196 (perl-font-lock-keywords-2): Remove explicit prettify support.
9197 (perl--augmented-font-lock-keywords)
9198 (perl--augmented-font-lock-keywords-1)
9199 (perl--augmented-font-lock-keywords-2, perl-mode):
9200 Implement prettify support.
9202 2013-06-05 Leo Liu <sdl.web@gmail.com>
9204 Re-implement smie matching block highlight using
9205 show-paren-data-function. (Bug#14395)
9206 * emacs-lisp/smie.el (smie-matching-block-highlight)
9207 (smie--highlight-matching-block-overlay)
9208 (smie--highlight-matching-block-lastpos)
9209 (smie-highlight-matching-block)
9210 (smie-highlight-matching-block-mode): Remove.
9211 (smie--matching-block-data-cache): New variable.
9212 (smie--matching-block-data): New function.
9213 (smie-setup): Use smie--matching-block-data for
9214 show-paren-data-function.
9216 * progmodes/octave.el (octave-mode-menu): Fix.
9217 (octave-find-definition): Skip garbage lines.
9219 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9221 Fix compilation error with simultaneous dynamic+lexical scoping.
9222 Add warning when a defvar appears after the first let-binding.
9223 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9224 (byte-compile-close-variables): Initialize it.
9225 (byte-compile--declare-var): New function.
9226 (byte-compile-file-form-defvar)
9227 (byte-compile-file-form-define-abbrev-table)
9228 (byte-compile-file-form-custom-declare-variable): Use it.
9229 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9230 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9231 (byte-compile-bind): Handle dynamic bindings that shadow
9233 (byte-compile-unbind): Make arg non-optional.
9234 (byte-compile-let): Simplify.
9235 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9236 (cconv--analyse-function, cconv-analyse-form): Populate it.
9237 Protect byte-compile-bound-variables to limit the scope of defvars.
9238 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9239 Remove unneeded rule for `declare'.
9241 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9242 so as to avoid depending on cl-adjoin at run-time.
9243 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9245 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9246 (macroexp--warn-and-return): Use it.
9248 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9250 * subr.el: Convert to lexical binding.
9251 (overriding-local-map): Make obsolete.
9252 (add-to-list): Doc fix. Add compiler macro.
9253 (read-key): Swap values of local maps.
9255 2013-06-05 Leo Liu <sdl.web@gmail.com>
9257 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9259 2013-06-04 Leo Liu <sdl.web@gmail.com>
9261 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9262 (compilation-auto-jump): Suppress the "Mark set" message to give
9263 way to exit message.
9265 2013-06-04 Alan Mackenzie <acm@muc.de>
9267 Remove faulty optimisation from indentation calculation.
9268 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9269 search limit based on 2000 characters back from indent-point.
9271 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9273 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9275 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9277 * emacs-lisp/lisp.el: Use lexical-binding.
9278 (lisp--local-variables-1, lisp--local-variables): New functions.
9279 (lisp--local-variables-completion-table): New var.
9280 (lisp-completion-at-point): Use it complete let-bound vars.
9282 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9283 eagerly (bug#14422).
9285 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9287 * autorevert.el (auto-revert-notify-enabled)
9288 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9289 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9290 (auto-revert-notify-handler): Handle also gfilenotify.
9292 * subr.el (file-notify-handle-event): New defun. Replacing ...
9293 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9296 2013-06-03 Juri Linkov <juri@jurta.org>
9298 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9299 `M-s h .'. (Bug#14427)
9301 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9302 command `hi-lock-face-symbol-at-point'.
9303 (hi-lock-face-symbol-at-point): New command.
9304 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9305 (hi-lock-menu): Add `highlight-symbol-at-point'.
9306 (hi-lock-mode): Doc fix.
9308 * isearch.el (isearch-forward-symbol-at-point): New command.
9309 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9310 (isearch-highlight-regexp): Add a regexp which matches
9311 words/symbols for word/symbol mode.
9313 * subr.el (find-tag-default-bounds): New function with the body
9314 mostly moved from `find-tag-default'.
9315 (find-tag-default): Move most code to `find-tag-default-bounds',
9316 call it and apply `buffer-substring-no-properties' afterwards.
9318 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9320 * eshell/em-term.el (eshell-term-initialize):
9321 Use `cl-intersection' rather than `intersection'.
9323 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9325 * vc/log-view.el: Doc fix.
9326 (log-view-mode-map): Copy keymap from `special-mode-map'.
9328 2013-06-02 Eric Ludlam <zappo@gnu.org>
9330 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9331 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9332 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9333 (eieio-unbound, eieio-default-superclass)
9334 (eieio--define-field-accessors, method-static, method-before)
9335 (method-primary, method-after, method-num-lists)
9336 (method-generic-before, method-generic-primary)
9337 (method-generic-after, method-num-slots)
9338 (eieio-specialized-key-to-generic-key)
9339 (eieio--check-type, class-v, class-p)
9340 (eieio-class-name, define-obsolete-function-alias)
9341 (eieio-class-parents-fast, eieio-class-children-fast)
9342 (same-class-fast-p, class-constructor, generic-p)
9343 (generic-primary-only-p, generic-primary-only-one-p)
9344 (class-option-assoc, class-option, eieio-object-p)
9345 (class-abstract-p, class-method-invocation-order)
9346 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9347 (eieio-class-un-autoload, eieio-defclass)
9348 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9349 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9350 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9351 (eieio-defgeneric-reset-generic-form)
9352 (eieio-defgeneric-form-primary-only)
9353 (eieio-defgeneric-reset-generic-form-primary-only)
9354 (eieio-defgeneric-form-primary-only-one)
9355 (eieio-defgeneric-reset-generic-form-primary-only-one)
9356 (eieio-unbind-method-implementations)
9357 (eieio--defmethod, eieio--typep)
9358 (eieio-perform-slot-validation, eieio-validate-slot-value)
9359 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9360 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9361 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9362 (eieio-slot-name-index, eieio-class-slot-name-index)
9363 (eieio-set-defaults, eieio-initarg-to-attribute)
9364 (eieio-attribute-to-initarg, eieio-c3-candidate)
9365 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9366 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9367 (eieio-class-precedence-list, eieio-generic-call-methodname)
9368 (eieio-generic-call-arglst, eieio-generic-call-key)
9369 (eieio-generic-call-next-method-list)
9370 (eieio-pre-method-execution-functions, eieio-generic-call)
9371 (eieio-generic-call-primary-only, eieiomt-method-list)
9372 (eieiomt-optimizing-obarray, eieiomt-install)
9373 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9374 (eieio-generic-form, eieio-defmethod, make-obsolete)
9375 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9376 (defclass): Remove `eval-and-compile' from macro.
9377 (call-next-method, shared-initialize): Instead of using
9378 `scoped-class' variable, use new eieio--scoped-class, and
9379 eieio--with-scoped-class.
9380 (initialize-instance): Rename local variable 'scoped-class' to
9381 'this-class' to remove ambiguitity from old global.
9383 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9385 (eieio--scoped-class-stack): New variable.
9386 (eieio--scoped-class): New fcn.
9387 (eieio--with-scoped-class): New scoping macro.
9388 (eieio-defclass): Use pushnew instead of add-to-list.
9389 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9390 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9391 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9392 `scoped-class' variable, use new eieio--scoped-class, and
9393 eieio--with-scoped-class.
9395 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9397 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9399 * eshell/esh-ext.el (eshell-external-command): Pass args to
9400 `eshell-find-interpreter'.
9401 (eshell-find-interpreter): Add new second parameter ARGS.
9403 * eshell/em-script.el (eshell-script-initialize): Add second arg
9404 to the function added as MATCH to `eshell-interpreter-alist'.
9406 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9407 the function added as MATCH to `eshell-interpreter-alist'.
9409 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9410 (eshell-visual-options): New defcustom.
9411 (eshell-escape-control-x): Adapt docstring.
9412 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9413 `eshell-visual-options' in addition to `eshell-visual-commands'.
9414 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9416 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9418 * progmodes/python.el (python-indent-block-enders): Add break,
9419 continue and raise keywords.
9421 2013-06-01 Glenn Morris <rgm@gnu.org>
9423 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9425 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9426 * progmodes/cc-cmds.el (delete-forward-p):
9427 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9428 * progmodes/cc-engine.el (buffer-syntactic-context):
9429 * progmodes/cc-fonts.el (face-property-instance):
9430 * progmodes/cc-mode.el (set-keymap-parents):
9431 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9432 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9433 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9434 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9435 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9437 * progmodes/cc-vars.el (other): Emacs has this widget since
9438 at least 21.1, so don't (re)define it.
9440 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9441 Replace the obsolete alias pcomplete-arg-quote-list.
9443 2013-06-01 Leo Liu <sdl.web@gmail.com>
9445 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9447 (inferior-octave-minimal-columns)
9448 (inferior-octave-last-column-width): New variables.
9449 (inferior-octave-track-window-width-change): New function.
9450 (inferior-octave-mode): Adjust column width so that Octave output,
9451 for example from 'ls', can fit into the window nicely.
9453 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9455 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9456 Highlight expansions inside regexp literals.
9458 2013-05-31 Glenn Morris <rgm@gnu.org>
9460 * obsolete/sym-comp.el (symbol-complete):
9461 Replace obsolete completion-annotate-function.
9463 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9465 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9467 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9468 New function, checks if point is inside a literal that allows
9469 expression expansion.
9470 (ruby-syntax-propertize-expansion): Use it.
9471 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9474 2013-05-30 Juri Linkov <juri@jurta.org>
9476 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9478 (isearch-invisible): New variable.
9479 (isearch-forward): Doc fix.
9480 (isearch-mode): Set `isearch-invisible'
9481 to the value of `search-invisible'.
9482 (isearch-toggle-case-fold): Doc fix.
9483 (isearch-toggle-invisible): New command.
9484 (isearch-query-replace): Let-bind `search-invisible'
9485 to the value of `isearch-invisible'.
9486 (isearch-search): Use `isearch-invisible' instead of
9487 `search-invisible'. Let-bind `search-invisible'
9488 to the value of `isearch-invisible'. (Bug#11378)
9490 2013-05-30 Juri Linkov <juri@jurta.org>
9492 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9493 call when `query-flag' is nil and `search-invisible' is non-nil.
9496 2013-05-30 Glenn Morris <rgm@gnu.org>
9498 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9500 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9501 (cc-require): Suppress spurious "noruntime" warnings.
9502 (cc-require-when-compile): Use fboundp, for sake of compiler.
9504 * progmodes/cc-mode.el: Move load of cc-vars before that of
9505 cc-langs (which in turn loads cc-vars), to quieten compiler.
9507 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9509 * paren.el: Simplify the code.
9510 (show-paren-mode): Always start the timer.
9511 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9512 (show-paren--overlay, show-paren--overlay-1): Rename from
9513 show-paren-overlay and show-paren-overlay-1, and initialize to an
9514 overlay rather than to nil.
9515 (show-paren-function): Misc cleanup and simplifications.
9517 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9519 * paren.el (show-paren-data-function): New hook.
9520 (show-paren--default): New function, extracted from show-paren-function.
9521 (show-paren-function): Use show-paren-data-function.
9523 2013-05-30 Glenn Morris <rgm@gnu.org>
9525 * ielm.el (ielm-map, ielm-complete-symbol):
9526 Use completion-at-point rather than obsolete functions.
9527 (inferior-emacs-lisp-mode): Doc fix.
9528 Set completion-at-point-functions, rather than
9529 comint-dynamic-complete-functions.
9531 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9532 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9533 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9535 * image.el (image-animated-p): Tweak definition.
9537 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9538 (rlogin-process-connection-type): Tweak default. Add set-after.
9539 (rlogin-host): Doc fix.
9540 (rlogin): Tweak prompt.
9541 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9543 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9544 * progmodes/tcl.el (inferior-tcl-mode-map):
9545 Use completion-at-point rather than obsolete alias.
9547 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9549 * minibuffer.el (read-file-name-completion-ignore-case):
9550 Move before completion--in-region, for eager macro expansion.
9552 2013-05-29 Juri Linkov <juri@jurta.org>
9554 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9555 for total count of matching lines. Add `global-matches' for total
9556 count of matches. Rename `matches' to `lines' for count of
9557 matching lines. Add `matches' for count of matches.
9558 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9559 to `prev-line' for line number of prev match endpt.
9560 Increment `matches' for every match. Print the number of
9561 matching lines in the header.
9562 (occur-context-lines): Rename `lines' to `curr-line'.
9563 Rename `prev-lines' to `prev-line'. (Bug#14017)
9565 2013-05-29 Juri Linkov <juri@jurta.org>
9567 * replace.el (perform-replace): Add `skip-read-only-count',
9568 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9569 Increment them for corresponding conditions and report the number
9570 of skipped occurrences in the final message. (Bug#11746)
9571 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9572 (replace-string, replace-regexp): Doc fix.
9574 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9576 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9578 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9579 prog-mode-map (bug#14504).
9581 2013-05-29 Leo Liu <sdl.web@gmail.com>
9583 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9584 (octave-help): Small simplification.
9586 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9587 off the highlight first.
9589 2013-05-29 Glenn Morris <rgm@gnu.org>
9591 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9592 Handle idlwave-last-system-routine-info-cons-cell being nil.
9594 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9595 (idlwave-write-paths): Simplify via with-temp-buffer.
9597 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9598 * emulation/cua-rect.el: Also load cua-base at run time.
9600 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9601 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9602 (cperl-imenu-on-info): Require imenu.
9604 2013-05-28 Alan Mackenzie <acm@muc.de>
9606 Handle "capitalised keywords" correctly.
9607 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9609 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9611 * eshell/em-unix.el: Add -r option to cp.
9613 2013-05-28 Glenn Morris <rgm@gnu.org>
9615 * vc/vc-arch.el (vc-exec-after): Declare.
9616 (vc-switches): Autoload.
9617 * vc/vc-bzr.el: No need to require vc when compiling.
9618 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9619 (vc-resynch-buffer, vc-dir-refresh): Declare.
9620 (vc-setup-buffer, vc-switches): Autoload.
9621 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9622 (vc-resynch-buffer): Declare.
9623 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9624 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9625 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9626 (grep-read-regexp, grep-read-files, grep-expand-template)
9627 (vc-dir-refresh): Declare.
9628 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9629 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9630 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9631 * vc/vc-mtn.el (vc-exec-after): Declare.
9632 (vc-switches): Autoload.
9633 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9634 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9635 (vc-file-tree-walk): Declare.
9636 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9637 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9638 (vc-tag-precondition, vc-rename-master): Autoload.
9639 * vc/vc-svn.el (vc-exec-after): Declare.
9640 (vc-switches, vc-setup-buffer): Autoload.
9641 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9643 (vc-resynch-buffer): Declare.
9645 * obsolete/fast-lock.el (byte-compile-warnings):
9646 Don't warn about obsolete features in this obsolete file.
9648 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9649 Move definition before use.
9651 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9652 (dun-unix-verbs): Remove dun-zippy.
9653 (dun-zippy): Remove function.
9655 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9657 2013-05-27 Juri Linkov <juri@jurta.org>
9659 * replace.el (replace-search): New function with code moved out
9660 from `perform-replace'.
9661 (replace-highlight, replace-dehighlight): Move function definitions
9662 up closer to `replace-search'. (Bug#11746)
9664 2013-05-27 Juri Linkov <juri@jurta.org>
9666 * replace.el (perform-replace): Ignore invisible matches.
9667 In addition to checking `query-replace-skip-read-only', also
9668 filter out matches by calling `run-hook-with-args-until-failure'
9669 on `isearch-filter-predicates', and also check `search-invisible'
9670 for t or call `isearch-range-invisible'.
9671 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9673 2013-05-27 Juri Linkov <juri@jurta.org>
9675 * isearch.el (isearch-filter-predicates): Rename from
9676 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9677 (isearch-message-prefix): Display text from the property
9678 `isearch-message-prefix' of the currently active filters.
9679 (isearch-search): Don't compare `isearch-filter-predicate' with
9680 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9681 on `isearch-filter-predicates'. Also check `search-invisible' for t
9682 or call `isearch-range-invisible'.
9683 (isearch-filter-visible): Make obsolete.
9684 (isearch-lazy-highlight-search):
9685 Call `run-hook-with-args-until-failure' on
9686 `isearch-filter-predicates' and use `isearch-range-invisible'.
9688 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9689 `isearch-filter-predicates' instead of `funcall'ing
9690 `isearch-filter-predicate'.
9691 (Info-mode): Set `Info-isearch-filter' to
9692 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9694 * dired-aux.el (dired-isearch-filter-predicate-orig):
9696 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9697 (dired-isearch-filenames-end): Add and remove
9698 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9699 instead of changing the value of `isearch-filter-predicate'.
9700 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9701 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9702 Put property `isearch-message-prefix' to "filename " on
9703 `dired-isearch-filter-filenames'.
9705 * wdired.el (wdired-change-to-wdired-mode):
9706 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9707 locally instead of changing `isearch-filter-predicate'.
9708 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9710 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9712 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9713 return the commit hash (Bug#14459). Also set the
9714 `vc-git-detached' property.
9715 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9716 (vc-git-mode-line-string): Use the same help-echo format whether
9717 in detached mode or not, because we know the actual revision now.
9718 When in detached mode, shorten the revision to 7 chars.
9720 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9722 * emacs-lisp/easy-mmode.el (define-minor-mode):
9723 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9724 mode hook and provide a docstring.
9726 2013-05-27 Alan Mackenzie <acm@muc.de>
9728 Remove spurious syntax-table text properties inserted by C-y.
9729 * progmodes/cc-mode.el (c-after-change): Also clear hard
9730 syntax-table property with value nil.
9732 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9734 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9735 when reading the events; the buffer layout shall not be changed.
9737 2013-05-27 Leo Liu <sdl.web@gmail.com>
9739 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9741 (inferior-octave-directory-tracker): Automatically re-sync
9743 (octave-help): Improve handling of 'See also'.
9745 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9747 * doc-view.el: Minor naming convention tweaks.
9748 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9750 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9751 even if there's no `display' property yet (bug#14435).
9753 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9755 * subr.el (unmsys--file-name): Rename from reveal-filename.
9757 * Makefile.in (custom-deps, finder-data, autoloads)
9758 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9759 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9760 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9762 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9764 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9765 error-completion on the first 2 args of condition-case (bug#14446).
9768 2013-05-25 Leo Liu <sdl.web@gmail.com>
9770 * comint.el (comint-previous-matching-input): Do not flood the
9771 *Messages* buffer with trivial messages.
9773 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9775 * progmodes/flymake.el (flymake-nop): Don't return a string.
9776 (flymake-set-at): Fix typo.
9778 * simple.el (read--expression): New function, extracted from
9779 eval-expression. Set completion-at-point-functions (bug#14465).
9780 (eval-expression, eval-minibuffer): Use it.
9782 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9784 * progmodes/flymake.el (flymake-save-buffer-in-file)
9785 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9786 (flymake-selected-frame, flymake-log, flymake-ins-after)
9787 (flymake-set-at, flymake-get-buildfile-from-cache)
9788 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9789 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9790 Refine the doc string.
9791 (flymake-get-file-name-mode-and-masks): Reformat.
9792 (flymake-get-real-file-name-function): Fix a minor bug.
9794 2013-05-24 Juri Linkov <juri@jurta.org>
9796 * progmodes/grep.el (grep-mode-font-lock-keywords):
9797 Support =linenumber= format used by git-grep for lines with
9798 function names. (Bug#13549)
9800 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9802 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9803 0 after a semi-colon; it works better for smie-auto-fill.
9804 (octave--indent-new-comment-line): New function.
9805 (octave-indent-new-comment-line): Use it (indirectly).
9806 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9807 modify comment-line-break-function.
9809 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9810 (smie-setup): Use add-function to set it.
9812 2013-05-24 Sam Steingold <sds@gnu.org>
9814 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9815 argument (before the `interactive' argument).
9817 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9819 * image-mode.el (image-mode-winprops): Add winprops to
9820 image-mode-winprops-alist before running
9821 image-mode-new-window-functions.
9822 * doc-view.el (doc-view-new-window-function): Don't delay
9823 doc-view-goto-page via timers (bug#14435).
9825 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9827 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9828 (doc-view-desktop-save-buffer): New function.
9829 (doc-view-restore-desktop-buffer): New function.
9830 (desktop-buffer-mode-handlers):
9831 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9833 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9834 `desktop-save-buffer' function.
9836 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9838 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9839 (tramp-gvfs-file-name-handler): Raise a user error when
9840 `tramp-gvfs-enabled' is nil.
9841 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9842 Do not raise a user error when loading package. (Bug#14447)
9844 * net/xesam.el: Move to obsolete/.
9846 2013-05-24 Glenn Morris <rgm@gnu.org>
9848 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9850 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9852 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9853 (Info-find-node, Man-getpage-in-background): Declare.
9855 * mail/unrmail.el (unrmail):
9856 Replace obsolete detect-coding-with-priority.
9858 * net/socks.el (socks-split-string): Use this rather than split-string.
9859 (socks-nslookup-host): Update for above change.
9860 (dynamic-choice, s5-dynamic-choice-match)
9861 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9862 Comment out unused code.
9864 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9865 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9866 (gud-tooltip-echo-area): Make obsolete.
9867 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9869 * progmodes/js.el (js--optimize-arglist): Declare.
9871 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9873 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9874 (ediff-window-C): Declare.
9876 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9877 Tweak requires to silence compiler.
9879 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9880 (he-search-string, he-tried-table, he-expand-list)
9881 (he-init-string, he-string-member, he-substitute-string)
9882 (he-reset-string): Declare.
9884 * obsolete/options.el (list-options): Use custom-variable-p,
9885 rather than obsolete alias.
9887 2013-05-23 Sam Steingold <sds@gnu.org>
9889 * simple.el (shell-command-on-region): Pass the `replace' argument
9890 down to `call-process-region' to comply with the doc as reported on
9891 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9893 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9895 * emacs-lisp/smie.el (smie-indent-forward-token)
9896 (smie-indent-backward-token): Handle string tokens (bug#14381).
9898 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9900 * ielm.el (ielm-menu): New menu.
9901 (inferior-emacs-lisp-mode): Set comment-start.
9903 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9905 * textmodes/reftex.el (reftex-ref-style-toggle):
9906 Fix deactivate action.
9908 * textmodes/reftex-vars.el (reftex-ref-style-alist):
9909 Add cleveref macros.
9911 * textmodes/reftex-parse.el
9912 (reftex-locate-bibliography-files): Accept options for
9913 bibliography commands.
9914 * textmodes/reftex-vars.el (reftex-bibliography-commands):
9915 Add addbibresource. Basic Biblatex support.
9917 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9919 * net/tramp-gvfs.el (top):
9920 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9921 when loading package. (Bug#14447)
9923 2013-05-23 Glenn Morris <rgm@gnu.org>
9925 * progmodes/js.el: No need to load comint when compiling.
9926 (ring-insert, comint-send-string, comint-send-input)
9927 (comint-last-input-end, ido-chop): Declare.
9929 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9930 * vc/ediff-mult.el: Adjust requires.
9931 (ediff-directories-internal, ediff-directory-revisions-internal)
9932 (ediff-patch-file-internal): Declare.
9933 * vc/ediff-ptch.el: Adjust requires.
9934 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9935 (ediff-find-file): Autoload.
9936 * vc/ediff-util.el: No need to load ediff when compiling.
9937 (ediff-regions-internal): Declare.
9938 * vc/ediff-wind.el: Adjust requires.
9939 (ediff-compute-toolbar-width): Define when compiling.
9940 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9941 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9942 (dired-get-filename, dired-get-marked-files)
9943 (ediff-last-dir-patch, ediff-patch-default-directory)
9944 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9945 (ediff-patch-buffer-internal): Declare.
9947 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9948 (ispell-process, ispell-buffer-local-words, lm-summary)
9949 (lm-section-start, lm-section-end): Declare.
9950 (checkdoc-ispell-init): Simplify.
9952 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9953 (he-string-member, he-reset-string, he-substitute-string): Declare.
9955 * eshell/em-ls.el: Adjust requires.
9956 (eshell-glob-regexp): Declare.
9957 * eshell/em-tramp.el: Adjust requires.
9958 (eshell-parse-command): Autoload.
9959 * eshell/em-xtra.el: Adjust requires.
9960 (eshell-parse-command): Autoload.
9961 * eshell/esh-ext.el: Adjust requires.
9962 (eshell-parse-command, eshell-close-handles): Autoload.
9963 * eshell/esh-io.el: Adjust requires.
9964 (eshell-output-filter): Autoload.
9965 * eshell/esh-util.el: No need to load tramp when compiling.
9966 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9968 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9969 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9970 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9971 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9972 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9973 * eshell/esh-opt.el, eshell/esh-proc.el:
9974 * eshell/esh-var.el: Adjust requires.
9975 * eshell/eshell.el: Do not require esh-util twice.
9976 (eshell-add-input-to-history): Declare.
9977 (eshell-command): Check history module is active before using it.
9979 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9981 2013-05-22 Leo Liu <sdl.web@gmail.com>
9983 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9985 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9987 * autorevert.el (auto-revert-notify-add-watch)
9988 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9989 it indicates changes in file modification time.
9991 2013-05-22 Glenn Morris <rgm@gnu.org>
9993 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9994 Always delete the autoloaded function from the noruntime and
9995 unresolved functions lists.
9997 * allout.el: No need to load epa, epg, overlay when compiling.
9998 (epg-context-set-passphrase-callback, epg-list-keys)
9999 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10000 (epg-key-user-id-list): Declare.
10002 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10003 (viper-set-parsing-style-toggling-macro)
10004 (viper-set-emacs-state-searchstyle-macros):
10005 Use called-interactively-p on Emacs.
10006 (viper-looking-back): Make it an obsolete alias. Update callers.
10007 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10008 Use looking-back rather than viper-looking-back.
10009 (viper-tmp-insert-at-eob, viper-enlarge-region)
10010 (viper-read-string-with-history, viper-register-to-point)
10011 (viper-append-to-register, viper-change-state-to-vi)
10012 (viper-backward-char-carefully, viper-forward-char-carefully)
10013 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10014 (viper-change-state-to-emacs): Declare.
10015 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10016 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10017 * emulation/viper-mous.el: Do not load viper-cmd.
10018 (viper-backward-char-carefully, viper-forward-char-carefully)
10019 (viper-forward-word, viper-adjust-window): Declare.
10021 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10023 * progmodes/idlw-help.el (idlwave-help-fontify):
10024 Use called-interactively-p.
10026 * term/w32console.el (w32-get-console-codepage)
10027 (w32-get-console-output-codepage): Declare.
10029 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10030 Remove unnecessary declarations.
10031 (dframe-message): Doc fix.
10033 * info.el (dframe-select-attached-frame, dframe-current-frame):
10036 * speedbar.el (speedbar-message): Make it an obsolete alias.
10037 Update all callers.
10038 (speedbar-with-attached-buffer)
10039 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10040 (speedbar-with-writable): Use backquote.
10041 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10042 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10043 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10044 rather than speedbar- aliases.
10045 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10046 (speedbar-make-specialized-keymap, speedbar-insert-button)
10047 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10048 (speedbar-do-function-pointer): Declare.
10049 (rmail-speedbar-button, rmail-speedbar-find-file)
10050 (rmail-speedbar-move-message):
10051 Use dframe-with-attached-buffer rather than speedbar- alias.
10052 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10053 (dframe-message, speedbar-make-specialized-keymap)
10054 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10055 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10056 (speedbar-insert-button, dframe-select-attached-frame)
10057 (dframe-maybee-jump-to-attached-frame)
10058 (speedbar-change-initial-expansion-list)
10059 (speedbar-previously-used-expansion-list-name): Declare.
10060 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10061 Use dframe-message, dframe-with-attached-buffer rather than
10063 (gud-sentinel): Silence compiler.
10064 * progmodes/vhdl-mode.el (speedbar-refresh)
10065 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10066 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10067 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10068 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10069 (speedbar-file-lists, speedbar-make-tag-line)
10070 (speedbar-line-directory, speedbar-goto-this-file)
10071 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10072 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10073 (speedbar-make-button, speedbar-reset-scanners)
10074 (speedbar-files-item-info, speedbar-line-text)
10075 (speedbar-find-file-in-frame, speedbar-set-timer)
10076 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10077 (speedbar-with-writable): Do not (re)define it.
10078 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10079 rather than speedbar- alias.
10081 2013-05-21 Leo Liu <sdl.web@gmail.com>
10083 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10085 (octave-mode): Tweak fill-nobreak-predicate.
10086 (inferior-octave-startup): Check process to avoid infinite loop.
10087 (inferior-octave): Pop to buffer first to show abornmal process
10090 2013-05-21 Glenn Morris <rgm@gnu.org>
10092 * printing.el (pr-menu-bar): Define when compiling.
10094 2013-05-21 Leo Liu <sdl.web@gmail.com>
10096 * progmodes/octave.el (octave-auto-fill): Remove.
10097 (octave-indent-new-comment-line): Improve.
10098 (octave-mode): Use auto fill mode through
10099 comment-line-break-function and fill-nobreak-predicate.
10100 (octave-goto-function-definition): Support DEFUN_DLD.
10101 (octave-beginning-of-defun): Small tweak.
10102 (octave-help): Show parent directory.
10104 2013-05-21 Glenn Morris <rgm@gnu.org>
10106 * files.el (dired-unmark):
10107 * progmodes/gud.el (gdb-input): Update declarations.
10109 * calculator.el (electric, ehelp): No need to load when compiling.
10110 (Electric-command-loop, electric-describe-mode): Declare.
10112 * doc-view.el (doc-view-current-converter-processes): Move before use.
10114 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10115 Move MODE-set-explicitly definition before use.
10117 * international/mule-diag.el (mule-diag):
10118 Don't use obsolete window-system-version.
10120 * mail/feedmail.el (smtpmail): No need to load when compiling.
10121 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10123 * mail/mail-utils.el (rfc822): No need to load when compiling.
10124 (rfc822-addresses): Autoload it.
10125 (mail-strip-quoted-names): Trivial simplification.
10127 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10128 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10130 * net/snmp-mode.el (tempo): Don't duplicate requires.
10132 * progmodes/prolog.el (info): No need to load when compiling.
10133 (comint): Require before shell requires it.
10134 (Info-goto-node): Autoload it.
10135 (Info-follow-nearest-node): Declare.
10136 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10138 * textmodes/artist.el (picture-mode-exit): Declare.
10140 * textmodes/reftex-parse.el (reftex-parse-from-file):
10141 Trivial rewrite so the compiler can parse it better.
10143 2013-05-20 Leo Liu <sdl.web@gmail.com>
10145 * progmodes/octave.el (octave-help-mode-map)
10146 (octave-help-mode-finish-hook): New variables.
10147 (octave-help-mode, octave-help-mode-finish): New functions.
10148 (octave-help): Use octave-help-mode.
10150 2013-05-20 Glenn Morris <rgm@gnu.org>
10152 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10154 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10156 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10157 start at point, so that expansion starting right after opening
10158 slash in a regexp is recognized.
10159 (ruby-syntax-before-regexp-re): New defvar, extracted from
10160 ruby-syntax-propertize-function. Since the value of this regexp
10161 is looked up at runtime now, we should be able to turn
10162 `ruby-syntax-methods-before-regexp' into a defcustom later.
10163 (ruby-syntax-propertize-function): Split regexp matching into two
10164 parts, for opening and closing slashes. That allows us to skip
10165 over string interpolations and support multiline regexps.
10166 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10167 for them, which calls `ruby-syntax-propertize-expansion'.
10168 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10169 call to `ruby-syntax-propertize-function'.
10170 (ruby-syntax-propertize-expansion): Extracted from
10171 `ruby-syntax-propertize-expansions'. Handles one expansion.
10172 (ruby-syntax-propertize-percent-literal): Leave point right after
10173 the percent symbol, so that the expression expansion rule can
10174 propertize the contents.
10175 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10177 (ruby-syntax-propertize-expansions): Remove.
10179 2013-05-18 Juri Linkov <juri@jurta.org>
10181 * man.el (Man-default-man-entry): Remove `-' from the end
10182 of the default value. (Bug#14400)
10184 2013-05-18 Glenn Morris <rgm@gnu.org>
10186 * comint.el (comint-password-prompt-regexp):
10187 Allow "password for XXX" where XXX contains colons (eg https://...).
10189 2013-05-18 Leo Liu <sdl.web@gmail.com>
10191 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10192 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10193 (octave-source-directories): Don't check process.
10194 (octave-source-directories, octave-find-definition): Doc fix.
10196 2013-05-18 Glenn Morris <rgm@gnu.org>
10198 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10199 Remove backspace/delete bindings. (Bug#14392)
10201 * cus-dep.el (custom-make-dependencies): Sort the output.
10202 (custom-versions-load-alist): Convert comment to doc.
10204 2013-05-17 Leo Liu <sdl.web@gmail.com>
10206 * newcomment.el (comment-search-backward): Stricter in finding
10207 comment start. (Bug#14303)
10209 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10210 (octave-comment-start-skip): Properly anchored.
10212 2013-05-17 Leo Liu <sdl.web@gmail.com>
10214 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10215 Clean up when turned off. (Bug#14395)
10216 (smie--highlight-matching-block-overlay): No longer buffer-local.
10217 (smie-highlight-matching-block): Adjust.
10219 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10221 Doc string fix for "nanoseconds" (Bug#14406).
10222 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10223 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10225 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10227 * calc/calc-units.el (math-extract-units): Preserve powers
10230 2013-05-17 Leo Liu <sdl.web@gmail.com>
10232 * subr.el (delete-consecutive-dups): New function.
10233 * ido.el (ido-set-matches-1): Use it.
10234 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10235 * ido.el (ido-remove-consecutive-dups): Remove.
10237 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10239 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10240 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10241 regexp-opt's `words'.
10243 2013-05-16 Leo Liu <sdl.web@gmail.com>
10245 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10246 (smie--highlight-matching-block-overlay)
10247 (smie--highlight-matching-block-lastpos)
10248 (smie--highlight-matching-block-timer): New variables.
10249 (smie-highlight-matching-block): New function.
10250 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10251 (smie-setup): Conditionally enable smie-blink-matching-open.
10253 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10255 Sync with upstream verilog-mode r840.
10256 * progmodes/verilog-mode.el (verilog-mode-version)
10257 (verilog-mode-release-date): Update.
10258 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10259 (verilog-sig-tieoff): Fix string error on
10260 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10261 (verilog-read-decls): Fix parameters confusing
10262 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10264 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10266 * subr.el (reveal-filename): New function.
10268 * loadup.el: Compute Emacs executable versions on MS-Windows,
10269 where executables have the .exe extension. Add a hard link
10270 emacs-XX.YY.ZZ.exe on MS-Windows.
10272 * Makefile.in (XARGS_LIMIT): New variable.
10273 (custom-deps, finder-data, autoloads)
10274 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10275 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10276 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10277 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10279 2013-05-16 Leo Liu <sdl.web@gmail.com>
10281 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10282 (octave-mode-menu, octave-mode-map): Remove its uses.
10284 2013-05-16 Reto Zimmermann <reto@gnu.org>
10286 Sync with upstream vhdl mode v3.34.2.
10287 * progmodes/vhdl-mode.el: Use `push' throughout.
10288 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10289 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10290 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10291 (vhdl-actual-generic-name): New option to derive actual generic name.
10292 (vhdl-port-paste-signals): Replace formal by actual generics.
10293 (vhdl-beautify): New name for old group vhdl-align. Update users.
10294 (vhdl-beautify-options): New option.
10295 (vhdl-last-input-event): New compat alias. Use throughout.
10296 (vhdl-goto-line): Replace user level function `goto-line'.
10297 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10298 vhdl-fix-statement-buffer.
10299 (vhdl-create-mode-menu): Add some entries.
10300 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10301 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10302 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10303 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10304 to force statements on one line.
10305 (vhdl-remove-trailing-spaces-region):
10306 New, split from vhdl-remove-trailing-spaces.
10307 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10308 Respect vhdl-beautify-options.
10309 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10310 (vhdl-update-sensitivity-list): Not add with index if exists without.
10311 Not include array index with signal. Ignore keywords in comments.
10312 (vhdl-get-visible-signals): Regexp tweaks.
10313 (vhdl-template-component-inst): Handle empty library.
10314 (vhdl-template-type): Add template for 'enum' type.
10315 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10316 Use vhdl-replace-string.
10317 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10318 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10319 (vhdl-speedbar-initialize): Update for above name change.
10320 (vhdl-compose-wire-components): Fix in handling of constants.
10321 (vhdl-error-regexp-emacs-alist): New variable.
10322 (vhdl-error-regexp-add-emacs): New function;
10323 adds support for new compile.el (Emacs 22+)
10324 (vhdl-generate-makefile-1): Change target order for single lib. units.
10325 Allow use of absolute file names.
10327 2013-05-16 Leo Liu <sdl.web@gmail.com>
10329 * simple.el (prog-indent-sexp): Indent enclosing defun.
10331 2013-05-15 Glenn Morris <rgm@gnu.org>
10333 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10334 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10335 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10336 (whitespace-highlight): Move to whitespace group.
10338 * comint.el (comint-source):
10339 * pcmpl-linux.el (pcmpl-linux):
10340 * shell.el (shell-faces):
10341 * eshell/esh-opt.el (eshell-opt):
10342 * international/ccl.el (ccl): Remove empty custom groups.
10344 * completion.el (dynamic-completion-mode):
10345 * jit-lock.el (jit-lock-debug-mode):
10346 * minibuffer.el (completion-in-region-mode):
10347 * type-break.el (type-break-mode-line-message-mode)
10348 (type-break-query-mode):
10349 * emulation/tpu-edt.el (tpu-edt-mode):
10350 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10351 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10352 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10354 * term/xterm.el (xterm): Change parent group to terminals.
10356 * master.el (master): Remove empty custom group.
10357 (master-mode): Remove unused :group argument.
10358 * textmodes/refill.el (refill): Remove empty custom group.
10359 (refill-mode): Remove unused :group argument.
10361 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10363 * cus-dep.el: Provide a feature.
10364 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10365 Don't mistakenly ignore files whose basenames match a basename
10366 from preloaded-file-list (eg cedet/ede/simple.el).
10367 Add a fallback method for getting :group.
10369 2013-05-15 Juri Linkov <juri@jurta.org>
10371 * isearch.el (isearch-char-by-name): Rename from
10372 `isearch-insert-char-by-name'. Doc fix.
10373 (isearch-forward): Mention `isearch-char-by-name' in
10374 the docstring. (Bug#13348)
10376 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10377 `exit-minibuffer' instead of
10378 `isearch-nonincremental-exit-minibuffer'.
10379 (isearch-edit-string): Remove mention of
10380 `isearch-nonincremental-exit-minibuffer' from docstring.
10381 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10382 (isearch-forward-exit-minibuffer)
10383 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10385 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10387 * loadup.el: Just use unversioned DOC.
10389 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10390 literals as extending to EOB.
10391 (nxml-last-fontify-end): Remove unused variable.
10392 (nxml-after-change1): Use with-silent-modifications.
10393 (nxml-extend-after-change-region): Simplify.
10394 (nxml-extend-after-change-region1): Remove function.
10395 (nxml-after-change1): Don't adjust for dependent regions.
10396 (nxml-fontify-matcher): Simplify.
10397 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10398 (xmltok-add-dependent): Remove function.
10399 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10400 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10401 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10402 unclosed <[[, <?, comment, and other literals as extending to EOB.
10403 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10404 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10406 (rng-do-some-validation-1): Don't mark dependent regions.
10407 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10408 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10409 (nxml-clear-dependent-regions): Remove functions.
10410 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10411 (nxml-ensure-scan-up-to-date):
10412 Don't clear&mark dependent regions.
10414 2013-05-15 Leo Liu <sdl.web@gmail.com>
10416 * progmodes/octave.el (octave-goto-function-definition):
10417 Improve and fix callers.
10419 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10421 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10422 the setter (bug#14387).
10424 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10425 surrounding group (bug#14402).
10427 2013-05-14 Juri Linkov <juri@jurta.org>
10429 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10432 2013-05-14 Glenn Morris <rgm@gnu.org>
10434 * progmodes/f90.el (f90-imenu-generic-expression):
10435 Fix typo in 2013-05-08 change. (Bug#14402)
10437 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10439 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10440 Remove signals for which replies are never received.
10442 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10444 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10445 (gdb-handler-alist, gdb-handler-number): Remove variables.
10446 (gdb-handler-list): New variable.
10447 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10448 (gdb-pending-handler-p, gdb-handle-reply)
10449 (gdb-remove-all-pending-triggers): New functions.
10450 (gdb-discard-unordered-replies): New defcustom.
10451 (gdb-handler): New defstruct.
10452 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10453 instead of gdb-pending-triggers. Update docstring.
10454 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10455 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10456 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10457 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10458 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10459 (gdb-frame-handler): Pending triggers are now automatically managed.
10460 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10462 (gdb-input): Automatically handles pending triggers. Update docstring.
10463 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10464 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10466 (gdb-done-or-error): Now use gdb-handle-reply.
10468 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10470 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10473 2013-05-14 Glenn Morris <rgm@gnu.org>
10475 * subr.el (user-emacs-directory-warning): New option.
10476 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10478 2013-05-14 Leo Liu <sdl.web@gmail.com>
10480 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10482 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10483 (octave-font-lock-texinfo-comment): Fix invalid search bound
10484 error: wrong side of point.
10486 2013-05-14 Glenn Morris <rgm@gnu.org>
10488 * progmodes/flymake.el (flymake-xml-program): New option.
10489 (flymake-xml-init): Use it.
10491 * term/xterm.el: Provide a feature.
10493 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10495 2013-05-13 Glenn Morris <rgm@gnu.org>
10497 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10498 Add compat aliases as a hack workaround. (Bug#14384)
10500 2013-05-13 Leo Liu <sdl.web@gmail.com>
10502 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10504 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10506 (octave-comment-start-skip): Include %!.
10507 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10509 2013-05-12 Leo Liu <sdl.web@gmail.com>
10511 * progmodes/octave.el (inferior-octave-startup): Store the value
10512 of __octave_srcdir__ for octave-source-directories.
10513 (inferior-octave-check-process): New function refactored out of
10514 inferior-octave-send-list-and-digest.
10515 (octave-source-directories)
10516 (octave-find-definition-filename-function): New variables.
10517 (octave-source-directories)
10518 (octave-find-definition-default-filename): New functions.
10519 (octave-find-definition): Improve to find functions implemented in C++.
10521 2013-05-12 Glenn Morris <rgm@gnu.org>
10523 * calendar/diary-lib.el (diary-outlook-format-1):
10524 Don't include dayname in the output. (Bug#14349)
10526 2013-05-11 Glenn Morris <rgm@gnu.org>
10528 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10530 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10531 Treat cc-provide like provide.
10533 2013-05-11 Kevin Ryde <user42@zip.com.au>
10535 * cus-dep.el (custom-make-dependencies):
10536 Use generated-autoload-load-name for the sake of files such
10537 such cedet/semantic/bovine/c.el, where the base file name
10538 is not in load-path. (Bug#5277)
10540 2013-05-11 Glenn Morris <rgm@gnu.org>
10542 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10545 2013-05-11 Leo Liu <sdl.web@gmail.com>
10547 * progmodes/octave.el (octave-indent-comment): Improve.
10548 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10549 (octave-eldoc-function-signatures, octave-eldoc-function):
10551 (octave-mode, inferior-octave-mode): Add eldoc support.
10553 2013-05-11 Richard Stallman <rms@gnu.org>
10555 * epa.el (epa-decrypt-file): Take output file name as argument
10556 and read it using `interactive'.
10558 2013-05-11 Leo Liu <sdl.web@gmail.com>
10560 * progmodes/octave.el (octave-beginning-of-line)
10561 (octave-end-of-line): Check before using up-list because it jumps
10562 out of more syntactic contructs since moving to smie.
10563 (octave-indent-comment): New function.
10564 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10565 (octave-begin-keywords, octave-end-keywords)
10566 (octave-reserved-words, octave-smie-bnf-table)
10567 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10569 2013-05-11 Glenn Morris <rgm@gnu.org>
10571 * faces.el (internal-face-x-get-resource):
10572 * frame.el (ns-display-monitor-attributes-list):
10573 * calc/calc-aent.el (math-to-radians-2):
10574 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10577 * calc/calc-menu.el: Make it loadable in isolation.
10579 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10580 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10581 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10582 (eudc-bbdb-query-internal): Require 'bbdb.
10584 * lpr.el (lpr-headers-switches):
10585 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10587 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10589 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10591 * term.el (term-set-escape-char): Make it idempotent.
10593 2013-05-10 Leo Liu <sdl.web@gmail.com>
10595 * progmodes/octave.el (inferior-octave-completion-table):
10596 No longer a function and all uses changed. Use cache to speed up
10597 completion due to bug#11906.
10598 (octave-beginning-of-defun): Re-write to be more general.
10600 2013-05-10 Glenn Morris <rgm@gnu.org>
10602 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10604 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10606 * comint.el (comint-redirect-send-command-to-process): Use :around
10607 rather than :override for comint-redirect-filter.
10608 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10609 Call it instead of comint-redirect-original-filter-function (which
10610 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10612 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10614 * frame.el (display-monitor-attributes-list): Add NS case.
10615 (ns-display-monitor-attributes-list): Declare.
10617 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10619 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10621 2013-05-09 Glenn Morris <rgm@gnu.org>
10623 * international/fontset.el (vertical-centering-font-regexp):
10624 Set standard-value.
10626 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10628 * bookmark.el (bookmark-search-delay):
10629 * cus-start.el (vertical-centering-font-regexp):
10630 * ps-mule.el (ps-mule-font-info-database-default):
10631 * ps-print.el (ps-default-fg, ps-default-bg):
10632 * type-break.el (type-break-good-break-interval):
10633 * whitespace.el (whitespace-indentation-regexp)
10634 (whitespace-space-after-tab-regexp):
10635 * emacs-lisp/testcover.el (testcover-1value-functions)
10636 (testcover-noreturn-functions, testcover-progn-functions)
10637 (testcover-prog1-functions):
10638 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10639 * eshell/em-glob.el (eshell-glob-translate-alist):
10640 * play/tetris.el (tetris-tty-colors):
10641 * progmodes/cpp.el (cpp-face-default-list):
10642 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10643 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10644 (idlwave-help-browser-generic-args):
10645 * progmodes/make-mode.el (makefile-special-targets-list):
10646 * progmodes/python.el (python-shell-virtualenv-path):
10647 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10648 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10649 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10650 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10651 * textmodes/reftex-vars.el (reftex-format-label-function):
10652 * textmodes/remember.el (remember-diary-file): Fix custom types.
10654 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10657 2013-05-09 Leo Liu <sdl.web@gmail.com>
10659 * progmodes/octave.el (inferior-octave-completion-at-point):
10660 Restore file completion. (Bug#14300)
10661 (inferior-octave-startup): Fix incorrect highlighting for the
10664 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10666 * progmodes/ruby-mode.el: First cut at SMIE support.
10667 (ruby-use-smie): New var.
10668 (ruby-smie-grammar): New constant.
10669 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10670 (ruby-smie--forward-token, ruby-smie--backward-token)
10671 (ruby-smie-rules): New functions.
10672 (ruby-mode-variables): Setup SMIE if applicable.
10674 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10676 * simple.el (line-move-visual): Signal beginning/end of buffer
10677 only if vertical-motion moved less than it was requested. Avoids
10678 silly incorrect error messages when there are display strings with
10679 multiple newlines at EOL.
10681 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10683 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10684 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10685 (prolog-char-quote-workaround):
10686 * progmodes/cperl-mode.el (cperl-under-as-char):
10687 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10689 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10691 (vhdl-mode-syntax-table-init): Remove.
10693 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10696 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10698 (ld-script-font-lock-keywords):
10699 Change regexps to use things like \_< and \_>.
10701 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10702 Change all regexps to use things like \_< and \_>.
10704 * progmodes/autoconf.el (autoconf-definition-regexp)
10705 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10706 Handle a _ with symbol syntax.
10707 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10709 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10710 Consolidate declaration.
10711 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10713 (ada-create-syntax-table): Remove.
10714 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10715 already has the right syntax nowadays.
10716 (ada-goto-next-word): Don't change the syntax of "_".
10718 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10721 2013-05-08 Sam Steingold <sds@gnu.org>
10723 * thingatpt.el (thing-at-point): Accept optional second argument
10724 NO-PROPERTIES to strip the text properties from the return value.
10725 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10726 to `thing-at-point' instead of stripping the properties ourselves.
10727 Also, when `thing-at-point' fails to find a url, prepend "http://"
10728 to the filename at point on the assumption that the user is
10729 pointing at something like gnu.org/gnu.
10731 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10733 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10734 * faces.el (crm-separator):
10735 Silence byte-compiler.
10737 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10738 (tool-bar-map): Remove unneeded defvars.
10740 2013-05-08 Leo Liu <sdl.web@gmail.com>
10742 Re-work a fix for bug#10994 based on Le Wang's patch.
10743 * ido.el (ido-remove-consecutive-dups): New helper.
10744 (ido-completing-read): Use it.
10745 (ido-chop): Revert fix for bug#10994.
10747 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10749 * cus-edit.el (custom-save-variables):
10750 Pretty-print long values. (Bug#14187)
10752 2013-05-08 Glenn Morris <rgm@gnu.org>
10754 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10755 (m4-mode-syntax-table): Init in the defvar.
10756 (m4-mode-abbrev-table): Let define-derived-mode define it.
10758 2013-05-08 Tom Tromey <tromey@redhat.com>
10760 * progmodes/m4-mode.el (m4-mode-syntax-table):
10761 Do not treat "_" as word constituent. (Bug#14167)
10763 2013-05-07 Glenn Morris <rgm@gnu.org>
10765 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10766 Remove explicit eshell-isearch-cancel-map.
10768 * progmodes/f90.el (f90-smart-end-names): New option.
10769 (f90-smart-end): Doc fix.
10770 (f90-end-block-optional-name): New constant.
10771 (f90-block-match): Respect f90-smart-end-names.
10773 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10775 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10776 about implicit semi-colons (bug#14218).
10778 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10780 * frame.el (display-monitor-attributes-list)
10781 (frame-monitor-attributes): New functions.
10783 2013-05-06 Leo Liu <sdl.web@gmail.com>
10785 * progmodes/octave.el (octave-syntax-propertize-function): Change
10786 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10787 (octave-font-lock-keywords): Use octave-operator-regexp.
10788 (octave-completion-at-point): Rename from
10789 octave-completion-at-point-function.
10790 (inferior-octave-directory-tracker): Robustify.
10791 (octave-text-functions): Remove and fix its uses. No such things
10794 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10796 * emacs-lisp/trace.el (trace--display-buffer): New function.
10797 (trace-make-advice): Use it.
10799 2013-05-06 Juri Linkov <juri@jurta.org>
10801 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10802 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10804 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10805 in the help string. (Bug#12985)
10807 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10809 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10811 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10813 * progmodes/perl-mode.el: Add support for here documents.
10814 (perl-syntax-propertize-function): Match here-doc markers.
10815 (perl-syntax-propertize-special-constructs): Find their end.
10816 (perl-imenu-generic-expression): Use [:alnum:].
10818 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10819 (advice--add-function): Refresh the advice if already present
10822 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10824 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10826 2013-05-06 Glenn Morris <rgm@gnu.org>
10828 * w32-fns.el (w32-charset-info-alist): Declare.
10830 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10831 of its defcustom properties.
10832 (eshell-cmpl-initialize): No need to load pcomplete.
10834 * generic-x.el: No need to require comint when compiling.
10836 * net/eudc-export.el: Make it loadable without bbdb.
10837 (top-level): Use require rather than load-library.
10838 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10839 (eudc-batch-export-records-to-bbdb)
10840 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10843 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10845 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10846 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10847 some tweaks, instead.
10849 2013-05-05 Leo Liu <sdl.web@gmail.com>
10851 * progmodes/octave.el (octave-font-lock-keywords)
10852 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10853 (inferior-octave-send-list-and-digest): Improve error message.
10854 (octave-mode, inferior-octave-mode): Use setq-local.
10855 (octave-help): Set info-lookup-mode.
10857 2013-05-05 Richard Stallman <rms@gnu.org>
10859 * vc/compare-w.el (compare-windows-whitespace):
10860 Treat no-break space as whitespace.
10862 * mail/rmailsum.el (rmail-summary-rmail-update):
10863 Detect empty summary and don't change selected message.
10864 (rmail-summary-goto-msg): Likewise.
10866 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10867 Doc fixes, rename args.
10869 2013-05-05 Alan Mackenzie <acm@muc.de>
10871 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10873 2013-05-05 Juri Linkov <juri@jurta.org>
10875 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10876 to not add the length of the summary segment to the return value.
10879 2013-05-05 Leo Liu <sdl.web@gmail.com>
10881 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10882 (inferior-octave-output-filter): Remove.
10883 (octave-send-region, inferior-octave-startup): Fix callers.
10884 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10885 (octave-binary-file-extensions): New user variable.
10886 (octave-find-definition): Confirm if opening binary files.
10887 (octave-help-file): Use octave-find-definition to get the binary
10889 (octave-help): Adjust for octave-help-file change.
10891 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10893 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10894 Merge the two entries that handle function definitions.
10895 (pascal--syntax-propertize): New const.
10896 (pascal-mode): Use it. Use setq-local.
10898 2013-05-04 Glenn Morris <rgm@gnu.org>
10900 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10901 (diary-from-outlook): Respect diary-from-outlook-function.
10903 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10905 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10906 Move the declaration from C.
10907 (read-minibuffer, eval-minibuffer): Move from C.
10908 (completion-setup-function): Avoid minibuffer-completion-contents.
10910 2013-05-03 Leo Liu <sdl.web@gmail.com>
10912 * progmodes/octave.el (octave-font-lock-keywords): Do not
10913 dehighlight 'end' in comments or strings.
10914 (octave-completing-read, octave-goto-function-definition):
10916 (octave-help-buffer): New user variable.
10917 (octave-help-file, octave-help-function): New button types.
10918 (octave-help): New command and bind it to C-h ;.
10919 (octave-find-definition): New command and bind it to M-.
10920 (user-error): Alias to error if not defined.
10922 2013-05-02 Leo Liu <sdl.web@gmail.com>
10924 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10926 (octave-font-lock-keywords): Include [ and {.
10928 2013-05-02 Leo Liu <sdl.web@gmail.com>
10930 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10931 (inferior-octave): Remove calling comint-mode and return the buffer.
10932 (inferior-octave-startup): Cosmetic changes.
10934 2013-05-02 Leo Liu <sdl.web@gmail.com>
10936 * progmodes/octave.el (octave-syntax-propertize-function):
10937 Include the case when ' is at line beginning. (Bug#14336)
10939 2013-05-02 Glenn Morris <rgm@gnu.org>
10941 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10942 * desktop.el (vc-dir-mode): Just autoload it here.
10944 2013-05-02 Alan Mackenzie <acm@muc.de>
10946 Eliminate variable c-standard-font-lock-fontify-region-function.
10947 * progmodes/cc-mode.el
10948 (c-standard-font-lock-fontify-region-function): Remove.
10949 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10951 2013-05-01 Leo Liu <sdl.web@gmail.com>
10953 * progmodes/octave.el: Compatible with older emacs-24 releases.
10954 (inferior-octave-has-built-in-variables): Remove. Built-in
10955 variables were removed from Octave in 2007.
10956 (inferior-octave-startup): Fix uses.
10957 (comint-line-beginning-position): Remove compatibility code for
10960 2013-05-01 Juri Linkov <juri@jurta.org>
10962 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10964 2013-05-01 Juri Linkov <juri@jurta.org>
10966 * comint.el (comint-previous-matching-input): Don't print message
10967 "History item: %d" when `isearch-mode' is active.
10968 (comint-history-isearch-message): Print message "History item: %d"
10969 when `comint-input-ring-index' is not empty and this function is
10970 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10972 2013-05-01 Leo Liu <sdl.web@gmail.com>
10974 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10975 definitions. Use completion-at-point to insert keywords.
10976 (octave-abbrev-start): Remove.
10977 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10979 2013-04-30 Leo Liu <sdl.web@gmail.com>
10981 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10984 2013-04-30 Alan Mackenzie <acm@muc.de>
10986 Handle arbitrarily long C++ member initialisation lists.
10987 * progmodes/cc-engine.el (c-back-over-member-initializers):
10989 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10990 (most) member init lists.
10992 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10994 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10997 2013-04-30 Leo Liu <sdl.web@gmail.com>
10999 * progmodes/octave.el (octave-variables): Remove. No builtin
11000 variables any more. All converted to functions.
11001 (octave-font-lock-keywords, octave-completion-at-point-function):
11003 (octave-font-lock-texinfo-comment): New user variable.
11004 (octave-texinfo-font-lock-keywords): New variable for texinfo
11006 (octave-function-comment-block): New face.
11007 (octave-font-lock-texinfo-comment): New function.
11008 (octave-mode): Font lock texinfo comment block.
11010 2013-04-29 Leo Liu <sdl.web@gmail.com>
11012 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11013 indexing expression.
11014 (octave-continuation-string): Do not use \.
11015 (inferior-octave-complete-impossible): Remove.
11016 (inferior-octave-completion-table)
11017 (inferior-octave-completion-at-point): Remove its uses.
11018 (inferior-octave-startup): completion_matches was introduced to
11019 Octave in 1996 so safe to assume it.
11020 (octave-function-file-comment): Improve to follow how Octave does it.
11021 (octave-update-function-file-comment): Tweak.
11023 2013-04-29 Leo Liu <sdl.web@gmail.com>
11025 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11026 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11027 (octave-function-file-comment): Fix typo.
11028 (octave-sync-function-file-names): Use read-char-choice.
11030 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11032 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11033 to t for the less important warnings.
11035 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11037 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11039 2013-04-27 Glenn Morris <rgm@gnu.org>
11041 * vc/log-view.el (log-view-current-entry):
11042 Treat "---" separator lines as part of the following rev. (Bug#14169)
11044 2013-04-27 Juri Linkov <juri@jurta.org>
11046 * subr.el (read-number): Doc fix about using it by interactive
11047 code letter `n'. (Bug#14254)
11049 2013-04-27 Juri Linkov <juri@jurta.org>
11051 * desktop.el (desktop-auto-save-timeout): New option.
11052 (desktop-file-checksum): New variable.
11053 (desktop-save): Add optional arg `auto-save' and don't auto-save
11054 if nothing changed.
11055 (desktop-auto-save-timer): New variable.
11056 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11057 (after-init-hook): Call `desktop-auto-save-set-timer'.
11058 Suggested by Reuben Thomas <rrt@sc3d.org> in
11059 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11061 2013-04-27 Leo Liu <sdl.web@gmail.com>
11063 * progmodes/octave.el (octave-function-file-p)
11064 (octave-skip-comment-forward, octave-function-file-comment)
11065 (octave-update-function-file-comment): New functions.
11066 (octave-mode-map): Bind C-c ; to
11067 octave-update-function-file-comment.
11068 (octave-mode-menu): Add octave-update-function-file-comment.
11069 (octave-mode, inferior-octave-mode): Fix doc-string.
11070 (octave-insert-defun): Conform to Octave's coding convention.
11073 * files.el (basic-save-buffer): Don't let errors in
11074 before-save-hook prevent saving buffer.
11076 2013-04-20 Roland Winkler <winkler@gnu.org>
11078 * faces.el (read-face-name): Use completing-read if arg multiple
11081 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11083 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11084 displayed, move point to after the totals line.
11085 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11088 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11090 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11091 Add current dir to the load-path.
11092 (package-generate-autoloads): Don't rely on
11093 autoload-ensure-default-file.
11095 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11097 * textmodes/remember.el (remember-store-in-files): Document that
11098 the file name format is passed to `format-time-string'.
11100 2013-04-26 Leo Liu <sdl.web@gmail.com>
11102 * progmodes/octave.el (octave-sync-function-file-names): New function.
11103 (octave-mode): Use it in before-save-hook.
11105 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11107 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11110 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11111 \n and comment, even if it's not an implicit ; (bug#14218).
11113 2013-04-26 Glenn Morris <rgm@gnu.org>
11115 * subr.el (read-number): Once more use `read' rather than
11116 `string-to-number', to trap non-numeric input. (Bug#14254)
11118 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11120 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11121 Use `syntax-multiline' text property consistently instead of
11122 `font-lock-multiline'. (Bug#14237)
11124 2013-04-26 Glenn Morris <rgm@gnu.org>
11126 * emacs-lisp/shadow.el (list-load-path-shadows):
11127 No longer necessary to check for duplicate simple.el, since
11128 2012-07-07 change to init_lread to not include installation lisp
11129 directories in load-path when running uninstalled. (Bug#14270)
11131 2013-04-26 Leo Liu <sdl.web@gmail.com>
11133 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11134 (octave-mode, inferior-octave-mode): Use setq-local.
11135 (octave-not-in-string-or-comment-p): Rename to
11136 octave-in-string-or-comment-p.
11137 (octave-in-comment-p, octave-in-string-p)
11138 (octave-in-string-or-comment-p): Replace defsubst with defun.
11140 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11142 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11144 2013-04-25 Bastien Guerry <bzg@gnu.org>
11146 * textmodes/remember.el (remember-data-directory)
11147 (remember-directory-file-name-format): Fix custom types.
11149 2013-04-25 Leo Liu <sdl.web@gmail.com>
11151 * progmodes/octave.el (octave-completion-at-point-function):
11152 Make use of inferior octave process.
11153 (octave-initialize-completions): Remove.
11154 (inferior-octave-completion-table): New function.
11155 (inferior-octave-completion-at-point): Use it.
11156 (octave-completion-alist): Remove.
11158 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11160 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11161 (opascal-mode-syntax-table): New var.
11162 (opascal-literal-kind, opascal-is-literal-end)
11163 (opascal-literal-token-at): Rewrite.
11164 (opascal--literal-start-re, opascal-font-lock-keywords)
11165 (opascal--syntax-propertize): New constants.
11166 (opascal-font-lock-defaults): Adjust.
11167 (opascal-mode): Use them. Set comment-<foo> variables as well.
11168 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11169 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11170 (delphi-other-face, opascal-other-face): Remove face variables.
11171 (opascal-save-state): Remove macro.
11172 (opascal-fontifying-progress-step): Remove constant.
11173 (opascal--ignore-changes): Remove var.
11174 (opascal-set-token-property, opascal-parse-next-literal)
11175 (opascal-is-stable-literal, opascal-complete-literal)
11176 (opascal-is-literal-start, opascal-face-of)
11177 (opascal-parse-region, opascal-parse-region-until-stable)
11178 (opascal-fontify-region, opascal-after-change)
11179 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11180 (opascal-debug-parse-region, opascal-debug-parse-window)
11181 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11182 (opascal-debug-fontify-buffer): Remove.
11183 (opascal-debug-mode-map): Adjust accordingly.
11185 2013-04-25 Leo Liu <sdl.web@gmail.com>
11187 Merge octave-mod.el and octave-inf.el into octave.el with some
11189 * progmodes/octave.el: New file renamed from octave-mod.el.
11190 * progmodes/octave-inf.el: Merged into octave.el.
11191 * progmodes/octave-mod.el: Renamed to octave.el.
11193 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11195 * textmodes/reftex-vars.el
11196 (reftex-label-ignored-macros-and-environments): New defcustom.
11198 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11200 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11202 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11203 (smie-indent-keyword): Improve the check to ensure that the next
11204 comment is really on the same line.
11205 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11207 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11208 semi-colons if the line is not otherwise empty (bug#14218).
11210 2013-04-25 Glenn Morris <rgm@gnu.org>
11212 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11214 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11216 * progmodes/opascal.el (opascal-set-token-property): Rename from
11217 opascal-set-text-properties and only set `token' (bug#14134).
11218 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11219 (opascal-literal-text-properties): Remove.
11220 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11223 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11225 * textmodes/remember.el (remember-handler-functions): Add an
11226 option for a new handler `remember-store-in-files'.
11227 (remember-data-directory, remember-directory-file-name-format):
11229 (remember-store-in-files): New function to store remember notes
11230 as separate files within a directory.
11232 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11234 * progmodes/compile.el (compilation-next-error-function):
11235 Pass "formats" to compilation-find-file (bug#11777).
11237 2013-04-24 Glenn Morris <rgm@gnu.org>
11239 * vc/vc-bzr.el (vc-bzr-print-log):
11240 * vc/vc-hg.el (vc-hg-print-log):
11241 * vc/vc-svn.el (vc-svn-print-log):
11242 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11244 * vc/vc-bzr.el (vc-bzr-print-log):
11245 * vc/vc-cvs.el (vc-cvs-print-log):
11246 * vc/vc-git.el (vc-git-print-log):
11247 * vc/vc-hg.el (vc-hg-print-log):
11248 * vc/vc-mtn.el (vc-mtn-print-log):
11249 * vc/vc-rcs.el (vc-rcs-print-log):
11250 * vc/vc-sccs.el (vc-sccs-print-log):
11251 * vc/vc-svn.el (vc-svn-print-log):
11252 * vc/vc.el (vc-print-log-internal): Doc fixes.
11254 2013-04-23 Glenn Morris <rgm@gnu.org>
11256 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11257 Remove venerable code attempting to avoid substitute-command-keys.
11259 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11261 * textmodes/reftex-vars.el (reftex-label-regexps):
11262 Call `reftex-compile-variables' after changes to this variable.
11264 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11266 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11267 Use lexical-binding.
11268 (jit-lock-force-redisplay): Use markers, check buffer's continued
11269 existence and beware narrowed buffers.
11270 (jit-lock-fontify-now): Adjust call accordingly.
11272 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11274 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11275 to avoid misleading the user.
11277 2013-04-22 Leo Liu <sdl.web@gmail.com>
11279 * info-look.el: Prefer latex2e.info. (Bug#14240)
11281 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11283 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11285 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11286 * net/tramp.el (tramp-call-process): ... here.
11287 (tramp-set-completion-function, tramp-parse-putty):
11288 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11289 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11290 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11291 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11292 (tramp-call-local-coding-command): Use `tramp-call-process'
11293 instead of `tramp-compat-call-process'.
11295 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11296 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11297 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11298 (tramp-find-inline-compress): Improve traces.
11299 (tramp-maybe-send-script): Check for Perl binary.
11300 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11302 2013-04-22 Daiki Ueno <ueno@gnu.org>
11304 * epg.el (epg-context-pinentry-mode): New function.
11305 (epg-context-set-pinentry-mode): New function.
11306 (epg--start): Pass --pinentry-mode option to gpg command.
11308 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11310 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11311 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11312 `completion-at-point'. (Bug#13774)
11314 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11315 default key binding for `describe-distribution' has been moved to
11316 `C-h C-o'. (Bug#13970)
11318 2013-04-21 Glenn Morris <rgm@gnu.org>
11320 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11322 (vc-print-log): Clarify interactive prompt.
11324 2013-04-20 Glenn Morris <rgm@gnu.org>
11326 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11327 No longer include timestamp etc information.
11329 2013-04-20 Roland Winkler <winkler@gnu.org>
11331 * faces.el (read-face-name): Bug fix, return just one face if arg
11332 multiple is nil. (Bug#14209)
11334 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11336 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11337 (remove-function): Autoload.
11339 * comint.el (comint-redirect-original-filter-function): Remove.
11340 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11341 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11342 (vc-cvs-annotate-command):
11343 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11344 * progmodes/prolog.el (prolog-consult-compile):
11345 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11346 Use add/remove-function instead.
11347 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11348 (gud-tooltip-process-output, gud-tooltip-tips):
11349 Use add/remove-function instead.
11350 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11351 (scheme-interaction-mode, exit-scheme-interaction-mode):
11352 Use add/remove-function instead.
11354 * vc/vc-dispatcher.el: Use lexical-binding.
11355 (vc--process-sentinel): Rename from vc-process-sentinel.
11356 Change last arg to be the code to run. Don't use vc-previous-sentinel
11357 and vc-sentinel-commands any more.
11358 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11359 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11361 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11363 * progmodes/sh-script.el (sh-imenu-generic-expression):
11364 Handle function names with a single character. (Bug#14111)
11366 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11368 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11369 for subroutines defined in an eval (bug#14182).
11371 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11373 * bookmark.el (bookmark-completing-read): Improve handling of empty
11374 string (bug#14176).
11376 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11378 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11380 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11382 New faster Imenu implementation (bug#14058).
11383 * progmodes/python.el:
11384 (python-imenu-prev-index-position):
11385 (python-imenu-format-item-label-function)
11386 (python-imenu-format-parent-item-label-function)
11387 (python-imenu-format-parent-item-jump-label-function):
11389 (python-imenu-format-item-label)
11390 (python-imenu-format-parent-item-label)
11391 (python-imenu-format-parent-item-jump-label)
11392 (python-imenu--put-parent, python-imenu--build-tree)
11393 (python-imenu-create-index, python-imenu-create-flat-index)
11394 (python-util-popn): New functions.
11395 (python-mode): Set imenu-create-index-function to
11396 python-imenu-create-index.
11398 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11400 * winner.el (winner-active-region): Use region-active-p, activate-mark
11401 and deactivate-mark (bug#14225).
11403 * simple.el (deactivate-mark): Don't inline it.
11405 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11407 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11409 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11411 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11412 file extensions from the archive-mode entry in order to prefer
11413 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11415 2013-04-18 Leo Liu <sdl.web@gmail.com>
11417 * bindings.el (help-event-list): Add ?\?.
11419 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11421 * subr.el (with-wrapper-hook): Declare obsolete.
11422 * simple.el (filter-buffer-substring-function): New hook.
11423 (filter-buffer-substring): Use it.
11424 (filter-buffer-substring-functions): Mark obsolete.
11425 * minibuffer.el (completion-in-region-function): New hook.
11426 (completion-in-region): Use it.
11427 (completion-in-region-functions): Mark obsolete.
11428 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11429 * abbrev.el (abbrev-expand-function): New hook.
11430 (expand-abbrev): Use it.
11431 (abbrev-expand-functions): Mark obsolete.
11432 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11433 and :filter-return.
11435 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11437 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11438 and do not care about match data.
11440 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11442 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11443 completion tables when completing error conditions and
11444 `declare' arguments.
11445 (lisp-complete-symbol, field-complete): Mark as obsolete.
11446 (check-parens): Unmatched parens are user errors.
11447 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11449 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11451 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11452 command changed buffer (ie. `flyspell-pre-buffer' is not current
11453 buffer), which prevents making decisions based on invalid value of
11454 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11455 cause an error when `flyspell-pre-point' was nil after switching
11457 (flyspell-post-command-hook): No longer needs to change buffers when
11458 checking pre-word. While at it remove unnecessary progn.
11460 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11462 * textmodes/ispell.el (ispell-add-per-file-word-list):
11463 Fix `flyspell-correct-word-before-point' error when accepting
11464 words and `coment-padding' is an integer by using
11465 `comment-normalize-vars' (Bug #14214).
11467 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11469 New defun movement commands.
11470 * progmodes/python.el (python-nav--syntactically)
11471 (python-nav--forward-defun, python-nav-backward-defun)
11472 (python-nav-forward-defun): New functions.
11474 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11476 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11477 (python-syntax-context): Use named compiler-macro for backwards
11478 compatibility with Emacs 24.x.
11480 2013-04-17 Leo Liu <sdl.web@gmail.com>
11482 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11483 octave-hide-process-buffer.
11485 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11487 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11490 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11492 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11493 Fix adjustment of offset when receiving incomplete responses from GDB
11496 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11498 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11499 python-mode-abbrev-table.
11500 (python-skeleton-define): Adjust accordingly.
11501 (python-mode-abbrev-table): New table that inherits from it so that
11502 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11504 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11505 (abbrev-symbol): Use it.
11506 (abbrev--before-point): Use it since we already handle inheritance.
11508 2013-04-16 Leo Liu <sdl.web@gmail.com>
11510 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11511 binding to info-lookup-symbol.
11513 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11515 * minibuffer.el (completion--twq-all):
11516 * term/ns-win.el (ns-initialize-window-system):
11517 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11519 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11521 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11524 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11526 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11528 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11529 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11531 (ruby-end-of-defun): Remove the unused arg, change the docstring
11532 to reflect that this function is only used as the value of
11533 `end-of-defun-function'.
11534 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11535 to reflect an earlier change that beginning/end-of-defun functions
11536 jump between methods in a class definition, as well as top-level
11539 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11541 * minibuffer.el (minibuffer-complete): Don't just scroll
11542 a *Completions* that's been iconified.
11543 (minibuffer-force-complete): Make sure repetitions do cycle when going
11544 through completion-in-region -> minibuffer-complete.
11546 2013-04-15 Alan Mackenzie <acm@muc.de>
11548 Correct the placement of c-cpp-delimiters when there're #s not at
11551 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11552 place a submatch around the #.
11553 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11554 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11557 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11559 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11560 (advice--member-p): New arg `name'.
11561 (advice--add-function, advice-member-p): Use it (bug#14202).
11563 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11565 Reformulate java imenu-generic-expression.
11566 The old expression contained ill formed regexps.
11568 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11569 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11570 (cc-imenu-java-method-arg-regexp): New defconsts.
11571 (cc-imenu-java-build-type-args-regex): New defun.
11572 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11573 handling of spaces in the regexp.
11575 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11577 * textmodes/ispell.el (ispell-command-loop): Remove
11578 flyspell highlight of a word when ispell accepts it (bug #14178).
11580 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11582 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11583 uses code from the previous `ange-ftp-run-real-handler'.
11584 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11585 only in case that function exist. This is needed for proper
11586 unloading of Tramp.
11588 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11590 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11592 * textmodes/reftex.el (reftex-compile-variables): Use it.
11594 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11596 * files.el (normal-mode): Only use default major-mode if no other mode
11599 * emacs-lisp/trace.el (trace-values): New function.
11601 * files.el: Allow : in local variables (bug#14089).
11602 (hack-local-variable-regexp): New var.
11603 (hack-local-variables-prop-line, hack-local-variables): Use it.
11605 2013-04-13 Roland Winkler <winkler@gnu.org>
11607 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11608 data before it gets modified by bibtex-beginning-of-entry.
11610 2013-04-13 Roland Winkler <winkler@gnu.org>
11612 * textmodes/bibtex.el (bibtex-url): Doc fix.
11614 2013-04-13 Roland Winkler <winkler@gnu.org>
11616 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11617 does not visit a BibTeX file, exclude it from the list of buffers
11618 returned by bibtex-initialize.
11620 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11622 * window.el (split-window): Remove interactive form, since as a
11623 command this function is a special case of split-window-below.
11624 Correct doc string.
11626 2013-04-12 Roland Winkler <winkler@gnu.org>
11628 * faces.el (read-face-name): Do not override value of arg default.
11629 Allow single faces and strings as default values. Remove those
11630 elements from return value that are not faces.
11631 (describe-face): Simplify.
11632 (face-at-point): New optional args thing and multiple so that this
11633 function can provide the same functionality previously provided by
11635 (make-face-bold, make-face-unbold, make-face-italic)
11636 (make-face-unitalic, make-face-bold-italic, invert-face)
11637 (modify-face, read-face-and-attribute): Use face-at-point.
11639 * cus-edit.el (customize-face, customize-face-other-window)
11640 * cus-theme.el (custom-theme-add-face)
11641 * face-remap.el (buffer-face-set)
11642 * facemenu.el (facemenu-set-face): Use face-at-point.
11644 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11646 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11648 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11650 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11651 off leading { and trailing } from field values.
11653 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11655 * emacs-lisp/timer.el (timer--check): New function.
11656 (timer--time, timer-set-function, timer-event-handler): Use it.
11657 (timer-set-idle-time): Simplify.
11658 (timer--activate): CSE.
11659 (timer-event-handler): Give more info in error message.
11660 (internal-timer-start-idle): New function, moved from C.
11662 * mpc.el (mpc-proc): Add `restart' argument.
11663 (mpc-proc-cmd): Use it.
11664 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11665 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11668 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11670 * progmodes/sh-script.el: Implement `sh-mode' own
11671 `add-log-current-defun-function' (bug#14112).
11672 (sh-current-defun-name): New function.
11673 (sh-mode): Use the function.
11675 2013-04-09 Bastien Guerry <bzg@gnu.org>
11677 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11679 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11681 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11683 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11686 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11688 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11691 2013-04-07 Leo Liu <sdl.web@gmail.com>
11693 * pcmpl-x.el: New file.
11695 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11697 Do not set x-display-name until X connection is established.
11698 This is needed to prevent from weird situation described at
11699 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11700 * frame.el (make-frame): Set x-display-name after call to
11701 window system initialization function, not before.
11702 * term/x-win.el (x-initialize-window-system): Add optional
11703 display argument and use it.
11704 * term/w32-win.el (w32-initialize-window-system):
11705 * term/ns-win.el (ns-initialize-window-system):
11706 * term/pc-win.el (msdos-initialize-window-system):
11707 Add compatible optional display argument.
11709 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11711 * files.el (normal-backup-enable-predicate): On MS-Windows and
11712 MS-DOS compare truenames of temporary-file-directory and of the
11713 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11714 don't fail comparison by compare-strings. Also, compare file
11715 names case-insensitively on MS-Windows and MS-DOS.
11717 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11719 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11720 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11722 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11724 * whitespace.el (whitespace-color-on, whitespace-color-off):
11725 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11727 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11729 * ispell.el (ispell-set-spellchecker-params):
11730 Really set `ispell-args' for all equivs.
11732 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11734 * ido.el (ido-completions): Use extra elements of ido-decorations
11736 (ido-decorations): Update docstring.
11738 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11740 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11741 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11742 nil during initialization, in order not to miss changes since the
11743 file was opened. (Bug#14140)
11745 2013-04-05 Leo Liu <sdl.web@gmail.com>
11747 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11749 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11751 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11753 2013-04-04 Glenn Morris <rgm@gnu.org>
11755 * electric.el (electric-pair-inhibit-predicate): Add :version.
11757 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11759 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11760 when a package is required several times (bug#14082).
11762 2013-04-04 Roland Winkler <winkler@gnu.org>
11764 * faces.el (read-face-name): Behave as promised by the docstring.
11765 Assume that arg default is a list of faces.
11766 (describe-face): Call read-face-name with list of default faces.
11768 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11770 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11771 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11772 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11774 (bookmark-exit-hook-internal): Save even if list is empty.
11776 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11778 * emacs-lisp/package.el (package-pinned-packages): New var.
11779 (package--add-to-archive-contents): Obey it (bug#14118).
11781 2013-04-03 Alan Mackenzie <acm@muc.de>
11783 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11784 Also adapt to the new values of element 7 of a parse state.
11786 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11787 parameter `not-in-delimiter'. Handle being inside comment opener.
11788 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11789 character in case we're typing a '*' after a '/'.
11790 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11791 instead by passing the parameter to c-state-pp-to-literal.
11793 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11794 for elt. 7 of a parse state.
11796 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11798 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11799 * international/latin1-disp.el, international/mule-util.el:
11800 * language/cyril-util.el, language/european.el, language/ind-util.el:
11801 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11802 * language/tibetan.el, language/viet-util.el:
11803 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11805 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11807 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11808 (electric-pair-post-self-insert-function): Use it.
11809 (electric-pair-default-inhibit): New function, extracted from
11810 electric-pair-post-self-insert-function.
11812 2013-03-31 Roland Winkler <winkler@gnu.org>
11814 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11816 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11818 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11820 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11822 Un-indent after "pass" and "return" statements (Bug#13888)
11823 * progmodes/python.el (python-indent-block-enders): New var.
11824 (python-indent-calculate-indentation): Use it.
11826 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11828 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11829 defun. Defining it as defalias could introduce too eager
11830 byte-compiler optimization. (Bug#14030)
11832 2013-03-30 Chong Yidong <cyd@gnu.org>
11834 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11836 2013-03-30 Leo Liu <sdl.web@gmail.com>
11838 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11839 (kmacro-execute-from-register): Pass the keyboard macro to
11840 kmacro-call-macro or repeating won't work correctly.
11842 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11844 * progmodes/subword.el: Back to using `forward-symbol'.
11846 * subr.el (forward-whitespace, forward-symbol)
11847 (forward-same-syntax): Move from thingatpt.el.
11849 2013-03-29 Leo Liu <sdl.web@gmail.com>
11851 * kmacro.el (kmacro-to-register): New command.
11852 (kmacro-execute-from-register): New function.
11853 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11855 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11857 * mpc.el: Use defvar-local and setq-local.
11858 (mpc--proc-connect): Connection failures are not bugs.
11859 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11860 (mpc-volume-map): Bind to the up-events.
11862 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11864 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11865 instead of `forward-symbol'.
11867 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11869 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11870 (edebug--recursive-edit): Use it.
11871 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11872 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11874 2013-03-28 Leo Liu <sdl.web@gmail.com>
11876 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11878 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11880 * facemenu.el (list-colors-callback): New defvar.
11881 (list-colors-redisplay): New function.
11882 (list-colors-display): Install list-colors-redisplay as the
11883 revert-buffer-function. (Bug#14063)
11885 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11887 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11888 and suffixes don't overlap (bug#14061).
11890 * case-table.el: Use lexical-binding.
11891 (case-table-get-table): New function.
11892 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11894 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11896 * progmodes/subword.el: Add `superword-mode' to do word motion
11897 over symbol_words (parallels and leverages `subword-mode' which
11898 does word motion inside MixedCaseWords).
11900 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11902 * eshell/em-unix.el: Move su and sudo to...
11903 * eshell/em-tramp.el: ...Eshell tramp module.
11905 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11907 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11908 Change return value to be a sexp. Delay `get-buffer' to after
11909 restoring the desktop (bug#13951).
11911 2013-03-26 Leo Liu <sdl.web@gmail.com>
11913 * register.el: Move semantic tag handling back to
11914 cedet/semantic/senator.el. (Bug#14052)
11916 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11918 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11919 into the prompt either (bug#13963).
11921 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11923 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11924 part of "(error-foo)".
11926 2013-03-24 Juri Linkov <juri@jurta.org>
11928 * replace.el (list-matching-lines-prefix-face): New defcustom.
11929 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11930 `occur-engine' if `face-differs-from-default-p' returns t.
11931 (occur-engine): Add `,' inside backquote construct to evaluate
11932 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11933 Pass `prefix-face' to the functions `occur-context-lines' and
11934 `occur-engine-add-prefix'.
11935 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11936 `prefix-face' and propertize the prefix with `prefix-face'.
11939 2013-03-24 Leo Liu <sdl.web@gmail.com>
11941 * nxml/rng-valid.el (rng-validate-while-idle)
11942 (rng-validate-quick-while-idle): Guard against deleted buffer.
11945 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11946 is the last entry in kill-buffer-hook.
11948 * files.el (kill-buffer-hook): Doc fix.
11950 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11952 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11953 Make it safe-local.
11955 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11957 2013-03-23 Leo Liu <sdl.web@gmail.com>
11959 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11962 * nxml/rng-valid.el (rng-validate-mode)
11963 (rng-after-change-function, rng-do-some-validation):
11964 * nxml/rng-maint.el (rng-validate-buffer):
11965 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11966 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11967 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11968 (nxml-extend-after-change-region): Use with-silent-modifications.
11970 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11973 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11974 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11975 timer-idle-list. (Bug#13999)
11977 2013-03-23 Juri Linkov <juri@jurta.org>
11979 * info.el (info-index-match): New face.
11980 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11981 main pattern and add text properties with the new face to matches
11982 in index entries relative to the beginning of the index entry.
11985 2013-03-21 Eric Ludlam <zappo@gnu.org>
11987 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11988 Inhibit read only while inserting objects.
11990 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11992 * progmodes/cfengine.el: Update docs to mention
11993 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11994 symbol motion. Remove "_" from the word syntax.
11996 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11998 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11999 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12001 2013-03-20 Juri Linkov <juri@jurta.org>
12003 * info.el (Info-next-reference-or-link)
12004 (Info-prev-reference-or-link): New functions.
12005 (Info-next-reference, Info-prev-reference): Use them.
12006 (Info-try-follow-nearest-node): Handle footnote navigation.
12007 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12009 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12011 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12012 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12014 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12016 Suppress unnecessary non-ASCII chatter during build process.
12017 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12018 (batch-skkdic-convert): Suppress most of the chatter.
12019 It's not needed so much now that machines are faster,
12020 and its non-ASCII component was confusing; see Dmitry Gutov in
12021 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12023 2013-03-20 Leo Liu <sdl.web@gmail.com>
12025 * ido.el (ido-chop): Fix bug#10994.
12027 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12029 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12031 (whitespace-color-on, whitespace-color-off):
12032 Use `font-lock-fontify-buffer' (Bug#13817).
12034 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12036 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12037 remapping in mode-line.
12038 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12040 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12042 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12043 value for `whitespace-line' face (Bug#13875).
12044 (whitespace-font-lock-keywords): Change description.
12045 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12046 the constructed keywords instead.
12047 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12049 2013-03-19 Leo Liu <sdl.web@gmail.com>
12051 * progmodes/compile.el (compilation-display-error): New command.
12052 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12055 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12057 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12059 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12061 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12063 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12065 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12067 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12068 * net/tramp-gvfs.el (top):
12069 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12070 (tramp-handle-shell-command): Use it.
12071 (tramp-dissect-file-name): Raise an error when hostname is a
12072 method name, and neither method nor user is specified.
12074 * net/trampver.el: Update release number.
12076 2013-03-18 Leo Liu <sdl.web@gmail.com>
12078 Make sure eldoc can be turned off properly.
12079 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12081 (eldoc-display-message-p): Revert last change.
12082 (eldoc-display-message-no-interference-p)
12083 (eldoc-print-current-symbol-info): Tweak.
12085 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12087 * doc-view.el (doc-view-new-window-function): Check the new window
12088 overlay's display property instead the char property of the
12089 buffer's first char. Use `with-selected-window' instead of
12090 `save-window-excursion' with `select-window'.
12091 (doc-view-document->bitmap): Check the current doc-view overlay's
12092 display property instead the char property of the buffer's first char.
12094 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12096 Automate the build of ja-dic.el (Bug#13984).
12097 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12098 from the input, rather than assume that it's been done for us by the
12099 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12100 the current date into a ja-dic.el comment, as that complicates
12101 regression testing.
12103 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12105 * whitespace.el: Fix double evaluation.
12106 (whitespace-space, whitespace-hspace, whitespace-tab)
12107 (whitespace-newline, whitespace-trailing, whitespace-line)
12108 (whitespace-space-before-tab, whitespace-indentation)
12109 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12111 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12112 (whitespace-color-on): Use a single font-lock-add-keywords call.
12113 Fix double-evaluation of face variables.
12115 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12117 * net/tramp-adb.el (tramp-adb-parse-device-names):
12118 Use `start-process' instead of `call-process'. Otherwise, the
12119 function might be blocked under MS Windows. (Bug#13299)
12121 2013-03-17 Leo Liu <sdl.web@gmail.com>
12123 Extend eldoc to display info in the mode-line. (Bug#13978)
12124 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12125 (eldoc-mode-line-string): New variable.
12126 (eldoc-minibuffer-message): New function.
12127 (eldoc-message-function): New variable.
12128 (eldoc-message): Use it.
12129 (eldoc-display-message-p)
12130 (eldoc-display-message-no-interference-p):
12131 Support eldoc-post-insert-mode.
12133 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12134 (eval-expression): Run it.
12136 2013-03-17 Roland Winkler <winkler@gnu.org>
12138 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12139 strings in the list of return values.
12141 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12143 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12144 radix before checking for HMS forms.
12146 2013-03-16 Leo Liu <sdl.web@gmail.com>
12148 * progmodes/scheme.el: Add indentation and font-locking for λ.
12151 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12153 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12154 token before point (bug#13942).
12156 2013-03-16 Leo Liu <sdl.web@gmail.com>
12158 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12160 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12162 * startup.el (command-line-normalize-file-name): Fix handling of
12163 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12164 <xfq.free@gmail.com> in
12165 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12167 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12169 Sync with Tramp 2.2.7.
12171 * net/trampver.el: Update release number.
12173 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12175 * doc-view.el: Fix bug#13887.
12176 (doc-view-insert-image): Don't modify overlay associated to
12177 non-live windows, and implement horizontal centering of image in
12178 case it's smaller than the window.
12179 (doc-view-new-window-function): Force redisplay of new windows on
12182 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12184 * saveplace.el (save-place-alist-to-file): Don't sort
12185 `save-place-alist', just pretty-print it (bug#13882).
12187 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12189 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12190 Check whether `default-file-name-coding-system' is bound.
12191 It isn't in XEmacs.
12193 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12195 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12196 backquotes for `obsolete' (bug#13929).
12198 * international/mule.el (find-auto-coding): Include file name in
12199 obsolescence warning (bug#13922).
12201 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12203 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12204 for CFEngine 3-specific indentation.
12205 (cfengine3-indent-line): Use it. Fix up category regex.
12206 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12208 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12210 * type-break.el (type-break-file-name):
12211 * textmodes/remember.el (remember-data-file):
12212 * strokes.el (strokes-file):
12213 * shadowfile.el (shadow-initialize):
12214 * saveplace.el (save-place-file):
12215 * ps-bdf.el (bdf-cache-file):
12216 * progmodes/idlwave.el (idlwave-config-directory):
12217 * net/quickurl.el (quickurl-url-file):
12218 * international/kkc.el (kkc-init-file-name):
12219 * ido.el (ido-save-directory-list-file):
12220 * emulation/viper.el (viper-custom-file-name):
12221 * emulation/vip.el (vip-startup-file):
12222 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12223 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12225 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12227 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12228 * language/thai-word.el: Switch to UTF-8.
12230 See ChangeLog.16 for earlier changes.
12232 ;; Local Variables:
12236 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12238 This file is part of GNU Emacs.
12240 GNU Emacs is free software: you can redistribute it and/or modify
12241 it under the terms of the GNU General Public License as published by
12242 the Free Software Foundation, either version 3 of the License, or
12243 (at your option) any later version.
12245 GNU Emacs is distributed in the hope that it will be useful,
12246 but WITHOUT ANY WARRANTY; without even the implied warranty of
12247 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12248 GNU General Public License for more details.
12250 You should have received a copy of the GNU General Public License
12251 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.