1 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4 * window.el (fit-frame-to-buffer): Fix doc-string. Respect
5 window-min-height/-width. Fit pixelwise when
6 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
7 when avoiding that frame goes partially off-screen.
8 (fit-window-to-buffer): Respect window-min-height/-width
11 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
16 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
18 * net/shr.el (shr-render-region): Autoload.
20 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
22 * net/eww.el (eww-download-directory): Rename from
23 `eww-download-path' (Bug#16419).
25 2014-01-12 Leo Liu <sdl.web@gmail.com>
27 * dired-x.el (dired-mode-map): Fix last change.
29 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
31 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
34 * emacs-lisp/generic.el (generic--normalize-comments):
35 Rename from generic--normalise-comments. All uses changed.
36 * play/bubbles.el (bubbles--neighborhood-score):
37 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
38 (bubbles--neighborhood-available)
39 (bubbles--update-neighborhood-score):
40 Rename from names with 'neighbourhood'. All uses changed.
42 2014-01-12 Leo Liu <sdl.web@gmail.com>
44 Re-implement the feature of showing eldoc info after editing.
45 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
46 (eldoc-edit-message-commands): New function.
47 (eldoc-print-after-edit): New variable.
48 (eldoc-pre-command-refresh-echo-area): Emit message only by
49 eldoc-message-commands.
50 (eldoc-mode): Restrict eldoc-message-commands to editing commands
51 if eldoc-print-after-edit is set. (Bug#16346)
53 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
55 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
57 * version.el (emacs-repository-get-version): Enhance so the
58 function works correctly in either a Bazaar or Git repo.
60 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
61 Goes with removal of the joke manpages from /etc.
63 2014-01-10 K. Handa <handa@gnu.org>
65 * mail/rmail.el (rmail-get-coding-system):
66 Check rmail-get-coding-function before "funcall"ing it.
68 2014-01-10 Glenn Morris <rgm@gnu.org>
70 * emacs-lisp/authors.el (authors-fixed-entries):
71 Update for files that no longer exist.
73 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
75 * version.el (emacs-bzr-get-version): Restore compatibilty with
78 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
80 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
83 2014-01-10 Eli Zaretskii <eliz@gnu.org>
85 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
87 2014-01-10 Chong Yidong <cyd@gnu.org>
89 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
91 2014-01-10 Anders Lindgren <andlind@gmail.com>
93 * follow.el (follow-cache-command-list): Include right-char and
96 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
99 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
100 * woman.el (woman-mark-horizontal-position):
101 Rename from woman-mark-horizonal-position. Use changed.
103 2014-01-10 Glenn Morris <rgm@gnu.org>
105 * info.el (info-initialize): If running uninstalled, ensure our
106 own info files are always found first, even if INFOPATH is set.
108 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
110 2014-01-09 David Engster <deng@randomsample.de>
112 * emacs-lisp/eieio-custom.el:
113 * emacs-lisp/eieio-opt.el: Set generated autoload file to
114 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
115 * emacs-lisp/eieio.el: Regenerate autoloads.
117 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
119 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
120 following renames. (Bug#8756)
122 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
124 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
126 (activate-mark): Add `no-tmm' argument.
127 (set-mark, push-mark-command): Use it instead of running
128 activate-mark-hook by hand.
130 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
132 In preparation for the move to git, sanitize out some
133 Bazaar-specific names.
135 * version.el (emacs-bzr-version): Name changed to
136 emacs-repository-version. Obsolete-variable alias made.
137 * loadup.el: Follow through on this name change.
138 * mail/emacsbug.el (report-emacs-bug): Factor out any
139 assumption about the version control system in use.
141 2014-01-08 David Engster <deng@randomsample.de>
143 * help-fns.el (help-fns-describe-function-functions):
144 New variable to call functions for augmenting help buffers.
145 (describe-function-1): Remove explicit calls to
146 `help-fns--compiler-macro', `help-fns--parent-mode' and
147 `help-fns--obsolete'. Put them in above new variable instead, and
148 call them through `run-hook-with-args'.
149 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
150 `eieio-describe-class'. Not meant for interactive use anymore,
151 but to augment existing help buffers. Remove optional second
152 argument. Create proper button for file location.
153 Rewrite function to use `insert' instead of `princ' and `prin1' where
155 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
156 (eieio-method-def, eieio-class-def): Move further up.
157 (describe-method, describe-generic, eieio-describe-method):
159 (eieio-help-constructor, eieio-help-generic): Rename from
160 `eieio-describe-constructor' and `eieio-describe-generic', resp.
161 Rewrite to use `insert' in the current buffer and use proper help
163 (eieio-help-find-method-definition)
164 (eieio-help-find-class-definition): Also accept symbols as
166 (eieio-help-mode-augmentation-maybee): Remove.
167 (eieio-describe-class-sb): Use `describe-function'.
168 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
169 Add `eieio-help-generic' and `eieio-help-constructor'.
171 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
174 * language/china-util.el (hz-ascii-designation):
175 Rename from hz-ascii-designnation.
176 (hz-ascii-designation): Rename from hz-ascii-designnation.
179 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
181 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
184 2014-01-08 Bastien Guerry <bzg@gnu.org>
186 * emacs-lisp/package.el (package-delete):
187 Correctly delete the package from package-alist.
189 2014-01-08 Daiki Ueno <ueno@gnu.org>
191 * emacs-lisp/package.el (url-recreate-url): Declare.
192 (url-http-target-url): Declare.
193 (package-handle-response): Include requested URL in the error message.
194 (package--check-signature): Don't re-signal errors from
195 package--with-work-buffer. Suggested by Stefan Monnier.
197 2014-01-07 Bastien Guerry <bzg@gnu.org>
199 * minibuffer.el (completion--try-word-completion): When both a
200 hyphen and a space are possible candidates for the character
201 following a word, display both candidates. (Bug#15980)
203 2014-01-07 Martin Rudalics <rudalics@gmx.at>
205 * window.el (balance-windows-2): While rounding don't give a
206 window more than the remainder. Bug#16351, Bug#16383.
208 2014-01-07 Glenn Morris <rgm@gnu.org>
210 * menu-bar.el (menu-bar-help-extra-packages): Remove.
211 (menu-bar-help-menu): Use view-external-packages instead.
213 2014-01-07 Bastien Guerry <bzg@gnu.org>
215 * emacs-lisp/package.el (package-delete): Also delete the package
216 name from `package-alist', not its description only.
218 2014-01-07 Glenn Morris <rgm@gnu.org>
220 * help.el (view-external-packages):
221 * menu-bar.el (menu-bar-help-extra-packages):
222 Visit efaq.info rather than etc/MORE.STUFF.
224 2014-01-07 Juri Linkov <juri@jurta.org>
226 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
227 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
229 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
230 that shadows RET. (Bug#16342)
232 2014-01-07 Chong Yidong <cyd@gnu.org>
234 * isearch.el (isearch-yank-char, isearch-yank-word)
235 (isearch-yank-line): Doc fix.
237 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
239 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
240 * emacs-lisp/elint.el (elint-find-builtins):
241 * emacs-lisp/eldoc.el (eldoc-symbol-function):
242 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
243 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
244 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
245 * apropos.el (apropos-safe-documentation):
246 * subr.el (symbol-file): Remove redundant fboundp.
247 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
249 2014-01-06 Bastien Guerry <bzg@gnu.org>
251 * hl-line.el (global-hl-line-overlay): Make a local variable.
252 (global-hl-line-overlays): New variable to store all overlays.
253 (global-hl-line-mode): Don't delete overlays from the current
254 buffer when `global-hl-line-sticky-flag' is non-nil.
255 (global-hl-line-highlight): Add new overlays to
256 `global-hl-line-overlays'.
257 (global-hl-line-unhighlight-all): New function to delete all
258 overlays when turning off `global-hl-line-mode'.
259 This fixes Bug#16183.
261 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
263 * subr.el (set-transient-map): Fix nested case and docstring.
265 2014-01-06 Tassilo Horn <tsdh@gnu.org>
267 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
270 2014-01-06 Daniel Colascione <dancol@dancol.org>
272 Fix defun navigation in vc log view.
274 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
275 like `beginning-of-defun'.
276 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
277 log-view-end-of-defun to log-view-end-of-defun-1. Replace
278 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
279 (log-view-extract-comment): Call `log-view-current-entry' directly
280 instead of relying on broken `log-view-beginning-of-defun' behavior.
282 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
285 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
286 * emacs-lisp/debug.el (cancel-debug-on-entry):
287 * epg.el (epg-error-to-string):
288 * files.el (recover-file):
289 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
290 * mail/emacsbug.el (report-emacs-bug-hook):
291 * mail/sendmail.el (mail-recover):
292 * ses.el (ses-yank-resize):
293 * term/ns-win.el (ns-print-buffer):
294 Spelling fixes in diagnostics, mostly for "canceled" with one L.
295 * epg.el (epg-key-capability-alist): Rename from misspelled version.
297 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
299 2014-01-06 Leo Liu <sdl.web@gmail.com>
301 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
302 to avoid shadowing global key. (Bug#16354)
304 2014-01-06 Daniel Colascione <dancol@dancol.org>
306 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
309 2014-01-05 Martin Rudalics <rudalics@gmx.at>
311 * window.el (balance-windows): Add mising t to fix Bug#16351.
313 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
315 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
317 (shr-insert): If we have a word that's longer than `shr-width',
318 break after it anyway. Otherwise we'll do no breaking once we get
321 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
323 * net/eww.el (eww): Support single/double quote for search.
324 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
325 (eww-history-quit): Delete and use quit-window.
326 (eww-history-kill): Delete, because it doesn't work well and
328 (eww-history-mode-map): Delete some keys and add easy-menu.
330 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
332 Fix misspelling of 'chinese' in rx (Bug#16237).
333 * emacs-lisp/rx.el (rx-categories): Correct spelling of
336 Change subword regexps back to vars (Bug#16296).
337 * progmodes/subword.el (subword-forward-regexp)
338 (subword-backward-regexp): Change these back to variables.
340 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
342 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
343 syntax-begin-function (bug#16247).
345 2014-01-03 Chong Yidong <cyd@gnu.org>
347 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
348 (advice--docstring): Delete variable.
349 (advice--make-1): Leave the docstring empty.
350 (advice-add): Use function-documentation for advised docstring.
352 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
353 Ignore function-documentation property when getting documentation.
354 (ad-activate-advised-definition): Use function-documentation
355 generate the docstring.
356 (ad-make-advised-definition): Don't call
357 ad-make-advised-definition-docstring.
358 (ad-make-advised-definition-docstring, ad-advised-definition-p):
361 * progmodes/sql.el (sql-help): Use function-documentation instead
362 of dynamic-docstring-function property. No need to autoload now.
363 (sql--help-docstring): New variable.
364 (sql--make-help-docstring): Use it.
366 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
368 * ielm.el (ielm-tab): Retarget.
369 (ielm-map): Use ielm-tab for tab.
370 (ielm-complete-filename): Use comint-filename-completion.
371 (ielm-complete-symbol): Remove.
372 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
373 remove ielm-tab from completion-at-point-functions (bug#16224).
375 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
376 Beware signals raised by predicates (bug#16201).
378 2014-01-02 Richard Stallman <rms@gnu.org>
380 * dired-aux.el (dired-do-print): Handle printer-name.
382 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
383 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
384 (rmail-epa-decrypt): Turn off mime processing.
386 * mail/rmail.el (rmail-make-in-reply-to-field):
387 Add parens in message-id.
389 * mail/rmail.el (rmail-get-coding-function): Variable.
390 (rmail-get-coding-system): Use it.
392 2013-12-31 Eli Zaretskii <eliz@gnu.org>
394 * international/mule-conf.el: Unify the charset indian-is13194.
395 (indian-is13194): Specify unify-map.
397 2013-12-31 Leo Liu <sdl.web@gmail.com>
399 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
401 2013-12-30 Daniel Colascione <dancol@dancol.org>
403 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
404 of printing a useless when we resume from sleep.
406 * progmodes/sh-script.el
407 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
408 in indentation code. (Bug#16233)
410 2013-12-28 João Távora <joaotavora@gmail.com>
412 * elec-pair.el (electric-pair-post-self-insert-function):
413 Don't open extra newlines at beginning of buffer. (Bug#16272)
415 2013-12-28 Eli Zaretskii <eliz@gnu.org>
417 * frame.el (window-system-for-display): Don't allow to create a
418 GUI frame from a -nw session on MS-Windows. (Bug#14739)
420 2013-12-28 Glenn Morris <rgm@gnu.org>
422 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
425 * apropos.el (apropos-match-face):
426 * calculator.el (calculator-displayer):
427 * dabbrev.el (dabbrev-search-these-buffers-only):
428 * face-remap.el (buffer-face-mode-face):
429 * simple.el (yank-handled-properties):
430 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
431 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
432 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
433 (hashcash-double-spend-database):
434 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
435 (ruby-deep-indent-paren-style):
436 * textmodes/flyspell.el (flyspell-auto-correct-binding):
437 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
438 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
439 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
440 Specify custom types.
442 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
443 * bookmark.el (bookmark-bmenu-use-header-line):
444 * doc-view.el (doc-view-scale-internally):
445 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
446 * register.el (register-preview-delay):
447 * net/shr.el (shr-bullet):
448 * progmodes/cfengine.el (cfengine-cf-promises)
449 (cfengine-parameters-indent):
450 * progmodes/octave.el (inferior-octave-error-regexp-alist):
451 * textmodes/reftex-vars.el (reftex-label-regexps):
452 * vc/log-edit.el (log-edit-setup-add-author): Add version.
454 * net/tls.el (tls-certtool-program): Fix default value.
456 * desktop.el (desktop-restore-in-current-display):
457 * newcomment.el (comment-empty-lines):
458 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
459 (idlwave-pad-keyword):
460 * progmodes/tcl.el (tcl-tab-always-indent):
461 * textmodes/reftex-vars.el (reftex-index-default-tag):
462 * elec-pair.el (electric-pair-skip-whitespace):
463 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
465 * emacs-lisp/authors.el (authors-ignored-files)
466 (authors-valid-file-names, authors-renamed-files-alist): Additions.
468 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
470 * shell.el (shell-dynamic-complete-command): Doc fix.
471 (shell--command-completion-data): Shell completion now matches
472 executable filenames from the current buffer's directory, on
473 systems in which this behavior is the default (windows-nt, ms-dos).
475 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
477 * net/shr.el (shr-insert): Don't infloop if the width is zero.
479 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
481 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
484 * electric.el: Move all electric-pair-* to elec-pair.el.
485 * elec-pair.el: New file, split from electric.el.
487 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
489 * net/shr.el (shr-find-fill-point): Don't try to fill if the
490 indentation level is larger than the width, because that will
492 (shr-insert): Fill repeatedly long texts, so that Japanese is
493 formatted correctly (bug#16263).
494 (shr-find-fill-point): Off by one error in comparison with the
497 2013-12-26 João Távora <joaotavora@gmail.com>
499 * electric.el (electric-pair-mode): More flexible engine for skip-
500 and inhibit predicates, new options for pairing-related functionality.
501 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
502 if that keeps or improves their balance in buffers.
503 (electric-pair-delete-adjacent-pairs): Delete the pair when
504 backspacing over adjacent matched delimiters.
505 (electric-pair-open-extra-newline): Open extra newline when
506 inserting newlines between adjacent matched delimiters.
507 (electric--sort-post-self-insertion-hook):
508 Sort post-self-insert-hook according to priority values when
509 minor-modes are activated.
510 * simple.el (newline-and-indent): Call newline with interactive
512 (blink-paren-post-self-insert-function): Set priority to 100.
513 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
514 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
515 comments. Locally set electric-pair-skip-whitespace to 'chomp and
516 electric-pair-open-newline-between-pairs to nil.
518 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
520 * progmodes/python.el: Use lexical-binding.
521 (python-nav-beginning-of-defun): Stop searching ASAP.
523 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
525 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
526 Fix interactive spec. Doc fix. (Bug#15754)
528 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
530 * emacs-lisp/byte-run.el (eval-when-compile):
531 * progmodes/cc-defs.el (cc-eval-when-compile):
532 Fix edebug spec (bug#16184).
534 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
536 * net/shr.el (shr-visit-file): Remove debugging function.
537 (shr-insert): Don't infloop if we can't find a good place to break
538 the line (bug#16256).
540 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
542 * progmodes/python.el:
543 (python-nav--lisp-forward-sexp): New function.
544 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
545 python-nav-lisp-forward-sexp-safe.
546 (python-nav--forward-sexp): New argument SAFE allows switching
547 forward sexp movement behavior for parens.
548 (python-nav-forward-sexp): Throw errors on unterminated parens
550 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
551 (python-nav-backward-sexp-safe): New functions.
552 (python-shell-buffer-substring):
553 Use `python-nav-forward-sexp-safe'.
555 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
557 * net/shr.el (shr-find-fill-point): Don't break lines before a
559 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
560 (shr-find-fill-point): Remove the special checks for the quotation
561 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
563 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
565 * net/eww.el (eww-form-textarea): Use a different face for
566 textareas than text input since they have different keymaps
569 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
571 * progmodes/python.el (python-nav-beginning-of-statement):
572 Speed up (Bug#15295).
574 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
576 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
577 the window configuration.
579 2013-12-24 Eli Zaretskii <eliz@gnu.org>
581 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
582 we run on MS-Windows or MS-DOS.
584 2013-12-24 Martin Rudalics <rudalics@gmx.at>
586 * window.el (balance-windows-area): Call window-size instead of
587 window-height and window-width. Bug#16241.
589 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
591 * net/eww.el (eww-bookmark-quit): Remove.
592 (eww-bookmark-browse): Restore the window configuration when you
593 choose a bookmark (bug#16144).
595 2013-12-24 Daniel Colascione <dancol@dancol.org>
597 * icomplete.el: Remove redundant :group arguments to `defcustom'
599 (icomplete-show-matches-on-no-input): New customizable variable.
600 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
601 we have something to show.
602 (icomplete-exhibit): Compute completions even if we have no user input.
604 2013-12-23 Daniel Colascione <dancol@dancol.org>
606 * icomplete.el: Move `provide' to end of file.
608 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
610 * net/gnutls.el (gnutls-verify-error): Add version tag.
612 2013-12-23 Chong Yidong <cyd@gnu.org>
614 * subr.el (set-transient-map): Rename from
615 set-temporary-overlay-map. Doc fix.
617 * face-remap.el (text-scale-adjust):
618 * indent.el (indent-rigidly):
619 * kmacro.el (kmacro-call-macro):
620 * minibuffer.el (minibuffer-force-complete):
621 * repeat.el (repeat):
622 * simple.el (universal-argument--mode):
623 * calendar/todo-mode.el (todo-insert-item--next-param):
624 * progmodes/f90.el (f90-abbrev-start): Callers changed.
626 * indent.el (indent-rigidly): Use substitute-command-keys.
628 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
630 * net/eww.el (eww-tag-select): Add text-property to jump to next
632 (eww): Add non-supported ftp error.
634 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
636 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
637 comments. Handle electric indent after typing `?' and `!'.
639 2013-12-22 Chong Yidong <cyd@gnu.org>
641 * faces.el (face-spec-recalc): If the theme specs are not
642 applicable to a frame, fall back on the defface spec.
643 This prevents themes from obliterating faces on low-color terminals.
645 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
647 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
648 after `{'. We need it after block openers, and it doesn't seem
649 to hurt after hash openers.
651 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
653 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
654 extracted from `ruby-smie-rules'.
655 (ruby--electric-indent-chars): New variable.
656 (ruby--electric-indent-p): New function.
657 (ruby-mode): Use `electric-indent-functions' instead of
658 `electric-indent-chars'.
660 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
662 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
664 (ruby-smie-rules): Indent plus one level after `=>'.
666 2013-12-21 Richard Stallman <rms@gnu.org>
668 * simple.el (newline): Doc fix.
670 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
672 * net/eww.el (eww-list-histories, eww-list-histories)
673 (eww-history-browse, eww-history-quit, eww-history-kill)
674 (eww-history-mode-map, eww-history-mode): New command and
675 functions to list browser histories.
676 (eww-form-text): Support text form with disabled
677 and readonly attributes.
678 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
680 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
682 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
683 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
684 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
685 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
687 (eww-bookmark-mode-map): Add menu.
688 (eww-render, eww-mode): Use `setq-local'.
689 (eww-tool-bar-map): New variable.
690 (eww-mode): Set `tool-bar-map'.
691 (eww-view-source): Check for `html-mode' with `fboundp'.
693 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
695 * net/shr.el (shr--extract-best-source): Don't bug out on audio
696 elements with text inside. Also remove debugging.
698 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
700 * cus-start.el (all): Add ns-use-srgb-colorspace.
702 2013-12-21 Chong Yidong <cyd@gnu.org>
704 * custom.el (custom-theme-recalc-face): Do nothing if the face is
705 undefined. Thus, theme settings for undefined faces do not take
706 effect until the faces are defined with defface, the same as with
709 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
710 (face-spec-reset-face): Don't assign extra properties in temacs.
711 (face-spec-recalc): Apply X resources too.
713 2013-12-21 Chong Yidong <cyd@gnu.org>
715 * faces.el (face-spec-set):
716 * cus-face.el (custom-theme-set-faces, custom-set-faces):
717 * custom.el (defface): Doc fixes (Bug#16203).
719 * indent.el (indent-rigidly-map): Add docstring, and move commands
720 into named functions.
721 (indent-rigidly-left, indent-rigidly-right)
722 (indent-rigidly-left-to-tab-stop)
723 (indent-rigidly-right-to-tab-stop): New functions. Decide on
724 indentation direction based on bidi direction, and accumulate
725 sequential commands in a single undo boundary.
726 (indent-rigidly--pop-undo): New utility function.
728 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
730 * faces.el (read-face-name): Require crm.el when using crm-separator.
732 2013-12-20 Daniel Colascione <dancol@dancol.org>
734 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
735 so that we don't reflow comments into the shebang line.
737 2013-12-20 Juri Linkov <juri@jurta.org>
739 * saveplace.el (save-place-to-alist): Add `dired-filename' as
740 a position when `dired-directory' is non-nil. Check integer
741 positions with `integerp'.
742 (toggle-save-place, save-places-to-alist): Add check for
744 (save-place-find-file-hook): Check integer positions with
746 (save-place-dired-hook): Use `dired-goto-file' when
747 `dired-filename' is found in the assoc list. Check integer
748 positions with `integerp'.
749 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
751 * dired.el (dired-initial-position-hook): Rename back from
752 `dired-initial-point-hook'.
753 (dired-initial-position): Rename `dired-initial-point-hook' to
754 `dired-initial-position-hook'.
755 (dired-file-name-at-point): Doc fix. (Bug#15329)
757 2013-12-20 Juri Linkov <juri@jurta.org>
759 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
760 (read-regexp-suggestions): New function.
761 (read-regexp): Use `read-regexp-defaults-function' to get default values.
762 Use `read-regexp-suggestions'. Add non-empty default to history
764 (occur-read-regexp-defaults-function): Remove function.
765 (occur-read-primary-args): Use `regexp-history-last' instead of
766 `occur-read-regexp-defaults-function'.
768 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
769 (hi-lock-line-face-buffer, hi-lock-face-buffer)
770 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
771 `hi-lock-read-regexp-defaults-function'. Doc fix.
772 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
773 with `find-tag-default-as-symbol-regexp'. Doc fix.
774 (hi-lock-read-regexp-defaults): Remove function.
775 (hi-lock-regexp-okay): Add check for null.
777 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
778 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
780 * subr.el (find-tag-default-as-symbol-regexp): New function.
781 (find-tag-default-as-regexp): Move symbol regexp formatting to
782 `find-tag-default-as-symbol-regexp'.
784 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
786 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
789 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
791 * calendar/todo-mode.el: New implementation of item insertion
792 commands and key bindings.
793 (todo-key-prompt): New face.
794 (todo-insert-item): New command.
795 (todo-insert-item--parameters): New defconst, replacing defvar
796 todo-insertion-commands-args-genlist.
797 (todo-insert-item--param-key-alist): New defconst, replacing
798 defvar todo-insertion-commands-arg-key-list.
799 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
800 (todo-insert-item--argsleft, todo-insert-item--apply-args)
801 (todo-insert-item--next-param): New functions.
802 (todo-insert-item--args, todo-insert-item--argleft)
803 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
805 (todo-key-bindings-t): Change binding of "i" from
806 todo-insertion-map to todo-insert-item.
807 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
808 (todo-insertion-command-name, todo-insertion-commands-names)
809 (todo-define-insertion-command, todo-insertion-commands)
810 (todo-insertion-key-bindings, todo-insertion-map): Remove.
812 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
814 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
815 (todo-toggle-item-highlighting): Use eval-and-compile instead of
817 (todo-move-category): Allow choosing a non-existing todo file to
818 move the category to, and create that file.
819 (todo-default-priority): New user option.
820 (todo-set-item-priority): Use it.
821 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
822 (desktop-restore-file-buffer): Declare.
823 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
824 (todo-modes-set-2): Locally set desktop-save-buffer to
825 todo-desktop-save-buffer.
826 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
827 (auto-mode-alist): Add autoload cookie.
829 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
831 * emacs-lisp/subr-x.el: Renamed from helpers.el.
832 helpers.el was a poor choice of name.
833 (string-remove-prefix): New function.
834 (string-remove-suffix): New function.
836 2013-12-20 Martin Rudalics <rudalics@gmx.at>
838 Fix assignment for new window total sizes.
839 * window.el (window--pixel-to-size): Remove function.
840 (window--pixel-to-total-1, window--pixel-to-total):
841 Fix calculation of new total sizes.
843 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
845 * comint.el (comint-output-filter): Fix rear-nonsticky property
846 placement (Bug#16010).
848 2013-12-20 Chong Yidong <cyd@gnu.org>
850 * faces.el (read-color): Minor fix for completion function.
852 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
854 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
855 New option. (Bug#16182)
856 (ruby-smie--indent-to-stmt-p): Use it.
857 (ruby-smie-rules): Revert the logic in the handling of `when'.
858 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
859 (ruby-deep-arglist, ruby-deep-indent-paren)
860 (ruby-deep-indent-paren-style): Update docstrings to note that the
861 vars don't have any effect with SMIE.
863 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
865 * calc/calc.el (calc-enter, calc-pop): Use the variable
866 `calc-context-sensitive-enter'.
868 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
870 * net/shr.el (shr-insert): Protect against infloops in degenerate
873 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
875 * progmodes/octave.el (octave): Add link to manual and octave
877 (octave-mode-menu): Link to octave-mode manual.
879 2013-12-20 Leo Liu <sdl.web@gmail.com>
881 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
882 insertion using skeleton-end-newline. (Bug#16138)
884 2013-12-20 Juri Linkov <juri@jurta.org>
886 * replace.el (occur-engine): Use `add-face-text-property'
887 to add the face property to matches and titles. (Bug#14645)
889 * hi-lock.el (hi-green): Use lighter color "light green" closer to
890 the palette of other hi-lock colors.
891 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
893 2013-12-19 Juri Linkov <juri@jurta.org>
895 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
896 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
897 (minibuffer-history-symbol): Move variable declaration closer to
900 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
903 2013-12-19 Juri Linkov <juri@jurta.org>
905 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
907 (log-edit-hook): Add it to :options. (Bug#16170)
909 2013-12-19 Juri Linkov <juri@jurta.org>
911 * simple.el (eval-expression-print-format): Don't check for
912 command names and the last command. Always display additional
913 formats of the integer result in the echo area, and insert them
914 to the current buffer only with a zero prefix arg.
915 Display character when char-displayable-p is non-nil.
916 (eval-expression): With a zero prefix arg, set `print-length' and
917 `print-level' to nil, and insert the integer values from
918 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
920 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
921 `eval-last-sexp-arg-internal'. Doc fix.
922 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
923 `eval-last-sexp-print-value'. Doc fix.
924 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
925 Set `print-length' and `print-level' to nil when arg is zero.
926 (eval-last-sexp): Doc fix.
927 (eval-defun-2): Print the integer values from
928 `eval-expression-print-format' at the end.
930 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
931 values from `eval-expression-print-format' at the end.
933 * ielm.el (ielm-eval-input): Print the integer
934 values from `eval-expression-print-format' at the end.
936 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
938 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
939 2013-12-11T19:01:44Z!tzz@lifelogs.com.
941 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
943 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
944 (hl-line-highlight, global-hl-line-highlight): Use it.
945 (hl-line-overlay): Use defvar-local.
947 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
949 * term/ns-win.el: Require dnd.
950 (global-map): Remove drag items.
951 (ns-insert-text, ns-set-foreground-at-mouse)
952 (ns-set-background-at-mouse):
953 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
954 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
957 2013-12-19 Glenn Morris <rgm@gnu.org>
959 * emacs-lisp/ert.el (ert-select-tests):
960 Fix string/symbol mixup. (Bug#16121)
962 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
964 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
965 keywords to their parent.
967 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
969 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
970 first arg to be a string (fixed dead code), or an operator symbol.
971 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
973 (ruby-smie-rules): Remove parent token check in the `.' clause, it
974 did nothing. Don't respond to `(:after ".")', it will be called
975 with :before anyway. Remove the ` @ ' rule, it didn't seem to
976 change anything. Only return indentation for binary operators
977 when they are hanging. De-dent opening paren when its parent is
978 `.', otherwise it looks bad when the dot is not at bol or eol
981 2013-12-19 Juri Linkov <juri@jurta.org>
983 * replace.el (query-replace-read-args): Split a non-negative arg
984 and a negative arg into separate elements.
985 (query-replace, query-replace-regexp, replace-string)
986 (replace-regexp): Add arg `backward'. Doc fix.
987 (replace-match-maybe-edit): When new arg `backward' is non-nil,
988 move point to the beginning of the match.
989 (replace-search, replace-highlight): Use new arg `backward'
990 to set the value of `isearch-forward'.
991 (perform-replace): Add arg `backward' and use it to perform
992 replacement backward. (Bug#14979)
994 * isearch.el (isearch-query-replace): Use a negative prefix arg
995 to call `perform-replace' with a non-nil arg `backward'.
997 2013-12-18 Juri Linkov <juri@jurta.org>
999 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1000 to the default list. Move `log-edit-show-files' to the end.
1001 Add more available functions to options.
1002 (log-edit): Move default specific settings to
1003 `log-edit-insert-message-template'. Don't move point.
1004 (log-edit-insert-message-template): New function.
1005 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1008 2013-12-18 Juri Linkov <juri@jurta.org>
1010 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1011 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1013 2013-12-18 Leo Liu <sdl.web@gmail.com>
1015 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1018 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1020 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1021 formats for displaying file sizes when the -s switch is given.
1022 Instead, compute a separate format for displaying the size in
1023 blocks, which is displayed in addition to the "regular" size.
1024 When -h is given in addition to -s, produce size in blocks in
1025 human-readable form as well. (Bug#16179)
1027 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1029 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1030 Reference tables with ~\ref{...} instead of only \ref{...}.
1032 2013-12-18 Chong Yidong <cyd@gnu.org>
1034 * cus-edit.el (custom-magic-alist): Fix "themed" description
1037 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1038 is non-nil, do not create a new entry in the symbol's theme-value
1039 or theme-face property; update theme-settings only (Bug#14664).
1040 (custom-available-themes): Doc fix.
1042 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1045 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1047 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1049 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1052 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1054 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1056 2013-12-18 Glenn Morris <rgm@gnu.org>
1058 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1059 * cus-start.el (load-prefer-newer): New option.
1061 2013-12-18 Le Wang <l26wang@gmail.com>
1063 * comint.el (comint-previous-matching-input-from-input):
1064 Retain point (Bug#13404).
1066 2013-12-18 Chong Yidong <cyd@gnu.org>
1068 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1070 2013-12-18 Glenn Morris <rgm@gnu.org>
1072 * mail/emacsbug.el (report-emacs-bug):
1073 Only mention enable-multibyte-characters if non-standard.
1075 2013-12-17 Juri Linkov <juri@jurta.org>
1077 * arc-mode.el (archive-extract-by-file): Check if directory exists
1078 before deletion to not show irrelevant errors if it doesn't exist.
1080 2013-12-17 Juri Linkov <juri@jurta.org>
1082 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1085 * net/eww.el (browse-web): Add alias to `eww'.
1086 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1087 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1089 * net/browse-url.el (browse-url-browser-function): Move `eww'
1090 closer to similar functions.
1092 * startup.el (fancy-startup-screen, fancy-about-screen):
1093 Set browse-url-browser-function to eww-browse-url locally.
1096 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1098 * window.el (window--pixel-to-total): Remove unused `mini' var.
1099 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1100 (split-window): Remove unused `new' var.
1101 (window--display-buffer): Remove unused `frame' and `delta' vars.
1102 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1105 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1107 * dired.el (dired-mark-pop-up):
1108 * register.el (register-preview): Don't bind
1109 split-height-threshold here since it's now done in
1110 display-buffer-below-selected.
1112 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1114 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1115 xterm-rgb-convert-to-16bit.
1116 (rxvt-register-default-colors): Standardize with
1117 xterm-register-default-colors (Bug#14078).
1119 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1121 * simple.el (kill-region): Pass mark first, then point, so that
1122 kill-append works right (Bug#12819).
1123 (copy-region-as-kill, kill-ring-save): Likewise.
1125 2013-12-17 Leo Liu <sdl.web@gmail.com>
1127 * net/rcirc.el (rcirc-add-face):
1128 * eshell/em-prompt.el (eshell-emit-prompt):
1129 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1132 2013-12-17 Chong Yidong <cyd@gnu.org>
1134 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1135 Suggested by Xue Fuqiao.
1137 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1139 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1141 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1143 * net/shr.el (shr-insert-document): Remove unused var
1144 `shr-preliminary-table-render'.
1145 (shr-rescale-image): Remove unused arg `force'.
1146 (shr-put-image): Update calls accordingly.
1147 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1149 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1151 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1152 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1153 :close-all, to see which indentation method to use (Bug#16116).
1154 (smie-rules-function): Document the method :close-all.
1156 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1158 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1160 * net/eww.el (eww-display-html): If we can't find the anchor we're
1161 looking for, then go to point-min.
1163 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1165 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1166 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1167 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1168 Expand dir too, in case it's relative.
1170 2013-12-16 Juri Linkov <juri@jurta.org>
1172 * desktop.el (desktop-auto-save-timeout): Change default to
1173 `auto-save-timeout'. Doc fix.
1174 (desktop-save): Skip the timestamp in desktop-saved-frameset
1175 when checking for auto-save changes.
1176 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1177 `desktop-auto-save' is called repeatedly by the idle timer.
1178 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1179 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1182 2013-12-16 Juri Linkov <juri@jurta.org>
1184 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1186 (isearch-pre-command-hook): Check `this-command' for symbolp.
1188 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1190 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1192 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1194 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1195 (cfengine3--current-function): Bring in the current-function
1196 functionality from `cfengine3--current-word'.
1197 (cfengine3-completion-function): Bring in the
1198 bounds-of-current-word functionality from
1199 `cfengine3--current-word'.
1201 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1203 * window.el (display-buffer-below-selected):
1204 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1206 2013-12-16 Leo Liu <sdl.web@gmail.com>
1208 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1209 Remove NOMSG arg and all uses changed.
1211 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1213 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1214 (cua--deactivate-rectangle): Don't deactivate the mark.
1215 (cua-set-rectangle-mark): Don't set mark-active since
1216 cua--activate-rectangle already does it for us.
1217 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1218 non-rectangular region.
1220 * emulation/cua-base.el (cua-repeat-replace-region):
1221 Use with-current-buffer.
1223 * net/gnutls.el: Use cl-lib.
1224 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1226 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1228 * emacs-lisp/package.el (package-built-in-p): Support both
1229 built-in and the package.el converted package descriptions.
1230 (package-show-package-list): Allow keywords.
1231 (package-keyword-button-action): Use it instead of
1232 `finder-list-matches'.
1233 (package-menu-filter-interactive): Interactive filtering (by
1235 (package-menu--generate): Support keywords and change keymappings
1236 and headers when they are given.
1237 (package--has-keyword-p): Helper function.
1238 (package-menu--refresh): Use it.
1239 (package--mapc): Helper function.
1240 (package-all-keywords): Use it.
1241 (package-menu-mode-map): Set up menu items and keybindings to
1242 provide a filtering UI.
1244 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1246 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1247 the behavior when a certificate fails validation. Defaults to
1248 old behavior: never abort, just warn.
1249 (gnutls-negotiate): Use it.
1251 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1253 * window.el (display-buffer-below-selected): Never split window
1254 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1256 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1258 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1259 (package-buffer-info): Use it (bug#15108).
1261 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1263 * icomplete.el (icomplete-completions): Make sure the prefix is already
1264 displayed elsewhere before hiding it (bug#16219).
1266 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1268 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1269 open-paren tokens when preceded by a open-paren, too.
1270 (ruby-smie-rules): Handle virtual indentation after open-paren
1271 tokens specially. If there is code between it and eol, return the
1272 column where is starts (Bug#16118).
1274 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1276 * progmodes/cfengine.el: Fix `add-hook' doc.
1277 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1278 (cfengine3--current-word): Fix parameters.
1279 (cfengine3-make-syntax-cache): Simplify further.
1280 (cfengine3-completion-function, cfengine3--current-function):
1281 Use `assq' for symbols.
1282 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1284 2013-12-13 Glenn Morris <rgm@gnu.org>
1286 * loadup.el (load-path): Warn if site-load or site-init changes it.
1287 No more need to reset it when bootstrapping.
1289 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1291 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1292 locations for cf-promises.
1293 (cfengine-mode-syntax-functions-regex): New caching variable.
1294 (cfengine3-fallback-syntax): Fallback syntax for cases where
1295 cf-promises doesn't run.
1296 (cfengine3--current-word): Reimplement using
1297 `cfengine-mode-syntax-functions-regex'.
1298 (cfengine3-completion-function, cfengine3--current-function):
1299 Use `cfengine3-make-syntax-cache' directly.
1300 (cfengine3-clear-syntax-cache): New function.
1301 (cfengine3-make-syntax-cache): Simplify and create
1302 `cfengine-mode-syntax-functions-regex' on demand.
1303 (cfengine3-format-function-docstring): Don't call
1304 `cfengine3-make-syntax-cache' explicitly.
1306 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1308 Fix windmove-find-other-window broken after pixelwise resizing
1310 * windmove.el (windmove-other-window-loc): Revert change from
1312 (windmove-find-other-window): Call window-in-direction.
1313 * window.el (window-in-direction): New arguments SIGN, WRAP and
1314 MINI to emulate original windmove-find-other-window behavior.
1316 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1318 * simple.el (blink-matching--overlay): New variable.
1319 (blink-matching-open): Instead of moving point, highlight the
1320 matching paren with an overlay
1321 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1323 * faces.el (paren-showing-faces, show-paren-match)
1324 (show-paren-mismatch): Move from paren.el.
1326 2013-12-13 Leo Liu <sdl.web@gmail.com>
1328 * indent.el (indent-region): Disable progress reporter in
1329 minibuffer. (Bug#16108)
1331 * bindings.el (visual-order-cursor-movement): Fix version.
1333 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1335 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1336 Also match after beginning of line.
1337 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1338 files. Thanks to Russell Sim. (Bug#15378)
1340 2013-12-13 Juri Linkov <juri@jurta.org>
1342 * simple.el <Keypad support>: Remove key bindings duplicated
1343 with bindings.el. (Bug#14397)
1345 2013-12-13 Juri Linkov <juri@jurta.org>
1347 * comint.el (comint-mode-map): Replace `delete-char' with
1348 `delete-forward-char'. (Bug#16109)
1350 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1352 * progmodes/python.el (python-indent-calculate-indentation):
1353 Fix de-denters cornercase. (Bug#15731)
1355 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1357 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1358 (advice--make): Pay attention to `depth'.
1359 (advice--make-1): Don't autoload commands eagerly.
1360 * emacs-lisp/elp.el (elp-instrument-function):
1361 * emacs-lisp/trace.el (trace-function-internal):
1362 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1364 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1366 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1368 * term/w32-win.el (w32-handle-dropped-file):
1369 * startup.el (normal-top-level):
1370 * net/browse-url.el (browse-url-file-url):
1371 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1372 decode file names using 'utf-8' rather than
1373 file-name-coding-system.
1375 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1377 * progmodes/python.el (python-indent-context)
1378 (python-indent-calculate-indentation): Fix auto-identation
1379 behavior for comment blocks. (Bug#15916)
1381 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1383 * progmodes/python.el (python-indent-calculate-indentation):
1384 When determining indentation, don't treat "return", "pass", etc., as
1385 operators when they are just string constituents. (Bug#15812)
1387 2013-12-12 Juri Linkov <juri@jurta.org>
1389 * uniquify.el (uniquify-buffer-name-style): Change default to
1390 `post-forward-angle-brackets'.
1392 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1393 `uniquify'. Change default to `post-forward-angle-brackets'.
1395 2013-12-11 Glenn Morris <rgm@gnu.org>
1397 * emacs-lisp/package.el (finder-list-matches):
1398 Autoload rather than falsely declaring.
1400 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1402 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1403 (eww-mode-map): Use them.
1405 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1407 * window.el (display-buffer-in-side-window): Fix doc-string
1410 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1412 * vc/vc-git.el: Silence byte-compiler warnings.
1413 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1414 (log-edit-set-header): Declare.
1416 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1418 * Makefile.in (custom-deps, finder-data): Run output file names
1419 through unmsys--file-name. (Bug#16099)
1421 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1423 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1424 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1426 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1427 instead of deleting the selection "by hand" (bug#16098).
1428 Rely on insert-for-yank to yank rectangles.
1429 (cua-highlight-region-shift-only): Mark obsolete.
1430 (cua-mode): Don't enable/disable transient-mark-mode,
1431 shift-select-mode (cua-mode works both with and without them), and
1432 pc-selection-mode (obsolete).
1433 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1434 (cua--deactivate-rectangle): Deactivate it.
1436 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1437 (delete-selection-helper): Make sure yank starts at the top of the
1439 (minibuffer-keyboard-quit): Use region-active-p.
1441 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1443 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1444 to `delete' (bug#16109).
1446 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1448 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1449 info manual and show keybindings and set `:group' keyword.
1451 2013-12-11 Juri Linkov <juri@jurta.org>
1453 * delsel.el (delete-active-region): Let-bind `this-command'
1454 to prevent `kill-region' from changing its original value.
1455 (delete-selection-helper): Handle `overwrite-mode' for the type
1456 `kill' exactly the same way as for the type `t'.
1457 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1458 Support more commands. (Bug#13312)
1460 2013-12-11 Juri Linkov <juri@jurta.org>
1462 * bindings.el: Map kp keys to non-kp keys systematically
1463 with basic modifiers control, meta and shift. (Bug#14397)
1465 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1467 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1468 "Close browser" menu items. Fix wrong function of "List
1471 2013-12-11 Juri Linkov <juri@jurta.org>
1473 * misearch.el (multi-isearch-buffers): Set the value of
1474 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1475 arg of isearch-forward to t.
1476 (multi-isearch-buffers-regexp): Set the value of
1477 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1478 arg of isearch-forward-regexp to t.
1479 (multi-isearch-files): Set the value of
1480 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1481 arg of isearch-forward to t.
1482 (multi-isearch-files-regexp): Set the value of
1483 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1484 arg of isearch-forward-regexp to t. (Bug#16035)
1486 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1487 arg of isearch-forward to t.
1488 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1489 arg of isearch-forward-regexp to t.
1490 (dired-isearch-filter-filenames): Remove unnecessary check for
1491 `dired-isearch-filenames'.
1493 * comint.el (comint-history-isearch-backward):
1494 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1495 (comint-history-isearch-backward-regexp):
1496 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1498 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1500 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1501 unmsys--file-name. (Bug#16099)
1503 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1505 * emacs-lisp/package.el (package-keyword-button-action):
1506 Remove finder.el require dependency.
1508 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1510 * emacs-lisp/package.el: Require finder.el.
1511 (describe-package-1): Add keyword buttons.
1512 (package-make-button): New convenience function.
1513 (package-keyword-button-action): Keyword button action using
1514 `finder-list-matches'.
1516 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1518 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1521 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1523 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1526 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1528 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1529 after the end of a percent literal.
1531 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1533 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1534 Handle caret-delimited strings (Bug#16079).
1536 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1538 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1539 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1540 `ruby-parse-partial' (Bug#16078).
1542 2013-12-09 Leo Liu <sdl.web@gmail.com>
1544 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1546 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1548 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1549 (js-switch-indent-offset): New option.
1550 (js--proper-indentation): Use it. And handle the case when
1551 "default" is actually a key in an object literal.
1552 (js--same-line): New function.
1553 (js--multi-line-declaration-indentation): Use it.
1554 (js--indent-in-array-comp, js--array-comp-indentation):
1556 (js--proper-indentation): Use them, to handle array comprehension
1559 2013-12-08 Leo Liu <sdl.web@gmail.com>
1561 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1562 (flymake-make-overlay): Remove arg MOUSE-FACE.
1563 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1565 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1567 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1569 (redisplay-highlight-region-function): Use it.
1571 * emulation/cua-base.el (cua--explicit-region-start)
1572 (cua--last-region-shifted): Remove.
1573 (cua--deactivate): Use deactivate-mark.
1574 (cua--pre-command-handler-1): Don't handle shift-selection.
1575 (cua--post-command-handler-1): Don't change transient-mark-mode.
1576 (cua--select-keymaps): Use region-active-p rather than
1577 cua--explicit-region-start or cua--last-region-shifted.
1578 (cua-mode): Enable shift-select-mode.
1580 2013-12-08 Leo Liu <sdl.web@gmail.com>
1582 * progmodes/flymake.el (flymake-popup-current-error-menu):
1583 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1584 (flymake-posn-at-point-as-event, flymake-popup-menu)
1585 (flymake-make-emacs-menu): Remove. (Bug#16077)
1587 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1589 * rect.el (rectangle-mark-mode): Activate mark even if
1590 transient-mark-mode is off (bug#16066).
1591 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1592 is > mark and at bolp.
1594 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1595 (region-extract-function): Use it.
1596 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1597 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1599 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1600 kill-ring-save, kill-region, delete-char, delete-forward-char.
1601 Ignore self-insert-iso.
1603 * emulation/cua-gmrk.el (cua--init-global-mark):
1604 Ignore `self-insert-iso'.
1606 * emulation/cua-base.el (cua--prefix-copy-handler)
1607 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1608 checking cua--rectangle.
1609 (cua-delete-region): Use region-extract-function.
1610 (cua-replace-region): Delete function.
1611 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1612 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1613 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1614 (cua--init-keymaps): Don't remap delete-selection commands.
1615 (cua-mode): Use delete-selection-mode instead of rolling our own
1618 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1619 Obey region-extract-function.
1621 Make registers and delete-selection-mode work on rectangles.
1622 * register.el (describe-register-1): Don't modify the register's value.
1623 (copy-to-register): Obey region-extract-function.
1624 * delsel.el (delete-active-region): Obey region-extract-function.
1626 2013-12-08 Leo Liu <sdl.web@gmail.com>
1628 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1629 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1630 (flymake-compilation-prevents-syntax-check)
1631 (flymake-start-syntax-check-on-newline)
1632 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1633 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1634 (flymake-xml-program, flymake-master-file-dirs)
1635 (flymake-master-file-count-limit)
1636 (flymake-allowed-file-name-masks): Relocate.
1637 (flymake-makehash, flymake-float-time)
1638 (flymake-replace-regexp-in-string, flymake-split-string)
1639 (flymake-get-temp-dir): Remove.
1640 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1641 (flymake-current-row, flymake-selected-frame)
1642 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1643 related functions. (Bug#16077)
1645 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1647 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1649 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1651 * help-fns.el (describe-function-1): Use new advice-* functions
1652 rather than old ad-* functions. Fix function type description and
1653 source links for advised functions and subrs.
1655 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1657 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1659 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1661 * progmodes/compile.el (compilation-start):
1662 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1664 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1665 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1667 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1669 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1670 Touch up the last change.
1672 2013-12-06 Leo Liu <sdl.web@gmail.com>
1674 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1675 (inferior-octave-startup): Always use "octave> " for prompt.
1676 (octave-goto-function-definition)
1677 (octave-sync-function-file-names)
1678 (octave-find-definition-default-filename): Remove redundant backquotes.
1680 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1682 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1684 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1685 where appropriate already.
1686 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1687 end of method names (Bug#15874).
1689 2013-12-06 Juri Linkov <juri@jurta.org>
1691 * isearch.el (isearch--saved-overriding-local-map):
1692 New internal variable.
1693 (isearch-mode): Set it to the initial value of
1694 `overriding-terminal-local-map'.
1695 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1696 with `isearch--saved-overriding-local-map'. (Bug#16035)
1698 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1700 * progmodes/octave.el (inferior-octave-completion-table):
1701 Turn back into function, use `completion-table-with-cache'
1702 (Bug#11906). Update all references.
1704 * minibuffer.el (completion-table-with-cache): New function.
1706 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1708 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1710 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1712 * net/eww.el (eww-current-source): New variable to store page
1714 (eww-display-html, eww-mode, eww-save-history)
1715 (eww-restore-history): Use it.
1716 (eww-view-source): New command to view page source.
1717 Opportunistically uses `html-mode' to highlight the buffer.
1718 (eww-mode-map): Install it.
1720 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1722 * net/dbus.el (dbus-unregister-service)
1723 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1725 (dbus-unregister-service): Skip :serial entries in
1726 `dbus-registered-objects-table'.
1727 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1729 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1731 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1732 around keywords with extra `split-string' argument.
1734 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1736 * windmove.el (windmove-other-window-loc): Handle navigation
1737 between windows (excluding the minibuffer window - Bug#16017).
1739 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1741 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1742 in D-Bus type syntax.
1743 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1744 preserve unibyte strings. (Bug#16048)
1746 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1748 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1749 Call force-mode-line-update is the proper buffer (bug#16042).
1751 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1753 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1754 `log-edit-remember-comment', make argument optional. Adjust all
1756 (log-edit-mode): Add `log-edit-remember-comment' to
1757 `kill-buffer-hook' locally.
1758 (log-edit-kill-buffer): Don't remember comment explicitly since
1759 the buffer is killed anyway.
1761 2013-12-04 Juri Linkov <juri@jurta.org>
1763 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1764 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1766 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1768 * notifications.el (notifications-close-notification): Call the
1769 D-Bus method with ID being a `:uint32'. (Bug#16030)
1771 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1773 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1775 2013-12-03 Juri Linkov <juri@jurta.org>
1777 * progmodes/compile.el (compilation-start): Rename window alist
1778 entry `no-display-ok' to `allow-no-window'.
1780 * simple.el (shell-command): Add window alist entry
1781 `allow-no-window' to `display-buffer'.
1782 (async-shell-command): Doc fix.
1784 * window.el (display-buffer-no-window): New action function.
1785 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1787 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1789 * vc/log-edit.el (log-edit-set-header): Extract from
1790 `log-edit-toggle-header'.
1791 (log-edit-extract-headers): Separate the summary, when extracted
1792 from header, from the rest of the message with an empty line.
1794 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1795 line, if present, to the Summary header.
1797 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1799 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1800 in current-buffer (bug#16029).
1802 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1804 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1805 (debugger-mode-map): Bind it.
1806 (debugger--backtrace-base): New function.
1807 (debugger-eval-expression): Use it.
1808 (debugger-frame-number): Skip local vars when present.
1809 (debugger--locals-visible-p, debugger--insert-locals)
1810 (debugger--show-locals, debugger--hide-locals): New functions.
1812 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1814 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1816 (tramp-get-remote-locale): New defun.
1817 (tramp-open-connection-setup-interactive-shell): Use it.
1819 2013-12-02 Leo Liu <sdl.web@gmail.com>
1821 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1823 * progmodes/sh-script.el (sh-shell-process):
1824 * progmodes/octave.el (inferior-octave-process-live-p):
1825 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1826 (gdb-inferior-io-sentinel):
1827 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1829 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1831 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1832 `save-selected-window' to `log-edit-hide-buf'. This makes
1833 `log-edit-show-files' idempotent.
1834 (log-edit-show-files): Mark the new window as dedicated.
1836 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1838 * vc/log-edit.el (log-edit-mode-map): Add binding for
1839 `log-edit-kill-biffer'.
1840 (log-edit-hide-buf): Add a FIXME comment.
1841 (log-edit-add-new-comment): New function, extracted from
1843 (log-edit-done, log-edit-add-to-changelog): Use it.
1844 (log-edit-kill-buffer): New command.
1846 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1848 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1849 instead of killing the buffer.
1851 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1853 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1855 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1857 * net/eww.el (eww-form-checkbox-selected-symbol)
1858 (eww-form-checkbox-symbol): New customizable variable.
1859 (eww-form-checkbox, eww-toggle-checkbox):
1860 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1862 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1863 (shr--get-media-pref, shr--extract-best-source): New function.
1864 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1865 no :src tag was specified.
1867 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1868 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1869 Use \\` to match beginning of string instead of ^.
1870 (eww-browse-with-external-browser): Provide optional URL parameter.
1871 (eww-render): Set `eww-current-title' back to "".
1873 * net/shr.el (shr-tag-video): Display content for video if no
1874 poster is available.
1875 (shr-tag-audio): Add support for <audio> tag.
1877 * net/eww.el (eww-text-input-types): New const.
1878 (eww-process-text-input): Treat input types in
1879 `eww-text-input-types' as text.
1881 * net/shr.el (shr-tag-table): Fix comment typo.
1883 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1885 * net/eww.el (eww-follow-link): New command to avoid reloading
1886 pages when we follow #target links (bug#15243).
1887 (eww-quit): Special mode buffers shouldn't query before exiting.
1889 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1891 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1894 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1896 * net/eww.el (eww-restore-history): Update the window title after
1897 moving in the history.
1898 (eww-current-dom): New variable used to save the current DOM.
1900 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1902 * vc/log-edit.el (log-edit-mode-map): Add binding for
1903 `log-edit-beginning-of-line'.
1904 (log-edit-setup-add-author): New user option.
1905 (log-edit-beginning-of-line): New command.
1906 (log-edit): Move major mode call above the contents setup so that
1907 the local variable values are already applied.
1908 (log-edit): Only insert "Author: " when
1909 `log-edit-setup-add-author' is non-nil.
1910 (log-edit): When SETUP is non-nil, position point after ": "
1911 instead of point-min.
1913 2013-12-01 Glenn Morris <rgm@gnu.org>
1915 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1917 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1919 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1920 redisplay to make sure the initial frame gets a chance to become
1921 visible. (Bug#16014)
1923 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1925 Support resizing frames and windows pixelwise.
1926 * cus-start.el (frame-resize-pixelwise)
1927 (window-resize-pixelwise): New entries.
1928 * emacs-lisp/debug.el (debug): Use window-total-height instead
1929 of window-total-size.
1930 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1931 * help.el (describe-bindings-internal): Call help-buffer
1932 (temp-buffer-max-width): New option.
1933 (resize-temp-buffer-window, help-window-setup)
1934 (with-help-window): Rewrite.
1935 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1937 * window.el (frame-char-size, window-min-pixel-height)
1938 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1939 (window-min-pixel-width, window-safe-min-pixel-size)
1940 (window-combination-p, window-safe-min-size)
1941 (window-resizable-p, window--size-to-pixel)
1942 (window--pixel-to-size, window--resize-apply-p): New functions.
1943 (window-safe-min-height): Fix doc-string.
1944 (window-size, window-min-size, window--min-size-1)
1945 (window-sizable, window-sizable-p, window--min-delta-1)
1946 (window-min-delta, window--max-delta-1, window-max-delta)
1947 (window--resizable, window--resizable-p, window-resizable)
1948 (window-full-height-p, window-full-width-p, window-at-side-p)
1949 (window--in-direction-2, window-in-direction)
1950 (window--resize-reset-1, window--resize-mini-window)
1951 (window-resize, window-resize-no-error)
1952 (window--resize-child-windows-normal)
1953 (window--resize-child-windows, window--resize-siblings)
1954 (window--resize-this-window, window--resize-root-window)
1955 (window--resize-root-window-vertically)
1956 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1957 (maximize-window, minimize-window, delete-window)
1958 (quit-restore-window, window-split-min-size, split-window)
1959 (balance-windows-2, balance-windows)
1960 (balance-windows-area-adjust, balance-windows-area)
1961 (window--state-get-1, window-state-get, window--state-put-1)
1962 (window--state-put-2, window-state-put)
1963 (display-buffer-record-window, window--display-buffer):
1964 Make functions handle pixelwise sizing of windows.
1965 (display-buffer--action-function-custom-type)
1966 (display-buffer-fallback-action):
1967 Add display-buffer-in-previous-window.
1968 (display-buffer-use-some-window): Resize window to height it had
1970 (fit-window-to-buffer-horizontally): New option.
1971 (fit-frame-to-buffer): Describe new values.
1972 (fit-frame-to-buffer-bottom-margin): Replace with
1973 fit-frame-to-buffer-margins.
1974 (window--sanitize-margin): New function.
1975 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1976 using window-text-pixel-size.
1978 2013-11-30 Glenn Morris <rgm@gnu.org>
1980 * emacs-lisp/bytecomp.el (byte-compile-form):
1981 Make the `interactive-only' warning like the `obsolete' one.
1982 * comint.el (comint-run):
1983 * files.el (insert-file-literally, insert-file):
1984 * replace.el (replace-string, replace-regexp):
1985 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1986 (goto-line, insert-buffer, next-line, previous-line):
1987 Tweak `interactive-only' spec.
1989 Stop keeping (most) generated cedet grammar files in the repository.
1990 * Makefile.in (semantic): New.
1991 (compile-main): Depend on semantic.
1993 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1995 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1996 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1998 * uniquify.el (uniquify-buffer-name-style): Change default.
2000 * loadup.el: Preload "uniquify".
2002 * time.el (display-time-update): Update all mode lines (bug#15999).
2004 * electric.el (electric-indent-mode): Enable by default.
2005 * loadup.el: Preload "electric".
2007 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2009 * emacs-lisp/helpers.el (string-empty-p): New function.
2010 (string-blank-p): New function.
2012 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2014 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2017 2013-11-29 Andreas Politz <politza@fh-trier.de>
2018 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2019 allow non-lambda lists as functions.
2020 (imenu--in-alist): Don't recurse into non-subalists.
2021 (imenu): Don't pass function itself as an argument (Bug#14029).
2023 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2025 * progmodes/python.el (python-mode-map): Remove binding for ":".
2026 (python-indent-electric-colon): Remove command.
2027 (python-indent-post-self-insert-function): Integrate the previous code
2028 of python-indent-electric-colon. Make it conditional on
2029 electric-indent-mode.
2030 (python-mode): Add ?: to electric-indent-chars.
2031 Move python-indent-post-self-insert-function to the end of
2032 post-self-insert-hook.
2034 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2036 * doc-view.el (doc-view-goto-page): Update mode-line.
2038 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2040 2013-11-27 Glenn Morris <rgm@gnu.org>
2042 * international/charprop.el, international/uni-bidi.el:
2043 * international/uni-category.el, international/uni-combining.el:
2044 * international/uni-comment.el, international/uni-decimal.el:
2045 * international/uni-decomposition.el, international/uni-digit.el:
2046 * international/uni-lowercase.el, international/uni-mirrored.el:
2047 * international/uni-name.el, international/uni-numeric.el:
2048 * international/uni-old-name.el, international/uni-titlecase.el:
2049 * international/uni-uppercase.el:
2050 Remove generated files from VCS repository.
2052 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2054 * filenotify.el (file-notify-add-watch): Don't special-case
2055 w32notify when computing the directory to watch.
2057 2013-11-27 Glenn Morris <rgm@gnu.org>
2059 Make bootstrap without generated uni-*.el files possible again.
2060 * loadup.el: Update command-line-args checking for unidata-gen.
2061 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2062 * composite.el, international/characters.el:
2063 Handle unicode tables being undefined.
2065 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2066 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2067 (compile-main): Depend on leim rule.
2069 * loadup.el: Move leim-list.el to leim/ subdirectory.
2070 * startup.el (normal-top-level): No more leim directory.
2071 * international/ja-dic-cnv.el (skkdic-convert):
2072 Disable version-control and autoloads in output files.
2073 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2074 Disable version-control and autoloads in output files.
2075 * leim/quail: Move here from ../leim.
2076 * leim/quail/hangul.el (hangul-input-method-activate):
2077 Add autoload cookie.
2078 (generated-autoload-load-name): Set file-local value.
2079 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2080 (generated-autoload-load-name): Set file-local value.
2082 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2084 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2085 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2086 (eww-quit): Ask confirmation before quitting eww.
2088 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2090 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2091 reading output from Diff on MS-Windows and MS-DOS.
2093 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2095 * emacs-lisp/helpers.el (string-reverse): New function.
2097 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2099 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2100 names on MS Windows, like "/[::1]:".
2102 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2105 2013-11-26 Glenn Morris <rgm@gnu.org>
2107 * progmodes/python.el (python-indent-guess-indent-offset):
2108 Avoid corner-case error. (Bug#15975)
2110 Preload leim-list.el. (Bug#4789)
2111 * loadup.el: Load leim-list.el when found.
2112 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2114 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2116 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2118 * emacs-lisp/helpers.el (string-join): New function.
2120 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2122 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2123 Mark as obsolete and replace it with a symbol property.
2124 (byte-compile-form): Use new 'interactive-only property.
2125 * comint.el, files.el, replace.el, simple.el:
2126 Apply new 'interactive-only properly.
2128 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2130 * window.el (display-buffer-at-bottom): Make sure that
2131 split-window-sensibly creates the new window on bottom
2134 2013-11-23 David Kastrup <dak@gnu.org>
2136 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2137 on the conflict markers when available.
2138 (smerge--get-marker): New function.
2139 (smerge-end-re, smerge-base-re): Add subgroup.
2141 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2143 * frame.el (handle-focus-in, handle-focus-out): Add missing
2146 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2148 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2149 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2151 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2153 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2154 (gomoku--last-pos): New var.
2155 (gomoku--intangible-chars): New const.
2156 (gomoku--intangible): New function.
2157 (gomoku-mode): Use it. Derive from special-mode.
2158 (gomoku-move-up): Adjust line count.
2159 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2160 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2161 Simplify accordingly.
2163 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2164 Remove blink-cursor code.
2165 (blink-cursor-timer-function, blink-cursor-suspend):
2166 Don't special-case GUIs.
2167 (blink-cursor-mode): Use focus-in/out-hook.
2169 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2171 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2172 work when annotation is invisible (Bug#13886).
2174 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2176 * json.el (json-alist-p): Only return non-nil if the alist has
2177 simple keys (Bug#13518).
2179 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2181 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2182 when control-statement is the first statement in a buffer (Bug#15956).
2184 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2186 * imenu.el (imenu-generic-skip-comments-and-strings):
2187 New option (Bug#15560).
2188 (imenu--generic-function): Use it.
2190 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2192 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2195 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2197 * emacs-lisp/helpers.el: Add some string helpers.
2198 (string-trim-left): Removes leading whitespace.
2199 (string-trim-right): Removes trailing whitespace.
2200 (string-trim): Removes leading and trailing whitespace.
2202 * subr.el (string-suffix-p): New function.
2204 2013-11-23 Glenn Morris <rgm@gnu.org>
2206 * progmodes/python.el (python-shell-send-file):
2207 Add option to delete file when done. (Bug#15647)
2208 (python-shell-send-string, python-shell-send-region): Use it.
2210 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2212 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2213 to set buffer-read-only to t, never to nil. (Bug#15938)
2215 * textmodes/tex-mode.el (latex-noindent-environments):
2216 Add safe-local-variable property. (Bug#15936)
2218 2013-11-23 Glenn Morris <rgm@gnu.org>
2220 * textmodes/enriched.el (enriched-mode): Doc fix.
2221 * emacs-lisp/authors.el (authors-renamed-files-alist):
2222 Add enriched.doc -> enriched.txt.
2224 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2226 2013-11-22 Leo Liu <sdl.web@gmail.com>
2228 * progmodes/octave.el (inferior-octave-startup): Spit out error
2231 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2233 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2236 (ruby-encoding-magic-comment-style): Add :version.
2238 2013-11-22 Leo Liu <sdl.web@gmail.com>
2240 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2242 (octave-help-mode): Adapt to change to help-mode-finish to use
2243 derived-mode-p on 2013-09-17.
2244 (inferior-octave-prompt): Also match octave-gui.
2245 (octave-kill-process): Don't ask twice. (Bug#10564)
2247 2013-11-22 Leo Liu <sdl.web@gmail.com>
2249 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2250 (inferior-octave-startup, inferior-octave-check-process)
2251 (inferior-octave-track-window-width-change)
2252 (octave-completion-at-point, octave-eldoc-function): Use it.
2253 (octave-kill-process): Provide confirmation. (Bug#10564)
2255 2013-11-21 Leo Liu <sdl.web@gmail.com>
2257 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2258 Fix obsolete variable comment-use-global-state.
2260 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2262 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2263 Add `octave-source-file'.
2264 (octave-source-file): New function. (Bug#15935)
2266 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2268 * net/eww.el (eww-local-regex): New variable.
2269 (eww): Use it to detect localhost and similar.
2271 2013-11-21 Leo Liu <sdl.web@gmail.com>
2273 Add completion for command `ag'.
2274 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2275 (pcomplete/ag): New function.
2276 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2278 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2280 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2282 (make-obsolete): Remove interactive spec.
2284 2013-11-21 Glenn Morris <rgm@gnu.org>
2286 * startup.el (command-line-1): Use path-separator with -L.
2288 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2290 * emacs-lisp/package.el (describe-package-1): Add package archive
2293 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2295 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2296 Change default to "# encoding: %s" to differentiate it from the
2297 default Ruby encoding comment template.
2299 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2301 * ses.el (ses-mode): Doc fix. (Bug#14748)
2303 2013-11-20 Leo Liu <sdl.web@gmail.com>
2305 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2307 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2309 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2310 when rebase or bisect are in progress.
2312 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2314 * filenotify.el (file-notify-add-watch): Doc fix.
2316 2013-11-19 Leo Liu <sdl.web@gmail.com>
2318 * obsolete/rcompile.el: Mark obsolete.
2320 * progmodes/compile.el (compilation-start)
2321 (compilation-goto-locus, compilation-find-file):
2322 Pass no-display-ok and handle nil value from display-buffer.
2325 * window.el (display-buffer-alist, display-buffer): Document the
2326 new parameter no-display-ok. Return either a window or nil
2327 but never a non-window value.
2329 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2331 * electric.el (electric-indent-mode-map): Remove.
2332 (electric-indent-mode): Change the global-map instead (bug#15915).
2334 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2337 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2339 * emacs-lisp/nadvice.el (remove-function): Align with
2340 add-function's behavior.
2342 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2343 (gdb--string-regexp): New constant.
2344 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2345 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2346 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2348 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2349 Adjust use accordingly.
2350 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2352 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2354 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2355 interpolation curlies (Bug#15914).
2357 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2359 * calc/calc.el (calc-context-sensitive-enter): New variable.
2360 (calc-enter): Use `calc-context-sensitive-enter'.
2362 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2364 * progmodes/cfengine.el: Version bump.
2365 (cfengine-cf-promises): New defcustom to locate cf-promises.
2366 (cfengine3-vartypes): Add new "data" type.
2367 (cfengine3--current-word): New function to get current name-like
2369 (cfengine3--current-function): New function to look up a CFEngine
2370 function's definition.
2371 (cfengine3-format-function-docstring): New function.
2372 (cfengine3-make-syntax-cache): New function.
2373 (cfengine3-documentation-function): New function: ElDoc glue.
2374 (cfengine3-completion-function): New function: completion glue.
2375 (cfengine3-mode): Set `compile-command',
2376 `eldoc-documentation-function', and add to
2377 `completion-at-point-functions'.
2379 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2381 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2382 `tramp-current-connection'.
2384 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2386 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2387 nil/self/true/false with "end of symbol".
2389 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2391 * subr.el (version-regexp-alist): Fix a typo.
2393 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2395 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2396 "en_US.utf8" and "LC_CTYPE" to "".
2397 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2398 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2400 2013-11-15 Leo Liu <sdl.web@gmail.com>
2402 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2404 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2406 * progmodes/gud.el (ctl-x-map):
2407 Remove C-x SPC binding. (Bug#12342)
2408 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2410 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2412 * subr.el (version-regexp-alist):
2413 Recognize hg, svn and darcs versions as snapshot versions.
2415 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2416 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2417 (ruby--encoding-comment-required-p): Extract from
2418 `ruby-mode-set-encoding'.
2419 (ruby-mode-set-encoding): Add the ability to always insert an
2420 utf-8 encoding comment. Fix and simplify coding comment update
2423 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2425 * net/tramp-gvfs.el (top): Run init code only when
2426 `tramp-gvfs-enabled' is not nil.
2427 (tramp-gvfs-enabled): Check also :system bus.
2429 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2431 Sync with upstream verilog-mode revision 78e66ba.
2432 * progmodes/verilog-mode.el (verilog-end-of-defun)
2433 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2434 (verilog-get-end-of-defun): Remove unused argument.
2435 (verilog-comment-depth): Remove unused local `e'.
2436 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2437 Don't pass arg to verilog-get-end-of-defun.
2439 2013-11-14 Glenn Morris <rgm@gnu.org>
2441 * obsolete/assoc.el (aget): Prefix dynamic variable.
2443 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2445 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2447 * widget.el, hfy-cmap.el: Remove bogus package version number.
2449 2013-11-13 Glenn Morris <rgm@gnu.org>
2451 * replace.el (replace-eval-replacement):
2452 Try to give more helpful error message. (Bug#15836)
2454 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2455 (archive-7z-update): Avoid custom type mismatches.
2457 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2459 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2461 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2462 address can be empty.
2464 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2465 Accept nil SWITCHES.
2466 (tramp-gvfs-handle-write-region): Implement APPEND.
2468 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2470 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2471 binary "|" operator and closing block args delimiter.
2472 Remove FIXME comment referring to Ruby 1.8-only syntax.
2473 (ruby-smie--implicit-semi-p): Not after "|" operator.
2474 (ruby-smie--closing-pipe-p): New function.
2475 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2476 (ruby-smie-rules): Indent after "|".
2478 2013-11-12 Glenn Morris <rgm@gnu.org>
2480 * ps-print.el (ps-face-attribute-list):
2481 Handle anonymous faces. (Bug#15827)
2483 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2485 * window.el (display-buffer-other-frame): Fix doc-string.
2488 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2490 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2492 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2494 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2495 (tramp-sh-handle-file-local-copy): Don't write a message when
2496 saving temporary files.
2498 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2499 both directories are remote.
2500 (tramp-smb-handle-directory-files): Do not return double entries.
2501 Do not expand full file names.
2502 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2503 (tramp-smb-handle-write-region): Implement APPEND.
2504 (tramp-smb-get-stat-capability): Fix a stupid bug.
2506 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2508 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2510 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2512 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2513 throwing error over malformed let/let* (bug#15814).
2515 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2517 * iswitchb.el (iswitchb-mode): Mark obsolete.
2519 2013-11-11 Glenn Morris <rgm@gnu.org>
2521 * international/uni-bidi.el, international/uni-category.el:
2522 * international/uni-name.el, international/uni-numeric.el:
2523 Regenerate for Unicode 6.3.0.
2525 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2527 * net/tramp.el (tramp-methods):
2528 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2529 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2531 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2533 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2534 Force highlighting text after Summary keyword in doc face for rpm.
2536 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2538 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2539 available and the word has no wildcards, append one to the grep pattern.
2540 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2541 (ispell-complete-word): Call `ispell-lookup-words' with the value
2542 independent of `ispell-look-p'.
2544 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2546 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2548 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2551 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2553 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2554 (ruby-font-lock-keywords): Use backquote.
2556 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2558 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2559 (ruby-smie--backward-token): Only consider full-string matches.
2561 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2563 * faces.el (describe-face): Add distant-foreground.
2565 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2567 * progmodes/ruby-mode.el: Improve encoding comment handling.
2568 (ruby-encoding-magic-comment-style): New option.
2569 (ruby-custom-encoding-magic-comment-template): New option.
2570 (ruby--insert-coding-comment, ruby--detect-encoding):
2571 New functions extracted from `ruby-mode-set-encoding'.
2572 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2573 to control the style of the auto-inserted encoding comment.
2575 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2577 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2578 Use `smie-backward-sexp' with token argument.
2580 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2582 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2583 Remove instrumentation code.
2585 2013-11-08 Glenn Morris <rgm@gnu.org>
2587 * progmodes/autoconf.el (autoconf-mode):
2588 Tweak comment-start-skip. (Bug#15822)
2590 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2592 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2593 at bobp (bug#15826).
2594 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2596 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2598 * man.el (Man-start-calling): New macro, extracted from
2599 Man-getpage-in-background.
2600 (Man-getpage-in-background): Use it.
2601 (Man-update-manpage): New command.
2602 (Man-mode-map): Bind it.
2604 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2606 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2607 of "and", "or", "&&" and "||".
2608 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2609 argument. Prohibit opening curly brace because it could only be a
2610 block opener in that position.
2611 (ruby-smie--forward-token, ruby-smie--backward-token):
2612 Separate "|" from "&" or "*" going after it. That can happen in block
2614 (ruby-smie--indent-to-stmt): New function, seeks the end of
2615 previous statement or beginning of buffer.
2616 (ruby-smie-rules): Use it.
2617 (ruby-smie-rules): Check if there's a ":" before a curly block
2618 opener candidate; if there is, it's a hash.
2620 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2622 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2623 (cl--block-wrapper): Fix last accidental change.
2625 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2627 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2628 Instrument, in order to hunt failure on hydra.
2630 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2632 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2633 malformed bindings form (bug#15814).
2635 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2637 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2638 "." compared to " @ ". This incidentally fixes some indentation
2640 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2641 (ruby-smie-grammar): New tokens: "and" and "or".
2642 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2643 Exclude "and" and "or". Remove "do" in order to work around token
2645 (ruby-smie-rules): Add all infix tokens. Handle the case of
2646 beginning-of-buffer.
2648 2013-11-06 Glenn Morris <rgm@gnu.org>
2650 * Makefile.in (setwins_almost, setwins_for_subdirs):
2651 Avoid accidental matches.
2653 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2655 * menu-bar.el (popup-menu): Use key-binding.
2657 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2659 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2660 menus, support also the menus produced by minor modes.
2663 2013-11-06 Leo Liu <sdl.web@gmail.com>
2665 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2666 DISTANCE to bound the search. All uses changed. (Bug#15808)
2668 2013-11-06 Glenn Morris <rgm@gnu.org>
2670 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2671 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2672 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2674 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2676 * electric.el (electric-indent-just-newline): New command.
2677 (electric-indent-mode-map): New keymap.
2678 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2679 Re-add :group which weren't redundant.
2681 * electric.el (electric-indent-local-mode): New minor mode.
2682 (electric-indent-functions-without-reindent): New var.
2683 (electric-indent-post-self-insert-function): Use it.
2684 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2686 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2688 * international/quail.el (quail-help): Be more explicit about the
2689 meaning of the labels shown on the keys. (Bug#15800)
2691 * startup.el (normal-top-level): Load the subdirs.el files before
2692 setting the locale environment. (Bug#15805)
2694 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2696 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2697 via arguments so as to get the right ones (bug#15418).
2699 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2701 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2703 Fix problems found while writing a test suite.
2705 * net/tramp-compat.el (tramp-compat-load): New defun.
2706 * net/tramp.el (tramp-handle-load): Use it.
2708 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2709 "(numberp ok-if-already-exists)" correctly.
2711 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2713 * international/characters.el (glyphless-char-display-control):
2716 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2718 * progmodes/python.el (python-mode):
2719 * progmodes/scheme.el (scheme-mode):
2720 * progmodes/prolog.el (prolog-mode):
2721 * progmodes/ruby-mode.el (ruby-mode):
2722 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2723 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2725 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2727 * rect.el (rectangle--highlight-for-redisplay):
2728 * emacs-lisp/smie.el (smie--next-indent-change):
2729 Use buffer-chars-modified-tick.
2731 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2733 * electric.el (electric-indent-post-self-insert-function):
2734 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2736 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2738 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2740 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2742 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2745 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2747 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2749 * progmodes/python.el: Fix up last change.
2750 (python-shell--save-temp-file): New function.
2751 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2752 `string' comes from the current buffer.
2753 (python-shell-send-string-no-output): Remove `msg' arg.
2754 (python--use-fake-loc): New var.
2755 (python-shell-buffer-substring): Obey it. Try to compensate for the
2756 extra coding line added by python-shell--save-temp-file.
2757 (python-shell-send-region): Use python-shell--save-temp-file and
2758 python-shell-send-file directly. Add `nomain' argument.
2759 (python-shell-send-buffer): Use python-shell-send-region.
2760 (python-electric-pair-string-delimiter): New function.
2761 (python-mode): Use it.
2763 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2765 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2766 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2767 environment and decoding all of the default-directory's to here
2769 (command-line): Decode also argv[0].
2771 * loadup.el: Error out if default-directory is a multibyte string
2772 when we are dumping.
2774 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2776 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2778 * emacs-lisp/package.el (package-menu-mode)
2779 (package-menu--print-info, package-menu--archive-predicate):
2780 Add Archive column to package list.
2782 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2784 Fix problems found while writing a test suite.
2786 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2787 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2788 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2789 to nil when running original file name handler. Otherwise,
2790 there are problems with constructs like "$$FOO".
2792 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2795 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2797 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2799 * subr.el (version<, version<=, version=):
2800 Update docstrings with information for snapshot versions.
2802 * helpers.el: New library for misc helper functions.
2803 (hash-table-keys): New function returning a list of hash keys.
2804 (hash-table-values): New function returning a list of hash values.
2806 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2808 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2809 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2811 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2813 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2814 checking whether point is after a 1-letter word.
2816 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2818 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2819 Don't infloop when expanding region over `multiline' syntax-type that
2820 begins a line (bug#15778).
2822 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2824 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2825 Make it into a proper minor mode.
2826 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2827 (rectangle-mark-mode-map): New keymap.
2828 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2830 2013-11-04 Glenn Morris <rgm@gnu.org>
2832 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2834 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2836 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2837 (ruby-smie-rules): Use smie-rule-parent instead.
2839 * emacs-lisp/smie.el (smie-rule-parent): Always call
2840 smie-indent-virtual rather than only for hanging tokens.
2841 (smie--next-indent-change): New helper command.
2843 2013-11-03 Glenn Morris <rgm@gnu.org>
2845 * Makefile.in (abs_srcdir): Remove.
2846 (emacs): Unset EMACSLOADPATH.
2848 2013-11-02 Glenn Morris <rgm@gnu.org>
2850 * Makefile.in (EMACS): Use a relative filename.
2851 (abs_top_builddir): Remove.
2852 (custom-deps, finder-data, autoloads): Use --chdir.
2854 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2856 Use relative filenames in TAGS files.
2857 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2858 (lisptagsfiles4, TAGS): Use relative file names.
2859 (TAGS-LISP): Remove.
2860 (maintainer-clean): No more TAGS-LISP file.
2862 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2863 (lisptagsfiles4): Use absolute filenames again.
2864 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2865 Remove all *loaddefs files, not just the first. Remove esh-groups.
2866 (maintainer-clean): Delete TAGS, TAGS-LISP.
2868 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2870 * emacs-lisp/package.el (package-version-join):
2871 Recognize snapshot versions.
2873 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2875 * subr.el (version-regexp-alist): Add support for snapshot versions.
2877 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2879 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2880 New function, replacement for `smie-rule-parent' for when we want to
2881 skip over our direct parent if it's an assignment token..
2882 (ruby-smie-rules): Use it.
2884 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2886 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2887 unconditionally. Remove now unnecessary forward declarations.
2888 Remove XEmacs-specific setup.
2889 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2890 (ruby-font-lock-syntactic-keywords)
2891 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2892 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2893 (ruby-here-doc-end-syntax): Remove.
2894 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2895 defined as function.
2897 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2899 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2901 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2903 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2904 table and abbrev table, `define-derived-mode' does that for us
2907 2013-11-01 Glenn Morris <rgm@gnu.org>
2909 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2910 files is atomic for some time, so no parallel compilation issues).
2912 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2914 * faces.el (face-x-resources): Add :distant-foreground.
2915 (region): Use :distant-foreground for gtk and ns.
2917 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2919 Allow multiple bibliographies when BibLaTeX is used rather than
2921 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2922 (reftex-locate-bibliography-files): Us it.
2924 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2926 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2927 allow comments in pbm files.
2929 * term/w32-win.el (dynamic-library-alist): Support newer versions
2930 of libjpeg starting with v7: look only for the DLL from the
2931 version against which Emacs was built.
2932 Support versions of libpng beyond 1.4.x.
2933 Support libtiff v4.x.
2935 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2937 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2938 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2940 (ruby-deep-arglist): Add property :type.
2942 2013-10-31 Glenn Morris <rgm@gnu.org>
2944 * Makefile.in (custom-deps, finder-data): No need to setq the target
2945 variables, we are in the right directory and the defaults work fine.
2947 2013-10-30 Glenn Morris <rgm@gnu.org>
2949 * Makefile.in (autoloads): Do not use abs_lisp.
2951 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2952 `newline' does not respect `standard-output', so use `princ'.
2954 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2956 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2957 * buff-menu.el (Buffer-menu--unmark): New function.
2958 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2960 2013-10-30 Glenn Morris <rgm@gnu.org>
2962 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2964 * emacs-lisp/package.el (lm-homepage): Declare.
2966 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2969 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2971 * Makefile.in (finder-data, autoloads, update-subdirs)
2972 (compile-main, compile-clean, compile-always, bootstrap-clean):
2973 Check return value of cd.
2974 (compile-calc): Remove.
2976 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2978 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2980 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2981 (byte-compile-and-folded): New function.
2982 (=, <, >, <=, >=): Use it.
2984 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2985 (path-separator, null-device, buffer-file-coding-system)
2986 (lpr-headers-switches): Check system-type before modifying them.
2987 (find-buffer-file-type-coding-system): Mark obsolete.
2988 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2989 find-file-not-found-set-buffer-file-coding-system.
2990 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2991 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2992 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2993 (w32-direct-print-region-helper, w32-direct-print-region-function)
2994 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2995 * startup.el (normal-top-level-add-subdirs-to-load-path):
2996 * ps-print.el (ps-print-region-function):
2997 * lpr.el (print-region-function): Use new name.
2999 * subr.el (custom-declare-variable-early): Remove function.
3000 (custom-declare-variable-list): Remove var.
3001 (error, user-error): Remove `while' loop.
3002 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3003 (user-emacs-directory-warning, locate-user-emacs-file):
3005 * simple.el (read-quoted-char-radix, read-quoted-char):
3006 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3008 * custom.el (custom-declare-variable-list): Don't process
3009 custom-declare-variable-list.
3011 * progmodes/python.el (python-shell-get-buffer): New function.
3012 (python-shell-get-process): Use it.
3013 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3014 Python which encoding was used. Don't split-string since we only care
3015 about the first line. Return the temp-file, if applicable.
3016 (python-shell-send-region): Tell compile.el how to turn locations in
3017 the temp-file into locations in the source buffer.
3019 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3021 * subr.el (undefined): Add missing behavior from the C code for
3024 * rect.el: Use lexical-binding. Add new rectangular region support.
3025 (rectangle-mark): New command.
3026 (rectangle--region): New var.
3027 (deactivate-mark-hook): Reset rectangle--region.
3028 (rectangle--extract-region, rectangle--insert-for-yank)
3029 (rectangle--highlight-for-redisplay)
3030 (rectangle--unhighlight-for-redisplay): New functions.
3031 (region-extract-function, redisplay-unhighlight-region-function)
3032 (redisplay-highlight-region-function): Use them to handle
3034 * simple.el (region-extract-function): New var.
3035 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3036 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3037 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3038 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3039 (redisplay-unhighlight-region-function)
3040 (redisplay-highlight-region-function): New vars.
3041 (redisplay--update-region-highlight): New function.
3042 (pre-redisplay-function): Use it.
3043 (exchange-point-and-mark): Don't deactivate the mark before
3044 reactivate-it anyway.
3045 * comint.el (comint-kill-region): Remove yank-handler argument.
3046 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3047 (delete-char): Remove property, since it's now part of their
3049 (self-insert-iso): Remove property since this command doesn't exist.
3051 * emacs-lisp/package.el (package--download-one-archive)
3052 (describe-package-1): Don't query the user about final newline.
3054 2013-10-29 Daniel Colascione <dancol@dancol.org>
3056 * net/tramp.el (tramp-methods): Document new functionality.
3057 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3058 tramp-hostname-checker if method provides one instead of scanning
3059 argument list for "%h" to decide hostname acceptability.
3061 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3063 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3064 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3065 Handle COPY-CONTENTS. (Bug#15737)
3067 2013-10-28 Daiki Ueno <ueno@gnu.org>
3070 (epa-file-cache-passphrase-for-symmetric-encryption):
3071 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3073 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3075 * image.el (defimage):
3076 (image-load-path): Doc fixes.
3078 2013-10-27 Alan Mackenzie <acm@muc.de>
3080 Indent statements in macros following "##" correctly.
3081 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3082 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3084 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3086 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3088 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3090 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3091 after `=' is probably a new expression.
3093 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3095 * man.el (man-imenu-title): New option.
3096 (Man-mode-map): Add menu. (Bug#15722)
3097 (Man-mode): Add imenu to menu.
3099 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3101 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3102 specific in what the first arg can be: a non-keyword word,
3103 string/regexp/percent literal opener, opening paren, or unary
3104 operator followed directly by word.
3106 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3108 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3109 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3110 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3111 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3112 Remove vars, they do not apply any more.
3113 (prolog-mode-abbrev-table): Remove redundant declaration.
3114 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3115 (prolog-use-smie): Remove.
3116 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3117 supported by prolog-electric-if-then-else-flag.
3118 (prolog-mode-variables, prolog-menu): Use setq-local.
3119 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3120 Remove binding to `Backspace' since this key doesn't exist anyway.
3121 Remove bindings for electric self-inserting keys.
3122 (prog-mode): Assume it's defined.
3123 (prolog-post-self-insert): New function.
3124 (prolog-mode): Use it.
3125 (prolog-indent-line, prolog-indent-level)
3126 (prolog-find-indent-of-matching-paren)
3127 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3128 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3129 (prolog-goto-next-paren, prolog-in-string-or-comment)
3130 (prolog-tokenize, prolog-inside-mline-comment)
3131 (prolog-find-start-of-mline-comment): Remove functions.
3132 (prolog-find-unmatched-paren, prolog-clause-end)
3133 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3134 (prolog-electric--if-then-else): Rename from
3135 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3136 (prolog-tokenize-searchkey): Remove const.
3137 (prolog-clause-info): Use forward-sexp.
3138 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3139 (prolog-electric-if-then-else): Remove commands.
3140 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3141 for use in post-self-insert-hook.
3142 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3143 for use in post-self-insert-hook.
3144 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3145 for use in post-self-insert-hook.
3146 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3147 adapt it for use in post-self-insert-hook.
3149 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3151 * emacs-lisp/ert.el (ert-run-tests-interactively):
3152 Use `completing-read'. (Bug#9756)
3154 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3156 * simple.el (line-move): Call line-move-1 instead of
3157 line-move-visual when the current window hscroll is zero, but
3158 temporary-goal-column indicates we will need to hscroll as result
3159 of the movement. (Bug#15712)
3161 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3163 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3164 capitalization. Use :visible instead of :active.
3165 Fix `ruby-indent-exp' reference. Add menu items for the generic
3166 commands that are used with SMIE.
3167 (ruby-do-end-to-brace): Insert space after `{'.
3169 2013-10-25 John Anthony <john@jo.hnanthony.com>
3171 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3173 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3175 2013-10-25 Glenn Morris <rgm@gnu.org>
3177 * vc/vc.el (vc-print-log): Don't use a working revision unless
3178 one was explicitly specified. (Bug#15322)
3180 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3182 * subr.el (add-to-list): Preserve return value in compiler-macro
3185 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3187 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3188 result. Ask user to retry using '-all' flag. (Bug#15701)
3190 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3192 * emacs-lisp/smie.el: New smie-config system.
3193 (smie-config): New defcustom.
3194 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3195 (smie-config-guess, smie-config-save): New commands.
3196 (smie-config--mode-local, smie-config--buffer-local)
3197 (smie-config--trace, smie-config--modefuns): New vars.
3198 (smie-config--advice, smie-config--mode-hook)
3199 (smie-config--setter, smie-config-local, smie-config--get-trace)
3200 (smie-config--guess-value, smie-config--guess): New functions.
3201 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3202 text properties. Treat "string fence" syntax like string syntax.
3204 * progmodes/sh-script.el (sh-use-smie): Change default.
3205 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3206 (sh-var-value): Simplify by CSE.
3207 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3208 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3210 (sh-guess-basic-offset): Use cl-incf.
3211 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3213 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3215 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3218 2013-10-24 Glenn Morris <rgm@gnu.org>
3220 * Makefile.in (abs_top_srcdir): Remove.
3221 (update-subdirs): Use relative path to update-subdirs.
3223 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3225 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3226 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3227 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3228 Call unmsys--file-name before expand-file-name, not after it.
3230 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3232 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3233 (ert-test-skipped): New error.
3234 (ert-skip, ert-stats-skipped): New defuns.
3235 (ert--skip-unless): New macro.
3236 (ert-test-skipped): New struct.
3237 (ert--run-test-debugger, ert-test-result-type-p)
3238 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3239 (ert--stats-set-test-and-result, ert-char-for-test-result)
3240 (ert-string-for-test-result, ert-run-tests-batch)
3241 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3242 Handle skipped tests. (Bug#9803)
3244 2013-10-24 Glenn Morris <rgm@gnu.org>
3246 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3248 * Makefile.in (abs_top_srcdir): New, set by configure.
3249 (update-subdirs): Correct build-aux location.
3251 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3253 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3254 value, whether we could auto-deduce `backend', or not.
3256 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3257 with parameters" example. Simplify the "is it block or is it
3258 hash" check, but also make it more thorough.
3260 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3262 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3264 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3266 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3269 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3272 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3274 * progmodes/compile.el (compilation-directory-matcher)
3275 (compilation-page-delimiter):
3276 Support GNU Make-4.0 directory quoting. (Bug#15678)
3278 2013-10-23 Leo Liu <sdl.web@gmail.com>
3280 * ido.el (ido-tidy): Handle read-only text.
3282 2013-10-23 Glenn Morris <rgm@gnu.org>
3284 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3285 (emacs, compile, compile-always):
3286 Quote entities that might contain whitespace.
3287 (custom-deps, finder-data, autoloads): Use abs_lisp.
3288 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3289 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3290 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3292 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3294 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3295 Use `following-char'.
3297 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3299 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3300 * progmodes/ruby-mode.el (ruby-smie-rules):
3301 Remove corresponding workaround. Fix indentation rule of ";" so it
3302 also applies when ";" is the parent.
3304 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3306 * frame.el (display-screens, display-pixel-height)
3307 (display-pixel-width, display-mm-width, display-backing-store)
3308 (display-save-under, display-planes, display-color-cells)
3309 (display-visual-class, display-monitor-attributes-list):
3310 Mention the optional ‘display’ argument in doc strings.
3312 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3314 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3315 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3317 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3319 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3320 TODO. Add "." after " @ ".
3321 (ruby-smie--at-dot-call): New function. Checks if point at method
3322 call with explicit target.
3323 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3324 to the method name tokens when it precedes them.
3325 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3326 (ruby-smie-rules): Add rule for indentation before and after "."
3329 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3331 * textmodes/remember.el (remember-diary-extract-entries):
3334 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3337 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3339 * progmodes/ruby-mode.el (ruby-smie-grammar):
3340 Add (almost) all infix operators.
3341 (ruby-smie--implicit-semi-p): Add new operator chars.
3343 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3345 (ruby-smie--args-separator-p): Check that there's no newline
3346 between method call and its arguments.
3348 2013-10-20 Alan Mackenzie <acm@muc.de>
3350 Allow comma separated lists after Java "implements".
3352 * progmodes/cc-engine.el (c-backward-over-enum-header):
3354 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3355 from a "disallowed" list in enum fontification.
3357 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3359 * startup.el (default-frame-background-mode): Remove unused defvar.
3361 * progmodes/verilog-mode.el (verilog-mode): Don't set
3362 comment-indent-function globally.
3364 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3366 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3367 Move Info menu item creation to ns-win.el.
3369 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3372 * menu-bar.el: Move GNUStep specific menus...
3374 * term/ns-win.el (ns-initialize-window-system): ... to here.
3376 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3378 * simple.el (newline): Only run post-self-insert-hook when
3379 called interactively.
3381 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3383 * icomplete.el (icomplete-with-completion-tables): Add :version.
3385 2013-10-19 Alan Mackenzie <acm@muc.de>
3387 Fix fontification bugs with constructors and const.
3389 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3390 CASE 2) Remove the check for the absence of a suffix construct
3391 after a function declaration with only types (no identifiers) in
3392 the parentheses. Also, accept a function declaration with just a
3393 type inside the parentheses, if this type can be positively
3394 recognised as such, or if a prefix keyword like "explicit" nails
3395 down the construct as a declaration.
3397 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3399 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3400 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3401 the problem whereby selecting a menu item that leads to a
3402 minibuffer prompt moves the cursor out of the minibuffer window,
3403 making it hard to type at the prompt. Suggested by Stefan Monnier
3404 <monnier@iro.umontreal.ca>.
3406 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3408 * menu-bar.el: Don't make Services menu.
3410 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3412 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3413 (ffap-alist): Use ffap-c++-mode for c++-mode.
3414 (ffap-c++-path): New variable.
3415 (ffap-c++-mode): New function.
3417 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3419 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3421 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3423 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3424 introduced on 2013-09-08, which results in an infinite loop
3425 requesting a password.
3427 2013-10-18 Glenn Morris <rgm@gnu.org>
3429 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3431 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3433 Sync with upstream verilog-mode revision 1a6ecec7.
3434 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3435 (verilog-mode-release-date): Remove.
3436 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3437 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3438 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3439 (verilog-auto-tieoff-ignore-regexp)
3440 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3441 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3442 (verilog-signals-with, verilog-dir-cache-preserving)
3443 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3445 (verilog-case-fold): New option, to control case folding in
3446 regexp searches, bug597.
3447 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3448 (verilog-string-match-fold, verilog-in-paren-count)
3449 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3450 (verilog-at-close-struct-p): New functions.
3451 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3452 (verilog-forward-sexp, verilog-set-auto-endcomments):
3453 (verilog-leap-to-case-head): Handle "unique0" case.
3454 (verilog-in-constraint-re): New constant.
3455 (verilog-keywords, verilog-type-font-keywords):
3456 Add some SystemVerilog 1800-2012 keywords.
3457 (verilog-label-be): Remove unimplemented argument, bug669.
3458 (verilog-batch-execute-func): When batch expanding clear
3459 create-lockfiles to prevent spurious user locks when a file ends
3461 (verilog-calculate-indent, verilog-calc-1)
3462 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3463 (verilog-do-indent): Fix indentation of nested constraints
3465 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3466 (verilog-auto-inst-param): Use verilog-string-match-fold.
3467 (verilog-read-inst-module-matcher):
3468 Fix AUTOINST on gate primitives with #1.
3469 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3470 Reads all user-defined typed variables.
3471 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3472 (verilog-signals-matching-regexp)
3473 (verilog-signals-not-matching-regexp, verilog-auto):
3474 Respect verilog-case-fold.
3475 (verilog-diff-report): Fix line count.
3476 (verilog-auto-assign-modport): Remove unused local `modi'.
3477 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3478 better handle multidimensional arrays.
3479 Fix packed array ports misadding bit index in AUTOINST, bug637.
3480 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3481 to not double-declare existing outputs and inputs, respectively.
3482 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3483 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3484 (verilog-sk-uvm-component): New skeleton.
3485 (verilog-submit-bug-report): Add verilog-case-fold,
3486 remove verilog-mode-release-date.
3488 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3490 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3493 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3495 * textmodes/remember.el (remember): Set buffer-offer-save in
3496 remember buffers (bug#13566).
3498 2013-10-18 Daniel Colascione <dancol@dancol.org>
3500 When evaluating forms in ielm, direct standard output to ielm
3501 buffer. Add new ielm-return-for-effect command. Remove trailing
3502 whitespace throughout.
3504 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3505 (ielm-return-for-effect): New command.
3506 (ielm-send-input): Accept optional `for-effect' parameter.
3507 (ielm-eval-input): Accept optional `for-effect' parameter.
3508 Bind `standard-output' to stream we create using
3509 `ielm-standard-output-impl'. Suppress printing result when
3511 (ielm-standard-output-impl): New function.
3512 (inferior-emacs-lisp-mode): Explain new features in documentation.
3514 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3518 * net/tramp.el (tramp-debug-message): Do not check for connection
3520 (tramp-message): Use "vector" connection property.
3522 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3523 (tramp-equal-remote, tramp-eshell-directory-change)
3524 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3525 (tramp-adb-handle-rename-file)
3526 * net/tramp-cmds.el (tramp-list-remote-buffers)
3527 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3528 * net/tramp-compat.el (tramp-compat-process-running-p)
3529 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3530 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3531 (tramp-gvfs-handle-rename-file)
3532 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3533 (tramp-set-file-uid-gid)
3534 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3535 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3538 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3539 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3540 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3541 (tramp-gw-open-network-stream): Suppress unrelated traces.
3543 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3544 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3545 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3546 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3547 connection property.
3549 * net/tramp-cache.el (top): Suppress traces when reading
3552 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3553 Refactor common code. Improve debug message.
3554 (tramp-maybe-open-connection)
3555 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3556 connection buffer too early.
3558 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3559 from `tramp-smb-actions-with-acl'.
3560 (tramp-smb-actions-set-acl): New defconst.
3561 (tramp-smb-handle-copy-directory)
3562 (tramp-smb-action-get-acl): New defun, renamed from
3563 `tramp-smb-action-with-acl'.
3564 (tramp-smb-action-set-acl): New defun.
3565 (tramp-smb-handle-set-file-acl): Rewrite.
3567 2013-10-17 Glenn Morris <rgm@gnu.org>
3569 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3571 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3573 * skeleton.el (skeleton-newline): Remove.
3574 (skeleton-internal-1): Use (insert "\n") instead.
3576 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3579 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3580 forward-sexp-function while we redo its job (bug#15613).
3582 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3584 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3585 represented by lists.
3587 2013-10-16 Glenn Morris <rgm@gnu.org>
3589 * tmm.el (tmm--history): New dynamic variable.
3590 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3592 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3594 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3595 (tramp-smb-errors): Add error messages.
3596 (tramp-smb-actions-with-acl): New defconst.
3597 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3598 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3599 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3600 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3601 (tramp-smb-get-stat-capability): Fix tests.
3603 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3605 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3608 2013-10-16 Glenn Morris <rgm@gnu.org>
3610 * ansi-color.el (ansi-color-drop-regexp):
3611 Add 1J, 1K, 2K. (Bug#15617)
3613 * files.el (hack-local-variables--warned-lexical): New.
3614 (hack-local-variables):
3615 Warn about misplaced lexical-binding. (Bug#15616)
3617 * net/eww.el (eww-render): Always set eww-current-url,
3618 and update header line. (Bug#15622)
3619 (eww-display-html): ... Rather than just doing it here.
3621 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3623 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3624 menu navigations commands.
3626 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3628 * progmodes/subword.el (subword-capitalize): Be careful when
3629 the search for [[:alpha:]] fails (bug#15580).
3631 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3633 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3634 to commands that scroll the menu.
3636 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3638 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3639 Handle methods ending with `?' and `!'.
3641 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3643 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3644 `japanese-cp932' to `cp932' to fix the problem where saving a
3645 source file written in Shift_JIS twice would end up having
3646 `coding: japanese-cp932' which Ruby could not recognize.
3647 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3648 in `ruby-encoding-map'.
3649 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3650 doesn't need to be explicitly declared in magic comment.
3651 (ruby-encoding-map): Add type declaration for better customize UI.
3653 2013-10-13 Glenn Morris <rgm@gnu.org>
3655 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3656 Occur buffers are read-only. http://bugs.debian.org/720775
3658 * emacs-lisp/authors.el (authors-fixed-entries):
3659 Comment out old alpha stuff.
3661 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3663 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3664 to `after-save-hook' instead of `before-save-hook'.
3665 (ruby-mode-set-encoding): Use the value of coding system used to
3666 write the file. Call `basic-save-buffer-1' after modifying the
3669 2013-10-13 Alan Mackenzie <acm@muc.de>
3671 Fix indentation/fontification of Java enum with
3672 "implements"/generic.
3674 * progmodes/cc-engine.el (c-backward-over-enum-header):
3675 Extracted from the three other places and enhanced to handle generics.
3676 (c-inside-bracelist-p): Uses new function above.
3677 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3679 (c-font-lock-enum-tail): Uses new function above.
3681 2013-10-13 Kenichi Handa <handa@gnu.org>
3683 * international/mule-cmds.el (select-safe-coding-system): Remove a
3684 superfluous condition in chekcing whether a coding system is safe
3687 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3689 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3691 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3693 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3695 2013-10-13 Glenn Morris <rgm@gnu.org>
3697 * menu-bar.el (menu-bar-update-buffers):
3698 Unify Buffers menu prompt string. (Bug#15576)
3700 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3702 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3704 (authors-fixed-entries): Use accented form of name.
3706 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3708 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3709 method calls (bug#15594).
3710 (ruby-smie--args-separator-p): New function.
3711 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3712 recognize paren-free method calls.
3714 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3715 internals of universal-argument.
3717 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3719 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3720 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3721 dropped menu on second mouse click on the menu bar.
3723 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3725 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3726 (explicit-shell-file-name): Declare.
3727 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3728 (sh-completion-at-point-function): New function.
3730 (sh-smie--keyword-p): Remove unused argument.
3731 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3733 (sh-set-shell): Always setup SMIE, even if we use the
3734 old indentation code.
3736 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3738 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3740 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3741 predicate would return nil are almost non-existent.
3742 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3744 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3745 cache also after commands that modify the buffer but don't move
3748 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3750 * env.el (substitute-env-in-file-name): New function.
3751 (substitute-env-vars): Extend the meaning of the optional arg.
3753 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3755 * term/w32-win.el (dynamic-library-alist): Define separate lists
3756 of GIF DLLs for versions before and after 5.0.0 of giflib.
3759 2013-10-10 João Távora <joaotavora@gmail.com>
3761 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3762 not locked, use last revision and current source as
3763 defaults. (Bug#15569)
3765 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3767 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3770 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3772 * window.el (pop-to-buffer-same-window): Fix doc-string.
3775 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3777 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3779 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3781 * calendar/icalendar.el (icalendar-import-file):
3782 Fix interactive spec. (Bug#15482)
3784 2013-10-10 Glenn Morris <rgm@gnu.org>
3786 * desktop.el (desktop-save): Default to saving in .emacs.d,
3787 since PWD is no longer in desktop-path by default. (Bug#15319)
3789 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3790 now that text mode has a menu with the same entry.
3791 (menu-bar-text-mode-auto-fill): Remove now unused func.
3792 * textmodes/text-mode.el (text-mode-map):
3793 Use auto-fill help text from menu-bar.el.
3795 2013-10-10 John Anthony <john@jo.hnanthony.com>
3797 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3799 2013-10-09 Juri Linkov <juri@jurta.org>
3801 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3802 instead of this-command-keys. Add universal-argument-more and
3803 universal-argument-minus to the list of prefix commands. (Bug#15568)
3805 2013-10-09 Glenn Morris <rgm@gnu.org>
3807 * vc/vc-svn.el (vc-svn-create-repo):
3808 Expand paths in file://... url. (Bug#15446)
3810 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3812 (authors): Remove unused local variables.
3814 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3816 * profiler.el: Create a more coherent calltree from partial backtraces.
3817 (profiler-format): Hide the tail with `invisible' so that C-s can still
3818 find the hidden elements.
3819 (profiler-calltree-depth): Don't recurse so enthusiastically.
3820 (profiler-function-equal): New hash-table-test.
3821 (profiler-calltree-build-unified): New function.
3822 (profiler-calltree-build): Use it.
3823 (profiler-report-make-name-part): Indent the calltree less.
3824 (profiler-report-mode): Add visibility specs for profiler-format.
3825 (profiler-report-expand-entry, profiler-report-toggle-entry):
3826 Expand the whole subtree when provided with a prefix arg.
3828 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3830 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3832 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3833 hanging iuwu-mod token.
3834 (ruby-smie--forward-token): Do not include a dot after a token in
3836 (ruby-smie--backward-token): Likewise.
3838 2013-10-08 Juri Linkov <juri@jurta.org>
3840 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3841 to isearch-other-control-char.
3842 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3843 and isearch-post-command-hook to post-command-hook.
3844 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3845 and isearch-post-command-hook from post-command-hook.
3846 (isearch-unread-key-sequence)
3847 (isearch-reread-key-sequence-naturally)
3848 (isearch-lookup-scroll-key, isearch-other-control-char)
3849 (isearch-other-meta-char): Remove functions.
3850 (isearch-pre-command-hook, isearch-post-command-hook):
3851 New functions based on isearch-other-meta-char rewritten
3852 relying on the new behavior of overriding-terminal-local-map
3853 that does not replace the local keymaps any more. (Bug#15200)
3855 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3857 Support menus on text-mode terminals.
3858 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3861 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3863 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3864 Move here from mouse.el.
3865 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3867 (tty-menu-navigation-map): New map for TTY menu navigation.
3869 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3871 * frame.el (display-mouse-p): Report text-mode mouse as available
3873 (display-popup-menus-p): Report availability if mouse is
3874 available; don't condition on window-system.
3876 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3877 (tty-menu-selected-face): New faces.
3879 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3881 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3882 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3883 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3884 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3886 (lisp-mode-variables): New `elisp' argument.
3887 (emacs-lisp-mode): Use it.
3888 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3889 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3891 * indent.el: Use lexical-binding.
3892 (indent-region): Add progress reporter.
3893 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3895 (indent--next-tab-stop): New function to implement this behavior.
3896 (tab-to-tab-stop, move-to-tab-stop): Use it.
3898 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3900 * indent.el (indent-rigidly--current-indentation): New function.
3901 (indent-rigidly-map): New var.
3902 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3904 2013-10-08 Bastien Guerry <bzg@gnu.org>
3906 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3908 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3910 * progmodes/perl-mode.el: Use lexical-binding.
3911 Remove redundant :group args.
3912 (perl-nochange): Change default to be closer to other major modes's
3914 (perl-indent-line): Don't consider text on current line as a
3915 valid beginning of function from which to indent.
3917 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3918 with more than one argument (bug#15538).
3920 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3922 * vc/pcvs.el: Use lexical-binding.
3923 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3924 environment of `eval'.
3925 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3926 than a list of expressions. Adjust callers.
3927 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3929 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3931 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3932 case of the dot in a chained method call being on the following line.
3934 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3936 * electric.el (electric-indent-inhibit): New var.
3937 (electric-indent-post-self-insert-function): Use it.
3938 * progmodes/python.el (python-mode): Set it.
3940 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3943 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3945 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3946 (css-mode): Use electric-indent-chars.
3948 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3949 (font-lock-beg, font-lock-end): Move before first use.
3950 (nxml-mode): Use syntax-propertize-function.
3951 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3952 (nxml-extend-after-change-region): Remove.
3953 * nxml/xmltok.el: Use lexical-binding.
3954 (xmltok-save): Use `declare'.
3955 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3956 * nxml/nxml-util.el: Use lexical-binding.
3957 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3959 * nxml/nxml-ns.el: Use lexical-binding.
3960 (nxml-ns-save): Use `declare'.
3961 (nxml-ns-prefixes-for): Avoid add-to-list.
3962 * nxml/rng-match.el: Use lexical-binding.
3963 (rng--ipattern): Use cl-defstruct.
3964 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3965 (rng-cons-group-after, rng-subst-group-after)
3966 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3967 Use closures instead of `(lambda...).
3969 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3971 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3974 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3975 Use `tramp-handle-insert-file-contents'.
3976 (tramp-gvfs-handle-insert-file-contents): Remove function.
3978 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3979 Use `save-restriction' in order to keep markers.
3981 * net/trampver.el: Update release number.
3983 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3985 * progmodes/compile.el (compilation-parse-errors):
3986 Use compilation--put-prop.
3987 (compilation--ensure-parse): Check compilation-multiline.
3989 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3991 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3994 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3996 * progmodes/ruby-mode.el: Fix recently added tests.
3997 (ruby-smie-grammar): Add - and +.
3998 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3999 (ruby-smie--backward-id): New functions.
4000 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4001 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4004 2013-10-07 Leo Liu <sdl.web@gmail.com>
4006 * register.el (register-preview-delay)
4007 (register-preview-functions): New variables.
4008 (register-read-with-preview, register-preview)
4009 (register-describe-oneline): New functions.
4010 (point-to-register, window-configuration-to-register)
4011 (frame-configuration-to-register, jump-to-register)
4012 (number-to-register, view-register, insert-register)
4013 (copy-to-register, append-to-register, prepend-to-register)
4014 (copy-rectangle-to-register): Use register-read-with-preview to
4015 read register. (Bug#15525)
4017 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4019 * net/network-stream.el (network-stream-open-starttls): Don't add
4020 --insecure if it's already present, because that gnutls-cli
4021 rejects getting that parameter twice.
4023 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4025 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4028 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4030 * newcomment.el (comment-use-global-state): Change default value
4031 to t, mark obsolete (Bug#15251).
4032 (comment-beginning): In addition to `comment-to-syntax', check the
4033 value of `comment-use-global-state'.
4035 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4037 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4038 (ruby-comment-column): Follow the global default, by default.
4039 (ruby-smie-grammar): Add assignment syntax.
4040 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4041 open-paren, a comma, or a \.
4042 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4043 and line continuations.
4044 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4045 followed by implicit semi-colons. Add rule for string concatenation
4046 and for indentation at BOB.
4047 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4049 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4050 calling next-sexp, since next-token may have skipped chars which
4051 next-sexp doesn't know should be skipped!
4053 2013-10-05 Leo Liu <sdl.web@gmail.com>
4055 * progmodes/octave.el (octave-send-region):
4056 Call compilation-forget-errors.
4058 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4060 * vc/vc-svn.el (vc-svn-find-admin-dir):
4061 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4062 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4063 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4064 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4066 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4068 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4070 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4072 * subr.el (read-passwd): Hide chars even when called within a context
4073 where after-change-functions is disabled (bug#15501).
4074 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4075 until we removed ourself from overriding-terminal-local-map.
4077 2013-10-04 Leo Liu <sdl.web@gmail.com>
4079 * progmodes/octave.el (inferior-octave-mode):
4080 Call compilation-forget-errors.
4082 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4084 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4086 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4088 * net/secrets.el (secrets-create-collection): Add optional
4089 argument ALIAS. Use proper Label keyword. Append ALIAS as
4090 dbus-call-method argument. (Bug#15516)
4092 2013-10-04 Leo Liu <sdl.web@gmail.com>
4094 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4095 (inferior-octave-compilation-font-lock-keywords): New variables.
4096 (compilation-error-regexp-alist)
4097 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4098 (inferior-octave-mode): Use compilation-shell-minor-mode.
4100 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4102 * minibuffer.el (completion--replace): Be careful that `end' might be
4105 2013-10-03 Daiki Ueno <ueno@gnu.org>
4107 Add support for package signature checking.
4108 * emacs-lisp/package.el (url-http-file-exists-p)
4109 (epg-make-context, epg-context-set-home-directory)
4110 (epg-verify-string, epg-context-result-for)
4111 (epg-signature-status, epg-signature-to-string)
4112 (epg-check-configuration, epg-configuration)
4113 (epg-import-keys-from-file): Declare.
4114 (package-check-signature): New user option.
4115 (package-unsigned-archives): New user option.
4116 (package-desc): Add `signed' field.
4117 (package-load-descriptor): Set `signed' field if .signed file exists.
4118 (package--archive-file-exists-p): New function.
4119 (package--check-signature): New function.
4120 (package-install-from-archive): Check package signature.
4121 (package--download-one-archive): Check archive signature.
4122 (package-delete): Remove .signed file.
4123 (package-import-keyring): New command.
4124 (package-refresh-contents): Import default keyring.
4125 (package-desc-status): Add "unsigned" status.
4126 (describe-package-1, package-menu--print-info)
4127 (package-menu-mark-delete, package-menu--find-upgrades)
4128 (package-menu--status-predicate): Support "unsigned" status.
4130 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4132 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4133 the new compilation scheme using the new byte-codes.
4135 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4136 (byte-pophandler): New byte codes.
4137 (byte-goto-ops): Adjust accordingly.
4138 (byte-compile--use-old-handlers): New var.
4139 (byte-compile-catch): Use new byte codes depending on
4140 byte-compile--use-old-handlers.
4141 (byte-compile-condition-case--old): Rename from
4142 byte-compile-condition-case.
4143 (byte-compile-condition-case--new): New function.
4144 (byte-compile-condition-case): New function that dispatches depending
4145 on byte-compile--use-old-handlers.
4146 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4149 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4150 Optimize under `condition-case' and `catch' if
4151 byte-compile--use-old-handlers is nil.
4152 (disassemble-offset): Handle new bytecodes.
4154 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4156 * subr.el (error): Use `declare'.
4157 (decode-char, encode-char): Use advertised-calling-convention instead
4158 of the docstring to discourage use of the `restriction' arg.
4160 2013-10-03 Daiki Ueno <ueno@gnu.org>
4162 * epg.el (epg-verify-file): Add a comment saying that it does not
4163 notify verification error as a return value nor a signal.
4164 (epg-verify-string): Ditto.
4166 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4168 * progmodes/compile.el (compilation-start): Try globbing the arg to
4171 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4173 Sync with Tramp 2.2.8.
4175 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4176 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4177 * net/trampver.el: Update release number.
4179 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4181 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4182 and default-process-coding-system for darwin only.
4184 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4186 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4188 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4190 * vc/vc-git.el (vc-git-grep): Disable pager.
4192 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4194 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4195 Use :url instead of :homepage, as per
4196 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4198 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4199 non-nil, use `syntax-ppss' (Bug#15251).
4201 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4203 * progmodes/octave.el (inferior-octave-startup-file):
4204 Prefer ~/.emacs.d/init_octave.m.
4206 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4208 * emacs-lisp/package.el (package-desc-from-define):
4209 Accept additional arguments as plist, convert them to an alist and store
4210 them in the `extras' slot.
4211 (package-generate-description-file): Convert extras alist back to
4212 plist and append to the `define-package' form arguments.
4213 (package--alist-to-plist): New function.
4214 (package--ac-desc): Add `extras' slot.
4215 (package--add-to-archive-contents): Check if the archive-contents
4216 vector is long enough, and if it is, pass its `extras' slot value
4217 to `package-desc-create'.
4218 (package-buffer-info): Call `lm-homepage', pass the returned value
4219 to `package-desc-from-define'.
4220 (describe-package-1): Render the homepage button (Bug#13291).
4222 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4223 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4225 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4227 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4228 and default-process-coding-system to utf-8-unix (Bug#15402).
4230 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4232 * subr.el (looking-back): Do not recommend using looking-back.
4234 2013-09-28 Alan Mackenzie <acm@muc.de>
4236 Fix indentation/fontification of Java enum with "implements".
4238 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4239 regexp which matches "implements", etc., in Java.
4240 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4241 specifier clauses coming after "enum".
4242 * progmodes/cc-fonts.el (c-font-lock-declarations)
4243 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4246 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4248 * faces.el (region): Change ns_selection_color to
4249 ns_selection_fg_color, add ns_selection_bg_color.
4251 2013-09-28 Leo Liu <sdl.web@gmail.com>
4253 * progmodes/octave.el (inferior-octave-completion-table)
4254 (inferior-octave-completion-at-point): Minor tweaks.
4256 * textmodes/ispell.el (ispell-lookup-words): Rename from
4257 lookup-words. (Bug#15460)
4258 (lookup-words): Obsolete.
4259 (ispell-complete-word, ispell-command-loop): All uses changed.
4261 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4263 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4264 (octave-mode-menu): Add octave-send-buffer.
4265 (octave-send-buffer): New function.
4267 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4269 * progmodes/octave.el (octave-mode-map): Add key binding for
4271 (octave-mode-menu): Add octave-lookfor.
4272 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4274 (octave-lookfor): New function.
4276 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4278 * emacs-lisp/cl-macs.el:
4279 (cl--loop-destr-temps): Remove.
4280 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4282 (cl--loop-set-iterator-function): New function.
4283 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4284 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4285 Bind `it' with `let' instead of substituting it with `cl-subst'.
4286 (cl--unused-var-p): New function.
4287 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4288 Eliminate some unused variable warnings (bug#15326).
4290 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4292 * doc-view.el (doc-view-scale-reset): Rename from
4293 `doc-view-reset-zoom-level'.
4294 (doc-view-scale-adjust): New command.
4295 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4296 `doc-view-scale-adjust'.
4298 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4300 * doc-view.el (doc-view-reset-zoom-level): New command.
4301 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4302 zoom commands (bug#15466).
4304 2013-09-26 Kenichi Handa <handa@gnu.org>
4306 * international/quail.el (quail-help): Make it not a command.
4308 2013-09-26 Leo Liu <sdl.web@gmail.com>
4310 * minibuffer.el (completion-all-sorted-completions): Make args
4311 optional as they are.
4313 2013-09-25 Daniel Colascione <dancol@dancol.org>
4315 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4316 specs are and that they're not evaluated.
4318 2013-09-24 Sam Steingold <sds@gnu.org>
4320 * midnight.el (clean-buffer-list-kill-regexps)
4321 (clean-buffer-list-kill-buffer-names): Update for the new Man
4322 buffer naming which includes the object name.
4324 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4326 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4327 (eshell-parse-command, eshell-parse-pipeline): Use it since
4328 eshell-separate-commands requires a dynamic scoped var.
4329 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4331 2013-09-23 Leo Liu <sdl.web@gmail.com>
4333 * autoinsert.el (auto-insert-alist): Make the value of
4334 lexical-binding match its file setting.
4336 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4338 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4340 * autoarg.el (autoarg-kp-digit-argument):
4341 * electric.el (Electric-command-loop):
4342 * kmacro.el (kmacro-step-edit-insert):
4343 Do not set universal-argument-num-events.
4345 2013-09-22 Leo Liu <sdl.web@gmail.com>
4347 * files.el (interpreter-mode-alist): Add octave.
4349 2013-09-21 Alan Mackenzie <acm@muc.de>
4351 C++: fontify identifier in declaration following "public:" correctly.
4352 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4353 to match "public", etc.
4354 (c-decl-prefix-re): Add ":" into the C++ value.
4355 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4356 bit. Add a check for a ":" preceded by "public", etc.
4358 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4360 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4361 recognized by GDB 7.5 and later.
4363 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4365 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4367 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4369 * subr.el (internal--call-interactively): New const.
4370 (called-interactively-p): Use it (bug#3984).
4372 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4374 * vc/pcvs.el (cvs-mode-ignore):
4375 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4376 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4378 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4380 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4381 (eshell-ls-orig-insert-directory): Remove.
4382 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4383 (eshell-ls-use-in-dired): Use advice-add/remove.
4384 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4385 Add `orig-fun' arg for use in :around advice.
4386 Make it check (redundantly) eshell-ls-use-in-dired.
4388 2013-09-19 Glenn Morris <rgm@gnu.org>
4390 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4392 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4394 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4396 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4398 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4399 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4400 (tramp-get-remote-python): New defuns.
4401 (tramp-get-remote-uid-with-perl)
4402 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4403 contributed by yary <not.com@gmail.com> (tiny change).
4404 (tramp-get-remote-uid-with-python)
4405 (tramp-get-remote-gid-with-python): New defuns. Python code
4406 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4407 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4409 2013-09-19 Glenn Morris <rgm@gnu.org>
4411 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4413 * eshell/em-unix.el (eshell-remove-entries):
4414 Rename argument to avoid name-clash with global `top-level'.
4416 * eshell/esh-proc.el (eshell-kill-process-function):
4417 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4418 (eshell-reset-after-proc): Remove unused arg `proc'.
4420 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4421 (directory-files-and-attributes): Mark unused arg.
4423 * eshell/em-unix.el (eshell-remove-entries):
4424 Remove unused arg `path'. Update callers.
4426 * eshell/em-hist.el (eshell-hist-parse-arguments):
4427 Remove unused arg `silent'. Update callers.
4429 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4430 Fix (f)boundp mix-up.
4432 * eshell/em-smart.el (eshell-smart-scroll-window)
4433 (eshell-disable-after-change):
4434 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4436 2013-09-18 Alan Mackenzie <acm@muc.de>
4438 Fix fontification of type when followed by "const".
4439 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4440 "known" types from fontification.
4442 2013-09-18 Glenn Morris <rgm@gnu.org>
4444 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4445 (chart-face-list): Drop Emacsen without display-color-p.
4447 * net/eww.el (libxml-parse-html-region): Declare.
4448 (eww-display-html): Explicit error if no libxml2 support.
4450 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4452 * image.el (image-type-from-buffer, image-multi-frame-p):
4453 Remove --without-x warning/error.
4455 * mouse.el (mouse-yank-primary):
4456 * term.el (term-mouse-paste):
4457 Reorder to silence --without-x compilation.
4459 * mpc.el (doc-view-mode): Silence --without-x compilation.
4461 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4462 Silence --without-x compilation.
4464 * progmodes/gud.el (gud-find-file, gud-mode):
4465 Silence --without-x compilation.
4466 (tooltip-mode): Declare.
4468 * wdired.el (dired-backup-overwrite): Remove declaration.
4469 (wdired-mode-map): Add doc string.
4471 * custom.el (x-get-resource): Declare.
4473 * eshell/em-glob.el (ange-cache):
4474 * eshell/em-unix.el (ange-cache): Declare.
4476 * faces.el (x-display-list, x-open-connection, x-get-resource):
4479 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4480 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4483 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4485 * net/gnutls.el (gnutls-log-level): Declare.
4487 * net/shr.el (image-size, image-animate): Declare.
4489 * simple.el (font-info): Declare.
4491 * subr.el (x-popup-dialog): Declare.
4493 * term/common-win.el (x-select-enable-primary)
4494 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4497 * term/ns-win.el (x-handle-args): Declare.
4499 * term/x-win.el (x-select-enable-clipboard): Declare.
4501 * term/w32-win.el (create-default-fontset): Declare.
4503 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4506 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4507 (fit-frame-to-buffer): Explicit error if --without-x.
4508 (mouse-autoselect-window-select): Silence compiler.
4510 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4512 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4513 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4514 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4515 * eshell/esh-util.el (eshell-sublist):
4516 Remove unused local variables.
4518 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4520 * textmodes/two-column.el: Make 2C-split work for --without-x.
4521 (scroll-bar-columns): Autoload.
4522 (top-level): Require fringe when compiling.
4524 2013-09-18 Leo Liu <sdl.web@gmail.com>
4526 * subr.el (add-hook): Robustify to handle closure as well.
4528 2013-09-17 Glenn Morris <rgm@gnu.org>
4530 * simple.el (messages-buffer-mode-map): Unbind "g".
4532 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4534 * help-mode.el (help-mode-finish): Use derived-mode-p.
4535 Remove obsolete highlighting.
4537 * play/life.el (life-mode): Use define-derived-mode. Derive from
4539 (life): Let-bind inhibit-read-only.
4540 (life-setup): Avoid `setq'. Use `life-mode'.
4542 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4543 which should not be needed any more.
4544 (package-menu-refresh, package-menu-describe-package): Use user-error.
4546 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4547 (eshell-post-rewrite-command-hook): Make obsolete.
4548 (eshell-parse-command): Simplify.
4549 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4550 (eshell--cmd): Declare.
4551 (eshell-parse-pipeline): Remove unused var `final-p'.
4552 Pass a dynvar to eshell-post-rewrite-command-hook.
4553 Implement the new eshell-post-rewrite-command-function.
4554 (eshell-invoke-directly): Remove unused arg `input'.
4555 * eshell/esh-io.el (eshell-io-initialize):
4556 Use eshell-post-rewrite-command-function (bug#15399).
4557 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4558 adjust to new calling convention.
4559 (eshell-create-handles): Rename args to avoid clashing with dynvar
4562 2013-09-17 Glenn Morris <rgm@gnu.org>
4564 * simple.el (messages-buffer-mode): New major mode.
4565 (messages-buffer): New function.
4566 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4567 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4568 (ert-run-test): Use `messages-buffer' function.
4569 (ert--force-message-log-buffer-truncation): Ignore read-only.
4570 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4571 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4573 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4575 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4577 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4579 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4581 * icomplete.el (icomplete-in-buffer): New var.
4582 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4583 vars and replace them with functions.
4584 (icomplete-minibuffer-setup): Adjust accordingly.
4585 (icomplete--completion-table, icomplete--completion-predicate)
4586 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4588 (icomplete-forward-completions, icomplete-backward-completions)
4589 (icomplete-simple-completing-p, icomplete-exhibit)
4590 (icomplete-completions): Use them.
4591 (icomplete--in-region-buffer): New var.
4592 (icomplete--in-region-setup): New function.
4593 (icomplete-mode): Use it.
4595 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4597 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4598 return args and options.
4599 (eshell-eval-using-options): Use the new return value of
4600 eshell--do-opts to set the options's vars in their scope.
4601 (eshell--set-option): Rename from eshell-set-option.
4603 (eshell--process-option): Rename from eshell-process-option.
4605 (eshell--process-args): Use an `opt-vals' alist to store the options's
4606 values during their processing and return them additionally to the
4609 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4611 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4612 continuation character an operator, as far as indentation is
4613 concerned (Bug#15369).
4615 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4617 * window.el (window--state-put-2): Don't process buffer state
4618 when buffer doesn't exist any more (Bug#15382).
4620 2013-09-15 Glenn Morris <rgm@gnu.org>
4622 * eshell/em-unix.el (eshell/rm):
4623 Make -f ignore missing files. (Bug#15373)
4625 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4626 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4627 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4629 2013-09-14 Glenn Morris <rgm@gnu.org>
4631 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4633 2013-09-13 Glenn Morris <rgm@gnu.org>
4635 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4636 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4638 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4640 * frame.el (x-focus-frame): Mark as declared in frame.c.
4642 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4644 * ls-lisp.el: Use advice-add.
4645 (original-insert-directory): Remove.
4646 (ls-lisp--insert-directory): Rename from insert-directory; add
4647 `orig-fun' argument.
4648 (insert-directory): Advise.
4650 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4652 * term.el (term-emulate-terminal): Decode the command string
4653 before passing it to term-command-hook. (Bug#15337)
4655 2013-09-13 Glenn Morris <rgm@gnu.org>
4657 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4659 * eshell/esh-ext.el (eshell-search-path): Declare.
4661 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4662 Otherwise an error occurs if eshell-dirs module not loaded.
4664 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4666 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4668 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4669 `tramp-check-proper-host'. Check for a valid method name.
4671 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4672 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4673 * net/tramp-sh.el (tramp-maybe-open-connection):
4674 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4676 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4677 also for hash values.
4679 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4681 * term/ns-win.el (parameters): Don't declare as dynamic.
4682 (before-make-frame-hook): Don't add ineffective function.
4684 * eshell/*.el: Use lexical-binding (bug#15231).
4686 2013-09-12 Kenichi Handa <handa@gnu.org>
4688 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4690 2013-09-12 Glenn Morris <rgm@gnu.org>
4692 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4693 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4695 * subr.el (do-after-load-evaluation): Also give compiler warnings
4696 when obsolete files are used (except by obsolete files).
4698 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4699 in the status output, assume `filename' is the first. (Bug#15322)
4701 * vc/vc.el (vc-deduce-fileset): Doc fix.
4703 * calc/calc-help.el (Info-goto-node):
4704 * progmodes/cperl-mode.el (Info-find-node):
4705 * vc/ediff.el (Info-goto-node): Update declarations.
4707 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4709 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4710 (vc-bzr-pull): Require vc-dispatcher.
4711 * vc/vc-git.el (vc-compilation-mode): Declare.
4712 (vc-git-pull): Require vc-dispatcher.
4714 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4716 * progmodes/octave.el (help-button-action): Declare.
4718 * shell.el (shell-directory-tracker): Output error as a message
4719 rather than just returning it as a string.
4720 (shell-process-pushd): Remove useless use of message.
4722 * dframe.el (dframe-timer-fn):
4723 * files.el (dir-locals-read-from-file):
4724 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4726 * reveal.el (reveal-post-command):
4727 * saveplace.el (load-save-place-alist-from-file):
4728 * shell.el (shell-resync-dirs):
4729 * w32-common-fns.el (x-get-selection-value):
4730 * emacs-lisp/copyright.el (copyright-find-copyright):
4731 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4732 * emulation/tpu-edt.el (tpu-copy-keyfile):
4733 * play/bubbles.el (bubbles--mark-neighbourhood):
4734 * progmodes/executable.el
4735 (executable-make-buffer-file-executable-if-script-p):
4736 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4738 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4740 Cleanup Eshell to rely less on dynamic scoping.
4741 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4742 last-value, and ext-command here. Bind `args' closer to `body'.
4743 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4744 (eshell--args): Declare new dynamic var.
4745 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4746 last-value, and ext-command. Pass `args' to `body'.
4747 (eshell-process-args): Bind eshell--args.
4748 (eshell-set-option): Use eshell--args.
4749 * eshell/eshell.el (eshell): Use derived-mode-p.
4750 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4751 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4752 (eshell-glob-function): Declare.
4753 * eshell/esh-util.el: Require cl-lib.
4754 (eshell-read-hosts-file): Avoid add-to-list.
4755 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4757 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4759 (eshell/diff): Remove unused var `err'.
4760 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4762 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4763 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4765 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4766 Move declaration before first use.
4767 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4768 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4771 2013-09-12 Glenn Morris <rgm@gnu.org>
4773 * term/ns-win.el (global-map): Remove binding for ispell-next,
4774 deleted 1999-05-29. (Bug#15357)
4776 2013-09-11 Glenn Morris <rgm@gnu.org>
4778 * echistory.el (electric-command-history): Remove call to deleted func.
4780 * play/landmark.el (landmark-mode): Fix typos.
4782 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4783 Check cvs-sort-ignore-file is bound.
4785 * savehist.el: No need for cl when compiling on Emacs.
4787 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4789 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4791 (eshell-self-insert-command, eshell-send-invisible):
4792 Remove unused argument.
4793 (eshell-handle-control-codes): Remove unused var `orig'.
4794 Avoid delete-backward-char.
4796 * files.el (set-auto-mode): Simplify a bit further.
4798 2013-09-11 Glenn Morris <rgm@gnu.org>
4800 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4801 (set-auto-mode): Don't regexp-quote elements.
4802 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4803 * progmodes/cc-mode.el (interpreter-mode-alist):
4804 * progmodes/ruby-mode.el (interpreter-mode-alist):
4805 Revert previous change.
4807 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4809 * play/snake.el (snake-mode):
4810 * play/mpuz.el (mpuz-mode):
4811 * play/landmark.el (lm-mode):
4812 * play/blackbox.el (blackbox-mode):
4813 * play/5x5.el (5x5-mode):
4814 * obsolete/options.el (Edit-options-mode):
4815 * net/quickurl.el (quickurl-list-mode):
4816 * net/newst-treeview.el (newsticker-treeview-mode):
4817 * mail/rmailsum.el (rmail-summary-mode):
4818 * mail/mspools.el (mspools-mode):
4819 * locate.el (locate-mode):
4820 * ibuffer.el (ibuffer-mode):
4821 * emulation/ws-mode.el (wordstar-mode):
4822 * emacs-lisp/debug.el (debugger-mode):
4823 * array.el (array-mode):
4824 * net/eudc.el (eudc-mode): Use define-derived-mode.
4825 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4826 Move initialization into declaration.
4827 (mairix-searches-mode): Use define-derived-mode.
4828 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4829 (eudc-edit-hotlist): Use dolist.
4830 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4831 (Man-mode): Use define-derived-mode.
4832 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4833 (Info-edit-mode): Use define-derived-mode.
4834 (Info-cease-edit): Use Info-mode.
4835 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4837 (eshell-mode): Use define-derived-mode.
4838 * chistory.el (command-history-mode-map): Rename from
4839 command-history-map.
4840 (command-history-mode): Use define-derived-mode.
4841 (Command-history-setup): Remove function.
4842 * calc/calc.el (calc-trail-mode-map): New var.
4843 (calc-trail-mode): Use define-derived-mode.
4844 (calc-trail-buffer): Set calc-main-buffer manually.
4845 * bookmark.el (bookmark-insert-annotation): New function.
4846 (bookmark-edit-annotation): Use it.
4847 (bookmark-edit-annotation-mode): Make it a proper major mode.
4848 (bookmark-send-edited-annotation): Use derived-mode-p.
4849 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4850 closer to its ideal place. Use \' to match EOS.
4852 * profiler.el (profiler-calltree-find): Use function-equal.
4854 2013-09-10 Glenn Morris <rgm@gnu.org>
4856 * files.el (interpreter-mode-alist): Convert to regexps.
4857 (set-auto-mode): Adapt for this. (Bug#15306)
4858 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4859 Comment out unused variable.
4860 * progmodes/cc-mode.el (interpreter-mode-alist):
4861 * progmodes/python.el (interpreter-mode-alist):
4862 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4863 * progmodes/sh-script.el (sh-set-shell):
4864 No longer use interpreter-mode-alist to get list of shells.
4866 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4868 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4870 * simple.el: Use set-temporary-overlay-map for universal-argument.
4871 (universal-argument-map): Don't use default-bindings (bug#15317).
4872 Bind switch-frame explicitly. Replace universal-argument-minus with
4873 a conditional binding.
4874 (universal-argument-num-events, saved-overriding-map): Remove.
4875 (restore-overriding-map): Remove.
4876 (universal-argument--mode): Rename from save&set-overriding-map,
4878 (universal-argument, universal-argument-more, negative-argument)
4879 (digit-argument): Adjust accordingly.
4880 (universal-argument-minus): Remove.
4881 (universal-argument-other-key): Remove.
4883 * subr.el (with-demoted-errors): Add `format' argument.
4885 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4887 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4888 `tramp-cleanup-connection'.
4890 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4891 parameters KEEP-DEBUG and KEEP-PASSWORD.
4893 * net/tramp.el (tramp-file-name-handler):
4894 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4895 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4896 (tramp-maybe-open-connection):
4897 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4898 Use `tramp-cleanup-connection'.
4900 * net/tramp-sh.el (tramp-maybe-open-connection):
4901 Catch 'uname-changed inside the progress reporter.
4903 2013-09-10 Glenn Morris <rgm@gnu.org>
4905 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4907 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4908 returns "alternate access method" in mode (eg "-rw-r--r--.").
4910 2013-09-08 Glenn Morris <rgm@gnu.org>
4912 * saveplace.el (load-save-place-alist-from-file):
4913 Demote errors. (Bug#15305)
4915 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4917 Improve compatibility with older Emacsen, and XEmacs.
4919 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4920 only if it is bound. It isn't for XEmacs.
4921 (with-tramp-progress-reporter): Do not let-bind `result'.
4922 This yields to scoping errors in XEmacs.
4923 (tramp-handle-make-auto-save-file-name): New function, moved from
4926 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4927 for `make-auto-save-file-name'.
4928 (tramp-adb--gnu-switches-to-ash):
4929 Use `tramp-compat-replace-regexp-in-string'.
4931 * net/tramp-cache.el (tramp-cache-print): Call
4932 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4934 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4935 bound. It isn't for XEmacs.
4937 * net/tramp-compat.el (tramp-compat-copy-file):
4938 Catch `wrong-number-of-arguments' error.
4939 (tramp-compat-replace-regexp-in-string): New defun.
4941 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4942 for `make-auto-save-file-name'.
4943 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4945 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4946 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4947 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4949 * net/tramp-gw.el (tramp-gw-open-network-stream):
4950 Use `tramp-compat-replace-regexp-in-string'.
4952 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4953 Call `tramp-handle-make-auto-save-file-name'.
4954 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4955 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4956 (tramp-sh-file-inotifywait-process-filter):
4957 Use `tramp-compat-replace-regexp-in-string'.
4958 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4960 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4961 for `make-auto-save-file-name'.
4962 (tramp-smb-handle-copy-directory):
4963 Call `tramp-compat-replace-regexp-in-string'.
4964 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4965 (tramp-smb-handle-copy-file): Improve error message.
4966 (tramp-smb-handle-rename-file): Rename directly only in case
4967 `newname' does not exist yet. This is a restriction of smbclient.
4968 (tramp-smb-maybe-open-connection): Rerun the function only when
4969 `auth-sources' is non-nil.
4971 2013-09-08 Kenichi Handa <handa@gnu.org>
4973 * international/characters.el: Set category "^" (Combining) for
4976 2013-09-07 Alan Mackenzie <acm@muc.de>
4978 Correctly fontify Java class constructors.
4979 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4981 (c-recognize-typeless-decls): Set the Java value to t.
4982 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4983 While handling a "(", add a check for, effectively, Java, and handle a
4984 "typeless" declaration there.
4986 2013-09-07 Roland Winkler <winkler@gnu.org>
4988 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4989 field subtitle for entry type book.
4991 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4993 * minibuffer.el: Make minibuffer-complete call completion-in-region
4994 rather than other way around.
4995 (completion--some, completion-pcm--find-all-completions):
4996 Don't delay signals when debugging.
4997 (minibuffer-completion-contents): Beware fields within the
4998 minibuffer contents.
4999 (completion-all-sorted-completions): Use defvar-local.
5000 (completion--do-completion, completion--cache-all-sorted-completions)
5001 (completion-all-sorted-completions, minibuffer-force-complete):
5002 Add args `beg' and `end'.
5003 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5004 (minibuffer-complete): Use completion-in-region.
5005 (completion-complete-and-exit): New fun, extracted from
5006 minibuffer-complete-and-exit.
5007 (minibuffer-complete-and-exit): Use it.
5008 (completion--complete-and-exit): Rename from
5009 minibuffer--complete-and-exit.
5010 (completion-in-region--single-word): New function, extracted from
5011 minibuffer-complete-word.
5012 (minibuffer-complete-word): Use it.
5013 (display-completion-list): Make `common-substring' argument obsolete.
5014 (completion--in-region): Call completion--in-region-1 instead of
5015 minibuffer-complete.
5016 (completion-help-at-point): Pass boundaries to
5017 minibuffer-completion-help as args rather than via an overlay.
5018 (completion-pcm--string->pattern): Use `any-delim'.
5019 (completion-pcm--optimize-pattern): New function.
5020 (completion-pcm--pattern->regex): Handle `any-delim'.
5021 * icomplete.el (icomplete-forward-completions)
5022 (icomplete-backward-completions, icomplete-completions):
5023 Adjust calls to completion-all-sorted-completions and
5024 completion--cache-all-sorted-completions.
5025 (icomplete-with-completion-tables): Default to t.
5026 * emacs-lisp/crm.el (crm--current-element): Rename from
5027 crm--select-current-element. Don't put an overlay but return the
5029 (crm--completion-command): Take two new args to bind to the boundaries.
5030 (crm-completion-help): Adjust accordingly.
5031 (crm-complete): Use completion-in-region.
5032 (crm-complete-word): Use completion-in-region--single-word.
5033 (crm-complete-and-exit): Use completion-complete-and-exit.
5035 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5037 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5040 2013-09-06 Juri Linkov <juri@jurta.org>
5042 * info.el (Info-display-images-node): When image file doesn't exist
5043 display text version of the image if it's provided in the Info file.
5044 Otherwise, display the location of missing image from SRC attribute.
5045 Add help-echo text property from ALT attribute. (Bug#15279)
5047 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5049 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5050 (edit-abbrevs-mode): Use define-derived-mode.
5052 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5053 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5055 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5056 Use define-derived-mode.
5058 * epg.el (epg-start-encrypt): Minor CSE simplification.
5060 2013-09-06 William Xu <william.xwl@gmail.com>
5062 * arc-mode.el: Add support for 7za (bug#15264).
5063 (archive-7z-program): New var.
5064 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5065 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5066 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5068 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5072 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5073 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5074 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5075 (tramp-postfix-host-format, tramp-file-name-regexp)
5076 (tramp-completion-file-name-regexp)
5077 (tramp-completion-dissect-file-name)
5078 (tramp-handle-substitute-in-file-name): Remove 'url case.
5079 (tramp-file-name-regexp-url)
5080 (tramp-completion-file-name-regexp-url): Remove constants.
5082 2013-09-06 Glenn Morris <rgm@gnu.org>
5084 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5086 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5088 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5089 keywords" below "here-doc beginnings" (Bug#15270).
5091 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5093 * subr.el (pop): Use `car-safe'.
5094 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5095 to detect unused `pop' return value.
5097 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5099 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5100 (python-fill-string): Remove unused var `marker'.
5101 (python-skeleton-add-menu-items): Remove unused var `items'.
5103 * international/mule-cmds.el: Require CL.
5104 (find-coding-systems-for-charsets): Avoid add-to-list.
5105 (sanitize-coding-system-list): New function, extracted from
5106 select-safe-coding-system-interactively.
5107 (select-safe-coding-system-interactively): Use it.
5108 (read-input-method-name): Accept symbols for `default'.
5110 * emacs-lisp/advice.el (defadvice): Add indent rule.
5112 2013-09-05 Daniel Hackney <dan@haxney.org>
5116 * net/browse-url.el:
5119 * net/eudcb-ldap.el:
5132 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5133 byte compiler. Remove some unused let-bound variables.
5135 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5137 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5138 a "ref-cell", since it gets better optimized (bug#14883).
5140 2013-09-05 Glenn Morris <rgm@gnu.org>
5142 * progmodes/cc-awk.el (c-forward-sws): Declare.
5144 2013-09-04 Glenn Morris <rgm@gnu.org>
5146 * generic-x.el [rul-generic-mode]: Require cc-mode.
5147 (c++-mode-syntax-table): Declare.
5148 (rul-generic-mode-syntax-table): Init in the defvar.
5150 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5152 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5153 (vc-do-command, vc-set-async-update):
5154 * vc/vc-mtn.el (vc-mtn-dir-status):
5155 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5156 (vc-hg-pull, vc-hg-merge-branch):
5157 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5158 (vc-git-merge-branch):
5159 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5160 (vc-cvs-dir-status-files):
5161 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5162 (vc-bzr-dir-status-files):
5163 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5164 * vc/vc-annotate.el: Use lexical-binding.
5165 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5166 (vc-sentinel-movepoint): Declare.
5167 (vc-annotate): Don't use `goto-line'.
5168 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5169 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5170 (vc-sentinel-movepoint): Declare.
5171 * vc/vc-svn.el: Use lexical-binding.
5172 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5174 * vc/vc-rcs.el: Use lexical-binding.
5176 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5177 `deleted'. Don't drop errors silently.
5179 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5181 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5183 * vc/vc.el (vc-ignore): Rewrite.
5184 (vc-default-ignore): New function.
5185 (vc-default-ignore-completion-table): Use find-ignore-file.
5187 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5188 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5189 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5190 Remove. Most code moved to vc.el.
5192 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5194 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5195 * net/tramp-smb.el (tramp-smb-get-file-entries):
5196 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5197 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5199 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5201 (eww-change-select): Remove unused var `properties'.
5202 (eww-make-unique-file-name): Remove unused var `base'.
5204 * finder.el (finder-compile-keywords): Don't mess with windows.
5206 * calculator.el (calculator-funcall): Fix typo in last change.
5208 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5210 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5211 <pkg>-autoloads.el file stop us.
5213 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5214 warnings, and factor out common code.
5216 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5218 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5219 two-character operators and whether the character preceding them
5220 changes their meaning (Bug#15208).
5222 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5224 Format code sent to Python shell for robustness.
5225 * progmodes/python.el (python-shell-buffer-substring):
5227 (python-shell-send-region, python-shell-send-buffer): Use it.
5229 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5231 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5232 * net/tramp.el (tramp-user-error): ... here.
5233 (tramp-find-method, tramp-check-proper-host)
5234 (tramp-dissect-file-name, tramp-debug-message)
5235 (tramp-handle-shell-command):
5236 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5237 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5239 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5241 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5243 * avoid.el (mouse-avoidance-point-position)
5244 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5247 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5249 * progmodes/python.el (python-shell-completion-get-completions):
5250 Drop use of deleted `comint-last-prompt-overlay'.
5251 (python-nav-if-name-main): New command.
5253 2013-09-01 Glenn Morris <rgm@gnu.org>
5255 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5256 Avoid leading space in $wins. Otherwise the sed command used by
5257 eg compile-main ends up containing "/*.el". (Bug#15170)
5259 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5261 2013-08-30 Glenn Morris <rgm@gnu.org>
5263 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5264 Fix is-this-a-directory logic. (Bug#15220)
5266 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5268 * textmodes/css-mode.el: Use SMIE.
5269 (css-smie-grammar): New var.
5270 (css-smie--forward-token, css-smie--backward-token)
5271 (css-smie-rules): New functions.
5272 (css-mode): Use them.
5273 (css-navigation-syntax-table): Remove var.
5274 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5275 (css-indent-calculate, css-indent-line): Remove functions.
5277 Misc changes to reduce use of `(lambda...); and other cleanups.
5278 * cus-edit.el: Use lexical-binding.
5279 (customize-push-and-save, customize-apropos)
5280 (custom-buffer-create-internal): Use closures.
5281 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5282 * progmodes/ada-xref.el: Use setq.
5283 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5284 * dframe.el: Use lexical-binding.
5285 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5286 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5287 * descr-text.el: Use lexical-binding.
5288 (describe-text-widget, describe-text-sexp, describe-property-list):
5290 * comint.el (comint-history-isearch-push-state): Use a closure.
5291 * calculator.el: Use lexical-binding.
5292 (calculator-number-to-string): Make it work with lexical-binding.
5293 (calculator-funcall): Same and use cl-letf.
5295 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5296 (lisp--company-doc-string, lisp--company-location): New functions.
5297 (lisp-completion-at-point): Use them to improve Company support.
5299 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5300 params of lambda expressions.
5301 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5302 (ruby-smie--opening-pipe-p): New function.
5303 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5304 symbols and matched |...| for formal params.
5305 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5306 from being treated as hanging. Handle "rescue".
5308 2013-08-29 Glenn Morris <rgm@gnu.org>
5310 * progmodes/cc-engine.el (c-pull-open-brace):
5311 Move definition before use.
5313 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5315 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5316 are immutable. Don't use `unsafe' any more.
5317 (cl--defsubst-expand): Don't substitute at the same time as keeping
5318 a residual unused let-binding. Don't use `unsafe' any more.
5320 2013-08-29 Glenn Morris <rgm@gnu.org>
5322 * calendar/cal-china.el (calendar-chinese-year-cache):
5325 * nxml/nxml-util.el (nxml-debug-clear-inside):
5326 Use cl-loop rather than loop.
5328 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5330 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5332 2013-08-28 Glenn Morris <rgm@gnu.org>
5334 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5336 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5338 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5340 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5342 * simple.el (repeat-complex-command--called-interactively-skip):
5344 (repeat-complex-command): Use it (bug#14136).
5346 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5347 (c-define-abbrev-table): Add `doc' argument.
5348 (c-mode-abbrev-table, c++-mode-abbrev-table)
5349 (objc-mode-abbrev-table, java-mode-abbrev-table)
5350 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5351 (awk-mode-abbrev-table): Use it.
5352 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5353 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5354 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5355 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5356 Move initialization into the declaration; and remove any
5359 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5360 and dynamic let binding.
5362 * vc/smerge-mode.el: Remove redundant :group args.
5364 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5367 2013-08-28 Juri Linkov <juri@jurta.org>
5369 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5370 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5371 (isearch-other-meta-char): Handle an undefined shifted printing
5372 character by downshifting it. (Bug#15200)
5374 2013-08-28 Juri Linkov <juri@jurta.org>
5376 * isearch.el (isearch-search): Change regexp error message for
5377 non-regexp searches. (Bug#15166)
5379 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5381 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5382 for portability to hosts where /bin/sh has problems.
5384 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5386 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5388 2013-08-27 Juri Linkov <juri@jurta.org>
5390 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5391 in the keyboard macro. (Bug#15126)
5393 2013-08-27 Juri Linkov <juri@jurta.org>
5395 * isearch.el (isearch-quote-char): Comment out converting unibyte
5396 to multibyte, thus syncing with its `quoted-insert' counterpart.
5399 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5401 * window.el (display-buffer-use-some-window): Add missing
5402 argument in call of get-largest-window (Bug#15185).
5403 Reported by Stephen Leake.
5405 2013-08-27 Glenn Morris <rgm@gnu.org>
5407 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5409 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5411 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5412 from a matcher-function unless there's no more matches (bug#15161).
5414 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5416 * minibuffer.el: Revert change from 2013-08-20.
5418 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5419 with text property `tramp-default', if appropriate.
5420 (tramp-check-proper-host): New defun.
5421 (tramp-dissect-file-name): Do not check hostname. Revert change
5423 (tramp-backtrace): Make VEC-OR-PROC optional.
5425 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5426 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5427 * net/tramp-sh.el (tramp-maybe-open-connection):
5428 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5429 Apply `tramp-check-proper-host'.
5431 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5433 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5434 lambda expression in order to have `describe-variable' display it.
5436 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5438 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5439 BUF can be optional. (Bug#15186)
5441 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5443 * progmodes/flymake.el (flymake-get-real-file-name-function):
5444 Fix broken customization. (Bug#15184)
5446 2013-08-25 Alan Mackenzie <acm@muc.de>
5448 Improve indentation of bracelists defined by macros (without "=").
5450 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5451 expansion begins with "{", regard it as bracelist when it doesn't
5454 Parse C++ inher-intro when there's a template split over 2 lines.
5456 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5457 rigorously the search for "class" etc. followed by ":".
5459 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5460 random languages a regexp which never matches rather than nil.
5462 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5464 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5465 (c-awk-regexp-one-line-possibly-open-char-list-re)
5466 (c-awk-one-line-possibly-open-regexp-re)
5467 (c-awk-one-line-non-syn-ws*-re): Remove.
5468 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5469 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5470 (c-awk-space*-unclosed-regexp-/-re): New constants.
5471 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5472 aren't regexp delimiters.
5474 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5475 handling for a rare situation in AWK Mode involving unterminated
5478 2013-08-23 Glenn Morris <rgm@gnu.org>
5480 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5482 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5484 * files.el (create-file-buffer): If the result would begin with
5485 spaces, prepend a "|" instead of removing them. (Bug#15162)
5487 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5489 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5490 text-properties (bug#15155).
5492 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5494 (calc-keypad-redraw): Remove unused var `pad'.
5495 (calc-keypad-press): Remove unused var `menu'.
5497 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5499 * window.el (display-buffer-pop-up-frame):
5500 Call pop-up-frame-function with BUFFER current so `make-frame' will
5501 use it as the new frame's buffer (Bug#15133).
5503 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5505 * calendar/timeclock.el: Minor cleanups.
5506 (timeclock-ask-before-exiting, timeclock-use-display-time):
5508 (timeclock-modeline-display): Define as alias before the
5510 (timeclock-mode-line-display): Use define-minor-mode.
5511 (timeclock-day-list-template): Make it a function, add an argument.
5512 (timeclock-day-list-required, timeclock-day-list-length)
5513 (timeclock-day-list-debt, timeclock-day-list-span)
5514 (timeclock-day-list-break): Adjust calls accordingly.
5516 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5518 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5519 Use read--expression so that completion works again.
5521 2013-08-21 Sam Steingold <sds@gnu.org>
5523 Add rudimentary inferior shell interaction
5524 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5525 (sh-set-shell): Reset it.
5526 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5527 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5529 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5531 * align.el: Use lexical-binding.
5532 (align-region): Simplify accordingly.
5534 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5536 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5538 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5541 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5545 * net/tramp-cmds.el:
5547 * net/tramp-gvfs.el:
5549 * net/tramp-sh.el: Don't wrap external variable declarations by
5550 `eval-when-compile'.
5552 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5554 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5555 now that Emacs supports ImageMagick animations.
5557 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5559 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5560 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5562 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5564 * window.el (mouse-autoselect-window-select): Do autoselect when
5565 mouse pointer is on margin.
5567 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5569 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5571 2013-08-16 Glenn Morris <rgm@gnu.org>
5573 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5574 Handle "Remote Directory" response of some clients. (Bug#15058)
5576 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5577 Tweak warning. (Bug#14926)
5579 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5580 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5582 * image-mode.el (image-mode-map): Add menu items to reverse,
5583 increase, decrease, reset animation speed.
5584 (image--set-speed, image-increase-speed, image-decrease-speed)
5585 (image-reverse-speed, image-reset-speed): New functions.
5586 (image-mode-map): Add bindings for speed commands.
5588 * image.el (image-animate-get-speed, image-animate-set-speed):
5590 (image-animate-timeout): Respect image :speed property.
5592 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5594 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5595 previous line (bug#15101).
5596 (debugger-eval-expression, debugger-record-expression):
5597 Use read--expression (bug#15102).
5599 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5601 Remove byte compiler warnings, visible when compiling with
5602 `byte-compile-force-lexical-warnings' set to t.
5604 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5605 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5606 (tramp-handle-unhandled-file-name-directory)
5607 (tramp-handle-file-notify-add-watch, tramp-action-login)
5608 (tramp-action-succeed, tramp-action-permission-denied)
5609 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5612 * net/tramp-adb.el (tramp-adb-parse-device-names)
5613 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5614 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5615 (tramp-adb-handle-file-truename): Remove unused arguments.
5617 * net/tramp-cache.el (tramp-flush-directory-property)
5618 (tramp-flush-connection-property, tramp-list-connections)
5619 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5621 * net/tramp-compat.el (tramp-compat-make-temp-file):
5622 Rename FILENAME to F.
5624 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5625 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5626 (tramp-zeroconf-parse-workstation-device-names)
5627 (tramp-zeroconf-parse-webdav-device-names)
5628 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5630 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5631 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5633 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5635 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5636 (tramp-sh-handle-insert-file-contents-literally)
5637 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5639 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5640 Remove unused variables.
5642 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5643 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5644 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5646 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5647 Make them a defconst.
5648 (tramp-uuencode-region): Remove unused variable.
5650 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5652 * frameset.el (frameset--prop-setter): New function.
5653 (frameset-prop): Add gv-setter declaration.
5654 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5655 parameter was already set in FILTERED. Doc fix.
5656 (frameset--record-minibuffer-relationships): Allow saving a
5657 minibufferless frame without its corresponding minibuffer frame.
5658 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5659 frame, if the frame id matches.
5660 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5661 frames before orphaned ones.
5662 (frameset-restore): Warn about orphaned windows, instead of error out.
5664 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5666 * window.el (window-make-atom): Don't overwrite parameter
5668 (display-buffer-in-atom-window): Handle special case where we
5669 split an already atomic window.
5670 (window--major-non-side-window, display-buffer-in-side-window)
5671 (window--side-check): Ignore minibuffer window when walking
5673 (window-deletable-p): Return 'frame only if no other frame uses
5674 our minibuffer window.
5675 (record-window-buffer): Run buffer-list-update-hook.
5676 (split-window): Make sure window--check-frame won't destroy an
5677 existing atomic window in case the new window gets nested
5679 (display-buffer-at-bottom): Ignore minibuffer window when
5680 walking window tree. Don't split a side window.
5681 (pop-to-buffer): Don't set-buffer here, the select-window call
5683 (mouse-autoselect-window-select): Autoselect only if we are in the
5684 text portion of the window.
5686 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5688 * net/shr.el (shr-parse-image-data): New function to grab both the
5689 data itself and the Content-Type.
5690 (shr-put-image): Use it.
5692 * net/eww.el (eww-display-image): Ditto.
5694 * image.el (image-content-type-suffixes): New variable.
5696 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5698 * progmodes/python.el (python-imenu--build-tree)
5699 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5701 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5703 * simple.el (backward-word): Mention the optional argument.
5705 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5707 * frameset.el (frameset--make): Rename constructor from make-frameset.
5708 (frameset-p, frameset-valid-p): Don't autoload.
5709 (frameset-valid-p): Use normal accessors.
5711 2013-08-13 Glenn Morris <rgm@gnu.org>
5713 * progmodes/compile.el (compile-command): Tweak example in doc.
5714 * obsolete/scribe.el (scribe-mode):
5715 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5717 * mail/feedmail.el (feedmail-confirm-outgoing)
5718 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5720 * cus-start.el (truncate-partial-width-windows): Fix type.
5722 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5724 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5726 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5728 * emacs-lisp/timer.el (timer--time-setter): New function.
5729 (timer--time): Use it as gv-setter.
5731 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5732 setter is not a symbol.
5734 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5736 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5737 if sending fails. This makes debugging easier.
5739 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5741 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5742 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5743 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5745 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5747 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5749 2013-08-12 Glenn Morris <rgm@gnu.org>
5751 * format.el (format-annotate-function):
5752 Handle read-only text properties in the source. (Bug#14887)
5754 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5756 * net/eww.el (eww-display-html): Ignore coding system errors.
5757 One web site uses "utf-8lias" as the coding system.
5759 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5761 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5763 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5765 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5766 (tutorial--detailed-help): Remove unused local variables.
5767 (tutorial--save-tutorial-to): Use ignore-errors.
5768 (help-with-tutorial): Use looking-at-p.
5770 * view.el (view-buffer-other-window, view-buffer-other-frame):
5771 Mark unused arguments.
5773 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5774 (woman-select-symbol-fonts, woman, woman-find-file)
5775 (woman-insert-file-contents, woman-non-underline-faces):
5777 (woman1-unquote): Move declaration.
5779 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5780 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5781 argument. Remove unused local variable.
5782 (xml-parse-elem-type): Use string-match-p.
5783 (xml-substitute-numeric-entities): Use ignore-errors.
5785 * calculator.el (calculator): Mark unused argument.
5786 (calculator-paste, calculator-quit, calculator-integer-p):
5788 (calculator-string-to-number, calculator-decimal, calculator-exp)
5789 (calculator-op-or-exp): Use string-match-p.
5791 * dired.el (dired-buffer-more-recently-used-p): Declare.
5792 (dired-insert-set-properties, dired-insert-old-subdirs):
5795 * dired-aux.el (dired-compress): Use ignore-errors.
5796 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5797 (dired-do-async-shell-command, dired-do-shell-command)
5798 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5799 (dired-insert-subdir-validate): Use string-match-p.
5800 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5801 (dired-add-entry): Use string-match-p, looking-at-p.
5802 (dired-insert-subdir-newpos): Remove unused local variable.
5804 * filenotify.el (file-notify-callback): Remove unused local variable.
5806 * filesets.el (filesets-error): Mark unused argument.
5807 (filesets-which-command-p, filesets-filter-dir-names)
5808 (filesets-directory-files, filesets-get-external-viewer)
5809 (filesets-ingroup-get-data): Use string-match-p.
5811 * find-file.el (ff-other-file-name, ff-other-file-name)
5812 (ff-find-the-other-file, ff-cc-hh-converter):
5813 Remove unused local variables.
5814 (ff-get-file-name): Use string-match-p.
5815 (ff-all-dirs-under): Use ignore-errors.
5817 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5818 (follow-select-if-visible): Remove unused local variable.
5820 * forms.el (read-file-filter): Move declaration.
5821 (forms--make-format, forms--make-parser, forms-insert-record):
5822 Quote function with #'.
5823 (forms--update): Use string-match-p. Quote function with #'.
5825 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5826 (help-make-xrefs): Use looking-at-p.
5827 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5829 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5830 (ibuffer-confirm-operation-on): Use string-match-p.
5832 * msb.el (msb-item-handler, msb-dired-item-handler):
5833 Mark unused arguments.
5835 * ses.el (ses-decode-cell-symbol)
5836 (ses-kill-override): Remove unused local variable.
5837 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5838 (ses-load): Use ignore-errors, looking-at-p.
5839 (ses-jump-safe): Use ignore-errors.
5840 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5842 * tabify.el (untabify, tabify): Mark unused arguments.
5844 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5845 Mark unused argument.
5846 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5847 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5849 * emacs-lisp/timer.el (timer--time): Define setter with
5850 gv-define-setter to avoid deprecation warning.
5852 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5853 (*record-cmpl-statistics-p*): Remove (was commented out).
5854 (cmpl-statistics-block): Remove (body was commented out).
5855 All callers changed.
5856 (add-completions-from-buffer, load-completions-from-file):
5857 Remove unused variables.
5859 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5861 * filecache.el (file-cache-delete-file-list):
5862 Print message only when told so.
5863 (file-cache-files-matching): Use #' in mapconcat argument.
5865 * ffap.el (ffap-url-at-point): Fix reference to variable
5866 thing-at-point-default-mail-uri-scheme.
5868 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5870 * subr.el (define-error): New function.
5871 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5872 error-file-not-found and define with define-error.
5873 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5874 and define with define-error.
5875 * userlock.el (file-locked, file-supersession):
5876 * simple.el (mark-inactive):
5877 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5878 * progmodes/ada-mode.el (ada-mode-errors):
5879 * play/life.el (life-extinct):
5880 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5881 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5882 * nxml/rng-util.el (rng-error):
5883 * nxml/rng-uri.el (rng-uri-error):
5884 * nxml/rng-match.el (rng-compile-error):
5885 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5886 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5887 * nxml/nxml-rap.el (nxml-scan-error):
5888 * nxml/nxml-outln.el (nxml-outline-error):
5889 * net/soap-client.el (soap-error):
5890 * net/gnutls.el (gnutls-error):
5891 * net/ange-ftp.el (ftp-error):
5892 * mpc.el (mpc-proc-error):
5893 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5894 (json-number-format, json-string-escape, json-string-format)
5895 (json-key-format, json-object-format):
5896 * jka-compr.el (compression-error):
5897 * international/quail.el (quail-error):
5898 * international/kkc.el (kkc-error):
5899 * emacs-lisp/ert.el (ert-test-failed):
5900 * calc/calc.el (calc-error, inexact-result, math-overflow)
5902 * bookmark.el (bookmark-error-no-filename):
5903 * epg.el (epg-error): Define with define-error.
5905 * time.el (display-time-event-handler)
5906 (display-time-next-load-average): Don't call sit-for since it seems
5907 unnecessary (bug#15045).
5909 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5910 Use #' instead of ' to quote functions.
5911 (checkdoc-output-mode): Use setq-local.
5912 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5913 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5914 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5915 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5916 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5917 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5918 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5919 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5921 * ido.el (ido-completion-help): Fix up compiler warning.
5923 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5925 * frameset.el (frameset-p): Add autoload cookie.
5926 (frameset--jump-to-register): New function, based on code moved from
5928 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5930 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5931 (frameset-restore, frameset-save, frameset-session-filter-alist):
5932 Remove declarations.
5933 (register-alist): Doc fix.
5934 (frameset-to-register): Move to frameset.el.
5935 (jump-to-register, describe-register-1): Remove frameset-specific code.
5937 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5939 * allout-widgets.el (allout-widgets-pre-command-business)
5940 (allout-widgets-post-command-business)
5941 (allout-widgets-after-change-handler)
5942 (allout-decorate-item-and-context, allout-set-boundary-marker)
5943 (allout-body-modification-handler)
5944 (allout-graphics-modification-handler): Mark ignored arguments.
5945 (allout-widgets-post-command-business)
5946 (allout-widgets-exposure-change-processor)
5947 (allout-widgets-exposure-undo-processor)
5948 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5949 (allout-parse-item-at-point, allout-decorate-item-guides)
5950 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5951 * allout.el (epa-passphrase-callback-function): Declare.
5952 (allout-overlay-insert-in-front-handler)
5953 (allout-overlay-interior-modification-handler)
5954 (allout-isearch-end-handler, allout-chart-siblings)
5955 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5956 (allout-yank-processing, allout-process-exposed)
5957 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5958 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5959 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5960 (lisp-indent-defform): Mark ignored arguments.
5961 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5962 (calculate-lisp-indent): Remove unused variables.
5963 * international/characters.el (indian-2-column, arabic-2-column)
5964 (tibetan): Mark ignored arguments.
5965 (use-cjk-char-width-table): Mark ignored arguments.
5966 Remove unused variables.
5967 * international/fontset.el (build-default-fontset-data)
5968 (x-compose-font-name, create-fontset-from-fontset-spec):
5969 Mark ignored arguments.
5970 (fontset-plain-name): Remove unused variables.
5971 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5972 (keyboard-coding-system): Mark ignored arguments.
5973 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5974 * help.el (resize-temp-buffer-window):
5975 * window.el (display-buffer-in-major-side-window)
5976 (display-buffer-in-side-window, display-buffer-in-previous-window):
5977 Remove unused variables.
5978 * isearch.el (isearch-forward-symbol):
5979 * version.el (emacs-bzr-version-bzr):
5980 * international/mule-cmds.el (current-language-environment):
5981 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5983 * term/pc-win.el (x-list-fonts, x-display-planes)
5984 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5985 (x-server-version, x-display-screens, x-display-mm-height)
5986 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5987 (x-selection-owner-p, x-own-selection-internal)
5988 (x-disown-selection-internal, x-get-selection-internal)
5989 (msdos-initialize-window-system):
5990 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5991 * term/x-win.el (x-handle-no-bitmap-icon):
5992 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5993 (vc-default-find-file-hook, vc-default-extra-menu):
5994 Mark ignored arguments.
5996 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5998 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5999 break-condition in the context of the debugged code (bug#12685).
6001 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6004 Do not use an overlay to highlight the last prompt. (Bug#14744)
6005 (comint-mode): Make comint-last-prompt buffer local.
6006 (comint-last-prompt): New variable.
6007 (comint-last-prompt-overlay): Remove. Superseded by
6009 (comint-snapshot-last-prompt, comint-output-filter):
6010 Use comint-last-prompt.
6012 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6014 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6015 (frameset-save): Check validity of the resulting frameset.
6017 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6019 * ido.el (ido-record-command): Add doc string.
6021 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6023 * frameset.el (frameset): Do not disable creation of the default
6024 frameset-p predicate. Doc fix.
6025 (frameset-valid-p): New function, copied from the old predicate-p.
6026 Add additional checks.
6027 (frameset-restore): Check with frameset-valid-p.
6028 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6029 (frameset-name, frameset-description, frameset-properties)
6030 (frameset-states): Add docstring.
6031 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6032 (frameset-filter-alist): Doc fixes.
6034 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6036 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6038 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6040 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6041 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6042 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6043 (byte-compile-normal-call): Remove obsolescence check.
6045 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6047 * frameset.el (frameset-restore): Doc fix.
6049 * register.el (frameset-frame-id, frameset-frame-with-id)
6050 (frameset-p, frameset-restore, frameset-save): Declare.
6051 (register-alist): Document framesets.
6052 (frameset-session-filter-alist): Declare.
6053 (frameset-to-register): New function.
6054 (jump-to-register): Implement jumping to framesets. Doc fix.
6055 (describe-register-1): Describe framesets.
6057 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6059 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6061 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6062 Use lexical-binding.
6064 * frameset.el (frameset): Use type vector, not list (incompatible
6065 change). Do not declare a new constructor, use the default one.
6066 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6067 `name' and `description', respectively, and add read-only slot
6068 `timestamp'. Doc fixes.
6069 (frameset-copy, frameset-persistent-filter-alist)
6070 (frameset-filter-alist, frameset-switch-to-gui-p)
6071 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6072 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6073 (frameset-filter-iconified, frameset-keep-original-display-p):
6075 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6076 Rename from frameset-filter-(save|restore)-param. All callers changed.
6078 (frameset-p): Adapt to change to vector and be more thorough.
6079 Change arg name to OBJECT. Doc fix.
6080 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6081 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6082 All callers changed.
6083 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6084 All callers changed.
6085 (frameset--record-minibuffer-relationships): Rename from
6086 frameset--process-minibuffer-frames. All callers changed.
6087 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6088 Use new default constructor (again). Doc fix.
6089 (frameset--find-frame-if): Rename from `frameset--find-frame.
6090 All callers changed.
6091 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6092 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6094 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6095 PARAMETERS and WINDOW-STATE, respectively.
6096 (frameset-restore): Add new keyword argument PREDICATE.
6097 Reset frameset--target-display to nil. Doc fix.
6099 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6101 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6103 (bat-mode-syntax-table): Mark \n as end-of-comment.
6104 (bat-font-lock-keywords): Remove comment rule.
6106 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6107 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6109 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6110 (byte-compile-callargs-warn): Use `push'.
6111 (byte-compile-arglist-warn): Ignore higher-order "calls".
6112 (byte-compile-file-form-autoload): Use `pcase'.
6113 (byte-compile-function-form): If quoting a symbol, check that it exists.
6115 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6117 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6118 and add a few popular commands found in batch files.
6119 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6120 (dos-mode): Doc fixes.
6122 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6124 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6125 (dos-mode): Use setq-local. Add space after "rem".
6126 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6127 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6129 2013-08-07 Arni Magnusson <arnima@hafro.is>
6131 * progmodes/dos.el: New file.
6132 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6135 2013-08-06 Glenn Morris <rgm@gnu.org>
6137 * calendar/calendar.el: Add new faces, and day-header-array.
6138 (calendar-weekday-header, calendar-weekend-header)
6139 (calendar-month-header): New faces.
6140 (calendar-day-header-construct): New function.
6141 (calendar-day-header-width): Also :set calendar-day-header-array.
6142 (calendar-american-month-header, calendar-european-month-header)
6143 (calendar-iso-month-header): Use calendar- faces.
6144 (calendar-generate-month):
6145 Use calendar-day-header-array for day headers; apply faces to them.
6146 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6147 (calendar-abbrev-construct): Add optional maxlen argument.
6148 (calendar-day-name-array): Doc fix.
6149 (calendar-day-name-array, calendar-abbrev-length)
6150 (calendar-day-abbrev-array):
6151 Also :set calendar-day-header-array, and maybe redraw.
6152 (calendar-day-header-array): New option. (Bug#15007)
6153 (calendar-font-lock-keywords): Set to nil and make obsolete.
6154 (calendar-day-name): Add option to use header array.
6156 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6158 * net/shr.el (shr-render-td): Remove debugging.
6159 (shr-render-td): Make width computation consistent by defaulting
6160 all zero-width columns to 10 characters. This may not be optimal,
6161 but it's at least consistent.
6162 (shr-make-table-1): Redo last change to fix the real problem in
6165 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6167 * files.el (cache-long-line-scans):
6168 Make obsolete alias to `cache-long-scans'.
6170 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6172 * frameset.el (frameset, frameset-filter-alist)
6173 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6174 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6175 (frameset-compute-pos): Rename from frameset--compute-pos,
6177 (frameset-move-onscreen): Use frameset-compute-pos.
6178 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6180 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6181 Fix typos in docstrings.
6183 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6185 * frame.el (get-other-frame): Tiny cleanup.
6187 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6189 * vc/vc.el (vc-default-ignore-completion-table):
6190 Silence byte-compiler warning.
6192 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6193 slot , which can indeed be nil.
6194 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6195 Move entry for `left' from persistent to live filter alist.
6196 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6198 (frameset-filter-params): When restoring a frame, copy items added to
6199 `filtered', to avoid unwittingly modifying the original parameters.
6200 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6201 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6203 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6204 to use looking-at-p instead of looking-at. (Bug#15028)
6206 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6208 Revert introduction of isearch-filter-predicates (bug#14714).
6209 Rely on add-function instead.
6210 * isearch.el (isearch-filter-predicates): Rename it back to
6211 isearch-filter-predicate.
6212 (isearch-message-prefix): Use advice-function-mapc and advice
6213 properties to get the isearch-message-prefix.
6214 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6215 instead of run-hook-with-args-until-failure.
6216 (isearch-filter-visible): Not obsolete any more.
6217 * loadup.el: Preload nadvice.
6218 * replace.el (perform-replace): Revert to funcall
6219 instead of run-hook-with-args-until-failure.
6220 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6221 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6222 dired-isearch-filenames-toggle; make it into a proper minor mode.
6223 Use add/remove-function.
6224 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6225 Call the minor-mode rather than add/remove-hook.
6226 (dired-isearch-filter-filenames):
6227 Remove isearch-message-prefix property.
6228 * info.el (Info--search-loop): New function, extracted from Info-search.
6229 Funcall isearch-filter-predicate instead of
6230 run-hook-with-args-until-failure isearch-filter-predicates.
6231 (Info-search): Use it.
6232 (Info-mode): Use isearch-filter-predicate instead of
6233 isearch-filter-predicates.
6235 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6237 Do not call to `selected-window' where it is assumed by default.
6238 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6239 `window-hscroll', `window-width', `window-height', `window-buffer',
6240 `window-frame', `window-start', `window-point', `next-window'
6241 and `window-display-table'.
6242 * abbrev.el (abbrev--default-expand):
6243 * bs.el (bs--show-with-configuration):
6244 * buff-menu.el (Buffer-menu-mouse-select):
6245 * calc/calc.el (calc):
6246 * calendar/calendar.el (calendar-generate-window):
6247 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6249 * comint.el (send-invisible, comint-dynamic-complete-filename)
6250 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6251 * completion.el (complete):
6252 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6253 * disp-table.el (describe-current-display-table):
6254 * doc-view.el (doc-view-insert-image):
6255 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6256 * ehelp.el (with-electric-help):
6257 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6258 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6259 * emacs-lisp/helper.el (Helper-help-scroller):
6260 * emulation/cua-base.el (cua--post-command-handler-1):
6261 * eshell/esh-mode.el (eshell-output-filter):
6262 * ffap.el (ffap-gnus-wrapper):
6263 * help-macro.el (make-help-screen):
6264 * hilit-chg.el (highlight-compare-buffers):
6265 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6266 * hl-line.el (global-hl-line-highlight):
6267 * icomplete.el (icomplete-simple-completing-p):
6268 * isearch.el (isearch-done):
6269 * jit-lock.el (jit-lock-stealth-fontify):
6270 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6271 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6272 * mpc.el (mpc-tagbrowser, mpc):
6273 * net/rcirc.el (rcirc-any-buffer):
6274 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6275 * play/landmark.el (landmark-max-width, landmark-max-height):
6276 * play/zone.el (zone):
6277 * progmodes/compile.el (compilation-goto-locus):
6278 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6279 * progmodes/etags.el (find-tag-other-window):
6280 * progmodes/fortran.el (fortran-column-ruler):
6281 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6282 * progmodes/verilog-mode.el (verilog-point-text):
6283 * reposition.el (reposition-window):
6284 * rot13.el (toggle-rot13-mode):
6285 * server.el (server-switch-buffer):
6286 * shell.el (shell-dynamic-complete-command)
6287 (shell-dynamic-complete-environment-variable):
6288 * simple.el (insert-buffer, set-selective-display)
6289 (delete-completion-window):
6290 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6291 (speedbar-recenter):
6292 * startup.el (fancy-splash-head):
6293 * textmodes/ispell.el (ispell-command-loop):
6294 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6295 * tutorial.el (help-with-tutorial):
6296 * vc/add-log.el (add-change-log-entry):
6297 * vc/compare-w.el (compare-windows):
6298 * vc/ediff-help.el (ediff-indent-help-message):
6299 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6300 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6301 (ediff-setup-control-frame):
6302 * vc/emerge.el (emerge-position-region):
6303 * vc/pcvs-util.el (cvs-bury-buffer):
6304 * window.el (walk-windows, mouse-autoselect-window-select):
6305 * winner.el (winner-set-conf, winner-undo): Related users changed.
6307 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6309 * frameset.el (frameset--set-id): Doc fix.
6310 (frameset-frame-id, frameset-frame-id-equal-p)
6311 (frameset-locate-frame-id): New functions.
6312 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6313 (frameset-restore): Use them.
6315 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6317 Do not call to `selected-frame' where it is assumed by default.
6318 Affected functions are `raise-frame', `redraw-frame',
6319 `frame-first-window', `frame-terminal' and `delete-frame'.
6320 * calendar/appt.el (appt-disp-window):
6321 * epg.el (epg-wait-for-completion):
6322 * follow.el (follow-delete-other-windows-and-split)
6323 (follow-avoid-tail-recenter):
6324 * international/mule.el (set-terminal-coding-system):
6325 * mail/rmail.el (rmail-mail-return):
6326 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6327 * progmodes/f90.el (f90-add-imenu-menu):
6328 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6329 * server.el (server-switch-buffer):
6330 * simple.el (delete-completion-window):
6332 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6333 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6334 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6335 * vc/ediff.el (ediff-documentation): Related users changed.
6336 * frame.el (selected-terminal): Remove the leftover.
6338 2013-08-05 Glenn Morris <rgm@gnu.org>
6340 * calendar/calendar.el (calendar-generate-month):
6341 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6342 (calendar-generate-month, calendar-font-lock-keywords):
6343 Fix for calendar-day-header-width > length of any day name.
6345 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6347 * desktop.el (desktop-clear): Use new name of sort predicate.
6349 * frameset.el (frameset): Add docstring. Move :version property to its
6351 (frameset-copy): Rename from copy-frameset.
6352 (frameset-p): Check more thoroughly.
6353 (frameset-prop): Do not check for :version, which is no longer a prop.
6354 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6355 Use new :never value instead of t.
6356 (frameset-filter-alist): Expand and clarify docstring.
6357 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6358 (frameset-filter-minibuffer, frameset-filter-save-param)
6359 (frameset-filter-restore-param, frameset-filter-iconified):
6360 Add pointer to docstring of frameset-filter-alist.
6361 (frameset-filter-params): Rename filter values to be more meaningful:
6362 :never instead of t, and reverse the meanings of :save and :restore.
6363 (frameset--process-minibuffer-frames): Clarify error message.
6364 (frameset-save): Avoid unnecessary and confusing call to framep.
6365 Use new BOA constructor for framesets.
6366 (frameset--reuse-list): Doc fix.
6367 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6368 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6369 (frameset-minibufferless-first-p): Doc fix.
6370 Rename from frameset-sort-frames-for-deletion.
6371 (frameset-restore): Doc fixes. Use new function names.
6372 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6374 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6376 * desktop.el (desktop-restore-forces-onscreen)
6377 (desktop-restore-reuses-frames): Document :keyword constant values.
6378 (desktop-filter-parameters-alist): Remove, now identical to
6379 frameset-filter-alist.
6380 (desktop--filter-tty*): Remove, moved to frameset.el.
6381 (desktop-save-frameset, desktop-restore-frameset):
6382 Do not pass :filters argument.
6384 * frameset.el (frameset-live-filter-alist)
6385 (frameset-persistent-filter-alist): New variables.
6386 (frameset-filter-alist): Use them. Add autoload cookie.
6387 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6388 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6389 `frameset--id' (it's supposed to be internal to frameset.el).
6390 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6391 (frameset--initial-params): New function.
6392 (frameset--get-frame): Use it. Doc fix.
6393 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6394 Accept :all, not 'all.
6395 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6396 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6397 with fbound symbols. Fix frame id matching, and remove matching ids if
6398 the frame being restored is deleted. Obey :delete.
6400 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6402 * subr.el (macrop): New function.
6403 (text-clone--maintaining): New var.
6404 (text-clone--maintain): Rename from text-clone-maintain. Use it
6405 instead of inhibit-modification-hooks.
6407 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6408 a proxy, so as handle autoloads and redefinitions of the target.
6409 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6411 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6412 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6413 (pcase--mutually-exclusive-p): New function.
6414 (pcase--split-consp): Use it.
6415 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6416 mutually exclusive with the current predicate.
6418 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6419 (edebug-macrop): Remove. Use `macrop' instead.
6420 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6422 * eshell/esh-cmd.el (eshell-macrop):
6423 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6425 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6427 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6428 (advice-mapc): New function, using it.
6429 (advice-function-member-p): New function.
6430 (advice--normalize): Store the cdr in advice--saved-rewrite since
6431 that's the part that will be changed.
6432 (advice--symbol-function): New function.
6433 (advice-remove): Handle removal before the function is defined.
6434 Adjust to new advice--saved-rewrite.
6435 (advice-member-p): Use advice-function-member-p and
6436 advice--symbol-function.
6438 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6440 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6441 (frameset-filter-minibuffer): Doc fix.
6442 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6443 (frameset--set-id, frameset--process-minibuffer-frames)
6444 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6445 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6447 * desktop.el (desktop-clear): Only delete frames when called
6448 interactively and desktop-restore-frames is non-nil. Doc fix.
6449 (desktop-read): Set desktop-saved-frameset to nil.
6451 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6453 * vc/vc.el (vc-ignore): Rewrite.
6454 (vc-default-ignore-completion-table):
6456 (vc--add-line, vc--remove-regexp): New functions.
6458 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6459 (vc-svn-ignore-completion-table): New function.
6461 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6462 (vc-hg-ignore-completion-table):
6463 (vc-hg-find-ignore-file): New functions.
6465 * vc/vc-git.el (vc-git-ignore): Rewrite.
6466 (vc-git-ignore-completion-table):
6467 (vc-git-find-ignore-file): New functions.
6469 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6471 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6472 (vc-bzr-ignore-completion-table):
6473 (vc-bzr-find-ignore-file): New functions.
6475 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6477 * frameset.el (frameset-prop): New function and setter.
6478 (frameset-save): Do not modify frame list passed by the caller.
6480 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6482 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6484 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6486 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6487 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6489 * custom.el (custom-initialize-default, custom-initialize-set)
6490 (custom-initialize-reset, custom-initialize-changed): Affect the
6491 toplevel-default-value (bug#6275, bug#14586).
6492 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6495 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6497 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6498 Add cl-def* expressions.
6500 * frameset.el (frameset-filter-params): Fix order of arguments.
6502 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6504 Move code related to saving frames to frameset.el.
6505 * desktop.el: Require frameset.
6506 (desktop-restore-frames): Doc fix.
6507 (desktop-restore-reuses-frames): Rename from
6508 desktop-restoring-reuses-frames.
6509 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6510 (desktop-clear): Clear frames too.
6511 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6512 (desktop--filter-tty*, desktop-save, desktop-read):
6513 Use frameset functions.
6514 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6515 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6516 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6517 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6518 (desktop--process-minibuffer-frames, desktop-save-frames)
6519 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6520 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6521 (desktop--sort-states, desktop-restoring-frames-p)
6522 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6523 (desktop-restoring-frameset-p, desktop-restore-frameset)
6524 (desktop--check-dont-save, desktop-save-frameset): New functions.
6525 (desktop--app-id): New constant.
6526 (desktop-first-buffer, desktop-buffer-ok-count)
6527 (desktop-buffer-fail-count): Move before first use.
6528 * frameset.el: New file.
6530 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6532 * files.el: Use lexical-binding.
6533 (dir-locals-read-from-file): Remove unused `err' variable.
6534 (hack-dir-local-variables--warned-coding): New var.
6535 (hack-dir-local-variables): Use it to avoid repeated warnings.
6536 (make-backup-file-name--default-function): New function.
6537 (make-backup-file-name-function): Use it as default.
6538 (buffer-stale--default-function): New function.
6539 (buffer-stale-function): Use it as default.
6540 (revert-buffer-insert-file-contents--default-function): New function.
6541 (revert-buffer-insert-file-contents-function): Use it as default.
6542 (insert-directory): Avoid add-to-list.
6544 * autorevert.el (auto-revert-handler): Simplify.
6545 Use buffer-stale--default-function.
6547 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6549 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6551 * whitespace.el (whitespace-ensure-local-variables): New function.
6552 (whitespace-cleanup-region): Call it.
6553 (whitespace-turn-on): Call it.
6555 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6557 Complete file name handlers.
6559 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6560 (tramp-handle-verify-visited-file-modtime)
6561 (tramp-handle-file-notify-rm-watch): New functions.
6562 (tramp-call-process): Do not bind `default-directory'.
6564 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6565 Order alphabetically.
6566 [access-file, add-name-to-file, dired-call-process]:
6567 [dired-compress-file, file-acl, file-notify-rm-watch]:
6568 [file-ownership-preserved-p, file-selinux-context]:
6569 [make-directory-internal, make-symbolic-link, set-file-acl]:
6570 [set-file-selinux-context, set-visited-file-modtime]:
6571 [verify-visited-file-modtime]: Add handler.
6572 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6574 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6575 [file-notify-add-watch, file-notify-rm-watch]:
6576 [set-file-times, set-visited-file-modtime]:
6577 [verify-visited-file-modtime]: Add handler.
6578 (with-tramp-gvfs-error-message)
6579 (tramp-gvfs-handle-set-visited-file-modtime)
6580 (tramp-gvfs-fuse-file-name): Remove.
6581 (tramp-gvfs-handle-file-notify-add-watch)
6582 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6583 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6585 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6586 Order alphabetically.
6587 [file-notify-rm-watch ]: Use default Tramp handler.
6588 [executable-find]: Remove private handler.
6589 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6590 `default-directory'.
6591 (tramp-sh-handle-executable-find)
6592 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6593 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6594 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6595 Do not use `format' in `tramp-message'.
6597 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6598 [file-notify-rm-watch, set-visited-file-modtime]:
6599 [verify-visited-file-modtime]: Add handler.
6600 (tramp-smb-call-winexe): Do not bind `default-directory'.
6602 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6604 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6606 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6608 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6610 (log-view-diff-changeset): Same.
6611 (log-view-diff-common): Call backend command `previous-revision'
6612 to find out the previous revision, in both cases. Swap the
6613 variables `to' and `fr', so that `fr' usually refers to the
6614 earlier revision (Bug#14989).
6616 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6618 * ibuf-ext.el (ibuffer-filter-by-filename):
6619 Make it work with dired buffers too.
6621 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6623 * emacs-lisp/re-builder.el (reb-color-display-p):
6624 * files.el (save-buffers-kill-terminal):
6625 * net/browse-url.el (browse-url):
6626 * server.el (server-save-buffers-kill-terminal):
6627 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6628 Prefer nil to selected-frame for the first arg of frame-parameter.
6630 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6632 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6634 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6636 * minibuffer.el (completion--twq-all): Try and preserve each
6637 completion's case choice (bug#14907).
6639 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6641 * net/network-stream.el (open-network-stream): Mention the new
6642 :nogreeting parameter.
6643 (network-stream-open-starttls): Use the :nogreeting parameter
6646 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6648 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6649 more natural than popping.
6651 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6652 (shr-urlify): Highlight under mouse.
6654 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6656 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6658 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6660 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6663 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6664 point-min==1. Fix search string. Fix parentheses missing.
6666 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6667 assume point-min==1. Fix search string. Fix parentheses missing.
6669 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6671 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6674 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6676 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6677 initial frame is minibuffer-less. (Bug#14841)
6679 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6681 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6684 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6685 (tramp-maybe-open-connection): Use it.
6687 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6689 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6690 minimal set of parameters passed when creating a frame, because
6691 the minibuffer status of a frame cannot be changed later.
6693 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6695 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6696 replace-regexp-in-string and inadvertent omissions in previous change.
6697 (todo-filter-items): Ensure only file names are comma-separated in
6698 name of filtered items buffer.
6700 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6702 * desktop.el: Optionally force offscreen frames back onscreen.
6703 (desktop-restoring-reuses-frames): New option.
6704 (desktop--compute-pos, desktop--move-onscreen): New functions.
6705 (desktop--make-frame): Use desktop--move-onscreen.
6707 2013-07-27 Alan Mackenzie <acm@muc.de>
6709 Fontify a Java generic method as a function.
6710 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6713 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6715 * calendar/todo-mode.el: Add command to rename todo files.
6716 (todo-rename-file): New command.
6717 (todo-key-bindings-t): Add key binding for it. Change the
6718 bindings of todo-filter-regexp-items(-multifile) to use `x'
6719 instead of `r', since the latter is better suited to the new
6722 2013-07-27 Alan Mackenzie <acm@muc.de>
6724 Make Java try-with-resources statement parse properly.
6725 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6726 (c-block-stmt-1-2-key): New language constants/variables.
6727 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6728 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6729 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6730 with c-block-stmt-1-2-key.
6732 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6734 * desktop.el (desktop--make-frame): Apply most frame parameters after
6735 creating the frame to force (partially or totally) offscreen frames to
6736 be restored as such.
6738 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6740 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6743 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6745 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6746 `base' arg of backtrace-frame.
6748 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6750 * simple.el (list-processes): Doc fix.
6752 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6754 * desktop.el (desktop--select-frame):
6755 Try harder to reuse existing frames.
6757 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6759 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6760 (edebug-eval): Use backtrace-eval.
6761 (edebug--display, edebug--recursive-edit): Don't let-bind the
6762 edebug-outer-* vars that keep track of variables we locally let-bind.
6763 (edebug-outside-excursion): Don't restore outside values of locally
6765 (edebug--display): Use user-error.
6766 (cl-lexical-debug, cl-debug-env): Remove.
6768 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6770 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6771 are restored to be sure that they are visible before deleting any
6774 2013-07-26 Matthias Meulien <orontee@gmail.com>
6776 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6777 vc-print-root-log. (Bug#14948)
6779 2013-07-26 Richard Stallman <rms@gnu.org>
6781 Add aliases for encrypting mail.
6782 * epa.el (epa-mail-aliases): New option.
6783 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6784 Bind inhibit-read-only so read-only text doesn't ruin everything.
6785 (epa-mail-default-recipients): New subroutine broken out.
6786 Handle epa-mail-aliases.
6788 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6790 Add support for lexical variables to the debugger's `e' command.
6791 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6792 vars, except for debugger-outer-match-data.
6793 (debugger-frame-number): Move check for "on a function call" from
6794 callers into it. Add `skip-base' argument.
6795 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6796 (debugger-env-macro): Only reset the state stored in non-variables,
6797 i.e. current-buffer and match-data.
6798 (debugger-eval-expression): Rewrite using backtrace-eval.
6799 * subr.el (internal--called-interactively-p--get-frame): Remove.
6800 (called-interactively-p):
6801 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6802 `base' arg of backtrace-frame instead.
6804 2013-07-26 Glenn Morris <rgm@gnu.org>
6806 * align.el (align-regexp): Doc fix. (Bug#14857)
6807 (align-region): Explicit error if subexpression missing/does not match.
6809 * simple.el (global-visual-line-mode):
6810 Do not duplicate the mode lighter. (Bug#14858)
6812 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6814 * window.el (display-buffer): In display-buffer bind
6815 split-window-keep-point to t, bug#14829.
6817 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6819 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6820 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6821 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6822 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6824 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6825 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6827 2013-07-25 Glenn Morris <rgm@gnu.org>
6829 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6831 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6833 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6834 parameter to modify-frame-parameters if the value has not changed;
6835 this is a workaround for bug#14949.
6836 (desktop--make-frame): On cl-delete-if call, check parameter name,
6839 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6841 * vc/vc.el (vc-ignore): New function.
6843 * vc/vc-svn.el (vc-svn-ignore): New function.
6845 * vc/vc-hg.el (vc-hg-ignore): New function.
6847 * vc/vc-git.el (vc-git-ignore): New function.
6849 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6850 (vc-dir-ignore): New function.
6852 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6853 (cvs-append-to-ignore): Move here from pcvs.el.
6855 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6857 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6859 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6861 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6862 (desktop-restore-frames): Warn when deleting an existing frame failed.
6864 2013-07-24 Glenn Morris <rgm@gnu.org>
6866 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6868 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6870 * filenotify.el (file-notify-supported-p):
6871 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6874 * autorevert.el (auto-revert-use-notify):
6875 (auto-revert-notify-add-watch):
6876 * net/tramp.el (tramp-file-name-for-operation):
6877 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6878 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6879 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6880 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6881 Remove `file-notify-supported-p' entry.
6883 2013-07-24 Glenn Morris <rgm@gnu.org>
6885 * printing.el: Replace all uses of deleted ps-windows-system,
6886 ps-lp-system, ps-flatten-list with lpr- versions.
6888 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6890 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6891 checked with memq (bug#14935).
6893 * files.el (revert-buffer-function): Use a non-nil default.
6894 (revert-buffer-preserve-modes): Declare var to
6895 provide access to the `preserve-modes' argument.
6896 (revert-buffer): Let-bind it.
6897 (revert-buffer--default): New function, extracted from revert-buffer.
6899 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6901 * lpr.el: Signal print errors more prominently.
6902 (print-region-function): Don't default to nil.
6903 (lpr-print-region): New function, extracted from print-region-1.
6904 Check lpr's return value and signal an error in case of problem.
6905 (print-region-1): Use it.
6906 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6908 (ps-printer-name): Default to nil.
6909 (ps-printer-name-option): Default to lpr-printer-switch.
6910 (ps-print-region-function): Don't default to nil.
6911 (ps-postscript-code-directory): Simplify default.
6912 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6913 (ps-string-list, ps-eval-switch, ps-flatten-list)
6914 (ps-flatten-list-1): Remove.
6915 (ps-multibyte-buffer): Avoid setq.
6916 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6917 (print-region-function, ps-print-region-function): Don't set them here.
6919 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6921 * ido.el (ido-fractionp):
6922 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6923 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6924 (ido-max-directory-size, ido-max-dir-file-cache)
6925 (ido-decorations): Doc fix.
6927 * ansi-color.el: Fix old URL.
6929 2013-07-23 Michael R. Mauger <michael@mauger.com>
6931 * progmodes/sql.el: Version 3.3
6932 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6933 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6934 (sql-interactive-remove-continuation-prompt): Rewrite, use
6935 functions above. Fix continuation prompt and complete output line
6937 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6938 redirected output buffer.
6939 (sql-mode): Restore deleted code (Bug#13591).
6941 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6943 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6945 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6947 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6949 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6950 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6951 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6953 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6955 * desktop.el (desktop-clear): Simplify; remove useless checks
6956 against invalid buffer names.
6957 (desktop-list*): Use cl-list*.
6958 (desktop-buffer-info, desktop-create-buffer): Simplify.
6960 2013-07-23 Leo Liu <sdl.web@gmail.com>
6962 * bookmark.el (bookmark-make-record): Restore NAME as a default
6965 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6967 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6968 extracted from autoload--insert-text.
6969 (autoload--insert-text): Remove.
6970 (autoload--print-cookie-text): New function, extracted from
6971 autoload--insert-cookie-text.
6972 (autoload--insert-cookie-text): Remove.
6973 (autoload-generate-file-autoloads): Adjust calls accordingly.
6975 * winner.el (winner-hook-installed-p): Remove.
6976 (winner-mode): Simplify accordingly.
6978 * subr.el (add-to-list): Fix compiler-macro when `append' is
6979 not constant. Don't use `cl-member' for the base case.
6981 * progmodes/subword.el: Fix boundary case (bug#13758).
6982 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6984 (subword-backward-regexp): Make it a constant.
6985 (subword-forward-internal): Don't treat a trailing capital as the
6986 beginning of a word.
6988 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6990 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6991 global value of tabulated-list-revert-hook (bug#14930).
6993 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6995 * desktop.el: Require 'cl-lib.
6996 (desktop-before-saving-frames-functions): New hook.
6997 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6998 for frames being saved. Rename from desktop--save-minibuffer-frames.
6999 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7000 Do not save frames with non-nil `desktop-dont-save' parameter.
7001 Filter out deleted frames.
7002 (desktop--find-frame): Use cl-find-if.
7003 (desktop--select-frame): Use cl-(first|second|third) to access values
7005 (desktop--make-frame): Use cl-delete-if.
7006 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7007 (desktop-restore-frames): Use cl-(first|second|third) to access values
7008 of desktop-mini. Look for visible frame at the end, not while
7011 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7012 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7013 Use string-match-p, looking-at-p (bug#14927).
7015 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7017 * desktop.el (desktop-saved-frame-states):
7018 Rename from desktop--saved-states; all users changed.
7019 (desktop-save-frames): Rename from desktop--save-frames.
7020 Do not save state to desktop file.
7021 (desktop-save): Save desktop-saved-frame-states to desktop file
7023 (desktop-restoring-frames-p): New function.
7024 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7025 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7026 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7028 * desktop.el: Correctly restore iconified frames.
7029 (desktop--filter-iconified-position): New function.
7030 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7032 2013-07-20 Glenn Morris <rgm@gnu.org>
7034 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7035 Let `message' do the formatting.
7036 (def-gdb-preempt-display-buffer): Add explicit format.
7038 * image-dired.el (image-dired-track-original-file):
7039 Use with-current-buffer.
7040 (image-dired-track-thumbnail): Use with-current-buffer.
7041 Avoid changing point of wrong window.
7043 * image-dired.el (image-dired-track-original-file):
7044 Avoid changing point of wrong window. (Bug#14909)
7046 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7048 * progmodes/gdb-mi.el (gdb-done-or-error):
7049 Guard against "%" in gdb output. (Bug#14127)
7051 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7053 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7056 * international/mule.el (coding-system-iso-2022-flags): Fix last
7059 2013-07-20 Kenichi Handa <handa@gnu.org>
7061 * international/mule.el (coding-system-iso-2022-flags):
7062 Add `8-bit-level-4'. (Bug#8522)
7064 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7066 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7069 * net/eww.el (eww-process-text-input): Allow inputting when the
7070 point is at the start of the line, as the properties aren't
7073 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7076 2013-07-19 Richard Stallman <rms@gnu.org>
7078 * epa.el (epa-popup-info-window): Doc fix.
7080 * subr.el (split-string): New arg TRIM.
7082 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7084 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7085 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7087 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7089 * filenotify.el (file-notify--library): Rename from
7090 `file-notify-support'. Do not autoload. Adapt all uses.
7091 (file-notify-supported-p): New defun.
7093 * autorevert.el (auto-revert-use-notify):
7094 Use `file-notify-supported-p' instead of `file-notify-support'.
7096 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7098 * net/tramp.el (tramp-file-name-for-operation):
7099 Add `file-notify-supported-p'.
7101 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7103 (tramp-sh-file-name-handler-alist): Add it as handler for
7104 `file-notify-supported-p '.
7106 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7107 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7108 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7109 Add `ignore' as handler for `file-notify-*' functions.
7111 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7113 * simple.el (line-move-partial, line-move): Don't start vscroll or
7114 scroll-up if the current line is not taller than the window.
7117 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7119 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7120 highlight question marks in the method names as strings.
7121 (ruby-block-beg-keywords): Inline.
7122 (ruby-font-lock-keyword-beg-re): Extract from
7123 `ruby-font-lock-keywords'.
7125 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7127 * frame.el (blink-cursor-blinks): New defcustom.
7128 (blink-cursor-blinks-done): New defvar.
7129 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7130 (blink-cursor-timer-function): Check if number of blinks has been
7132 (blink-cursor-suspend, blink-cursor-check): New defuns.
7134 2013-07-15 Glenn Morris <rgm@gnu.org>
7136 * edmacro.el (edmacro-format-keys): Fix previous change.
7138 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7140 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7141 The hack didn't work outside English locales anyway.
7143 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7145 * simple.el (define-alternatives): Rename from alternatives-define,
7146 per RMS' suggestion.
7148 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7150 * desktop.el (desktop-restore-frames): Change default to t.
7151 (desktop-restore-in-current-display): Now offer more options.
7152 (desktop-restoring-reuses-frames): New customization option.
7153 (desktop--saved-states): Doc fix.
7154 (desktop-filter-parameters-alist): New variable, renamed and expanded
7155 from desktop--excluded-frame-parameters.
7156 (desktop--target-display): New variable.
7157 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7158 (desktop--filter-tty*, desktop--filter-*-color)
7159 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7160 (desktop--filter-save-desktop-parm)
7161 (desktop-restore-in-original-display-p): New functions.
7162 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7163 (desktop--save-minibuffer-frames): New function, inspired by a similar
7164 function from Martin Rudalics.
7165 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7166 (desktop--restore-in-this-display-p): Remove.
7167 (desktop--find-frame): Rename from desktop--find-frame-in-display
7168 and add predicate argument.
7169 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7170 (desktop--reuse-list): New variable.
7171 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7173 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7175 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7177 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7179 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7181 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7182 Highlight conversion methods on Kernel.
7184 2013-07-13 Alan Mackenzie <acm@muc.de>
7186 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7187 and comment it out. This out-commenting enables certain C++
7188 declarations to be parsed correctly.
7190 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7192 * international/mule.el (define-coding-system): Doc fix.
7194 * simple.el (default-font-height): Don't call font-info if the
7195 frame's default font didn't change since the frame was created.
7198 2013-07-13 Leo Liu <sdl.web@gmail.com>
7200 * ido.el (ido-read-file-name): Guard against non-symbol value.
7202 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7204 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7207 2013-07-13 Leo Liu <sdl.web@gmail.com>
7209 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7210 ido-set-matches call. (Bug#6852)
7212 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7214 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7215 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7217 (ruby-font-lock-keywords): Distinguish calls to functions with
7218 module-like names from module references. Highlight character
7221 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7223 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7224 (gdb-send): Handle continued commands. (Bug#14847)
7226 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7228 * desktop.el (desktop--v2s): Remove unused local variable.
7229 (desktop-save-buffer): Make defvar-local; adjust docstring.
7230 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7231 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7233 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7235 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7237 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7239 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7242 2013-07-12 Glenn Morris <rgm@gnu.org>
7244 * doc-view.el: Require cl-lib at runtime too.
7245 (doc-view-remove-if): Remove.
7246 (doc-view-search-next-match, doc-view-search-previous-match):
7249 * edmacro.el: Require cl-lib at runtime too.
7250 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7251 (edmacro-mismatch, edmacro-subseq): Remove.
7253 * shadowfile.el: Require cl-lib.
7254 (shadow-remove-if): Remove.
7255 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7258 * wid-edit.el: Require cl-lib.
7259 (widget-choose): Use cl-remove-if.
7260 (widget-remove-if): Remove.
7262 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7263 (ebrowse-delete-if-not): Remove.
7264 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7265 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7266 Use cl-delete-if-not.
7268 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7270 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7271 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7273 2013-07-12 Leo Liu <sdl.web@gmail.com>
7275 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7277 2013-07-11 Glenn Morris <rgm@gnu.org>
7279 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7280 (edebug-gensym-index, edebug-gensym):
7281 Remove reimplementation of cl-gensym.
7282 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7284 * thumbs.el: Require cl-lib at run-time too.
7285 (thumbs-gensym-counter, thumbs-gensym):
7286 Remove reimplementation of cl-gensym.
7287 (thumbs-temp-file): Use cl-gensym.
7289 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7290 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7291 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7292 (ert--union, ert--gensym-counter, ert--gensym-counter)
7293 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7294 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7295 (ert-make-test-unbound, ert--expand-should-1)
7296 (ert--expand-should, ert--should-error-handle-error)
7297 (should-error, ert--explain-equal-rec)
7298 (ert--plist-difference-explanation, ert-select-tests)
7299 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7300 Use cl-lib functions rather than reimplementations.
7302 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7304 * net/tramp.el (tramp-methods): Extend docstring.
7305 (tramp-connection-timeout): New defcustom.
7306 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7307 (with-tramp-progress-reporter): Simplify.
7308 (tramp-process-actions): Improve messages.
7310 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7311 * net/tramp-sh.el (tramp-maybe-open-connection):
7312 Use `tramp-connection-timeout'.
7313 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7316 2013-07-11 Leo Liu <sdl.web@gmail.com>
7318 * ido.el (ido-read-file-name): Conform to the requirements of
7319 read-file-name. (Bug#11861)
7320 (ido-read-directory-name): Conform to the requirements of
7321 read-directory-name.
7323 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7325 * subr.el (delay-warning): New function.
7327 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7329 * simple.el (default-line-height): New function.
7330 (line-move-partial, line-move): Use it instead of computing the
7332 (line-move-partial): Always compute ROWH. If the last line is
7333 partially-visible, but its text is completely visible, allow
7334 cursor to enter such a partially-visible line.
7336 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7338 Improve error messages. (Bug#14808)
7340 * net/tramp.el (tramp-current-connection): New defvar, moved from
7342 (tramp-message-show-progress-reporter-message): Remove, not
7344 (tramp-error-with-buffer): Show message in minibuffer.
7345 Discard input before waiting. Reset connection timestamp.
7346 (with-tramp-progress-reporter): Improve messages.
7347 (tramp-process-actions): Use progress reporter. Delete process in
7348 case of error. Improve messages.
7350 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7351 Call `tramp-error-with-buffer' with vector and buffer.
7352 (tramp-current-connection): Remove.
7353 (tramp-maybe-open-connection): The car of
7354 `tramp-current-connection' are the first 3 slots of the vector.
7356 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7358 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7359 inside continued strings.
7361 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7363 Timestamp fixes for undo (Bug#14824).
7364 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7366 2013-07-10 Leo Liu <sdl.web@gmail.com>
7368 * files.el (require-final-newline): Allow safe local value.
7371 2013-07-09 Leo Liu <sdl.web@gmail.com>
7373 * ido.el (ido-read-directory-name): Handle fallback.
7374 (ido-read-file-name): Update DIR to ido-current-directory.
7376 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7378 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7380 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7381 "autoload". Remove "warn lower camel case" section, previously
7382 commented out. Highlight negation char. Do not highlight the
7383 target in singleton method definitions.
7385 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7387 * faces.el (tty-setup-hook): Declare the hook.
7389 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7390 and detect when a guard/pred depends on local vars (bug#14773).
7391 (pcase--u1): Adjust caller.
7393 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7395 * simple.el (line-move-partial, line-move): Account for
7397 (line-move-partial): Avoid setting vscroll when the last
7398 partially-visible line in window is of default height.
7400 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7402 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7405 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7407 * subr.el (read-quoted-char): Remove unused local variable `char'.
7409 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7411 * ediff.el (ediff-version): Version update.
7412 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7413 (ediff-merge-with-ancestor-command, ediff-directories-command)
7414 (ediff-directories3-command, ediff-merge-directories-command)
7415 (ediff-merge-directories-with-ancestor-command): New functions.
7416 All are command-line interfaces to ediff: to facilitate calling
7417 Emacs with the appropriate ediff functions invoked.
7419 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7420 (viper-save-kill-buffer): Check if buffer is modified.
7422 * viper.el (viper-version): Version update.
7423 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7425 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7427 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7428 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7429 (viper-intercept-ESC-key): Simplify.
7430 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7431 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7432 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7433 (viper-setup-ESC-to-escape): New functions.
7434 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7435 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7437 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7439 * simple.el (default-font-height, window-screen-lines):
7441 (line-move, line-move-partial): Use them instead of
7442 frame-char-height and window-text-height. This makes scrolling
7443 text smoother when the buffer's default face uses a font that is
7444 different from the frame's default font.
7446 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7448 * files.el (write-file): Do not display confirm dialog for NS,
7449 it does its own dialog, which can't be canceled (Bug#14578).
7451 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7453 * simple.el (line-move-partial): Adjust the row returned by
7454 posn-at-point for the current window-vscroll. (Bug#14567)
7456 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7458 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7459 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7462 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7464 * window.el (window-state-put-stale-windows): New variable.
7465 (window--state-put-2): Save list of windows without matching buffer.
7466 (window-state-put): Remove "bufferless" windows if possible.
7468 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7470 * simple.el (alternatives-define): Remove leftover :group keyword.
7473 2013-07-06 Leo Liu <sdl.web@gmail.com>
7475 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7476 (ido-enable-virtual-buffers): New variable.
7477 (ido-buffer-internal, ido-toggle-virtual-buffers)
7478 (ido-make-buffer-list): Use it.
7479 (ido-exhibit): Support turning on and off virtual buffers
7482 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7484 * simple.el (alternatives-define): New macro.
7486 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7488 * subr.el (read-quoted-char): Use read-key.
7489 (sit-for): Let read-event decode tty input (bug#14782).
7491 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7493 * calendar/todo-mode.el: Add handling of file deletion, both by
7494 mode command and externally. Fix various related bugs.
7495 Clarify Commentary and improve some documentation strings and code.
7496 (todo-delete-file): New command.
7497 (todo-check-file): New function.
7498 (todo-show): Handle external deletion of the file we're trying to
7499 show (bug#14688). Replace called-interactively-p by an optional
7500 prefix argument to avoid problematic interaction with catch form
7501 when byte compiled (bug#14702).
7502 (todo-quit): Handle external deletion of the archive's todo file.
7503 Make sure the buffer that was visiting the archive file is still
7504 live before trying to bury it.
7505 (todo-category-completions): Handle external deletion of any
7506 category completion files.
7507 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7508 of todo files, in case of external deletion.
7509 (todo-add-file): Replace unnecessary setq by let-binding.
7510 (todo-find-archive): Check whether there are any archives.
7511 Replace unnecessary setq by let-binding.
7512 (todo-archive-done-item): Use find-file-noselect to get the
7513 archive buffer whether or not the archive already exists.
7514 Remove superfluous code. Use file size instead of buffer-file-name to
7515 check if the archive is new; if it is, update list of archives.
7516 (todo-default-todo-file): Allow nil to be a valid value for when
7517 there are no todo files.
7518 (todo-reevaluate-default-file-defcustom): Use corrected definition
7519 of todo-default-todo-file.
7520 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7521 (todo-delete-category, todo-show-categories-table)
7522 (todo-category-number): Clarify comment.
7523 (todo-filter-items): Clarify documentation string.
7524 (todo-show-current-file, todo-display-as-todo-file)
7525 (todo-reset-and-enable-done-separator): Tweak documentation string.
7526 (todo-done-separator): Make separator length window-width, since
7527 bug#2749 is now fixed.
7529 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7531 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7532 Support both "gvfs-monitor-dir" and "inotifywait".
7533 (tramp-sh-file-inotifywait-process-filter): Rename from
7534 `tramp-sh-file-notify-process-filter'.
7535 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7536 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7538 2013-07-05 Leo Liu <sdl.web@gmail.com>
7540 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7542 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7544 * frame.el (display-pixel-height, display-pixel-width)
7545 (display-mm-height, display-mm-width): Mention behavior on
7546 multi-monitor setups in docstrings.
7547 (w32-display-monitor-attributes-list): Declare function.
7548 (display-monitor-attributes-list): Use it.
7550 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7552 * filenotify.el: New package.
7554 * autorevert.el (top): Require filenotify.el.
7555 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7557 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7558 (auto-revert-notify-handler): Use `file-notify-*' functions.
7560 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7562 * net/tramp.el (tramp-file-name-for-operation):
7563 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7565 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7566 for `file-notify-add-watch' and `file-notify-rm-watch'.
7567 (tramp-process-sentinel): Improve trace.
7568 (tramp-sh-handle-file-notify-add-watch)
7569 (tramp-sh-file-notify-process-filter)
7570 (tramp-sh-handle-file-notify-rm-watch)
7571 (tramp-get-remote-inotifywait): New defuns.
7573 2013-07-03 Juri Linkov <juri@jurta.org>
7575 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7576 call of `occur-read-primary-args' to interactive spec.
7578 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7579 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7581 2013-07-03 Matthias Meulien <orontee@gmail.com>
7583 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7584 `Buffer-menu-multi-occur'. Add it to the menu.
7585 (Buffer-menu-mode): Document it in docstring.
7586 (Buffer-menu-multi-occur): New command. (Bug#14673)
7588 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7590 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7591 keywords and built-ins.
7593 2013-07-03 Glenn Morris <rgm@gnu.org>
7595 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7597 Make info-xref checks case-sensitive by default
7598 * info.el (Info-find-node, Info-find-in-tag-table)
7599 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7600 Add option for exact case matching of nodes.
7601 * info-xref.el (info-xref): New custom group.
7602 (info-xref-case-fold): New option.
7603 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7605 2013-07-03 Leo Liu <sdl.web@gmail.com>
7607 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7609 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7611 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7612 middle of block statement initially, lower the depth. Remove
7613 FIXME comment, not longer valid. Remove middle of block statement
7614 detection, no need to do that anymore since we've been using
7615 `ruby-parse-region' here.
7617 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7619 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7621 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7623 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7625 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7627 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7628 (desktop-restore-in-current-display): New customization option.
7629 (desktop--excluded-frame-parameters): Add `font'.
7630 (desktop--save-frames): Rename from desktop--save-windows.
7631 (desktop--restore-in-this-display-p): New function.
7632 (desktop--make-full-frame): Remove unwanted width/height from
7633 full(width|height) frames.
7634 (desktop--restore-frames): Rename from desktop--restore-windows.
7635 Obey desktop-restore-current-display. Do not delete old frames or
7636 select a new frame unless we were able to restore at least one frame.
7638 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7640 * files.el (find-file-noselect): Simplify conditional expression.
7642 * textmodes/remember.el (remember-append-to-file):
7643 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7645 Add `remember-notes' function to store random notes across Emacs
7647 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7648 notes buffer (if any).
7649 (remember-notes): New command.
7650 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7651 New defcustoms for the `remember-notes' function.
7652 (remember-notes-save-and-bury-buffer): New command.
7653 (remember-notes-mode-map): New variable.
7654 (remember-mode): New minor mode.
7655 (remember-notes--kill-buffer-query): New function.
7656 * startup.el (initial-buffer-choice): Add notes to custom type.
7658 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7660 * bindings.el (right-char, left-char): Don't call sit-for, this is
7661 no longer needed. Use arithmetic comparison only for numerical
7664 * international/mule-cmds.el (select-safe-coding-system):
7665 Handle the case of FROM being a string correctly. (Bug#14755)
7667 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7669 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7670 progression on degenerate tables.
7671 (shr-rescale-image): ImageMagick animated images currently don't work.
7673 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7675 Some fixes and improvements for desktop frame restoration.
7676 It is still experimental and disabled by default.
7677 * desktop.el (desktop--save-windows): Put the selected frame at
7678 the head of the list.
7679 (desktop--make-full-frame): New function.
7680 (desktop--restore-windows): Try to re-select the frame that was
7681 selected upon saving. Do not abort if some frames fail to restore,
7682 just show an error message and continue. Set up maximized frames
7683 so they have default non-maximized dimensions.
7685 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7687 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7688 Don't start heredoc inside a string or comment.
7690 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7692 * bindings.el (visual-order-cursor-movement): New defcustom.
7693 (right-char, left-char): Provide visual-order cursor motion by
7694 calling move-point-visually. Update the doc strings.
7696 2013-06-28 Kenichi Handa <handa@gnu.org>
7698 * international/mule.el (define-coding-system): New coding system
7699 properties :inhibit-null-byte-detection,
7700 :inhibit-iso-escape-detection, and :prefer-utf-8.
7701 (set-buffer-file-coding-system): If :charset-list property of
7702 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7703 appropriate for setting.
7705 * international/mule-cmds.el (select-safe-coding-system):
7706 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7707 multibyte characters, return utf-8 (or one of its siblings).
7709 * international/mule-conf.el (prefer-utf-8): New coding system.
7710 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7713 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7715 * net/shr.el (shr-render-region): New function.
7717 * net/eww.el: Autoload `eww-browse-url'.
7719 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7721 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7722 Adapt to `package-desc-version' being a list.
7723 Use `package--ac-desc-version' to retrieve version from a package
7726 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7728 New experimental feature to save&restore window and frame setup.
7729 * desktop.el (desktop-save-windows): New defcustom.
7730 (desktop--saved-states): New var.
7731 (desktop--excluded-frame-parameters): New defconst.
7732 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7733 (desktop--restore-windows, desktop--save-windows): New functions.
7734 (desktop-save): Call `desktop--save-windows'.
7735 (desktop-read): Call `desktop--restore-windows'.
7737 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7739 * net/shr.el (add-face-text-property): Remove compat definition.
7741 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7743 * info.el (Info-try-follow-nearest-node): Move search for footnote
7744 above search for node name to prevent missing a footnote (bug#14717).
7746 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7748 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7750 2013-06-27 Leo Liu <sdl.web@gmail.com>
7752 * net/eww.el (eww-read-bookmarks): Check file size.
7754 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7756 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7757 advice--pending if newdef is nil or an autoload (bug#13820).
7758 (advice-mapc): New function.
7760 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7762 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7764 (eww-mode-map): Add a menu bar.
7765 (eww-add-bookmark): New command.
7766 (eww-bookmark-mode): New mode and commands.
7767 (eww-add-bookmark): Remove newlines from the title.
7768 (eww-bookmark-browse): Don't bug out if it's the only window.
7770 2013-06-26 Glenn Morris <rgm@gnu.org>
7772 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7773 (hfy-size): Handle ttys. (Bug#14668)
7775 * info-xref.el: Update for Texinfo 5 change in *note format.
7776 (info-xref-node-re, info-xref-note-re): New constants.
7777 (info-xref-check-buffer): Use info-xref-note-re.
7779 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7781 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7783 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7784 nil terminate the loop (bug#14718).
7786 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7788 * net/eww.el: Rework history traversal. When going forward/back,
7789 put these actions into the history, too, so that they can be
7791 (eww-render): Move the history reset to the correct buffer.
7793 2013-06-25 Juri Linkov <juri@jurta.org>
7795 * files-x.el (modify-dir-local-variable): Change the header comment
7796 in the file with directory local variables. (Bug#14692)
7798 * files-x.el (read-file-local-variable-value): Add `default'.
7801 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7803 * net/eww.el (eww-make-unique-file-name): Create a unique file
7804 name before saving to entering `y' accidentally asynchronously.
7806 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7808 * net/eww.el (eww-download): New command and keystroke.
7810 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7812 * net/eww.el (eww-copy-page-url): Change name of command.
7814 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7815 be more consistent with Info and dired.
7817 * net/eww.el (eww-mode-map): Ditto.
7819 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7821 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7822 packages from archives.
7823 (package-archive-contents): Change format; include obsolete packages.
7824 (package-desc): Use `dir' to mark builtin packages.
7825 (package--from-builtin): Set the `dir' field to `builtin'.
7826 (generated-autoload-file, version-control): Declare.
7827 (package-compute-transaction): Change first arg and return value to be
7828 lists of package-descs. Adjust to new package-archive-contents format.
7829 (package--add-to-archive-contents): Adjust to new
7830 package-archive-contents format.
7831 (package-download-transaction): Arg is now a list of package-descs.
7832 (package-install): If `pkg' is a package name, pass it as
7833 a requirement, so it is subject to the usual (e.g. disabled) checks.
7834 (describe-package): Accept package-desc as well.
7835 (describe-package-1): Describe a specific package-desc. Add links to
7836 other package-descs for the same package name.
7837 (package-menu-describe-package): Pass the actual package-desc.
7838 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7840 (package-desc-status): New function.
7841 (package-menu--refresh): New function, extracted
7842 from package-menu--generate.
7843 (package-menu--generate): Use it.
7844 (package-delete): Update package-alist.
7845 (package-menu-execute): Don't call package-initialize.
7847 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7848 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7849 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7850 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7851 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7852 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7854 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7856 * window.el (window--state-get-1): Workaround for bug#14527.
7857 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7859 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7861 * net/eww.el (eww-back-url): Implement the history by stashing all
7862 the data into a list.
7863 (eww-forward-url): Allow going forward in the history, too.
7865 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7867 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7868 for values and use read--expression for expressions (bug#14710).
7869 (read-file-local-variable): Avoid setq.
7870 (read-file-local-variable-mode): Use minor-mode-list.
7872 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7874 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7877 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7879 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7880 Update imenu-support when dialect changes.
7882 2013-06-25 Leo Liu <sdl.web@gmail.com>
7884 * ido.el (ido-read-internal): Allow forward slash on windows.
7886 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7888 * net/eww.el (eww): Start of strings is \\`, not ^.
7890 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7892 * net/shr.el (shr-browse-url): Fix interactive spec.
7894 * net/eww.el (eww): Add a trailing slash to domain names.
7896 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7898 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7900 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7902 * net/shr.el (shr-browse-url): Use an external browser if given a
7905 * net/eww.el (eww-external-browser): Move to shr.
7907 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7909 * net/eww.el (eww): Work more correctly for file: URLs.
7910 (eww-detect-charset): Allow quoted charsets.
7911 (eww-yank-page-url): New command and keystroke.
7913 2013-06-24 Daiki Ueno <ueno@gnu.org>
7915 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7916 file name of gpg executable.
7917 (epg-context-program): New function.
7918 (epg-context-home-directory): New function.
7919 (epg-context-set-program): New function.
7920 (epg-context-set-home-directory): New function.
7921 (epg--start): Use `epg-context-program' instead of
7923 (epg--list-keys-1): Likewise.
7925 2013-06-24 Leo Liu <sdl.web@gmail.com>
7927 * ido.el (ido-read-internal): Fix bug#14620.
7929 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7931 * faces.el (face-documentation): Simplify.
7932 (read-face-attribute, tty-find-type, x-resolve-font-name):
7933 Use `string-match-p'.
7934 (list-faces-display): Use `string-match-p'. Simplify.
7935 (face-spec-recalc): Check face to avoid face alias loops.
7936 (read-color): Use `string-match-p' and non-capturing parenthesis.
7938 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7940 * net/shr.el (shr-rescale-image): Use the new
7941 :max-width/:max-height functionality.
7943 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7945 * net/eww.el (eww-search-prefix): New variable.
7947 (eww-external-browser): New variable.
7948 (eww-mode-map): New keystroke.
7949 (eww-browse-with-external-browser): New command.
7951 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7953 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7955 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7956 Don't skip aligning the next header field when padding is 0;
7957 otherwise, field width is not respected unless the title is as
7960 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7962 * emacs-lisp/package.el (package-el-version): Remove.
7963 (package-process-define-package): Fix inf-loop.
7964 (package-install): Allow symbols as arguments again.
7966 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7968 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7969 add some more keyword-like methods.
7970 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7972 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7974 * bs.el (bs-buffer-show-mark): Make defvar-local.
7975 (bs-mode): Use setq-local.
7977 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7978 (emacs-lock--try-unlocking): Make defvar-local.
7980 2013-06-22 Glenn Morris <rgm@gnu.org>
7982 * play/cookie1.el (cookie-apropos): Minor simplification.
7984 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7986 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7988 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7989 `regexp-opt', it breaks the build during dumping.
7991 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7993 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7994 Highlight keyword-like methods on Kernel and Module with
7995 font-lock-builtin-face.
7996 (auto-mode-alist): Consolidate different entries into one regexp
7997 and add more *file-s.
7999 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8001 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8003 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8004 (diary-entry): Use it in the action of this button type instead of
8007 * calendar/todo-mode.el: New version.
8008 (todo-add-category): Append new category to end of file and give
8009 it the highest number, instead of putting it at the beginning and
8010 giving it 0. Incorporate noninteractive functionality.
8011 (todo-forward-category): Adapt to 1-based category numbering.
8012 Allow skipping over archived categories.
8013 (todo-backward-category): Derive from todo-forward-category.
8014 (todo-backward-item, todo-forward-item): Make noninteractive and
8015 delegate interactive part to new commands. Make sensitive to done items.
8016 (todo-categories): Make value an alist of category names and
8017 vectors of item counts.
8018 (todo-category-beg): Make a defconst.
8019 (todo-category-number): Use 1 instead of 0 as initial value.
8020 (todo-category-select): Make sensitive to overlays, optional item
8021 highlighting and done items.
8022 (todo-delete-item): Make sensitive to overlays and marked and done items.
8023 (todo-edit-item): Make sensitive to overlays and editing of
8024 date/time header optional. Add format checks.
8025 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8026 no-op if point is not on an item. Advertise using todo-edit-quit.
8027 (todo-edit-mode): Make sensitive to new format, font-locking, and
8028 multiple todo files.
8029 (todo-insert-item, todo-insert-item-here): Derive from
8030 todo-basic-insert-item and extend functionality.
8031 (todo-item-end, todo-item-start): Make sensitive to done items.
8032 (todo-item-string): Don't return text properties. Restore point.
8033 (todo-jump-to-category): Make sensitive to multiple todo files and
8034 todo archives. Use extended category completion.
8035 (todo-lower-item, todo-raise-item): Rename to *-priority and
8036 derive from todo-set-item-priority.
8037 (todo-mode): Derive from special-mode. Make sensitive to new
8038 format, font-locking and multiple todo files. Make read-only.
8039 (todo-mode-map): Don't suppress digit keys, so they can supply
8040 prefix arguments. Add many new key bindings.
8041 (todo-prefix): Insert as an overlay instead of file text.
8042 Change semantics from diary date expression to purely visual mark.
8043 (todo-print): Rename to todo-print-buffer. Make buffer display
8044 features printable. Remove option to restrict number of items
8045 printed. Add option to print to file.
8046 (todo-print-function): Rename to todo-print-buffer-function.
8047 (todo-quit): Extend to handle exiting new todo modes.
8048 (todo-remove-item): Make sensitive to overlays.
8049 (todo-save): Extend to buffers of filtered items.
8050 (todo-show): Make sensitive to done items, multiple todo files and
8051 new todo modes. Offer to convert legacy todo file before creating
8052 first new todo file.
8053 (todo-show-priorities): Rename to todo-top-priorities.
8054 Change semantics of value 0.
8055 (todo-top-priorities): Rename to todo-filter-top-priorities,
8056 derive from todo-filter-items and extend functionality.
8057 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8058 and extend functionality to other types of filtered items.
8059 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8060 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8061 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8062 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8063 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8064 (todo-edit-mode-hook, todo-entry-prefix-function)
8065 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8066 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8067 (todo-initials, todo-insert-threshold, todo-item-string-start)
8068 (todo-line-string, todo-menu, todo-mode-hook)
8069 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8070 (todo-print-priorities, todo-remove-separator)
8071 (todo-save-top-priorities-too, todo-string-count-lines)
8072 (todo-string-multiline-p, todo-time-string-format)
8073 (todo-tmp-buffer-name): Remove.
8074 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8075 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8076 (todo-edit-category-diary-inclusion)
8077 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8078 (todo-edit-file, todo-edit-item-date-day)
8079 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8080 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8081 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8082 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8083 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8084 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8085 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8086 (todo-filter-top-priorities-multifile, todo-find-archive)
8087 (todo-find-filtered-items-file, todo-go-to-source-item)
8088 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8089 (todo-jump-to-archive-category, todo-lower-category)
8090 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8091 (todo-move-category, todo-move-item, todo-next-button)
8092 (todo-next-item, todo-padded-string, todo-powerset)
8093 (todo-previous-button, todo-previous-item)
8094 (todo-print-buffer-to-file, todo-raise-category)
8095 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8096 (todo-set-category-number, todo-set-item-priority)
8097 (todo-set-top-priorities-in-category)
8098 (todo-set-top-priorities-in-file, todo-show-categories-table)
8099 (todo-sort-categories-alphabetically-or-numerically)
8100 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8101 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8102 (todo-toggle-item-header, todo-toggle-item-highlighting)
8103 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8104 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8105 (todo-unarchive-items, todo-unmark-category): New commands.
8106 (todo-absolute-file-name, todo-add-to-buffer-list)
8107 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8108 (todo-basic-insert-item, todo-category-completions)
8109 (todo-category-number, todo-category-string-matcher-1)
8110 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8111 (todo-check-format, todo-clear-matches)
8112 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8113 (todo-current-category, todo-date-string-matcher)
8114 (todo-define-insertion-command, todo-diary-expired-matcher)
8115 (todo-diary-goto-entry, todo-diary-item-p)
8116 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8117 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8118 (todo-done-item-section-p, todo-done-separator)
8119 (todo-done-string-matcher, todo-files, todo-filter-items)
8120 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8121 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8122 (todo-insert-category-line, todo-insert-item-from-calendar)
8123 (todo-insert-sort-button, todo-insert-with-overlays)
8124 (todo-insertion-command-name, todo-insertion-key-bindings)
8125 (todo-label-to-key, todo-longest-category-name-length)
8126 (todo-make-categories-list, todo-mode-external-set)
8127 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8128 (todo-modes-set-3, todo-multiple-filter-files)
8129 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8130 (todo-read-category, todo-read-date, todo-read-dayname)
8131 (todo-read-file-name, todo-read-time)
8132 (todo-reevaluate-category-completions-files-defcustom)
8133 (todo-reevaluate-default-file-defcustom)
8134 (todo-reevaluate-filelist-defcustoms)
8135 (todo-reevaluate-filter-files-defcustom)
8136 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8137 (todo-reset-done-separator, todo-reset-done-separator-string)
8138 (todo-reset-done-string, todo-reset-global-current-todo-file)
8139 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8140 (todo-reset-prefix, todo-set-categories)
8141 (todo-set-date-from-calendar, todo-set-show-current-file)
8142 (todo-set-top-priorities, todo-short-file-name)
8143 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8144 (todo-total-item-counts, todo-update-buffer-list)
8145 (todo-update-categories-display, todo-update-categories-sexp)
8146 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8148 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8150 (todo-categories, todo-display, todo-edit, todo-faces)
8151 (todo-filtered): New defgroups.
8152 (todo-archived-only, todo-button, todo-category-string, todo-date)
8153 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8154 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8155 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8156 (todo-add-item-if-new-category, todo-always-add-time-string)
8157 (todo-categories-align, todo-categories-archived-label)
8158 (todo-categories-category-label, todo-categories-diary-label)
8159 (todo-categories-done-label, todo-categories-number-separator)
8160 (todo-categories-todo-label, todo-categories-totals-label)
8161 (todo-category-completions-files, todo-completion-ignore-case)
8162 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8163 (todo-done-separator-string, todo-done-string)
8164 (todo-files-function, todo-filter-done-items, todo-filter-files)
8165 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8166 (todo-initial-category, todo-initial-file, todo-item-mark)
8167 (todo-legacy-date-time-regexp, todo-mode-line-function)
8168 (todo-nondiary-marker, todo-number-prefix)
8169 (todo-print-buffer-function, todo-show-current-file)
8170 (todo-show-done-only, todo-show-first, todo-show-with-done)
8171 (todo-skip-archived-categories, todo-top-priorities-overrides)
8172 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8173 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8175 (todo-category-done, todo-date-pattern, todo-date-string-start)
8176 (todo-diary-items-buffer, todo-done-string-start)
8177 (todo-filtered-items-buffer, todo-item-start)
8178 (todo-month-abbrev-array, todo-month-name-array)
8179 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8180 (todo-top-priorities-buffer): New defconsts.
8181 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8182 (todo-categories-with-marks, todo-category-string-face)
8183 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8184 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8185 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8186 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8187 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8188 (todo-font-lock-keywords, todo-global-current-todo-file)
8189 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8190 (todo-insertion-commands-args)
8191 (todo-insertion-commands-args-genlist)
8192 (todo-insertion-commands-names, todo-insertion-map)
8193 (todo-key-bindings-t, todo-key-bindings-t+a)
8194 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8195 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8196 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8197 (todo-visited): New variables.
8199 2013-06-21 Glenn Morris <rgm@gnu.org>
8201 * play/cookie1.el (cookie-apropos): Add optional display argument.
8202 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8203 (psychoanalyze-pinhead): Use cookie-doctor.
8205 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8207 * emacs-lisp/package.el (tar-get-file-descriptor)
8208 (tar--extract): Declare.
8210 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8212 Extend flymake's warning predicate to be a function (bug#14217).
8213 * progmodes/flymake.el (flymake-warning-predicate): New.
8214 (flymake-parse-line): Use it.
8215 (flymake-warning-re): Make obsolete alias to
8216 `flymake-warning-predicate'.
8218 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8220 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8221 (package-obsolete-list): Remove.
8222 (package-activate): Remove min-version argument. Add `force' argument.
8223 Adjust to new package-alist format.
8224 (package-mark-obsolete): Remove.
8225 (package-unpack): Force reload of the package's autoloads.
8226 (package-installed-p): Check builtins if the installed package is not
8228 (package-initialize): Don't reset package-obsolete-list.
8229 Don't specify which package version to activate.
8230 (package-process-define-package, describe-package-1)
8231 (package-menu--generate): Adjust to new package-alist format.
8233 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8235 * allout-widgets.el (allout-widgets-mode-off)
8236 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8237 (allout-widgets-post-command-business)
8238 (allout-widgets-after-copy-or-kill-function)
8239 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8240 (allout-decorate-item-and-context)
8241 (allout-graphics-modification-handler): Fix typos in docstrings.
8242 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8244 * cmuscheme.el (scheme-start-file): Doc fix.
8245 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8246 (scheme-input-filter): Use `string-match-p'.
8248 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8250 * dired-x.el: Use Dired consistently in docstrings.
8252 * dired.el: Use Dired consistently in docstrings.
8253 (dired-readin, dired-mode): Use `setq-local'.
8254 (dired-switches-alist): Make defvar-local.
8255 (dired-buffers-for-dir): Use `zerop'.
8256 (dired-safe-switches-p, dired-switches-escape-p)
8257 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8258 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8259 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8260 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8261 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8262 (dired-toggle-marks, dired-mark-files-containing-regexp)
8263 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8264 (dired-flag-auto-save-files, dired-flag-backup-files):
8266 (dired-mark-files-regexp, dired-build-subdir-alist):
8267 Use `string-match-p', `looking-at-p'.
8269 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8270 (direct-print-region-helper): Use `string-match-p'.
8272 2013-06-21 Leo Liu <sdl.web@gmail.com>
8274 * comint.el (comint-redirect-results-list-from-process):
8277 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8279 * net/eww.el (eww-update-header-line-format): Quote % characters.
8281 2013-06-21 Glenn Morris <rgm@gnu.org>
8283 * play/cookie1.el (cookie): New custom group.
8284 (cookie-file): New option.
8285 (cookie-check-file): New function.
8286 (cookie): Make it interactive. Make start and end messages optional.
8287 Interactively, display the result. Default to cookie-file.
8288 (cookie-insert): Default to cookie-file.
8289 (cookie-snarf): Make start and end messages optional.
8290 Default to cookie-file. Use with-temp-buffer.
8291 (cookie-read): Rename from read-cookie.
8292 Make start and end messages optional. Default to cookie-file.
8293 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8295 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8296 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8298 2013-06-21 Leo Liu <sdl.web@gmail.com>
8300 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8302 2013-06-21 Glenn Morris <rgm@gnu.org>
8304 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8306 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8307 Daniel Hackney <dan@haxney.org>
8309 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8310 Consolidate the single-file vs tarball code.
8311 (package-desc-suffix): New function.
8312 (package-desc-full-name): Don't bother inlining it.
8313 (package-load-descriptor): Return the new package-desc.
8314 (package-mark-obsolete): Remove unused arg `package'.
8315 (package-unpack): Make it work for single files as well.
8316 Make it update package-alist.
8317 (package--make-autoloads-and-stuff): Rename from
8318 package--make-autoloads-and-compile. Don't compile any more.
8319 (package--compile): New function.
8320 (package-generate-description-file): New function, extracted from
8321 package-unpack-single.
8322 (package-unpack-single): Remove.
8323 (package--with-work-buffer): Add indentation and debugging info.
8324 (package-download-single): Remove.
8325 (package-install-from-archive): Rename from package-download-tar, make
8326 it take a pkg-desc, and make it work for single files as well.
8327 (package-download-transaction): Simplify.
8328 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8329 external tar program.
8330 (package-install-from-buffer): Remove `pkg-desc' argument.
8331 Use package-tar-file-info for tar-mode buffers.
8332 (package-install-file): Simplify accordingly.
8333 (package-archive-base): Change to take a pkg-desc.
8334 * tar-mode.el (tar--check-descriptor): New function, extracted from
8336 (tar-get-descriptor): Use it.
8337 (tar-get-file-descriptor): New function.
8338 (tar--extract): New function, extracted from tar-extract.
8339 (tar--extract): Use it.
8340 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8341 case the summary uses non-ascii. Adjust to new calling convention of
8342 package-tar-file-info.
8344 2013-06-21 Leo Liu <sdl.web@gmail.com>
8346 * comint.el (comint-redirect-results-list-from-process):
8347 Fix random delay. (Bug#14681)
8349 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8351 * profiler.el (profiler-format-number): Use log, not log10.
8353 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8355 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8357 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8359 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8360 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8362 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8363 (AUTOGENEL): ... here.
8364 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8365 (cl--defsubst-expand): Use it.
8367 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8369 * subr.el (log10): Move here from C code, and declare as obsolete.
8370 All uses of (log10 X) replaced with (log X 10).
8372 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8374 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8375 Declare with `defvar-local'.
8376 (tabulated-list-use-header-line, tabulated-list-entries)
8377 (tabulated-list-padding, tabulated-list-printer)
8378 (tabulated-list-sort-key): Declare with `defvar-local'.
8379 (tabulated-list-init-header, tabulated-list-print-fake-header):
8382 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8384 * arc-mode.el (archive-mode): Add `archive-write-file' to
8385 `write-contents-functions' also for remote files. (Bug#14652)
8387 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8389 * cus-edit.el (custom-commands): Fix typos.
8390 (custom-display): Fix tooltip text.
8391 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8392 Fix typos in docstrings.
8393 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8394 (custom-unlispify-menu-entry, custom-magic-value-create)
8395 (custom-add-see-also, custom-group-value-create): Use ?\s.
8396 (custom-guess-type, customize-apropos, editable-field)
8397 (custom-face-value-create): Use `string-match-p'.
8398 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8400 * custom.el (custom-load-symbol): Use `string-match-p'.
8402 * ansi-color.el: Convert to lexical binding.
8403 (ansi-colors): Fix URL.
8404 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8405 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8406 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8408 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8410 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8412 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8414 2013-06-19 Tom Tromey <tromey@redhat.com>
8416 * net/eww.el (eww-top-url): Remove.
8417 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8418 (eww-render): Set new variables. Don't set eww-top-url.
8419 (eww-handle-link): Handle "prev", "home", and "contents".
8420 Downcase the rel text.
8421 (eww-top-url): Choose best top URL.
8423 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8425 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8426 relying in widget.el. Using widget.el leads to too many
8427 user interface inconsistencies.
8428 (eww-self-insert): Implement entering commands in text fields.
8429 (eww-process-text-input): New function to make text input field editing
8431 (eww-submit): Rewrite to use the new-style form methods.
8432 (eww-select-display): Display the correct selected item.
8433 (eww-change-select): Implement changing the select value.
8434 (eww-toggle-checkbox): Implement radio/checkboxes.
8435 (eww-update-field): Fix compilation error.
8436 (eww-tag-textarea): Implement <textarea>.
8438 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8439 we don't shadow mode-specific bindings.
8441 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8444 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8446 2013-06-19 Glenn Morris <rgm@gnu.org>
8448 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8450 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8452 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8455 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8457 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8459 * net/browse-url.el (browse-url-browser-function):
8460 `eww-browse-url' has the right calling signature, `eww' does not.
8462 2013-06-19 Glenn Morris <rgm@gnu.org>
8464 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8465 Only eval autoloaded macros.
8466 (byte-compile-autoload): Only give the macro warning for macros.
8468 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8469 (ps-underlined-faces): Declare.
8471 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8472 (speedbar-add-supported-extension): Declare.
8474 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8475 Don't include a date stamp in the header of the generated file;
8476 it leads to needless differences between output files.
8478 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8480 * net/secrets.el (secrets-struct-secret-content-type):
8481 Replace check of introspection data by a test call of "CreateItem".
8482 Some servers do not offer introspection.
8484 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8486 * electric.el (electric-pair-mode): Improve interaction with
8487 electric-layout-mode.
8488 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8489 (electric-pair-syntax): Use text-mode-syntax-table in comments
8491 (electric-pair--insert): New function.
8492 (electric-pair-post-self-insert-function): Use it and
8493 electric--after-char-pos.
8495 2013-06-19 Leo Liu <sdl.web@gmail.com>
8497 * progmodes/octave.el (octave-help): Fix regexp.
8499 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8501 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8502 (shr-table-horizontal-line): Allow nil as a value, and change the
8504 (shr-insert-table-ruler): Respect the nil value.
8506 2013-06-18 Tom Tromey <tromey@barimba>
8508 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8510 (eww-open-file): New defun.
8511 (eww-render): Initialize new variables.
8512 (eww-display-html): Handle "link" and "a".
8513 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8514 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8515 (eww-back-url): Rename from eww-previous-url.
8516 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8519 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8521 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8522 Distinguish ternary operator tokens from slash symbol and slash
8525 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8527 Convert symbol prettification into minor mode and global minor mode.
8529 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8530 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8531 (prettify-symbols--keywords): Rename from
8532 `prog-prettify-symbols-alist' and make a local defvar.
8533 (prettify-symbols--compose-symbol): Rename from
8534 `prog--prettify-font-lock-compose-symbol'.
8535 (prettify-symbols--make-keywords): Rename from
8536 `prog-prettify-font-lock-symbols-keywords' and simplify.
8537 (prog-prettify-install): Remove.
8538 (prettify-symbols-mode): New minor mode, based on
8539 `prog-prettify-install'.
8540 (turn-on-prettify-symbols-mode): New function.
8541 (global-prettify-symbols-mode): New globalized minor mode.
8543 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8544 * progmodes/cfengine.el (cfengine3-mode):
8545 * progmodes/perl-mode.el (perl-mode): Don't call
8546 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8548 2013-06-18 Juri Linkov <juri@jurta.org>
8550 * files-x.el (modify-file-local-variable-message): New function.
8551 (modify-file-local-variable)
8552 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8553 and call `modify-file-local-variable-message' when it's non-nil.
8554 (add-file-local-variable, delete-file-local-variable)
8555 (add-file-local-variable-prop-line)
8556 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8557 and use it. (Bug#9820)
8559 2013-06-18 Juri Linkov <juri@jurta.org>
8561 * emulation/vi.el (vi-shell-op):
8562 * emulation/vip.el (vip-execute-com, ex-command):
8563 * emulation/viper-cmd.el (viper-exec-bang):
8564 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8565 the call of `shell-command-on-region'. (Bug#14637)
8567 * simple.el (shell-command-on-region): Doc fix.
8569 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8571 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8574 2013-06-18 Glenn Morris <rgm@gnu.org>
8576 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8578 * newcomment.el (comment-search-forward, comment-search-backward):
8579 Doc fix. (Bug#14376)
8581 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8583 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8584 (buffer-face-mode-invoke): Doc fix.
8586 2013-06-18 Matthias Meulien <orontee@gmail.com>
8588 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8589 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8591 2013-06-18 Glenn Morris <rgm@gnu.org>
8593 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8594 Replace obsolete function generic-make-keywords with its expansion.
8596 * progmodes/python.el (ffap-alist): Declare.
8598 * textmodes/reftex.el (bibtex-mode-map): Declare.
8600 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8602 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8603 (package-unpack, package-unpack-single): Return the pkg-dir.
8604 (package-download-transaction): Use it to update package-alist.
8606 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8608 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8611 2013-06-17 Juri Linkov <juri@jurta.org>
8613 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8615 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8617 * emacs-lisp/package.el (package-load-descriptor):
8618 Remove `with-syntax-table' call, `read' doesn't need it.
8619 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8621 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8623 * startup.el (command-line): Expand package name returned by
8624 `package--description-file' (bug#14639).
8626 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8628 * emacs-lisp/package.el (package-load-descriptor): Do not call
8629 `emacs-lisp-mode', just use its syntax table.
8631 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8633 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8634 `font-lock-extra-managed-props' if any prettifying keyword is added.
8635 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8636 (prog-mode): Use `setq-local'.
8638 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8640 * international/characters.el (standard-case-table): Set syntax of ?»
8641 and ?« to punctuation.
8643 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8645 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8646 Save relevant match data before calling `syntax-ppss' (bug#14595).
8648 2013-06-15 Juri Linkov <juri@jurta.org>
8650 * files-x.el (modify-file-local-variable-prop-line): Add local
8651 variables to the end of the existing comment on the first line.
8652 Use `file-auto-mode-skip' to skip interpreter magic line,
8653 and also skip XML declaration.
8655 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8657 * startup.el (package--builtin-versions): New var.
8658 (package-subdirectory-regexp): Remove.
8659 (package--description-file): Hard code its value instead.
8661 * emacs-lisp/package.el: Don't activate packages older than builtin.
8662 (package-obsolete-list): Rename from package-obsolete-alist, and make
8663 it into a simple list of package-desc.
8664 (package-strip-version): Remove.
8665 (package-built-in-p): Use package--builtin-versions.
8666 (package-mark-obsolete): Simplify.
8667 (package-process-define-package): Mark it obsolete if older than the
8669 (package-handle-response): Use line-end-position.
8670 (package-read-archive-contents, package--download-one-archive):
8672 (package--add-to-archive-contents): Skip if older than the builtin or
8674 (package-menu-describe-package): Fix last change.
8675 (package-list-unversioned): New var.
8676 (package-menu--generate): Use it.
8678 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8679 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8680 (autoload-builtin-package-versions): New variable.
8681 (autoload-generate-file-autoloads): Use them.
8682 Remove the list of autoloaded functions/macros from the
8683 (autoload...) comments.
8685 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8687 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8689 * simple.el (line-move-partial): Don't jump to the next screen
8690 line as soon as it becomes visible. Instead, continue enlarging
8691 the vscroll until the portion of a tall screen line that's left on
8692 display is about the height of the frame's default font.
8695 2013-06-15 Glenn Morris <rgm@gnu.org>
8697 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8698 compilation-error-regexp-alist void, or local while let-bound.
8700 * progmodes/make-mode.el (makefile-mode-syntax-table):
8701 Treat "=" as punctuation. (Bug#14614)
8703 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8705 * help-fns.el (describe-variable):
8706 Add extra line for permanent-local variables.
8708 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8710 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8711 Add export, import, library. (Bug#9164)
8712 (library): Set indent function.
8714 2013-06-14 Glenn Morris <rgm@gnu.org>
8716 * term/xterm.el (xterm--query):
8717 Stop after first matching handler. (Bug#14615)
8719 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8721 Add support for dired in saveplace.
8722 * dired.el (dired-initial-position-hook): New variable.
8723 (dired-initial-position): Call hook to place cursor position.
8724 * saveplace.el (save-place-to-alist): Add dired position.
8725 (save-place-dired-hook): New function.
8727 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8729 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8730 through a symbol rather than letrec.
8732 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8733 (package-desc): Add `dir' field.
8734 (package-desc-full-name): New function.
8735 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8736 (package-maybe-load-descriptor): Remove.
8737 (package-load-all-descriptors): Just call package-load-descriptor.
8738 (package--disabled-p): New function.
8739 (package-desc-vers, package-desc-doc): Remove aliases.
8740 (package--dir): Remove function.
8741 (package-activate): Check if a package is disabled.
8742 (package-process-define-package): New function, extracted from
8744 (define-package): Turn into a place holder.
8745 (package-unpack-single, package-tar-file-info):
8746 Use package--description-file.
8747 (package-compute-transaction): Use package--disabled-p.
8748 (package-download-transaction): Don't call
8749 package-maybe-load-descriptor since they're all loaded anyway.
8750 (package-install): Change argument to be a pkg-desc.
8751 (package-delete): Use a single pkg-desc argument.
8752 (describe-package-1): Use package-desc-dir instead of package--dir.
8753 Use package-desc property instead of package-symbol.
8754 (package-install-button-action): Adjust accordingly.
8755 (package--push): Rewrite.
8756 (package-menu--print-info): Adjust accordingly. Change the ID format
8758 (package-menu-describe-package, package-menu-get-status)
8759 (package-menu--find-upgrades, package-menu-mark-upgrades)
8760 (package-menu-execute, package-menu--name-predicate):
8762 * startup.el (package--description-file): New function.
8763 (command-line): Use it.
8764 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8765 Use package-desc-version.
8767 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8768 (byte-compile-preprocess): Use it.
8769 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8770 can't quite recognize.
8771 (byte-compile-add-to-list): Remove.
8772 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8773 (cconv-closure-convert): Add assertion.
8775 * emacs-lisp/map-ynp.el: Use lexical-binding.
8776 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8777 Factor out some repeated code.
8779 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8781 * subr.el (with-eval-after-load): New macro.
8782 (eval-after-load): Allow form to be a function.
8783 take advantage of lexical-binding.
8784 (do-after-load-evaluation): Use dolist and adjust to new format.
8785 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8787 2013-06-13 Juri Linkov <juri@jurta.org>
8789 * replace.el (perform-replace): Display "symbol " and other search
8790 modes from `isearch-message-prefix' in the *Help* buffer.
8792 * isearch.el (isearch-query-replace): Add " symbol" and other
8793 possible search modes from `isearch-message-prefix' to the prompt.
8794 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8795 when reading a regexp to collect.
8797 2013-06-13 Juri Linkov <juri@jurta.org>
8799 * isearch.el (word-search-regexp): Match whitespace if the search
8800 string begins or ends in whitespace. The LAX arg is applied to
8801 both ends of the search string. Use `regexp-quote' and explicit
8802 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8803 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8804 boundaries are replaced with symbol boundaries, and characters
8805 between symbols match non-word non-symbol syntax. (Bug#14602)
8807 2013-06-13 Juri Linkov <juri@jurta.org>
8809 * isearch.el (isearch-del-char): Don't exceed the length of
8810 `isearch-string' by the prefix arg. (Bug#14563)
8812 2013-06-13 Juri Linkov <juri@jurta.org>
8814 * isearch.el (isearch-yank-word, isearch-yank-line)
8815 (isearch-char-by-name, isearch-quote-char)
8816 (isearch-printing-char, isearch-process-search-char):
8817 Add optional count prefix arg. (Bug#14563)
8819 * international/isearch-x.el
8820 (isearch-process-search-multibyte-characters):
8821 Add optional count prefix arg.
8823 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8825 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8826 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8829 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8831 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8833 2013-06-13 Glenn Morris <rgm@gnu.org>
8835 * startup.el (tty-handle-args):
8836 Don't just discard "--" and anything after. (Bug#14608)
8838 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8840 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8842 Implement changes in Secret Service API. Make it backward compatible.
8843 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8844 (secrets-create-item): Use it. Prefix properties with interface.
8846 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8848 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8849 (term-emulate-terminal): Respect term-suppress-hard-newline.
8851 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8853 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8854 Only remove a `thumb-file' overlay. (Bug#14548)
8856 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8858 * mail/reporter.el (reporter-submit-bug-report):
8859 Handle missing package-name. (Bug#14600)
8861 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8863 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8864 (reftex-citation-prompt, reftex-default-bibliography)
8865 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8866 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8867 (reftex-bib-sort-author, reftex-bib-sort-year)
8868 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8869 (reftex-extract-bib-entries-from-thebibliography)
8870 (reftex-get-bibkey-default, reftex-get-bib-names)
8871 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8872 (reftex-format-bib-entry, reftex-parse-bibitem)
8873 (reftex-format-bibitem, reftex-do-citation)
8874 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8875 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8876 (reftex-insert-bib-matches, reftex-format-citation)
8877 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8878 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8879 existing comments into docstrings.
8881 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8883 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8885 2013-06-12 Andreas Schwab <schwab@suse.de>
8887 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8888 for auto-save files.
8890 2013-06-12 Glenn Morris <rgm@gnu.org>
8892 * ido.el (ido-delete-ignored-files): Remove.
8893 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8894 Go back to calling ido-ignore-item-p directly.
8896 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8898 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8900 * ido.el (ido-delete-ignored-files): New function,
8901 split from ido-make-file-list-1.
8902 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8903 (ido-make-file-list-1): Use ido-delete-ignored-files.
8905 2013-06-12 Leo Liu <sdl.web@gmail.com>
8907 * progmodes/octave.el (inferior-octave-startup)
8908 (inferior-octave-completion-table)
8909 (inferior-octave-track-window-width-change)
8910 (octave-eldoc-function-signatures, octave-help)
8911 (octave-find-definition): Use single quoted strings.
8912 (inferior-octave-startup-args): Change default value.
8913 (inferior-octave-startup): Do not hard code "-i" and
8914 "--no-line-editing".
8915 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8916 (inferior-octave-directory-tracker): Use it.
8917 (octave-goto-function-definition): Robustify.
8918 (octave-help): Support highlighting operators in 'See also'.
8919 (octave-find-definition): Find subfunctions only in Octave mode.
8921 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8923 * help-fns.el (help-fns--compiler-macro): If the handler function is
8924 named, then put a link to it.
8925 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8926 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8928 (cl-eval-when): Simplify debug spec.
8929 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8930 compiler-macro function instead of setting `compiler-macro-file'.
8932 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8934 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8935 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8937 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8938 Daniel Hackney <dan@haxney.org>
8940 First part of Daniel Hackney's patch to package.el.
8941 * emacs-lisp/package.el: Use defstruct.
8942 (package-desc): New, main struct.
8943 (package--bi-desc, package--ac-desc): New structs, used to describe the
8944 format in external files.
8945 (package-desc-vers): Replace with package-desc-version accessor.
8946 (package-desc-doc): Replace with package-desc-summary accessor.
8947 (package-activate-1): Remove `package' arg since the pkg-vec now
8949 (define-package): Use package-desc-from-define.
8950 (package-unpack-single): Change file-name arg to be a symbol.
8951 (package--add-to-archive-contents): Use package-desc-create and new
8952 accessor functions to package--ac-desc.
8953 (package-buffer-info, package-tar-file-info): Return a package-desc.
8954 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8955 arg to be a package-desc.
8956 (package-install-file): Adjust accordingly. Use \' to match EOS.
8957 (package--from-builtin): New function.
8958 (describe-package-1, package-menu--generate): Use it.
8959 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8960 (package-generate-autoloads): Idem and return the name of the file.
8961 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8962 Change pkg-info arg to be a package-desc.
8963 Use package-make-ac-desc.
8964 (package-upload-file): Use \' to match EOS.
8965 * finder.el (finder-compile-keywords): Use package-make-builtin.
8967 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8969 * vc/vc.el (vc-deduce-fileset): Change error message.
8970 (vc-read-backend): New function.
8971 (vc-next-action): Use it.
8973 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8975 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8976 (prolog-font-lock-keywords): Use regexp-opt instead.
8977 Don't manually highlight strings.
8978 (prolog-mode-variables): Simplify comment-start-skip.
8979 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8981 * emacs-lisp/generic.el (generic--normalise-comments)
8982 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8983 (generic-mode-set-comments): Use them.
8984 (generic-bracket-support): Use setq-local.
8985 (generic-make-keywords-list): Declare obsolete.
8987 2013-06-11 Glenn Morris <rgm@gnu.org>
8989 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8990 Prettify after setting font-lock-defaults. (Bug#14574)
8992 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8994 * replace.el (query-replace, occur-read-regexp-defaults-function)
8996 * subr.el (declare-function, number-sequence, local-set-key)
8997 (substitute-key-definition, locate-user-emacs-file)
8998 (with-silent-modifications, split-string, eval-after-load):
8999 Fix typos, remove unneeded backslashes and reflow some docstrings.
9001 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9003 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9004 default for Elisp files.
9006 2013-06-11 Glenn Morris <rgm@gnu.org>
9008 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9009 although define-derived-mode was doing this anyway. (Bug#14583)
9011 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9013 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9014 Fix make-variable-buffer-local call to refer to the correct variable.
9016 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9018 * eshell/em-term.el (eshell-visual-commands)
9019 (eshell-visual-subcommands, eshell-visual-options):
9020 Add summary line to docstrings. Add cross-references.
9022 2013-06-10 Glenn Morris <rgm@gnu.org>
9024 * epa.el (epa-read-file-name): New function. (Bug#14510)
9025 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9027 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9029 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9030 output redirection to be ignored with visual commands.
9032 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9034 * eshell/em-term.el (eshell-visual-command-p): New function.
9035 (eshell-term-initialize): Move long lambda to separate function
9036 eshell-visual-command-p.
9037 * eshell/em-dirs.el (eshell-dirs-initialise):
9038 * eshell/em-script.el (eshell-script-initialize):
9039 Add missing #' to lambda.
9041 2013-06-08 Leo Liu <sdl.web@gmail.com>
9043 * progmodes/octave.el (octave-add-log-current-defun): New function.
9044 (octave-mode): Set add-log-current-defun-function.
9045 (octave-goto-function-definition): Do not move point if not found.
9046 (octave-find-definition): Enhance to try subfunctions first.
9048 2013-06-08 Glenn Morris <rgm@gnu.org>
9050 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9051 (byte-compile-backward-char, byte-compile-backward-word):
9052 Improve previous change, to handle non-explicit nil.
9054 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9056 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9057 (smie--opener/closer-at-point): New function.
9058 (smie--matching-block-data): Use it. Don't match from right after an
9059 opener or right before a closer. Obey smie-blink-matching-inners.
9060 Don't signal a mismatch for repeated inners like "switch..case..case".
9062 2013-06-07 Leo Liu <sdl.web@gmail.com>
9064 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9066 (octave-function-header-regexp): Fix. (Bug#14570)
9067 (octave-help-mode-finish-hook, octave-help-mode-finish):
9068 Remove. Just use temp-buffer-show-hook.
9070 * newcomment.el (comment-search-backward): Revert last change.
9073 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9075 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9077 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9078 through xargs, to avoid failure due to MS-Windows limitations on
9079 command-line length.
9081 2013-06-06 Glenn Morris <rgm@gnu.org>
9083 * font-lock.el (lisp-font-lock-keywords-2):
9084 Treat user-error like error.
9086 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9087 (byte-compile-backward-char, byte-compile-backward-word):
9088 Handle explicit nil arguments. (Bug#14565)
9090 2013-06-05 Alan Mackenzie <acm@muc.de>
9092 * isearch.el (isearch-allow-prefix): New user option.
9093 (isearch-other-meta-char): Don't exit isearch when a prefix
9094 argument is typed whilst `isearch-allow-prefix' is non-nil.
9097 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9099 * autorevert.el (auto-revert-notify-handler): Use memq.
9100 Hide assertion failure.
9102 * skeleton.el: Use cl-lib.
9103 (skeleton-further-elements): Use defvar-local.
9104 (skeleton-insert): Use cl-progv.
9106 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9108 * progmodes/prog-mode.el (prog-prettify-symbols)
9109 (prog-prettify-install): Update docstrings.
9111 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9113 * simple.el: Move all the prog-mode code to prog-mode.el.
9114 * progmodes/prog-mode.el: New file.
9115 * loadup.el: Add prog-mode.el.
9117 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9119 * simple.el (prog-prettify-symbols): Add version.
9120 (prog-prettify-install): Add convenience function to prettify symbols.
9122 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9123 (perl--augmented-font-lock-keywords-1)
9124 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9125 variables and use it.
9127 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9128 (cfengine3-mode): Remove unneeded variable and use it.
9130 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9131 (lisp--augmented-font-lock-keywords-1)
9132 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9133 Remove unneeded variables and use it.
9135 2013-06-05 João Távora <joaotavora@gmail.com>
9137 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9138 to point when opening the connection. (Bug#14380)
9140 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9142 * subr.el (load-history-regexp, load-history-filename-element)
9143 (eval-after-load, after-load-functions, do-after-load-evaluation)
9144 (eval-next-after-load, display-delayed-warnings)
9145 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9146 definition of save-match-data.
9147 (overriding-local-map): Remove accidental obsolescence declaration.
9149 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9151 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9153 Generalize symbol prettify support to prog-mode and implement it
9154 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9155 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9156 (prog--prettify-font-lock-compose-symbol)
9157 (prog-prettify-font-lock-symbols-keywords): New variables and
9158 functions to support symbol prettification.
9159 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9160 (lisp--augmented-font-lock-keywords-1)
9161 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9162 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9163 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9164 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9165 Implement prettify of -> => :: strings.
9166 * progmodes/perl-mode.el (perl-prettify-symbols)
9167 (perl--font-lock-compose-symbol)
9168 (perl--font-lock-symbols-keywords): Move to prog-mode.
9169 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9170 (perl-font-lock-keywords-1)
9171 (perl-font-lock-keywords-2): Remove explicit prettify support.
9172 (perl--augmented-font-lock-keywords)
9173 (perl--augmented-font-lock-keywords-1)
9174 (perl--augmented-font-lock-keywords-2, perl-mode):
9175 Implement prettify support.
9177 2013-06-05 Leo Liu <sdl.web@gmail.com>
9179 Re-implement smie matching block highlight using
9180 show-paren-data-function. (Bug#14395)
9181 * emacs-lisp/smie.el (smie-matching-block-highlight)
9182 (smie--highlight-matching-block-overlay)
9183 (smie--highlight-matching-block-lastpos)
9184 (smie-highlight-matching-block)
9185 (smie-highlight-matching-block-mode): Remove.
9186 (smie--matching-block-data-cache): New variable.
9187 (smie--matching-block-data): New function.
9188 (smie-setup): Use smie--matching-block-data for
9189 show-paren-data-function.
9191 * progmodes/octave.el (octave-mode-menu): Fix.
9192 (octave-find-definition): Skip garbage lines.
9194 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9196 Fix compilation error with simultaneous dynamic+lexical scoping.
9197 Add warning when a defvar appears after the first let-binding.
9198 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9199 (byte-compile-close-variables): Initialize it.
9200 (byte-compile--declare-var): New function.
9201 (byte-compile-file-form-defvar)
9202 (byte-compile-file-form-define-abbrev-table)
9203 (byte-compile-file-form-custom-declare-variable): Use it.
9204 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9205 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9206 (byte-compile-bind): Handle dynamic bindings that shadow
9208 (byte-compile-unbind): Make arg non-optional.
9209 (byte-compile-let): Simplify.
9210 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9211 (cconv--analyse-function, cconv-analyse-form): Populate it.
9212 Protect byte-compile-bound-variables to limit the scope of defvars.
9213 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9214 Remove unneeded rule for `declare'.
9216 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9217 so as to avoid depending on cl-adjoin at run-time.
9218 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9220 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9221 (macroexp--warn-and-return): Use it.
9223 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9225 * subr.el: Convert to lexical binding.
9226 (overriding-local-map): Make obsolete.
9227 (add-to-list): Doc fix. Add compiler macro.
9228 (read-key): Swap values of local maps.
9230 2013-06-05 Leo Liu <sdl.web@gmail.com>
9232 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9234 2013-06-04 Leo Liu <sdl.web@gmail.com>
9236 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9237 (compilation-auto-jump): Suppress the "Mark set" message to give
9238 way to exit message.
9240 2013-06-04 Alan Mackenzie <acm@muc.de>
9242 Remove faulty optimisation from indentation calculation.
9243 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9244 search limit based on 2000 characters back from indent-point.
9246 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9248 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9250 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9252 * emacs-lisp/lisp.el: Use lexical-binding.
9253 (lisp--local-variables-1, lisp--local-variables): New functions.
9254 (lisp--local-variables-completion-table): New var.
9255 (lisp-completion-at-point): Use it complete let-bound vars.
9257 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9258 eagerly (bug#14422).
9260 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9262 * autorevert.el (auto-revert-notify-enabled)
9263 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9264 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9265 (auto-revert-notify-handler): Handle also gfilenotify.
9267 * subr.el (file-notify-handle-event): New defun. Replacing ...
9268 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9271 2013-06-03 Juri Linkov <juri@jurta.org>
9273 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9274 `M-s h .'. (Bug#14427)
9276 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9277 command `hi-lock-face-symbol-at-point'.
9278 (hi-lock-face-symbol-at-point): New command.
9279 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9280 (hi-lock-menu): Add `highlight-symbol-at-point'.
9281 (hi-lock-mode): Doc fix.
9283 * isearch.el (isearch-forward-symbol-at-point): New command.
9284 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9285 (isearch-highlight-regexp): Add a regexp which matches
9286 words/symbols for word/symbol mode.
9288 * subr.el (find-tag-default-bounds): New function with the body
9289 mostly moved from `find-tag-default'.
9290 (find-tag-default): Move most code to `find-tag-default-bounds',
9291 call it and apply `buffer-substring-no-properties' afterwards.
9293 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9295 * eshell/em-term.el (eshell-term-initialize):
9296 Use `cl-intersection' rather than `intersection'.
9298 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9300 * vc/log-view.el: Doc fix.
9301 (log-view-mode-map): Copy keymap from `special-mode-map'.
9303 2013-06-02 Eric Ludlam <zappo@gnu.org>
9305 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9306 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9307 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9308 (eieio-unbound, eieio-default-superclass)
9309 (eieio--define-field-accessors, method-static, method-before)
9310 (method-primary, method-after, method-num-lists)
9311 (method-generic-before, method-generic-primary)
9312 (method-generic-after, method-num-slots)
9313 (eieio-specialized-key-to-generic-key)
9314 (eieio--check-type, class-v, class-p)
9315 (eieio-class-name, define-obsolete-function-alias)
9316 (eieio-class-parents-fast, eieio-class-children-fast)
9317 (same-class-fast-p, class-constructor, generic-p)
9318 (generic-primary-only-p, generic-primary-only-one-p)
9319 (class-option-assoc, class-option, eieio-object-p)
9320 (class-abstract-p, class-method-invocation-order)
9321 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9322 (eieio-class-un-autoload, eieio-defclass)
9323 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9324 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9325 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9326 (eieio-defgeneric-reset-generic-form)
9327 (eieio-defgeneric-form-primary-only)
9328 (eieio-defgeneric-reset-generic-form-primary-only)
9329 (eieio-defgeneric-form-primary-only-one)
9330 (eieio-defgeneric-reset-generic-form-primary-only-one)
9331 (eieio-unbind-method-implementations)
9332 (eieio--defmethod, eieio--typep)
9333 (eieio-perform-slot-validation, eieio-validate-slot-value)
9334 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9335 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9336 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9337 (eieio-slot-name-index, eieio-class-slot-name-index)
9338 (eieio-set-defaults, eieio-initarg-to-attribute)
9339 (eieio-attribute-to-initarg, eieio-c3-candidate)
9340 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9341 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9342 (eieio-class-precedence-list, eieio-generic-call-methodname)
9343 (eieio-generic-call-arglst, eieio-generic-call-key)
9344 (eieio-generic-call-next-method-list)
9345 (eieio-pre-method-execution-functions, eieio-generic-call)
9346 (eieio-generic-call-primary-only, eieiomt-method-list)
9347 (eieiomt-optimizing-obarray, eieiomt-install)
9348 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9349 (eieio-generic-form, eieio-defmethod, make-obsolete)
9350 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9351 (defclass): Remove `eval-and-compile' from macro.
9352 (call-next-method, shared-initialize): Instead of using
9353 `scoped-class' variable, use new eieio--scoped-class, and
9354 eieio--with-scoped-class.
9355 (initialize-instance): Rename local variable 'scoped-class' to
9356 'this-class' to remove ambiguitity from old global.
9358 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9360 (eieio--scoped-class-stack): New variable.
9361 (eieio--scoped-class): New fcn.
9362 (eieio--with-scoped-class): New scoping macro.
9363 (eieio-defclass): Use pushnew instead of add-to-list.
9364 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9365 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9366 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9367 `scoped-class' variable, use new eieio--scoped-class, and
9368 eieio--with-scoped-class.
9370 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9372 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9374 * eshell/esh-ext.el (eshell-external-command): Pass args to
9375 `eshell-find-interpreter'.
9376 (eshell-find-interpreter): Add new second parameter ARGS.
9378 * eshell/em-script.el (eshell-script-initialize): Add second arg
9379 to the function added as MATCH to `eshell-interpreter-alist'.
9381 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9382 the function added as MATCH to `eshell-interpreter-alist'.
9384 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9385 (eshell-visual-options): New defcustom.
9386 (eshell-escape-control-x): Adapt docstring.
9387 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9388 `eshell-visual-options' in addition to `eshell-visual-commands'.
9389 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9391 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9393 * progmodes/python.el (python-indent-block-enders): Add break,
9394 continue and raise keywords.
9396 2013-06-01 Glenn Morris <rgm@gnu.org>
9398 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9400 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9401 * progmodes/cc-cmds.el (delete-forward-p):
9402 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9403 * progmodes/cc-engine.el (buffer-syntactic-context):
9404 * progmodes/cc-fonts.el (face-property-instance):
9405 * progmodes/cc-mode.el (set-keymap-parents):
9406 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9407 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9408 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9409 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9410 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9412 * progmodes/cc-vars.el (other): Emacs has this widget since
9413 at least 21.1, so don't (re)define it.
9415 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9416 Replace the obsolete alias pcomplete-arg-quote-list.
9418 2013-06-01 Leo Liu <sdl.web@gmail.com>
9420 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9422 (inferior-octave-minimal-columns)
9423 (inferior-octave-last-column-width): New variables.
9424 (inferior-octave-track-window-width-change): New function.
9425 (inferior-octave-mode): Adjust column width so that Octave output,
9426 for example from 'ls', can fit into the window nicely.
9428 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9430 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9431 Highlight expansions inside regexp literals.
9433 2013-05-31 Glenn Morris <rgm@gnu.org>
9435 * obsolete/sym-comp.el (symbol-complete):
9436 Replace obsolete completion-annotate-function.
9438 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9440 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9442 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9443 New function, checks if point is inside a literal that allows
9444 expression expansion.
9445 (ruby-syntax-propertize-expansion): Use it.
9446 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9449 2013-05-30 Juri Linkov <juri@jurta.org>
9451 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9453 (isearch-invisible): New variable.
9454 (isearch-forward): Doc fix.
9455 (isearch-mode): Set `isearch-invisible'
9456 to the value of `search-invisible'.
9457 (isearch-toggle-case-fold): Doc fix.
9458 (isearch-toggle-invisible): New command.
9459 (isearch-query-replace): Let-bind `search-invisible'
9460 to the value of `isearch-invisible'.
9461 (isearch-search): Use `isearch-invisible' instead of
9462 `search-invisible'. Let-bind `search-invisible'
9463 to the value of `isearch-invisible'. (Bug#11378)
9465 2013-05-30 Juri Linkov <juri@jurta.org>
9467 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9468 call when `query-flag' is nil and `search-invisible' is non-nil.
9471 2013-05-30 Glenn Morris <rgm@gnu.org>
9473 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9475 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9476 (cc-require): Suppress spurious "noruntime" warnings.
9477 (cc-require-when-compile): Use fboundp, for sake of compiler.
9479 * progmodes/cc-mode.el: Move load of cc-vars before that of
9480 cc-langs (which in turn loads cc-vars), to quieten compiler.
9482 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9484 * paren.el: Simplify the code.
9485 (show-paren-mode): Always start the timer.
9486 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9487 (show-paren--overlay, show-paren--overlay-1): Rename from
9488 show-paren-overlay and show-paren-overlay-1, and initialize to an
9489 overlay rather than to nil.
9490 (show-paren-function): Misc cleanup and simplifications.
9492 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9494 * paren.el (show-paren-data-function): New hook.
9495 (show-paren--default): New function, extracted from show-paren-function.
9496 (show-paren-function): Use show-paren-data-function.
9498 2013-05-30 Glenn Morris <rgm@gnu.org>
9500 * ielm.el (ielm-map, ielm-complete-symbol):
9501 Use completion-at-point rather than obsolete functions.
9502 (inferior-emacs-lisp-mode): Doc fix.
9503 Set completion-at-point-functions, rather than
9504 comint-dynamic-complete-functions.
9506 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9507 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9508 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9510 * image.el (image-animated-p): Tweak definition.
9512 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9513 (rlogin-process-connection-type): Tweak default. Add set-after.
9514 (rlogin-host): Doc fix.
9515 (rlogin): Tweak prompt.
9516 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9518 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9519 * progmodes/tcl.el (inferior-tcl-mode-map):
9520 Use completion-at-point rather than obsolete alias.
9522 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9524 * minibuffer.el (read-file-name-completion-ignore-case):
9525 Move before completion--in-region, for eager macro expansion.
9527 2013-05-29 Juri Linkov <juri@jurta.org>
9529 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9530 for total count of matching lines. Add `global-matches' for total
9531 count of matches. Rename `matches' to `lines' for count of
9532 matching lines. Add `matches' for count of matches.
9533 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9534 to `prev-line' for line number of prev match endpt.
9535 Increment `matches' for every match. Print the number of
9536 matching lines in the header.
9537 (occur-context-lines): Rename `lines' to `curr-line'.
9538 Rename `prev-lines' to `prev-line'. (Bug#14017)
9540 2013-05-29 Juri Linkov <juri@jurta.org>
9542 * replace.el (perform-replace): Add `skip-read-only-count',
9543 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9544 Increment them for corresponding conditions and report the number
9545 of skipped occurrences in the final message. (Bug#11746)
9546 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9547 (replace-string, replace-regexp): Doc fix.
9549 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9551 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9553 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9554 prog-mode-map (bug#14504).
9556 2013-05-29 Leo Liu <sdl.web@gmail.com>
9558 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9559 (octave-help): Small simplification.
9561 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9562 off the highlight first.
9564 2013-05-29 Glenn Morris <rgm@gnu.org>
9566 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9567 Handle idlwave-last-system-routine-info-cons-cell being nil.
9569 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9570 (idlwave-write-paths): Simplify via with-temp-buffer.
9572 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9573 * emulation/cua-rect.el: Also load cua-base at run time.
9575 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9576 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9577 (cperl-imenu-on-info): Require imenu.
9579 2013-05-28 Alan Mackenzie <acm@muc.de>
9581 Handle "capitalised keywords" correctly.
9582 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9584 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9586 * eshell/em-unix.el: Add -r option to cp.
9588 2013-05-28 Glenn Morris <rgm@gnu.org>
9590 * vc/vc-arch.el (vc-exec-after): Declare.
9591 (vc-switches): Autoload.
9592 * vc/vc-bzr.el: No need to require vc when compiling.
9593 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9594 (vc-resynch-buffer, vc-dir-refresh): Declare.
9595 (vc-setup-buffer, vc-switches): Autoload.
9596 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9597 (vc-resynch-buffer): Declare.
9598 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9599 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9600 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9601 (grep-read-regexp, grep-read-files, grep-expand-template)
9602 (vc-dir-refresh): Declare.
9603 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9604 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9605 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9606 * vc/vc-mtn.el (vc-exec-after): Declare.
9607 (vc-switches): Autoload.
9608 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9609 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9610 (vc-file-tree-walk): Declare.
9611 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9612 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9613 (vc-tag-precondition, vc-rename-master): Autoload.
9614 * vc/vc-svn.el (vc-exec-after): Declare.
9615 (vc-switches, vc-setup-buffer): Autoload.
9616 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9618 (vc-resynch-buffer): Declare.
9620 * obsolete/fast-lock.el (byte-compile-warnings):
9621 Don't warn about obsolete features in this obsolete file.
9623 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9624 Move definition before use.
9626 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9627 (dun-unix-verbs): Remove dun-zippy.
9628 (dun-zippy): Remove function.
9630 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9632 2013-05-27 Juri Linkov <juri@jurta.org>
9634 * replace.el (replace-search): New function with code moved out
9635 from `perform-replace'.
9636 (replace-highlight, replace-dehighlight): Move function definitions
9637 up closer to `replace-search'. (Bug#11746)
9639 2013-05-27 Juri Linkov <juri@jurta.org>
9641 * replace.el (perform-replace): Ignore invisible matches.
9642 In addition to checking `query-replace-skip-read-only', also
9643 filter out matches by calling `run-hook-with-args-until-failure'
9644 on `isearch-filter-predicates', and also check `search-invisible'
9645 for t or call `isearch-range-invisible'.
9646 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9648 2013-05-27 Juri Linkov <juri@jurta.org>
9650 * isearch.el (isearch-filter-predicates): Rename from
9651 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9652 (isearch-message-prefix): Display text from the property
9653 `isearch-message-prefix' of the currently active filters.
9654 (isearch-search): Don't compare `isearch-filter-predicate' with
9655 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9656 on `isearch-filter-predicates'. Also check `search-invisible' for t
9657 or call `isearch-range-invisible'.
9658 (isearch-filter-visible): Make obsolete.
9659 (isearch-lazy-highlight-search):
9660 Call `run-hook-with-args-until-failure' on
9661 `isearch-filter-predicates' and use `isearch-range-invisible'.
9663 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9664 `isearch-filter-predicates' instead of `funcall'ing
9665 `isearch-filter-predicate'.
9666 (Info-mode): Set `Info-isearch-filter' to
9667 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9669 * dired-aux.el (dired-isearch-filter-predicate-orig):
9671 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9672 (dired-isearch-filenames-end): Add and remove
9673 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9674 instead of changing the value of `isearch-filter-predicate'.
9675 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9676 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9677 Put property `isearch-message-prefix' to "filename " on
9678 `dired-isearch-filter-filenames'.
9680 * wdired.el (wdired-change-to-wdired-mode):
9681 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9682 locally instead of changing `isearch-filter-predicate'.
9683 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9685 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9687 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9688 return the commit hash (Bug#14459). Also set the
9689 `vc-git-detached' property.
9690 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9691 (vc-git-mode-line-string): Use the same help-echo format whether
9692 in detached mode or not, because we know the actual revision now.
9693 When in detached mode, shorten the revision to 7 chars.
9695 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9697 * emacs-lisp/easy-mmode.el (define-minor-mode):
9698 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9699 mode hook and provide a docstring.
9701 2013-05-27 Alan Mackenzie <acm@muc.de>
9703 Remove spurious syntax-table text properties inserted by C-y.
9704 * progmodes/cc-mode.el (c-after-change): Also clear hard
9705 syntax-table property with value nil.
9707 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9709 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9710 when reading the events; the buffer layout shall not be changed.
9712 2013-05-27 Leo Liu <sdl.web@gmail.com>
9714 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9716 (inferior-octave-directory-tracker): Automatically re-sync
9718 (octave-help): Improve handling of 'See also'.
9720 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9722 * doc-view.el: Minor naming convention tweaks.
9723 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9725 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9726 even if there's no `display' property yet (bug#14435).
9728 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9730 * subr.el (unmsys--file-name): Rename from reveal-filename.
9732 * Makefile.in (custom-deps, finder-data, autoloads)
9733 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9734 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9735 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9737 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9739 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9740 error-completion on the first 2 args of condition-case (bug#14446).
9743 2013-05-25 Leo Liu <sdl.web@gmail.com>
9745 * comint.el (comint-previous-matching-input): Do not flood the
9746 *Messages* buffer with trivial messages.
9748 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9750 * progmodes/flymake.el (flymake-nop): Don't return a string.
9751 (flymake-set-at): Fix typo.
9753 * simple.el (read--expression): New function, extracted from
9754 eval-expression. Set completion-at-point-functions (bug#14465).
9755 (eval-expression, eval-minibuffer): Use it.
9757 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9759 * progmodes/flymake.el (flymake-save-buffer-in-file)
9760 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9761 (flymake-selected-frame, flymake-log, flymake-ins-after)
9762 (flymake-set-at, flymake-get-buildfile-from-cache)
9763 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9764 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9765 Refine the doc string.
9766 (flymake-get-file-name-mode-and-masks): Reformat.
9767 (flymake-get-real-file-name-function): Fix a minor bug.
9769 2013-05-24 Juri Linkov <juri@jurta.org>
9771 * progmodes/grep.el (grep-mode-font-lock-keywords):
9772 Support =linenumber= format used by git-grep for lines with
9773 function names. (Bug#13549)
9775 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9777 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9778 0 after a semi-colon; it works better for smie-auto-fill.
9779 (octave--indent-new-comment-line): New function.
9780 (octave-indent-new-comment-line): Use it (indirectly).
9781 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9782 modify comment-line-break-function.
9784 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9785 (smie-setup): Use add-function to set it.
9787 2013-05-24 Sam Steingold <sds@gnu.org>
9789 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9790 argument (before the `interactive' argument).
9792 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9794 * image-mode.el (image-mode-winprops): Add winprops to
9795 image-mode-winprops-alist before running
9796 image-mode-new-window-functions.
9797 * doc-view.el (doc-view-new-window-function): Don't delay
9798 doc-view-goto-page via timers (bug#14435).
9800 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9802 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9803 (doc-view-desktop-save-buffer): New function.
9804 (doc-view-restore-desktop-buffer): New function.
9805 (desktop-buffer-mode-handlers):
9806 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9808 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9809 `desktop-save-buffer' function.
9811 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9813 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9814 (tramp-gvfs-file-name-handler): Raise a user error when
9815 `tramp-gvfs-enabled' is nil.
9816 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9817 Do not raise a user error when loading package. (Bug#14447)
9819 * net/xesam.el: Move to obsolete/.
9821 2013-05-24 Glenn Morris <rgm@gnu.org>
9823 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9825 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9827 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9828 (Info-find-node, Man-getpage-in-background): Declare.
9830 * mail/unrmail.el (unrmail):
9831 Replace obsolete detect-coding-with-priority.
9833 * net/socks.el (socks-split-string): Use this rather than split-string.
9834 (socks-nslookup-host): Update for above change.
9835 (dynamic-choice, s5-dynamic-choice-match)
9836 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9837 Comment out unused code.
9839 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9840 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9841 (gud-tooltip-echo-area): Make obsolete.
9842 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9844 * progmodes/js.el (js--optimize-arglist): Declare.
9846 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9848 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9849 (ediff-window-C): Declare.
9851 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9852 Tweak requires to silence compiler.
9854 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9855 (he-search-string, he-tried-table, he-expand-list)
9856 (he-init-string, he-string-member, he-substitute-string)
9857 (he-reset-string): Declare.
9859 * obsolete/options.el (list-options): Use custom-variable-p,
9860 rather than obsolete alias.
9862 2013-05-23 Sam Steingold <sds@gnu.org>
9864 * simple.el (shell-command-on-region): Pass the `replace' argument
9865 down to `call-process-region' to comply with the doc as reported on
9866 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9868 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9870 * emacs-lisp/smie.el (smie-indent-forward-token)
9871 (smie-indent-backward-token): Handle string tokens (bug#14381).
9873 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9875 * ielm.el (ielm-menu): New menu.
9876 (inferior-emacs-lisp-mode): Set comment-start.
9878 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9880 * textmodes/reftex.el (reftex-ref-style-toggle):
9881 Fix deactivate action.
9883 * textmodes/reftex-vars.el (reftex-ref-style-alist):
9884 Add cleveref macros.
9886 * textmodes/reftex-parse.el
9887 (reftex-locate-bibliography-files): Accept options for
9888 bibliography commands.
9889 * textmodes/reftex-vars.el (reftex-bibliography-commands):
9890 Add addbibresource. Basic Biblatex support.
9892 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9894 * net/tramp-gvfs.el (top):
9895 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9896 when loading package. (Bug#14447)
9898 2013-05-23 Glenn Morris <rgm@gnu.org>
9900 * progmodes/js.el: No need to load comint when compiling.
9901 (ring-insert, comint-send-string, comint-send-input)
9902 (comint-last-input-end, ido-chop): Declare.
9904 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9905 * vc/ediff-mult.el: Adjust requires.
9906 (ediff-directories-internal, ediff-directory-revisions-internal)
9907 (ediff-patch-file-internal): Declare.
9908 * vc/ediff-ptch.el: Adjust requires.
9909 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9910 (ediff-find-file): Autoload.
9911 * vc/ediff-util.el: No need to load ediff when compiling.
9912 (ediff-regions-internal): Declare.
9913 * vc/ediff-wind.el: Adjust requires.
9914 (ediff-compute-toolbar-width): Define when compiling.
9915 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9916 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9917 (dired-get-filename, dired-get-marked-files)
9918 (ediff-last-dir-patch, ediff-patch-default-directory)
9919 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9920 (ediff-patch-buffer-internal): Declare.
9922 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9923 (ispell-process, ispell-buffer-local-words, lm-summary)
9924 (lm-section-start, lm-section-end): Declare.
9925 (checkdoc-ispell-init): Simplify.
9927 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9928 (he-string-member, he-reset-string, he-substitute-string): Declare.
9930 * eshell/em-ls.el: Adjust requires.
9931 (eshell-glob-regexp): Declare.
9932 * eshell/em-tramp.el: Adjust requires.
9933 (eshell-parse-command): Autoload.
9934 * eshell/em-xtra.el: Adjust requires.
9935 (eshell-parse-command): Autoload.
9936 * eshell/esh-ext.el: Adjust requires.
9937 (eshell-parse-command, eshell-close-handles): Autoload.
9938 * eshell/esh-io.el: Adjust requires.
9939 (eshell-output-filter): Autoload.
9940 * eshell/esh-util.el: No need to load tramp when compiling.
9941 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9943 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9944 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9945 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9946 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9947 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9948 * eshell/esh-opt.el, eshell/esh-proc.el:
9949 * eshell/esh-var.el: Adjust requires.
9950 * eshell/eshell.el: Do not require esh-util twice.
9951 (eshell-add-input-to-history): Declare.
9952 (eshell-command): Check history module is active before using it.
9954 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9956 2013-05-22 Leo Liu <sdl.web@gmail.com>
9958 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9960 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9962 * autorevert.el (auto-revert-notify-add-watch)
9963 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9964 it indicates changes in file modification time.
9966 2013-05-22 Glenn Morris <rgm@gnu.org>
9968 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9969 Always delete the autoloaded function from the noruntime and
9970 unresolved functions lists.
9972 * allout.el: No need to load epa, epg, overlay when compiling.
9973 (epg-context-set-passphrase-callback, epg-list-keys)
9974 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9975 (epg-key-user-id-list): Declare.
9977 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9978 (viper-set-parsing-style-toggling-macro)
9979 (viper-set-emacs-state-searchstyle-macros):
9980 Use called-interactively-p on Emacs.
9981 (viper-looking-back): Make it an obsolete alias. Update callers.
9982 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9983 Use looking-back rather than viper-looking-back.
9984 (viper-tmp-insert-at-eob, viper-enlarge-region)
9985 (viper-read-string-with-history, viper-register-to-point)
9986 (viper-append-to-register, viper-change-state-to-vi)
9987 (viper-backward-char-carefully, viper-forward-char-carefully)
9988 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9989 (viper-change-state-to-emacs): Declare.
9990 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9991 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9992 * emulation/viper-mous.el: Do not load viper-cmd.
9993 (viper-backward-char-carefully, viper-forward-char-carefully)
9994 (viper-forward-word, viper-adjust-window): Declare.
9996 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9998 * progmodes/idlw-help.el (idlwave-help-fontify):
9999 Use called-interactively-p.
10001 * term/w32console.el (w32-get-console-codepage)
10002 (w32-get-console-output-codepage): Declare.
10004 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10005 Remove unnecessary declarations.
10006 (dframe-message): Doc fix.
10008 * info.el (dframe-select-attached-frame, dframe-current-frame):
10011 * speedbar.el (speedbar-message): Make it an obsolete alias.
10012 Update all callers.
10013 (speedbar-with-attached-buffer)
10014 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10015 (speedbar-with-writable): Use backquote.
10016 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10017 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10018 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10019 rather than speedbar- aliases.
10020 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10021 (speedbar-make-specialized-keymap, speedbar-insert-button)
10022 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10023 (speedbar-do-function-pointer): Declare.
10024 (rmail-speedbar-button, rmail-speedbar-find-file)
10025 (rmail-speedbar-move-message):
10026 Use dframe-with-attached-buffer rather than speedbar- alias.
10027 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10028 (dframe-message, speedbar-make-specialized-keymap)
10029 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10030 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10031 (speedbar-insert-button, dframe-select-attached-frame)
10032 (dframe-maybee-jump-to-attached-frame)
10033 (speedbar-change-initial-expansion-list)
10034 (speedbar-previously-used-expansion-list-name): Declare.
10035 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10036 Use dframe-message, dframe-with-attached-buffer rather than
10038 (gud-sentinel): Silence compiler.
10039 * progmodes/vhdl-mode.el (speedbar-refresh)
10040 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10041 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10042 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10043 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10044 (speedbar-file-lists, speedbar-make-tag-line)
10045 (speedbar-line-directory, speedbar-goto-this-file)
10046 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10047 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10048 (speedbar-make-button, speedbar-reset-scanners)
10049 (speedbar-files-item-info, speedbar-line-text)
10050 (speedbar-find-file-in-frame, speedbar-set-timer)
10051 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10052 (speedbar-with-writable): Do not (re)define it.
10053 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10054 rather than speedbar- alias.
10056 2013-05-21 Leo Liu <sdl.web@gmail.com>
10058 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10060 (octave-mode): Tweak fill-nobreak-predicate.
10061 (inferior-octave-startup): Check process to avoid infinite loop.
10062 (inferior-octave): Pop to buffer first to show abornmal process
10065 2013-05-21 Glenn Morris <rgm@gnu.org>
10067 * printing.el (pr-menu-bar): Define when compiling.
10069 2013-05-21 Leo Liu <sdl.web@gmail.com>
10071 * progmodes/octave.el (octave-auto-fill): Remove.
10072 (octave-indent-new-comment-line): Improve.
10073 (octave-mode): Use auto fill mode through
10074 comment-line-break-function and fill-nobreak-predicate.
10075 (octave-goto-function-definition): Support DEFUN_DLD.
10076 (octave-beginning-of-defun): Small tweak.
10077 (octave-help): Show parent directory.
10079 2013-05-21 Glenn Morris <rgm@gnu.org>
10081 * files.el (dired-unmark):
10082 * progmodes/gud.el (gdb-input): Update declarations.
10084 * calculator.el (electric, ehelp): No need to load when compiling.
10085 (Electric-command-loop, electric-describe-mode): Declare.
10087 * doc-view.el (doc-view-current-converter-processes): Move before use.
10089 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10090 Move MODE-set-explicitly definition before use.
10092 * international/mule-diag.el (mule-diag):
10093 Don't use obsolete window-system-version.
10095 * mail/feedmail.el (smtpmail): No need to load when compiling.
10096 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10098 * mail/mail-utils.el (rfc822): No need to load when compiling.
10099 (rfc822-addresses): Autoload it.
10100 (mail-strip-quoted-names): Trivial simplification.
10102 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10103 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10105 * net/snmp-mode.el (tempo): Don't duplicate requires.
10107 * progmodes/prolog.el (info): No need to load when compiling.
10108 (comint): Require before shell requires it.
10109 (Info-goto-node): Autoload it.
10110 (Info-follow-nearest-node): Declare.
10111 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10113 * textmodes/artist.el (picture-mode-exit): Declare.
10115 * textmodes/reftex-parse.el (reftex-parse-from-file):
10116 Trivial rewrite so the compiler can parse it better.
10118 2013-05-20 Leo Liu <sdl.web@gmail.com>
10120 * progmodes/octave.el (octave-help-mode-map)
10121 (octave-help-mode-finish-hook): New variables.
10122 (octave-help-mode, octave-help-mode-finish): New functions.
10123 (octave-help): Use octave-help-mode.
10125 2013-05-20 Glenn Morris <rgm@gnu.org>
10127 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10129 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10131 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10132 start at point, so that expansion starting right after opening
10133 slash in a regexp is recognized.
10134 (ruby-syntax-before-regexp-re): New defvar, extracted from
10135 ruby-syntax-propertize-function. Since the value of this regexp
10136 is looked up at runtime now, we should be able to turn
10137 `ruby-syntax-methods-before-regexp' into a defcustom later.
10138 (ruby-syntax-propertize-function): Split regexp matching into two
10139 parts, for opening and closing slashes. That allows us to skip
10140 over string interpolations and support multiline regexps.
10141 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10142 for them, which calls `ruby-syntax-propertize-expansion'.
10143 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10144 call to `ruby-syntax-propertize-function'.
10145 (ruby-syntax-propertize-expansion): Extracted from
10146 `ruby-syntax-propertize-expansions'. Handles one expansion.
10147 (ruby-syntax-propertize-percent-literal): Leave point right after
10148 the percent symbol, so that the expression expansion rule can
10149 propertize the contents.
10150 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10152 (ruby-syntax-propertize-expansions): Remove.
10154 2013-05-18 Juri Linkov <juri@jurta.org>
10156 * man.el (Man-default-man-entry): Remove `-' from the end
10157 of the default value. (Bug#14400)
10159 2013-05-18 Glenn Morris <rgm@gnu.org>
10161 * comint.el (comint-password-prompt-regexp):
10162 Allow "password for XXX" where XXX contains colons (eg https://...).
10164 2013-05-18 Leo Liu <sdl.web@gmail.com>
10166 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10167 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10168 (octave-source-directories): Don't check process.
10169 (octave-source-directories, octave-find-definition): Doc fix.
10171 2013-05-18 Glenn Morris <rgm@gnu.org>
10173 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10174 Remove backspace/delete bindings. (Bug#14392)
10176 * cus-dep.el (custom-make-dependencies): Sort the output.
10177 (custom-versions-load-alist): Convert comment to doc.
10179 2013-05-17 Leo Liu <sdl.web@gmail.com>
10181 * newcomment.el (comment-search-backward): Stricter in finding
10182 comment start. (Bug#14303)
10184 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10185 (octave-comment-start-skip): Properly anchored.
10187 2013-05-17 Leo Liu <sdl.web@gmail.com>
10189 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10190 Clean up when turned off. (Bug#14395)
10191 (smie--highlight-matching-block-overlay): No longer buffer-local.
10192 (smie-highlight-matching-block): Adjust.
10194 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10196 Doc string fix for "nanoseconds" (Bug#14406).
10197 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10198 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10200 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10202 * calc/calc-units.el (math-extract-units): Preserve powers
10205 2013-05-17 Leo Liu <sdl.web@gmail.com>
10207 * subr.el (delete-consecutive-dups): New function.
10208 * ido.el (ido-set-matches-1): Use it.
10209 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10210 * ido.el (ido-remove-consecutive-dups): Remove.
10212 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10214 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10215 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10216 regexp-opt's `words'.
10218 2013-05-16 Leo Liu <sdl.web@gmail.com>
10220 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10221 (smie--highlight-matching-block-overlay)
10222 (smie--highlight-matching-block-lastpos)
10223 (smie--highlight-matching-block-timer): New variables.
10224 (smie-highlight-matching-block): New function.
10225 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10226 (smie-setup): Conditionally enable smie-blink-matching-open.
10228 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10230 Sync with upstream verilog-mode r840.
10231 * progmodes/verilog-mode.el (verilog-mode-version)
10232 (verilog-mode-release-date): Update.
10233 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10234 (verilog-sig-tieoff): Fix string error on
10235 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10236 (verilog-read-decls): Fix parameters confusing
10237 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10239 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10241 * subr.el (reveal-filename): New function.
10243 * loadup.el: Compute Emacs executable versions on MS-Windows,
10244 where executables have the .exe extension. Add a hard link
10245 emacs-XX.YY.ZZ.exe on MS-Windows.
10247 * Makefile.in (XARGS_LIMIT): New variable.
10248 (custom-deps, finder-data, autoloads)
10249 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10250 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10251 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10252 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10254 2013-05-16 Leo Liu <sdl.web@gmail.com>
10256 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10257 (octave-mode-menu, octave-mode-map): Remove its uses.
10259 2013-05-16 Reto Zimmermann <reto@gnu.org>
10261 Sync with upstream vhdl mode v3.34.2.
10262 * progmodes/vhdl-mode.el: Use `push' throughout.
10263 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10264 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10265 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10266 (vhdl-actual-generic-name): New option to derive actual generic name.
10267 (vhdl-port-paste-signals): Replace formal by actual generics.
10268 (vhdl-beautify): New name for old group vhdl-align. Update users.
10269 (vhdl-beautify-options): New option.
10270 (vhdl-last-input-event): New compat alias. Use throughout.
10271 (vhdl-goto-line): Replace user level function `goto-line'.
10272 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10273 vhdl-fix-statement-buffer.
10274 (vhdl-create-mode-menu): Add some entries.
10275 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10276 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10277 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10278 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10279 to force statements on one line.
10280 (vhdl-remove-trailing-spaces-region):
10281 New, split from vhdl-remove-trailing-spaces.
10282 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10283 Respect vhdl-beautify-options.
10284 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10285 (vhdl-update-sensitivity-list): Not add with index if exists without.
10286 Not include array index with signal. Ignore keywords in comments.
10287 (vhdl-get-visible-signals): Regexp tweaks.
10288 (vhdl-template-component-inst): Handle empty library.
10289 (vhdl-template-type): Add template for 'enum' type.
10290 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10291 Use vhdl-replace-string.
10292 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10293 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10294 (vhdl-speedbar-initialize): Update for above name change.
10295 (vhdl-compose-wire-components): Fix in handling of constants.
10296 (vhdl-error-regexp-emacs-alist): New variable.
10297 (vhdl-error-regexp-add-emacs): New function;
10298 adds support for new compile.el (Emacs 22+)
10299 (vhdl-generate-makefile-1): Change target order for single lib. units.
10300 Allow use of absolute file names.
10302 2013-05-16 Leo Liu <sdl.web@gmail.com>
10304 * simple.el (prog-indent-sexp): Indent enclosing defun.
10306 2013-05-15 Glenn Morris <rgm@gnu.org>
10308 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10309 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10310 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10311 (whitespace-highlight): Move to whitespace group.
10313 * comint.el (comint-source):
10314 * pcmpl-linux.el (pcmpl-linux):
10315 * shell.el (shell-faces):
10316 * eshell/esh-opt.el (eshell-opt):
10317 * international/ccl.el (ccl): Remove empty custom groups.
10319 * completion.el (dynamic-completion-mode):
10320 * jit-lock.el (jit-lock-debug-mode):
10321 * minibuffer.el (completion-in-region-mode):
10322 * type-break.el (type-break-mode-line-message-mode)
10323 (type-break-query-mode):
10324 * emulation/tpu-edt.el (tpu-edt-mode):
10325 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10326 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10327 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10329 * term/xterm.el (xterm): Change parent group to terminals.
10331 * master.el (master): Remove empty custom group.
10332 (master-mode): Remove unused :group argument.
10333 * textmodes/refill.el (refill): Remove empty custom group.
10334 (refill-mode): Remove unused :group argument.
10336 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10338 * cus-dep.el: Provide a feature.
10339 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10340 Don't mistakenly ignore files whose basenames match a basename
10341 from preloaded-file-list (eg cedet/ede/simple.el).
10342 Add a fallback method for getting :group.
10344 2013-05-15 Juri Linkov <juri@jurta.org>
10346 * isearch.el (isearch-char-by-name): Rename from
10347 `isearch-insert-char-by-name'. Doc fix.
10348 (isearch-forward): Mention `isearch-char-by-name' in
10349 the docstring. (Bug#13348)
10351 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10352 `exit-minibuffer' instead of
10353 `isearch-nonincremental-exit-minibuffer'.
10354 (isearch-edit-string): Remove mention of
10355 `isearch-nonincremental-exit-minibuffer' from docstring.
10356 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10357 (isearch-forward-exit-minibuffer)
10358 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10360 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10362 * loadup.el: Just use unversioned DOC.
10364 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10365 literals as extending to EOB.
10366 (nxml-last-fontify-end): Remove unused variable.
10367 (nxml-after-change1): Use with-silent-modifications.
10368 (nxml-extend-after-change-region): Simplify.
10369 (nxml-extend-after-change-region1): Remove function.
10370 (nxml-after-change1): Don't adjust for dependent regions.
10371 (nxml-fontify-matcher): Simplify.
10372 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10373 (xmltok-add-dependent): Remove function.
10374 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10375 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10376 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10377 unclosed <[[, <?, comment, and other literals as extending to EOB.
10378 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10379 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10381 (rng-do-some-validation-1): Don't mark dependent regions.
10382 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10383 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10384 (nxml-clear-dependent-regions): Remove functions.
10385 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10386 (nxml-ensure-scan-up-to-date):
10387 Don't clear&mark dependent regions.
10389 2013-05-15 Leo Liu <sdl.web@gmail.com>
10391 * progmodes/octave.el (octave-goto-function-definition):
10392 Improve and fix callers.
10394 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10396 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10397 the setter (bug#14387).
10399 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10400 surrounding group (bug#14402).
10402 2013-05-14 Juri Linkov <juri@jurta.org>
10404 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10407 2013-05-14 Glenn Morris <rgm@gnu.org>
10409 * progmodes/f90.el (f90-imenu-generic-expression):
10410 Fix typo in 2013-05-08 change. (Bug#14402)
10412 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10414 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10415 Remove signals for which replies are never received.
10417 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10419 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10420 (gdb-handler-alist, gdb-handler-number): Remove variables.
10421 (gdb-handler-list): New variable.
10422 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10423 (gdb-pending-handler-p, gdb-handle-reply)
10424 (gdb-remove-all-pending-triggers): New functions.
10425 (gdb-discard-unordered-replies): New defcustom.
10426 (gdb-handler): New defstruct.
10427 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10428 instead of gdb-pending-triggers. Update docstring.
10429 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10430 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10431 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10432 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10433 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10434 (gdb-frame-handler): Pending triggers are now automatically managed.
10435 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10437 (gdb-input): Automatically handles pending triggers. Update docstring.
10438 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10439 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10441 (gdb-done-or-error): Now use gdb-handle-reply.
10443 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10445 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10448 2013-05-14 Glenn Morris <rgm@gnu.org>
10450 * subr.el (user-emacs-directory-warning): New option.
10451 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10453 2013-05-14 Leo Liu <sdl.web@gmail.com>
10455 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10457 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10458 (octave-font-lock-texinfo-comment): Fix invalid search bound
10459 error: wrong side of point.
10461 2013-05-14 Glenn Morris <rgm@gnu.org>
10463 * progmodes/flymake.el (flymake-xml-program): New option.
10464 (flymake-xml-init): Use it.
10466 * term/xterm.el: Provide a feature.
10468 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10470 2013-05-13 Glenn Morris <rgm@gnu.org>
10472 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10473 Add compat aliases as a hack workaround. (Bug#14384)
10475 2013-05-13 Leo Liu <sdl.web@gmail.com>
10477 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10479 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10481 (octave-comment-start-skip): Include %!.
10482 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10484 2013-05-12 Leo Liu <sdl.web@gmail.com>
10486 * progmodes/octave.el (inferior-octave-startup): Store the value
10487 of __octave_srcdir__ for octave-source-directories.
10488 (inferior-octave-check-process): New function refactored out of
10489 inferior-octave-send-list-and-digest.
10490 (octave-source-directories)
10491 (octave-find-definition-filename-function): New variables.
10492 (octave-source-directories)
10493 (octave-find-definition-default-filename): New functions.
10494 (octave-find-definition): Improve to find functions implemented in C++.
10496 2013-05-12 Glenn Morris <rgm@gnu.org>
10498 * calendar/diary-lib.el (diary-outlook-format-1):
10499 Don't include dayname in the output. (Bug#14349)
10501 2013-05-11 Glenn Morris <rgm@gnu.org>
10503 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10505 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10506 Treat cc-provide like provide.
10508 2013-05-11 Kevin Ryde <user42@zip.com.au>
10510 * cus-dep.el (custom-make-dependencies):
10511 Use generated-autoload-load-name for the sake of files such
10512 such cedet/semantic/bovine/c.el, where the base file name
10513 is not in load-path. (Bug#5277)
10515 2013-05-11 Glenn Morris <rgm@gnu.org>
10517 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10520 2013-05-11 Leo Liu <sdl.web@gmail.com>
10522 * progmodes/octave.el (octave-indent-comment): Improve.
10523 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10524 (octave-eldoc-function-signatures, octave-eldoc-function):
10526 (octave-mode, inferior-octave-mode): Add eldoc support.
10528 2013-05-11 Richard Stallman <rms@gnu.org>
10530 * epa.el (epa-decrypt-file): Take output file name as argument
10531 and read it using `interactive'.
10533 2013-05-11 Leo Liu <sdl.web@gmail.com>
10535 * progmodes/octave.el (octave-beginning-of-line)
10536 (octave-end-of-line): Check before using up-list because it jumps
10537 out of more syntactic contructs since moving to smie.
10538 (octave-indent-comment): New function.
10539 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10540 (octave-begin-keywords, octave-end-keywords)
10541 (octave-reserved-words, octave-smie-bnf-table)
10542 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10544 2013-05-11 Glenn Morris <rgm@gnu.org>
10546 * faces.el (internal-face-x-get-resource):
10547 * frame.el (ns-display-monitor-attributes-list):
10548 * calc/calc-aent.el (math-to-radians-2):
10549 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10552 * calc/calc-menu.el: Make it loadable in isolation.
10554 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10555 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10556 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10557 (eudc-bbdb-query-internal): Require 'bbdb.
10559 * lpr.el (lpr-headers-switches):
10560 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10562 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10564 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10566 * term.el (term-set-escape-char): Make it idempotent.
10568 2013-05-10 Leo Liu <sdl.web@gmail.com>
10570 * progmodes/octave.el (inferior-octave-completion-table):
10571 No longer a function and all uses changed. Use cache to speed up
10572 completion due to bug#11906.
10573 (octave-beginning-of-defun): Re-write to be more general.
10575 2013-05-10 Glenn Morris <rgm@gnu.org>
10577 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10579 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10581 * comint.el (comint-redirect-send-command-to-process): Use :around
10582 rather than :override for comint-redirect-filter.
10583 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10584 Call it instead of comint-redirect-original-filter-function (which
10585 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10587 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10589 * frame.el (display-monitor-attributes-list): Add NS case.
10590 (ns-display-monitor-attributes-list): Declare.
10592 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10594 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10596 2013-05-09 Glenn Morris <rgm@gnu.org>
10598 * international/fontset.el (vertical-centering-font-regexp):
10599 Set standard-value.
10601 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10603 * bookmark.el (bookmark-search-delay):
10604 * cus-start.el (vertical-centering-font-regexp):
10605 * ps-mule.el (ps-mule-font-info-database-default):
10606 * ps-print.el (ps-default-fg, ps-default-bg):
10607 * type-break.el (type-break-good-break-interval):
10608 * whitespace.el (whitespace-indentation-regexp)
10609 (whitespace-space-after-tab-regexp):
10610 * emacs-lisp/testcover.el (testcover-1value-functions)
10611 (testcover-noreturn-functions, testcover-progn-functions)
10612 (testcover-prog1-functions):
10613 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10614 * eshell/em-glob.el (eshell-glob-translate-alist):
10615 * play/tetris.el (tetris-tty-colors):
10616 * progmodes/cpp.el (cpp-face-default-list):
10617 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10618 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10619 (idlwave-help-browser-generic-args):
10620 * progmodes/make-mode.el (makefile-special-targets-list):
10621 * progmodes/python.el (python-shell-virtualenv-path):
10622 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10623 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10624 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10625 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10626 * textmodes/reftex-vars.el (reftex-format-label-function):
10627 * textmodes/remember.el (remember-diary-file): Fix custom types.
10629 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10632 2013-05-09 Leo Liu <sdl.web@gmail.com>
10634 * progmodes/octave.el (inferior-octave-completion-at-point):
10635 Restore file completion. (Bug#14300)
10636 (inferior-octave-startup): Fix incorrect highlighting for the
10639 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10641 * progmodes/ruby-mode.el: First cut at SMIE support.
10642 (ruby-use-smie): New var.
10643 (ruby-smie-grammar): New constant.
10644 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10645 (ruby-smie--forward-token, ruby-smie--backward-token)
10646 (ruby-smie-rules): New functions.
10647 (ruby-mode-variables): Setup SMIE if applicable.
10649 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10651 * simple.el (line-move-visual): Signal beginning/end of buffer
10652 only if vertical-motion moved less than it was requested. Avoids
10653 silly incorrect error messages when there are display strings with
10654 multiple newlines at EOL.
10656 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10658 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10659 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10660 (prolog-char-quote-workaround):
10661 * progmodes/cperl-mode.el (cperl-under-as-char):
10662 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10664 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10666 (vhdl-mode-syntax-table-init): Remove.
10668 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10671 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10673 (ld-script-font-lock-keywords):
10674 Change regexps to use things like \_< and \_>.
10676 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10677 Change all regexps to use things like \_< and \_>.
10679 * progmodes/autoconf.el (autoconf-definition-regexp)
10680 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10681 Handle a _ with symbol syntax.
10682 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10684 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10685 Consolidate declaration.
10686 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10688 (ada-create-syntax-table): Remove.
10689 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10690 already has the right syntax nowadays.
10691 (ada-goto-next-word): Don't change the syntax of "_".
10693 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10696 2013-05-08 Sam Steingold <sds@gnu.org>
10698 * thingatpt.el (thing-at-point): Accept optional second argument
10699 NO-PROPERTIES to strip the text properties from the return value.
10700 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10701 to `thing-at-point' instead of stripping the properties ourselves.
10702 Also, when `thing-at-point' fails to find a url, prepend "http://"
10703 to the filename at point on the assumption that the user is
10704 pointing at something like gnu.org/gnu.
10706 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10708 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10709 * faces.el (crm-separator):
10710 Silence byte-compiler.
10712 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10713 (tool-bar-map): Remove unneeded defvars.
10715 2013-05-08 Leo Liu <sdl.web@gmail.com>
10717 Re-work a fix for bug#10994 based on Le Wang's patch.
10718 * ido.el (ido-remove-consecutive-dups): New helper.
10719 (ido-completing-read): Use it.
10720 (ido-chop): Revert fix for bug#10994.
10722 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10724 * cus-edit.el (custom-save-variables):
10725 Pretty-print long values. (Bug#14187)
10727 2013-05-08 Glenn Morris <rgm@gnu.org>
10729 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10730 (m4-mode-syntax-table): Init in the defvar.
10731 (m4-mode-abbrev-table): Let define-derived-mode define it.
10733 2013-05-08 Tom Tromey <tromey@redhat.com>
10735 * progmodes/m4-mode.el (m4-mode-syntax-table):
10736 Do not treat "_" as word constituent. (Bug#14167)
10738 2013-05-07 Glenn Morris <rgm@gnu.org>
10740 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10741 Remove explicit eshell-isearch-cancel-map.
10743 * progmodes/f90.el (f90-smart-end-names): New option.
10744 (f90-smart-end): Doc fix.
10745 (f90-end-block-optional-name): New constant.
10746 (f90-block-match): Respect f90-smart-end-names.
10748 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10750 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10751 about implicit semi-colons (bug#14218).
10753 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10755 * frame.el (display-monitor-attributes-list)
10756 (frame-monitor-attributes): New functions.
10758 2013-05-06 Leo Liu <sdl.web@gmail.com>
10760 * progmodes/octave.el (octave-syntax-propertize-function): Change
10761 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10762 (octave-font-lock-keywords): Use octave-operator-regexp.
10763 (octave-completion-at-point): Rename from
10764 octave-completion-at-point-function.
10765 (inferior-octave-directory-tracker): Robustify.
10766 (octave-text-functions): Remove and fix its uses. No such things
10769 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10771 * emacs-lisp/trace.el (trace--display-buffer): New function.
10772 (trace-make-advice): Use it.
10774 2013-05-06 Juri Linkov <juri@jurta.org>
10776 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10777 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10779 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10780 in the help string. (Bug#12985)
10782 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10784 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10786 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10788 * progmodes/perl-mode.el: Add support for here documents.
10789 (perl-syntax-propertize-function): Match here-doc markers.
10790 (perl-syntax-propertize-special-constructs): Find their end.
10791 (perl-imenu-generic-expression): Use [:alnum:].
10793 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10794 (advice--add-function): Refresh the advice if already present
10797 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10799 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10801 2013-05-06 Glenn Morris <rgm@gnu.org>
10803 * w32-fns.el (w32-charset-info-alist): Declare.
10805 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10806 of its defcustom properties.
10807 (eshell-cmpl-initialize): No need to load pcomplete.
10809 * generic-x.el: No need to require comint when compiling.
10811 * net/eudc-export.el: Make it loadable without bbdb.
10812 (top-level): Use require rather than load-library.
10813 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10814 (eudc-batch-export-records-to-bbdb)
10815 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10818 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10820 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10821 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10822 some tweaks, instead.
10824 2013-05-05 Leo Liu <sdl.web@gmail.com>
10826 * progmodes/octave.el (octave-font-lock-keywords)
10827 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10828 (inferior-octave-send-list-and-digest): Improve error message.
10829 (octave-mode, inferior-octave-mode): Use setq-local.
10830 (octave-help): Set info-lookup-mode.
10832 2013-05-05 Richard Stallman <rms@gnu.org>
10834 * vc/compare-w.el (compare-windows-whitespace):
10835 Treat no-break space as whitespace.
10837 * mail/rmailsum.el (rmail-summary-rmail-update):
10838 Detect empty summary and don't change selected message.
10839 (rmail-summary-goto-msg): Likewise.
10841 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10842 Doc fixes, rename args.
10844 2013-05-05 Alan Mackenzie <acm@muc.de>
10846 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10848 2013-05-05 Juri Linkov <juri@jurta.org>
10850 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10851 to not add the length of the summary segment to the return value.
10854 2013-05-05 Leo Liu <sdl.web@gmail.com>
10856 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10857 (inferior-octave-output-filter): Remove.
10858 (octave-send-region, inferior-octave-startup): Fix callers.
10859 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10860 (octave-binary-file-extensions): New user variable.
10861 (octave-find-definition): Confirm if opening binary files.
10862 (octave-help-file): Use octave-find-definition to get the binary
10864 (octave-help): Adjust for octave-help-file change.
10866 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10868 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10869 Merge the two entries that handle function definitions.
10870 (pascal--syntax-propertize): New const.
10871 (pascal-mode): Use it. Use setq-local.
10873 2013-05-04 Glenn Morris <rgm@gnu.org>
10875 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10876 (diary-from-outlook): Respect diary-from-outlook-function.
10878 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10880 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10881 Move the declaration from C.
10882 (read-minibuffer, eval-minibuffer): Move from C.
10883 (completion-setup-function): Avoid minibuffer-completion-contents.
10885 2013-05-03 Leo Liu <sdl.web@gmail.com>
10887 * progmodes/octave.el (octave-font-lock-keywords): Do not
10888 dehighlight 'end' in comments or strings.
10889 (octave-completing-read, octave-goto-function-definition):
10891 (octave-help-buffer): New user variable.
10892 (octave-help-file, octave-help-function): New button types.
10893 (octave-help): New command and bind it to C-h ;.
10894 (octave-find-definition): New command and bind it to M-.
10895 (user-error): Alias to error if not defined.
10897 2013-05-02 Leo Liu <sdl.web@gmail.com>
10899 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10901 (octave-font-lock-keywords): Include [ and {.
10903 2013-05-02 Leo Liu <sdl.web@gmail.com>
10905 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10906 (inferior-octave): Remove calling comint-mode and return the buffer.
10907 (inferior-octave-startup): Cosmetic changes.
10909 2013-05-02 Leo Liu <sdl.web@gmail.com>
10911 * progmodes/octave.el (octave-syntax-propertize-function):
10912 Include the case when ' is at line beginning. (Bug#14336)
10914 2013-05-02 Glenn Morris <rgm@gnu.org>
10916 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10917 * desktop.el (vc-dir-mode): Just autoload it here.
10919 2013-05-02 Alan Mackenzie <acm@muc.de>
10921 Eliminate variable c-standard-font-lock-fontify-region-function.
10922 * progmodes/cc-mode.el
10923 (c-standard-font-lock-fontify-region-function): Remove.
10924 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10926 2013-05-01 Leo Liu <sdl.web@gmail.com>
10928 * progmodes/octave.el: Compatible with older emacs-24 releases.
10929 (inferior-octave-has-built-in-variables): Remove. Built-in
10930 variables were removed from Octave in 2007.
10931 (inferior-octave-startup): Fix uses.
10932 (comint-line-beginning-position): Remove compatibility code for
10935 2013-05-01 Juri Linkov <juri@jurta.org>
10937 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10939 2013-05-01 Juri Linkov <juri@jurta.org>
10941 * comint.el (comint-previous-matching-input): Don't print message
10942 "History item: %d" when `isearch-mode' is active.
10943 (comint-history-isearch-message): Print message "History item: %d"
10944 when `comint-input-ring-index' is not empty and this function is
10945 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10947 2013-05-01 Leo Liu <sdl.web@gmail.com>
10949 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10950 definitions. Use completion-at-point to insert keywords.
10951 (octave-abbrev-start): Remove.
10952 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10954 2013-04-30 Leo Liu <sdl.web@gmail.com>
10956 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10959 2013-04-30 Alan Mackenzie <acm@muc.de>
10961 Handle arbitrarily long C++ member initialisation lists.
10962 * progmodes/cc-engine.el (c-back-over-member-initializers):
10964 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10965 (most) member init lists.
10967 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10969 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10972 2013-04-30 Leo Liu <sdl.web@gmail.com>
10974 * progmodes/octave.el (octave-variables): Remove. No builtin
10975 variables any more. All converted to functions.
10976 (octave-font-lock-keywords, octave-completion-at-point-function):
10978 (octave-font-lock-texinfo-comment): New user variable.
10979 (octave-texinfo-font-lock-keywords): New variable for texinfo
10981 (octave-function-comment-block): New face.
10982 (octave-font-lock-texinfo-comment): New function.
10983 (octave-mode): Font lock texinfo comment block.
10985 2013-04-29 Leo Liu <sdl.web@gmail.com>
10987 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10988 indexing expression.
10989 (octave-continuation-string): Do not use \.
10990 (inferior-octave-complete-impossible): Remove.
10991 (inferior-octave-completion-table)
10992 (inferior-octave-completion-at-point): Remove its uses.
10993 (inferior-octave-startup): completion_matches was introduced to
10994 Octave in 1996 so safe to assume it.
10995 (octave-function-file-comment): Improve to follow how Octave does it.
10996 (octave-update-function-file-comment): Tweak.
10998 2013-04-29 Leo Liu <sdl.web@gmail.com>
11000 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11001 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11002 (octave-function-file-comment): Fix typo.
11003 (octave-sync-function-file-names): Use read-char-choice.
11005 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11007 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11008 to t for the less important warnings.
11010 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11012 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11014 2013-04-27 Glenn Morris <rgm@gnu.org>
11016 * vc/log-view.el (log-view-current-entry):
11017 Treat "---" separator lines as part of the following rev. (Bug#14169)
11019 2013-04-27 Juri Linkov <juri@jurta.org>
11021 * subr.el (read-number): Doc fix about using it by interactive
11022 code letter `n'. (Bug#14254)
11024 2013-04-27 Juri Linkov <juri@jurta.org>
11026 * desktop.el (desktop-auto-save-timeout): New option.
11027 (desktop-file-checksum): New variable.
11028 (desktop-save): Add optional arg `auto-save' and don't auto-save
11029 if nothing changed.
11030 (desktop-auto-save-timer): New variable.
11031 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11032 (after-init-hook): Call `desktop-auto-save-set-timer'.
11033 Suggested by Reuben Thomas <rrt@sc3d.org> in
11034 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11036 2013-04-27 Leo Liu <sdl.web@gmail.com>
11038 * progmodes/octave.el (octave-function-file-p)
11039 (octave-skip-comment-forward, octave-function-file-comment)
11040 (octave-update-function-file-comment): New functions.
11041 (octave-mode-map): Bind C-c ; to
11042 octave-update-function-file-comment.
11043 (octave-mode-menu): Add octave-update-function-file-comment.
11044 (octave-mode, inferior-octave-mode): Fix doc-string.
11045 (octave-insert-defun): Conform to Octave's coding convention.
11048 * files.el (basic-save-buffer): Don't let errors in
11049 before-save-hook prevent saving buffer.
11051 2013-04-20 Roland Winkler <winkler@gnu.org>
11053 * faces.el (read-face-name): Use completing-read if arg multiple
11056 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11058 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11059 displayed, move point to after the totals line.
11060 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11063 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11065 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11066 Add current dir to the load-path.
11067 (package-generate-autoloads): Don't rely on
11068 autoload-ensure-default-file.
11070 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11072 * textmodes/remember.el (remember-store-in-files): Document that
11073 the file name format is passed to `format-time-string'.
11075 2013-04-26 Leo Liu <sdl.web@gmail.com>
11077 * progmodes/octave.el (octave-sync-function-file-names): New function.
11078 (octave-mode): Use it in before-save-hook.
11080 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11082 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11085 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11086 \n and comment, even if it's not an implicit ; (bug#14218).
11088 2013-04-26 Glenn Morris <rgm@gnu.org>
11090 * subr.el (read-number): Once more use `read' rather than
11091 `string-to-number', to trap non-numeric input. (Bug#14254)
11093 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11095 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11096 Use `syntax-multiline' text property consistently instead of
11097 `font-lock-multiline'. (Bug#14237)
11099 2013-04-26 Glenn Morris <rgm@gnu.org>
11101 * emacs-lisp/shadow.el (list-load-path-shadows):
11102 No longer necessary to check for duplicate simple.el, since
11103 2012-07-07 change to init_lread to not include installation lisp
11104 directories in load-path when running uninstalled. (Bug#14270)
11106 2013-04-26 Leo Liu <sdl.web@gmail.com>
11108 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11109 (octave-mode, inferior-octave-mode): Use setq-local.
11110 (octave-not-in-string-or-comment-p): Rename to
11111 octave-in-string-or-comment-p.
11112 (octave-in-comment-p, octave-in-string-p)
11113 (octave-in-string-or-comment-p): Replace defsubst with defun.
11115 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11117 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11119 2013-04-25 Bastien Guerry <bzg@gnu.org>
11121 * textmodes/remember.el (remember-data-directory)
11122 (remember-directory-file-name-format): Fix custom types.
11124 2013-04-25 Leo Liu <sdl.web@gmail.com>
11126 * progmodes/octave.el (octave-completion-at-point-function):
11127 Make use of inferior octave process.
11128 (octave-initialize-completions): Remove.
11129 (inferior-octave-completion-table): New function.
11130 (inferior-octave-completion-at-point): Use it.
11131 (octave-completion-alist): Remove.
11133 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11135 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11136 (opascal-mode-syntax-table): New var.
11137 (opascal-literal-kind, opascal-is-literal-end)
11138 (opascal-literal-token-at): Rewrite.
11139 (opascal--literal-start-re, opascal-font-lock-keywords)
11140 (opascal--syntax-propertize): New constants.
11141 (opascal-font-lock-defaults): Adjust.
11142 (opascal-mode): Use them. Set comment-<foo> variables as well.
11143 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11144 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11145 (delphi-other-face, opascal-other-face): Remove face variables.
11146 (opascal-save-state): Remove macro.
11147 (opascal-fontifying-progress-step): Remove constant.
11148 (opascal--ignore-changes): Remove var.
11149 (opascal-set-token-property, opascal-parse-next-literal)
11150 (opascal-is-stable-literal, opascal-complete-literal)
11151 (opascal-is-literal-start, opascal-face-of)
11152 (opascal-parse-region, opascal-parse-region-until-stable)
11153 (opascal-fontify-region, opascal-after-change)
11154 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11155 (opascal-debug-parse-region, opascal-debug-parse-window)
11156 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11157 (opascal-debug-fontify-buffer): Remove.
11158 (opascal-debug-mode-map): Adjust accordingly.
11160 2013-04-25 Leo Liu <sdl.web@gmail.com>
11162 Merge octave-mod.el and octave-inf.el into octave.el with some
11164 * progmodes/octave.el: New file renamed from octave-mod.el.
11165 * progmodes/octave-inf.el: Merged into octave.el.
11166 * progmodes/octave-mod.el: Renamed to octave.el.
11168 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11170 * textmodes/reftex-vars.el
11171 (reftex-label-ignored-macros-and-environments): New defcustom.
11173 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11175 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11177 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11178 (smie-indent-keyword): Improve the check to ensure that the next
11179 comment is really on the same line.
11180 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11182 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11183 semi-colons if the line is not otherwise empty (bug#14218).
11185 2013-04-25 Glenn Morris <rgm@gnu.org>
11187 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11189 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11191 * progmodes/opascal.el (opascal-set-token-property): Rename from
11192 opascal-set-text-properties and only set `token' (bug#14134).
11193 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11194 (opascal-literal-text-properties): Remove.
11195 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11198 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11200 * textmodes/remember.el (remember-handler-functions): Add an
11201 option for a new handler `remember-store-in-files'.
11202 (remember-data-directory, remember-directory-file-name-format):
11204 (remember-store-in-files): New function to store remember notes
11205 as separate files within a directory.
11207 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11209 * progmodes/compile.el (compilation-next-error-function):
11210 Pass "formats" to compilation-find-file (bug#11777).
11212 2013-04-24 Glenn Morris <rgm@gnu.org>
11214 * vc/vc-bzr.el (vc-bzr-print-log):
11215 * vc/vc-hg.el (vc-hg-print-log):
11216 * vc/vc-svn.el (vc-svn-print-log):
11217 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11219 * vc/vc-bzr.el (vc-bzr-print-log):
11220 * vc/vc-cvs.el (vc-cvs-print-log):
11221 * vc/vc-git.el (vc-git-print-log):
11222 * vc/vc-hg.el (vc-hg-print-log):
11223 * vc/vc-mtn.el (vc-mtn-print-log):
11224 * vc/vc-rcs.el (vc-rcs-print-log):
11225 * vc/vc-sccs.el (vc-sccs-print-log):
11226 * vc/vc-svn.el (vc-svn-print-log):
11227 * vc/vc.el (vc-print-log-internal): Doc fixes.
11229 2013-04-23 Glenn Morris <rgm@gnu.org>
11231 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11232 Remove venerable code attempting to avoid substitute-command-keys.
11234 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11236 * textmodes/reftex-vars.el (reftex-label-regexps):
11237 Call `reftex-compile-variables' after changes to this variable.
11239 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11241 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11242 Use lexical-binding.
11243 (jit-lock-force-redisplay): Use markers, check buffer's continued
11244 existence and beware narrowed buffers.
11245 (jit-lock-fontify-now): Adjust call accordingly.
11247 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11249 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11250 to avoid misleading the user.
11252 2013-04-22 Leo Liu <sdl.web@gmail.com>
11254 * info-look.el: Prefer latex2e.info. (Bug#14240)
11256 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11258 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11260 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11261 * net/tramp.el (tramp-call-process): ... here.
11262 (tramp-set-completion-function, tramp-parse-putty):
11263 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11264 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11265 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11266 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11267 (tramp-call-local-coding-command): Use `tramp-call-process'
11268 instead of `tramp-compat-call-process'.
11270 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11271 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11272 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11273 (tramp-find-inline-compress): Improve traces.
11274 (tramp-maybe-send-script): Check for Perl binary.
11275 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11277 2013-04-22 Daiki Ueno <ueno@gnu.org>
11279 * epg.el (epg-context-pinentry-mode): New function.
11280 (epg-context-set-pinentry-mode): New function.
11281 (epg--start): Pass --pinentry-mode option to gpg command.
11283 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11285 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11286 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11287 `completion-at-point'. (Bug#13774)
11289 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11290 default key binding for `describe-distribution' has been moved to
11291 `C-h C-o'. (Bug#13970)
11293 2013-04-21 Glenn Morris <rgm@gnu.org>
11295 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11297 (vc-print-log): Clarify interactive prompt.
11299 2013-04-20 Glenn Morris <rgm@gnu.org>
11301 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11302 No longer include timestamp etc information.
11304 2013-04-20 Roland Winkler <winkler@gnu.org>
11306 * faces.el (read-face-name): Bug fix, return just one face if arg
11307 multiple is nil. (Bug#14209)
11309 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11311 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11312 (remove-function): Autoload.
11314 * comint.el (comint-redirect-original-filter-function): Remove.
11315 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11316 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11317 (vc-cvs-annotate-command):
11318 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11319 * progmodes/prolog.el (prolog-consult-compile):
11320 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11321 Use add/remove-function instead.
11322 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11323 (gud-tooltip-process-output, gud-tooltip-tips):
11324 Use add/remove-function instead.
11325 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11326 (scheme-interaction-mode, exit-scheme-interaction-mode):
11327 Use add/remove-function instead.
11329 * vc/vc-dispatcher.el: Use lexical-binding.
11330 (vc--process-sentinel): Rename from vc-process-sentinel.
11331 Change last arg to be the code to run. Don't use vc-previous-sentinel
11332 and vc-sentinel-commands any more.
11333 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11334 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11336 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11338 * progmodes/sh-script.el (sh-imenu-generic-expression):
11339 Handle function names with a single character. (Bug#14111)
11341 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11343 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11344 for subroutines defined in an eval (bug#14182).
11346 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11348 * bookmark.el (bookmark-completing-read): Improve handling of empty
11349 string (bug#14176).
11351 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11353 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11355 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11357 New faster Imenu implementation (bug#14058).
11358 * progmodes/python.el:
11359 (python-imenu-prev-index-position):
11360 (python-imenu-format-item-label-function)
11361 (python-imenu-format-parent-item-label-function)
11362 (python-imenu-format-parent-item-jump-label-function):
11364 (python-imenu-format-item-label)
11365 (python-imenu-format-parent-item-label)
11366 (python-imenu-format-parent-item-jump-label)
11367 (python-imenu--put-parent, python-imenu--build-tree)
11368 (python-imenu-create-index, python-imenu-create-flat-index)
11369 (python-util-popn): New functions.
11370 (python-mode): Set imenu-create-index-function to
11371 python-imenu-create-index.
11373 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11375 * winner.el (winner-active-region): Use region-active-p, activate-mark
11376 and deactivate-mark (bug#14225).
11378 * simple.el (deactivate-mark): Don't inline it.
11380 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11382 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11384 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11386 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11387 file extensions from the archive-mode entry in order to prefer
11388 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11390 2013-04-18 Leo Liu <sdl.web@gmail.com>
11392 * bindings.el (help-event-list): Add ?\?.
11394 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11396 * subr.el (with-wrapper-hook): Declare obsolete.
11397 * simple.el (filter-buffer-substring-function): New hook.
11398 (filter-buffer-substring): Use it.
11399 (filter-buffer-substring-functions): Mark obsolete.
11400 * minibuffer.el (completion-in-region-function): New hook.
11401 (completion-in-region): Use it.
11402 (completion-in-region-functions): Mark obsolete.
11403 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11404 * abbrev.el (abbrev-expand-function): New hook.
11405 (expand-abbrev): Use it.
11406 (abbrev-expand-functions): Mark obsolete.
11407 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11408 and :filter-return.
11410 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11412 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11413 and do not care about match data.
11415 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11417 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11418 completion tables when completing error conditions and
11419 `declare' arguments.
11420 (lisp-complete-symbol, field-complete): Mark as obsolete.
11421 (check-parens): Unmatched parens are user errors.
11422 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11424 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11426 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11427 command changed buffer (ie. `flyspell-pre-buffer' is not current
11428 buffer), which prevents making decisions based on invalid value of
11429 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11430 cause an error when `flyspell-pre-point' was nil after switching
11432 (flyspell-post-command-hook): No longer needs to change buffers when
11433 checking pre-word. While at it remove unnecessary progn.
11435 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11437 * textmodes/ispell.el (ispell-add-per-file-word-list):
11438 Fix `flyspell-correct-word-before-point' error when accepting
11439 words and `coment-padding' is an integer by using
11440 `comment-normalize-vars' (Bug #14214).
11442 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11444 New defun movement commands.
11445 * progmodes/python.el (python-nav--syntactically)
11446 (python-nav--forward-defun, python-nav-backward-defun)
11447 (python-nav-forward-defun): New functions.
11449 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11451 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11452 (python-syntax-context): Use named compiler-macro for backwards
11453 compatibility with Emacs 24.x.
11455 2013-04-17 Leo Liu <sdl.web@gmail.com>
11457 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11458 octave-hide-process-buffer.
11460 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11462 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11465 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11467 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11468 Fix adjustment of offset when receiving incomplete responses from GDB
11471 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11473 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11474 python-mode-abbrev-table.
11475 (python-skeleton-define): Adjust accordingly.
11476 (python-mode-abbrev-table): New table that inherits from it so that
11477 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11479 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11480 (abbrev-symbol): Use it.
11481 (abbrev--before-point): Use it since we already handle inheritance.
11483 2013-04-16 Leo Liu <sdl.web@gmail.com>
11485 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11486 binding to info-lookup-symbol.
11488 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11490 * minibuffer.el (completion--twq-all):
11491 * term/ns-win.el (ns-initialize-window-system):
11492 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11494 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11496 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11499 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11501 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11503 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11504 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11506 (ruby-end-of-defun): Remove the unused arg, change the docstring
11507 to reflect that this function is only used as the value of
11508 `end-of-defun-function'.
11509 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11510 to reflect an earlier change that beginning/end-of-defun functions
11511 jump between methods in a class definition, as well as top-level
11514 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11516 * minibuffer.el (minibuffer-complete): Don't just scroll
11517 a *Completions* that's been iconified.
11518 (minibuffer-force-complete): Make sure repetitions do cycle when going
11519 through completion-in-region -> minibuffer-complete.
11521 2013-04-15 Alan Mackenzie <acm@muc.de>
11523 Correct the placement of c-cpp-delimiters when there're #s not at
11526 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11527 place a submatch around the #.
11528 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11529 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11532 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11534 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11535 (advice--member-p): New arg `name'.
11536 (advice--add-function, advice-member-p): Use it (bug#14202).
11538 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11540 Reformulate java imenu-generic-expression.
11541 The old expression contained ill formed regexps.
11543 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11544 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11545 (cc-imenu-java-method-arg-regexp): New defconsts.
11546 (cc-imenu-java-build-type-args-regex): New defun.
11547 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11548 handling of spaces in the regexp.
11550 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11552 * textmodes/ispell.el (ispell-command-loop): Remove
11553 flyspell highlight of a word when ispell accepts it (bug #14178).
11555 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11557 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11558 uses code from the previous `ange-ftp-run-real-handler'.
11559 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11560 only in case that function exist. This is needed for proper
11561 unloading of Tramp.
11563 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11565 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11567 * textmodes/reftex.el (reftex-compile-variables): Use it.
11569 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11571 * files.el (normal-mode): Only use default major-mode if no other mode
11574 * emacs-lisp/trace.el (trace-values): New function.
11576 * files.el: Allow : in local variables (bug#14089).
11577 (hack-local-variable-regexp): New var.
11578 (hack-local-variables-prop-line, hack-local-variables): Use it.
11580 2013-04-13 Roland Winkler <winkler@gnu.org>
11582 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11583 data before it gets modified by bibtex-beginning-of-entry.
11585 2013-04-13 Roland Winkler <winkler@gnu.org>
11587 * textmodes/bibtex.el (bibtex-url): Doc fix.
11589 2013-04-13 Roland Winkler <winkler@gnu.org>
11591 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11592 does not visit a BibTeX file, exclude it from the list of buffers
11593 returned by bibtex-initialize.
11595 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11597 * window.el (split-window): Remove interactive form, since as a
11598 command this function is a special case of split-window-below.
11599 Correct doc string.
11601 2013-04-12 Roland Winkler <winkler@gnu.org>
11603 * faces.el (read-face-name): Do not override value of arg default.
11604 Allow single faces and strings as default values. Remove those
11605 elements from return value that are not faces.
11606 (describe-face): Simplify.
11607 (face-at-point): New optional args thing and multiple so that this
11608 function can provide the same functionality previously provided by
11610 (make-face-bold, make-face-unbold, make-face-italic)
11611 (make-face-unitalic, make-face-bold-italic, invert-face)
11612 (modify-face, read-face-and-attribute): Use face-at-point.
11614 * cus-edit.el (customize-face, customize-face-other-window)
11615 * cus-theme.el (custom-theme-add-face)
11616 * face-remap.el (buffer-face-set)
11617 * facemenu.el (facemenu-set-face): Use face-at-point.
11619 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11621 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11623 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11625 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11626 off leading { and trailing } from field values.
11628 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11630 * emacs-lisp/timer.el (timer--check): New function.
11631 (timer--time, timer-set-function, timer-event-handler): Use it.
11632 (timer-set-idle-time): Simplify.
11633 (timer--activate): CSE.
11634 (timer-event-handler): Give more info in error message.
11635 (internal-timer-start-idle): New function, moved from C.
11637 * mpc.el (mpc-proc): Add `restart' argument.
11638 (mpc-proc-cmd): Use it.
11639 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11640 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11643 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11645 * progmodes/sh-script.el: Implement `sh-mode' own
11646 `add-log-current-defun-function' (bug#14112).
11647 (sh-current-defun-name): New function.
11648 (sh-mode): Use the function.
11650 2013-04-09 Bastien Guerry <bzg@gnu.org>
11652 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11654 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11656 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11658 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11661 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11663 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11666 2013-04-07 Leo Liu <sdl.web@gmail.com>
11668 * pcmpl-x.el: New file.
11670 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11672 Do not set x-display-name until X connection is established.
11673 This is needed to prevent from weird situation described at
11674 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11675 * frame.el (make-frame): Set x-display-name after call to
11676 window system initialization function, not before.
11677 * term/x-win.el (x-initialize-window-system): Add optional
11678 display argument and use it.
11679 * term/w32-win.el (w32-initialize-window-system):
11680 * term/ns-win.el (ns-initialize-window-system):
11681 * term/pc-win.el (msdos-initialize-window-system):
11682 Add compatible optional display argument.
11684 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11686 * files.el (normal-backup-enable-predicate): On MS-Windows and
11687 MS-DOS compare truenames of temporary-file-directory and of the
11688 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11689 don't fail comparison by compare-strings. Also, compare file
11690 names case-insensitively on MS-Windows and MS-DOS.
11692 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11694 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11695 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11697 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11699 * whitespace.el (whitespace-color-on, whitespace-color-off):
11700 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11702 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11704 * ispell.el (ispell-set-spellchecker-params):
11705 Really set `ispell-args' for all equivs.
11707 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11709 * ido.el (ido-completions): Use extra elements of ido-decorations
11711 (ido-decorations): Update docstring.
11713 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11715 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11716 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11717 nil during initialization, in order not to miss changes since the
11718 file was opened. (Bug#14140)
11720 2013-04-05 Leo Liu <sdl.web@gmail.com>
11722 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11724 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11726 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11728 2013-04-04 Glenn Morris <rgm@gnu.org>
11730 * electric.el (electric-pair-inhibit-predicate): Add :version.
11732 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11734 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11735 when a package is required several times (bug#14082).
11737 2013-04-04 Roland Winkler <winkler@gnu.org>
11739 * faces.el (read-face-name): Behave as promised by the docstring.
11740 Assume that arg default is a list of faces.
11741 (describe-face): Call read-face-name with list of default faces.
11743 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11745 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11746 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11747 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11749 (bookmark-exit-hook-internal): Save even if list is empty.
11751 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11753 * emacs-lisp/package.el (package-pinned-packages): New var.
11754 (package--add-to-archive-contents): Obey it (bug#14118).
11756 2013-04-03 Alan Mackenzie <acm@muc.de>
11758 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11759 Also adapt to the new values of element 7 of a parse state.
11761 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11762 parameter `not-in-delimiter'. Handle being inside comment opener.
11763 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11764 character in case we're typing a '*' after a '/'.
11765 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11766 instead by passing the parameter to c-state-pp-to-literal.
11768 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11769 for elt. 7 of a parse state.
11771 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11773 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11774 * international/latin1-disp.el, international/mule-util.el:
11775 * language/cyril-util.el, language/european.el, language/ind-util.el:
11776 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11777 * language/tibetan.el, language/viet-util.el:
11778 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11780 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11782 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11783 (electric-pair-post-self-insert-function): Use it.
11784 (electric-pair-default-inhibit): New function, extracted from
11785 electric-pair-post-self-insert-function.
11787 2013-03-31 Roland Winkler <winkler@gnu.org>
11789 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11791 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11793 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11795 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11797 Un-indent after "pass" and "return" statements (Bug#13888)
11798 * progmodes/python.el (python-indent-block-enders): New var.
11799 (python-indent-calculate-indentation): Use it.
11801 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11803 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11804 defun. Defining it as defalias could introduce too eager
11805 byte-compiler optimization. (Bug#14030)
11807 2013-03-30 Chong Yidong <cyd@gnu.org>
11809 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11811 2013-03-30 Leo Liu <sdl.web@gmail.com>
11813 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11814 (kmacro-execute-from-register): Pass the keyboard macro to
11815 kmacro-call-macro or repeating won't work correctly.
11817 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11819 * progmodes/subword.el: Back to using `forward-symbol'.
11821 * subr.el (forward-whitespace, forward-symbol)
11822 (forward-same-syntax): Move from thingatpt.el.
11824 2013-03-29 Leo Liu <sdl.web@gmail.com>
11826 * kmacro.el (kmacro-to-register): New command.
11827 (kmacro-execute-from-register): New function.
11828 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11830 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11832 * mpc.el: Use defvar-local and setq-local.
11833 (mpc--proc-connect): Connection failures are not bugs.
11834 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11835 (mpc-volume-map): Bind to the up-events.
11837 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11839 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11840 instead of `forward-symbol'.
11842 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11844 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11845 (edebug--recursive-edit): Use it.
11846 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11847 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11849 2013-03-28 Leo Liu <sdl.web@gmail.com>
11851 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11853 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11855 * facemenu.el (list-colors-callback): New defvar.
11856 (list-colors-redisplay): New function.
11857 (list-colors-display): Install list-colors-redisplay as the
11858 revert-buffer-function. (Bug#14063)
11860 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11862 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11863 and suffixes don't overlap (bug#14061).
11865 * case-table.el: Use lexical-binding.
11866 (case-table-get-table): New function.
11867 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11869 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11871 * progmodes/subword.el: Add `superword-mode' to do word motion
11872 over symbol_words (parallels and leverages `subword-mode' which
11873 does word motion inside MixedCaseWords).
11875 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11877 * eshell/em-unix.el: Move su and sudo to...
11878 * eshell/em-tramp.el: ...Eshell tramp module.
11880 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11882 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11883 Change return value to be a sexp. Delay `get-buffer' to after
11884 restoring the desktop (bug#13951).
11886 2013-03-26 Leo Liu <sdl.web@gmail.com>
11888 * register.el: Move semantic tag handling back to
11889 cedet/semantic/senator.el. (Bug#14052)
11891 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11893 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11894 into the prompt either (bug#13963).
11896 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11898 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11899 part of "(error-foo)".
11901 2013-03-24 Juri Linkov <juri@jurta.org>
11903 * replace.el (list-matching-lines-prefix-face): New defcustom.
11904 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11905 `occur-engine' if `face-differs-from-default-p' returns t.
11906 (occur-engine): Add `,' inside backquote construct to evaluate
11907 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11908 Pass `prefix-face' to the functions `occur-context-lines' and
11909 `occur-engine-add-prefix'.
11910 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11911 `prefix-face' and propertize the prefix with `prefix-face'.
11914 2013-03-24 Leo Liu <sdl.web@gmail.com>
11916 * nxml/rng-valid.el (rng-validate-while-idle)
11917 (rng-validate-quick-while-idle): Guard against deleted buffer.
11920 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11921 is the last entry in kill-buffer-hook.
11923 * files.el (kill-buffer-hook): Doc fix.
11925 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11927 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11928 Make it safe-local.
11930 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11932 2013-03-23 Leo Liu <sdl.web@gmail.com>
11934 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11937 * nxml/rng-valid.el (rng-validate-mode)
11938 (rng-after-change-function, rng-do-some-validation):
11939 * nxml/rng-maint.el (rng-validate-buffer):
11940 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11941 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11942 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11943 (nxml-extend-after-change-region): Use with-silent-modifications.
11945 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11948 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11949 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11950 timer-idle-list. (Bug#13999)
11952 2013-03-23 Juri Linkov <juri@jurta.org>
11954 * info.el (info-index-match): New face.
11955 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11956 main pattern and add text properties with the new face to matches
11957 in index entries relative to the beginning of the index entry.
11960 2013-03-21 Eric Ludlam <zappo@gnu.org>
11962 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11963 Inhibit read only while inserting objects.
11965 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11967 * progmodes/cfengine.el: Update docs to mention
11968 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11969 symbol motion. Remove "_" from the word syntax.
11971 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11973 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11974 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11976 2013-03-20 Juri Linkov <juri@jurta.org>
11978 * info.el (Info-next-reference-or-link)
11979 (Info-prev-reference-or-link): New functions.
11980 (Info-next-reference, Info-prev-reference): Use them.
11981 (Info-try-follow-nearest-node): Handle footnote navigation.
11982 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11984 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11986 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11987 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11989 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11991 Suppress unnecessary non-ASCII chatter during build process.
11992 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11993 (batch-skkdic-convert): Suppress most of the chatter.
11994 It's not needed so much now that machines are faster,
11995 and its non-ASCII component was confusing; see Dmitry Gutov in
11996 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11998 2013-03-20 Leo Liu <sdl.web@gmail.com>
12000 * ido.el (ido-chop): Fix bug#10994.
12002 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12004 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12006 (whitespace-color-on, whitespace-color-off):
12007 Use `font-lock-fontify-buffer' (Bug#13817).
12009 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12011 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12012 remapping in mode-line.
12013 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12015 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12017 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12018 value for `whitespace-line' face (Bug#13875).
12019 (whitespace-font-lock-keywords): Change description.
12020 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12021 the constructed keywords instead.
12022 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12024 2013-03-19 Leo Liu <sdl.web@gmail.com>
12026 * progmodes/compile.el (compilation-display-error): New command.
12027 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12030 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12032 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12034 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12036 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12038 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12040 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12042 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12043 * net/tramp-gvfs.el (top):
12044 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12045 (tramp-handle-shell-command): Use it.
12046 (tramp-dissect-file-name): Raise an error when hostname is a
12047 method name, and neither method nor user is specified.
12049 * net/trampver.el: Update release number.
12051 2013-03-18 Leo Liu <sdl.web@gmail.com>
12053 Make sure eldoc can be turned off properly.
12054 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12056 (eldoc-display-message-p): Revert last change.
12057 (eldoc-display-message-no-interference-p)
12058 (eldoc-print-current-symbol-info): Tweak.
12060 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12062 * doc-view.el (doc-view-new-window-function): Check the new window
12063 overlay's display property instead the char property of the
12064 buffer's first char. Use `with-selected-window' instead of
12065 `save-window-excursion' with `select-window'.
12066 (doc-view-document->bitmap): Check the current doc-view overlay's
12067 display property instead the char property of the buffer's first char.
12069 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12071 Automate the build of ja-dic.el (Bug#13984).
12072 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12073 from the input, rather than assume that it's been done for us by the
12074 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12075 the current date into a ja-dic.el comment, as that complicates
12076 regression testing.
12078 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12080 * whitespace.el: Fix double evaluation.
12081 (whitespace-space, whitespace-hspace, whitespace-tab)
12082 (whitespace-newline, whitespace-trailing, whitespace-line)
12083 (whitespace-space-before-tab, whitespace-indentation)
12084 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12086 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12087 (whitespace-color-on): Use a single font-lock-add-keywords call.
12088 Fix double-evaluation of face variables.
12090 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12092 * net/tramp-adb.el (tramp-adb-parse-device-names):
12093 Use `start-process' instead of `call-process'. Otherwise, the
12094 function might be blocked under MS Windows. (Bug#13299)
12096 2013-03-17 Leo Liu <sdl.web@gmail.com>
12098 Extend eldoc to display info in the mode-line. (Bug#13978)
12099 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12100 (eldoc-mode-line-string): New variable.
12101 (eldoc-minibuffer-message): New function.
12102 (eldoc-message-function): New variable.
12103 (eldoc-message): Use it.
12104 (eldoc-display-message-p)
12105 (eldoc-display-message-no-interference-p):
12106 Support eldoc-post-insert-mode.
12108 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12109 (eval-expression): Run it.
12111 2013-03-17 Roland Winkler <winkler@gnu.org>
12113 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12114 strings in the list of return values.
12116 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12118 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12119 radix before checking for HMS forms.
12121 2013-03-16 Leo Liu <sdl.web@gmail.com>
12123 * progmodes/scheme.el: Add indentation and font-locking for λ.
12126 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12128 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12129 token before point (bug#13942).
12131 2013-03-16 Leo Liu <sdl.web@gmail.com>
12133 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12135 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12137 * startup.el (command-line-normalize-file-name): Fix handling of
12138 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12139 <xfq.free@gmail.com> in
12140 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12142 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12144 Sync with Tramp 2.2.7.
12146 * net/trampver.el: Update release number.
12148 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12150 * doc-view.el: Fix bug#13887.
12151 (doc-view-insert-image): Don't modify overlay associated to
12152 non-live windows, and implement horizontal centering of image in
12153 case it's smaller than the window.
12154 (doc-view-new-window-function): Force redisplay of new windows on
12157 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12159 * saveplace.el (save-place-alist-to-file): Don't sort
12160 `save-place-alist', just pretty-print it (bug#13882).
12162 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12164 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12165 Check whether `default-file-name-coding-system' is bound.
12166 It isn't in XEmacs.
12168 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12170 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12171 backquotes for `obsolete' (bug#13929).
12173 * international/mule.el (find-auto-coding): Include file name in
12174 obsolescence warning (bug#13922).
12176 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12178 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12179 for CFEngine 3-specific indentation.
12180 (cfengine3-indent-line): Use it. Fix up category regex.
12181 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12183 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12185 * type-break.el (type-break-file-name):
12186 * textmodes/remember.el (remember-data-file):
12187 * strokes.el (strokes-file):
12188 * shadowfile.el (shadow-initialize):
12189 * saveplace.el (save-place-file):
12190 * ps-bdf.el (bdf-cache-file):
12191 * progmodes/idlwave.el (idlwave-config-directory):
12192 * net/quickurl.el (quickurl-url-file):
12193 * international/kkc.el (kkc-init-file-name):
12194 * ido.el (ido-save-directory-list-file):
12195 * emulation/viper.el (viper-custom-file-name):
12196 * emulation/vip.el (vip-startup-file):
12197 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12198 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12200 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12202 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12203 * language/thai-word.el: Switch to UTF-8.
12205 See ChangeLog.16 for earlier changes.
12207 ;; Local Variables:
12211 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12213 This file is part of GNU Emacs.
12215 GNU Emacs is free software: you can redistribute it and/or modify
12216 it under the terms of the GNU General Public License as published by
12217 the Free Software Foundation, either version 3 of the License, or
12218 (at your option) any later version.
12220 GNU Emacs is distributed in the hope that it will be useful,
12221 but WITHOUT ANY WARRANTY; without even the implied warranty of
12222 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12223 GNU General Public License for more details.
12225 You should have received a copy of the GNU General Public License
12226 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.