1 2014-01-13 Daniel Colascione <dancol@dancol.org>
3 * textmodes/rst.el (rst-define-key): Provide deprecated
4 keybindings through named functions instead of anonymous ones so
5 that "??" doesn't appear in describe-mode output.
7 2014-01-13 Bastien Guerry <bzg@gnu.org>
9 * simple.el (define-alternatives): Call the selected command
10 interactively. When setting `COMMAND--implementation' for the
11 first time, tell the user how to chose another implementation.
12 Enhance the docstring.
14 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
16 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
17 (log-edit--match-first-line): New function.
18 (log-edit-font-lock-keywords): Use it.
19 (log-edit-mode): Make jit-lock-defer-multiline work.
21 2014-01-13 Bastien Guerry <bzg@gnu.org>
23 * rect.el (rectangle-mark-mode): When the region is not active,
24 display a message saying that the mark as been set and that
25 rectangle mode is in use.
26 (rectangle--highlight-for-redisplay): Only put an overlay with a
27 visible vertical bar when (display-graphic-p) is non-nil.
28 This partially fixes Bug#16403.
30 2014-01-13 Juri Linkov <juri@jurta.org>
32 * info.el (Info-find-file): Go to DIR before displaying the error
33 about a nonexistent file if no previous Info file is visited.
34 Use `user-error' instead of `error' for "Info file %s does not exist".
35 (Info-find-node-2): In case of a nonexistent node in unwind forms
36 go to the Top node if there is no previous node to revert to.
39 2014-01-13 Martin Rudalics <rudalics@gmx.at>
41 fit-frame/window-to-buffer code fixes including one for Bug#14096.
42 * window.el (fit-frame-to-buffer): Fix doc-string.
43 Respect window-min-height/-width. Fit pixelwise when
44 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
45 when avoiding that frame goes partially off-screen.
46 (fit-window-to-buffer): Respect window-min-height/-width
49 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
51 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
54 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
56 * net/shr.el (shr-render-region): Autoload.
58 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
60 * net/eww.el (eww-download-directory): Rename from
61 `eww-download-path' (Bug#16419).
63 2014-01-12 Leo Liu <sdl.web@gmail.com>
65 * dired-x.el (dired-mode-map): Fix last change.
67 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
69 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
72 * emacs-lisp/generic.el (generic--normalize-comments):
73 Rename from generic--normalise-comments. All uses changed.
74 * play/bubbles.el (bubbles--neighborhood-score):
75 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
76 (bubbles--neighborhood-available)
77 (bubbles--update-neighborhood-score):
78 Rename from names with 'neighbourhood'. All uses changed.
80 2014-01-12 Leo Liu <sdl.web@gmail.com>
82 Re-implement the feature of showing eldoc info after editing.
83 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
84 (eldoc-edit-message-commands): New function.
85 (eldoc-print-after-edit): New variable.
86 (eldoc-pre-command-refresh-echo-area): Emit message only by
87 eldoc-message-commands.
88 (eldoc-mode): Restrict eldoc-message-commands to editing commands
89 if eldoc-print-after-edit is set. (Bug#16346)
91 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
93 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
95 * version.el (emacs-repository-get-version): Enhance so the
96 function works correctly in either a Bazaar or Git repo.
98 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
99 Goes with removal of the joke manpages from /etc.
101 2014-01-10 K. Handa <handa@gnu.org>
103 * mail/rmail.el (rmail-get-coding-system):
104 Check rmail-get-coding-function before "funcall"ing it.
106 2014-01-10 Glenn Morris <rgm@gnu.org>
108 * emacs-lisp/authors.el (authors-fixed-entries):
109 Update for files that no longer exist.
111 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
113 * version.el (emacs-bzr-get-version): Restore compatibilty with
116 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
118 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
121 2014-01-10 Eli Zaretskii <eliz@gnu.org>
123 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
125 2014-01-10 Chong Yidong <cyd@gnu.org>
127 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
129 2014-01-10 Anders Lindgren <andlind@gmail.com>
131 * follow.el (follow-cache-command-list): Include right-char and
134 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
137 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
138 * woman.el (woman-mark-horizontal-position):
139 Rename from woman-mark-horizonal-position. Use changed.
141 2014-01-10 Glenn Morris <rgm@gnu.org>
143 * info.el (info-initialize): If running uninstalled, ensure our
144 own info files are always found first, even if INFOPATH is set.
146 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
148 2014-01-09 David Engster <deng@randomsample.de>
150 * emacs-lisp/eieio-custom.el:
151 * emacs-lisp/eieio-opt.el: Set generated autoload file to
152 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
153 * emacs-lisp/eieio.el: Regenerate autoloads.
155 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
157 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
158 following renames. (Bug#8756)
160 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
162 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
164 (activate-mark): Add `no-tmm' argument.
165 (set-mark, push-mark-command): Use it instead of running
166 activate-mark-hook by hand.
168 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
170 In preparation for the move to git, sanitize out some
171 Bazaar-specific names.
173 * version.el (emacs-bzr-version): Name changed to
174 emacs-repository-version. Obsolete-variable alias made.
175 * loadup.el: Follow through on this name change.
176 * mail/emacsbug.el (report-emacs-bug): Factor out any
177 assumption about the version control system in use.
179 2014-01-08 David Engster <deng@randomsample.de>
181 * help-fns.el (help-fns-describe-function-functions):
182 New variable to call functions for augmenting help buffers.
183 (describe-function-1): Remove explicit calls to
184 `help-fns--compiler-macro', `help-fns--parent-mode' and
185 `help-fns--obsolete'. Put them in above new variable instead, and
186 call them through `run-hook-with-args'.
187 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
188 `eieio-describe-class'. Not meant for interactive use anymore,
189 but to augment existing help buffers. Remove optional second
190 argument. Create proper button for file location.
191 Rewrite function to use `insert' instead of `princ' and `prin1' where
193 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
194 (eieio-method-def, eieio-class-def): Move further up.
195 (describe-method, describe-generic, eieio-describe-method):
197 (eieio-help-constructor, eieio-help-generic): Rename from
198 `eieio-describe-constructor' and `eieio-describe-generic', resp.
199 Rewrite to use `insert' in the current buffer and use proper help
201 (eieio-help-find-method-definition)
202 (eieio-help-find-class-definition): Also accept symbols as
204 (eieio-help-mode-augmentation-maybee): Remove.
205 (eieio-describe-class-sb): Use `describe-function'.
206 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
207 Add `eieio-help-generic' and `eieio-help-constructor'.
209 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
212 * language/china-util.el (hz-ascii-designation):
213 Rename from hz-ascii-designnation.
214 (hz-ascii-designation): Rename from hz-ascii-designnation.
217 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
219 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
222 2014-01-08 Bastien Guerry <bzg@gnu.org>
224 * emacs-lisp/package.el (package-delete):
225 Correctly delete the package from package-alist.
227 2014-01-08 Daiki Ueno <ueno@gnu.org>
229 * emacs-lisp/package.el (url-recreate-url): Declare.
230 (url-http-target-url): Declare.
231 (package-handle-response): Include requested URL in the error message.
232 (package--check-signature): Don't re-signal errors from
233 package--with-work-buffer. Suggested by Stefan Monnier.
235 2014-01-07 Bastien Guerry <bzg@gnu.org>
237 * minibuffer.el (completion--try-word-completion): When both a
238 hyphen and a space are possible candidates for the character
239 following a word, display both candidates. (Bug#15980)
241 2014-01-07 Martin Rudalics <rudalics@gmx.at>
243 * window.el (balance-windows-2): While rounding don't give a
244 window more than the remainder. Bug#16351, Bug#16383.
246 2014-01-07 Glenn Morris <rgm@gnu.org>
248 * menu-bar.el (menu-bar-help-extra-packages): Remove.
249 (menu-bar-help-menu): Use view-external-packages instead.
251 2014-01-07 Bastien Guerry <bzg@gnu.org>
253 * emacs-lisp/package.el (package-delete): Also delete the package
254 name from `package-alist', not its description only.
256 2014-01-07 Glenn Morris <rgm@gnu.org>
258 * help.el (view-external-packages):
259 * menu-bar.el (menu-bar-help-extra-packages):
260 Visit efaq.info rather than etc/MORE.STUFF.
262 2014-01-07 Juri Linkov <juri@jurta.org>
264 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
265 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
267 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
268 that shadows RET. (Bug#16342)
270 2014-01-07 Chong Yidong <cyd@gnu.org>
272 * isearch.el (isearch-yank-char, isearch-yank-word)
273 (isearch-yank-line): Doc fix.
275 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
277 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
278 * emacs-lisp/elint.el (elint-find-builtins):
279 * emacs-lisp/eldoc.el (eldoc-symbol-function):
280 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
281 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
282 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
283 * apropos.el (apropos-safe-documentation):
284 * subr.el (symbol-file): Remove redundant fboundp.
285 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
287 2014-01-06 Bastien Guerry <bzg@gnu.org>
289 * hl-line.el (global-hl-line-overlay): Make a local variable.
290 (global-hl-line-overlays): New variable to store all overlays.
291 (global-hl-line-mode): Don't delete overlays from the current
292 buffer when `global-hl-line-sticky-flag' is non-nil.
293 (global-hl-line-highlight): Add new overlays to
294 `global-hl-line-overlays'.
295 (global-hl-line-unhighlight-all): New function to delete all
296 overlays when turning off `global-hl-line-mode'.
297 This fixes Bug#16183.
299 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
301 * subr.el (set-transient-map): Fix nested case and docstring.
303 2014-01-06 Tassilo Horn <tsdh@gnu.org>
305 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
308 2014-01-06 Daniel Colascione <dancol@dancol.org>
310 Fix defun navigation in vc log view.
312 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
313 like `beginning-of-defun'.
314 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
315 log-view-end-of-defun to log-view-end-of-defun-1. Replace
316 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
317 (log-view-extract-comment): Call `log-view-current-entry' directly
318 instead of relying on broken `log-view-beginning-of-defun' behavior.
320 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
323 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
324 * emacs-lisp/debug.el (cancel-debug-on-entry):
325 * epg.el (epg-error-to-string):
326 * files.el (recover-file):
327 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
328 * mail/emacsbug.el (report-emacs-bug-hook):
329 * mail/sendmail.el (mail-recover):
330 * ses.el (ses-yank-resize):
331 * term/ns-win.el (ns-print-buffer):
332 Spelling fixes in diagnostics, mostly for "canceled" with one L.
333 * epg.el (epg-key-capability-alist): Rename from misspelled version.
335 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
337 2014-01-06 Leo Liu <sdl.web@gmail.com>
339 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
340 to avoid shadowing global key. (Bug#16354)
342 2014-01-06 Daniel Colascione <dancol@dancol.org>
344 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
347 2014-01-05 Martin Rudalics <rudalics@gmx.at>
349 * window.el (balance-windows): Add mising t to fix Bug#16351.
351 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
353 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
355 (shr-insert): If we have a word that's longer than `shr-width',
356 break after it anyway. Otherwise we'll do no breaking once we get
359 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
361 * net/eww.el (eww): Support single/double quote for search.
362 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
363 (eww-history-quit): Delete and use quit-window.
364 (eww-history-kill): Delete, because it doesn't work well and
366 (eww-history-mode-map): Delete some keys and add easy-menu.
368 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
370 Fix misspelling of 'chinese' in rx (Bug#16237).
371 * emacs-lisp/rx.el (rx-categories): Correct spelling of
374 Change subword regexps back to vars (Bug#16296).
375 * progmodes/subword.el (subword-forward-regexp)
376 (subword-backward-regexp): Change these back to variables.
378 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
380 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
381 syntax-begin-function (bug#16247).
383 2014-01-03 Chong Yidong <cyd@gnu.org>
385 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
386 (advice--docstring): Delete variable.
387 (advice--make-1): Leave the docstring empty.
388 (advice-add): Use function-documentation for advised docstring.
390 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
391 Ignore function-documentation property when getting documentation.
392 (ad-activate-advised-definition): Use function-documentation
393 generate the docstring.
394 (ad-make-advised-definition): Don't call
395 ad-make-advised-definition-docstring.
396 (ad-make-advised-definition-docstring, ad-advised-definition-p):
399 * progmodes/sql.el (sql-help): Use function-documentation instead
400 of dynamic-docstring-function property. No need to autoload now.
401 (sql--help-docstring): New variable.
402 (sql--make-help-docstring): Use it.
404 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
406 * ielm.el (ielm-tab): Retarget.
407 (ielm-map): Use ielm-tab for tab.
408 (ielm-complete-filename): Use comint-filename-completion.
409 (ielm-complete-symbol): Remove.
410 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
411 remove ielm-tab from completion-at-point-functions (bug#16224).
413 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
414 Beware signals raised by predicates (bug#16201).
416 2014-01-02 Richard Stallman <rms@gnu.org>
418 * dired-aux.el (dired-do-print): Handle printer-name.
420 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
421 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
422 (rmail-epa-decrypt): Turn off mime processing.
424 * mail/rmail.el (rmail-make-in-reply-to-field):
425 Add parens in message-id.
427 * mail/rmail.el (rmail-get-coding-function): Variable.
428 (rmail-get-coding-system): Use it.
430 2013-12-31 Eli Zaretskii <eliz@gnu.org>
432 * international/mule-conf.el: Unify the charset indian-is13194.
433 (indian-is13194): Specify unify-map.
435 2013-12-31 Leo Liu <sdl.web@gmail.com>
437 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
439 2013-12-30 Daniel Colascione <dancol@dancol.org>
441 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
442 of printing a useless when we resume from sleep.
444 * progmodes/sh-script.el
445 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
446 in indentation code. (Bug#16233)
448 2013-12-28 João Távora <joaotavora@gmail.com>
450 * elec-pair.el (electric-pair-post-self-insert-function):
451 Don't open extra newlines at beginning of buffer. (Bug#16272)
453 2013-12-28 Eli Zaretskii <eliz@gnu.org>
455 * frame.el (window-system-for-display): Don't allow to create a
456 GUI frame from a -nw session on MS-Windows. (Bug#14739)
458 2013-12-28 Glenn Morris <rgm@gnu.org>
460 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
463 * apropos.el (apropos-match-face):
464 * calculator.el (calculator-displayer):
465 * dabbrev.el (dabbrev-search-these-buffers-only):
466 * face-remap.el (buffer-face-mode-face):
467 * simple.el (yank-handled-properties):
468 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
469 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
470 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
471 (hashcash-double-spend-database):
472 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
473 (ruby-deep-indent-paren-style):
474 * textmodes/flyspell.el (flyspell-auto-correct-binding):
475 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
476 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
477 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
478 Specify custom types.
480 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
481 * bookmark.el (bookmark-bmenu-use-header-line):
482 * doc-view.el (doc-view-scale-internally):
483 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
484 * register.el (register-preview-delay):
485 * net/shr.el (shr-bullet):
486 * progmodes/cfengine.el (cfengine-cf-promises)
487 (cfengine-parameters-indent):
488 * progmodes/octave.el (inferior-octave-error-regexp-alist):
489 * textmodes/reftex-vars.el (reftex-label-regexps):
490 * vc/log-edit.el (log-edit-setup-add-author): Add version.
492 * net/tls.el (tls-certtool-program): Fix default value.
494 * desktop.el (desktop-restore-in-current-display):
495 * newcomment.el (comment-empty-lines):
496 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
497 (idlwave-pad-keyword):
498 * progmodes/tcl.el (tcl-tab-always-indent):
499 * textmodes/reftex-vars.el (reftex-index-default-tag):
500 * elec-pair.el (electric-pair-skip-whitespace):
501 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
503 * emacs-lisp/authors.el (authors-ignored-files)
504 (authors-valid-file-names, authors-renamed-files-alist): Additions.
506 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
508 * shell.el (shell-dynamic-complete-command): Doc fix.
509 (shell--command-completion-data): Shell completion now matches
510 executable filenames from the current buffer's directory, on
511 systems in which this behavior is the default (windows-nt, ms-dos).
513 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
515 * net/shr.el (shr-insert): Don't infloop if the width is zero.
517 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
519 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
522 * electric.el: Move all electric-pair-* to elec-pair.el.
523 * elec-pair.el: New file, split from electric.el.
525 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
527 * net/shr.el (shr-find-fill-point): Don't try to fill if the
528 indentation level is larger than the width, because that will
530 (shr-insert): Fill repeatedly long texts, so that Japanese is
531 formatted correctly (bug#16263).
532 (shr-find-fill-point): Off by one error in comparison with the
535 2013-12-26 João Távora <joaotavora@gmail.com>
537 * electric.el (electric-pair-mode): More flexible engine for skip-
538 and inhibit predicates, new options for pairing-related functionality.
539 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
540 if that keeps or improves their balance in buffers.
541 (electric-pair-delete-adjacent-pairs): Delete the pair when
542 backspacing over adjacent matched delimiters.
543 (electric-pair-open-extra-newline): Open extra newline when
544 inserting newlines between adjacent matched delimiters.
545 (electric--sort-post-self-insertion-hook):
546 Sort post-self-insert-hook according to priority values when
547 minor-modes are activated.
548 * simple.el (newline-and-indent): Call newline with interactive
550 (blink-paren-post-self-insert-function): Set priority to 100.
551 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
552 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
553 comments. Locally set electric-pair-skip-whitespace to 'chomp and
554 electric-pair-open-newline-between-pairs to nil.
556 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
558 * progmodes/python.el: Use lexical-binding.
559 (python-nav-beginning-of-defun): Stop searching ASAP.
561 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
563 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
564 Fix interactive spec. Doc fix. (Bug#15754)
566 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
568 * emacs-lisp/byte-run.el (eval-when-compile):
569 * progmodes/cc-defs.el (cc-eval-when-compile):
570 Fix edebug spec (bug#16184).
572 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
574 * net/shr.el (shr-visit-file): Remove debugging function.
575 (shr-insert): Don't infloop if we can't find a good place to break
576 the line (bug#16256).
578 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
580 * progmodes/python.el:
581 (python-nav--lisp-forward-sexp): New function.
582 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
583 python-nav-lisp-forward-sexp-safe.
584 (python-nav--forward-sexp): New argument SAFE allows switching
585 forward sexp movement behavior for parens.
586 (python-nav-forward-sexp): Throw errors on unterminated parens
588 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
589 (python-nav-backward-sexp-safe): New functions.
590 (python-shell-buffer-substring):
591 Use `python-nav-forward-sexp-safe'.
593 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
595 * net/shr.el (shr-find-fill-point): Don't break lines before a
597 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
598 (shr-find-fill-point): Remove the special checks for the quotation
599 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
601 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
603 * net/eww.el (eww-form-textarea): Use a different face for
604 textareas than text input since they have different keymaps
607 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
609 * progmodes/python.el (python-nav-beginning-of-statement):
610 Speed up (Bug#15295).
612 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
614 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
615 the window configuration.
617 2013-12-24 Eli Zaretskii <eliz@gnu.org>
619 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
620 we run on MS-Windows or MS-DOS.
622 2013-12-24 Martin Rudalics <rudalics@gmx.at>
624 * window.el (balance-windows-area): Call window-size instead of
625 window-height and window-width. Bug#16241.
627 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
629 * net/eww.el (eww-bookmark-quit): Remove.
630 (eww-bookmark-browse): Restore the window configuration when you
631 choose a bookmark (bug#16144).
633 2013-12-24 Daniel Colascione <dancol@dancol.org>
635 * icomplete.el: Remove redundant :group arguments to `defcustom'
637 (icomplete-show-matches-on-no-input): New customizable variable.
638 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
639 we have something to show.
640 (icomplete-exhibit): Compute completions even if we have no user input.
642 2013-12-23 Daniel Colascione <dancol@dancol.org>
644 * icomplete.el: Move `provide' to end of file.
646 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
648 * net/gnutls.el (gnutls-verify-error): Add version tag.
650 2013-12-23 Chong Yidong <cyd@gnu.org>
652 * subr.el (set-transient-map): Rename from
653 set-temporary-overlay-map. Doc fix.
655 * face-remap.el (text-scale-adjust):
656 * indent.el (indent-rigidly):
657 * kmacro.el (kmacro-call-macro):
658 * minibuffer.el (minibuffer-force-complete):
659 * repeat.el (repeat):
660 * simple.el (universal-argument--mode):
661 * calendar/todo-mode.el (todo-insert-item--next-param):
662 * progmodes/f90.el (f90-abbrev-start): Callers changed.
664 * indent.el (indent-rigidly): Use substitute-command-keys.
666 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
668 * net/eww.el (eww-tag-select): Add text-property to jump to next
670 (eww): Add non-supported ftp error.
672 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
674 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
675 comments. Handle electric indent after typing `?' and `!'.
677 2013-12-22 Chong Yidong <cyd@gnu.org>
679 * faces.el (face-spec-recalc): If the theme specs are not
680 applicable to a frame, fall back on the defface spec.
681 This prevents themes from obliterating faces on low-color terminals.
683 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
685 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
686 after `{'. We need it after block openers, and it doesn't seem
687 to hurt after hash openers.
689 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
691 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
692 extracted from `ruby-smie-rules'.
693 (ruby--electric-indent-chars): New variable.
694 (ruby--electric-indent-p): New function.
695 (ruby-mode): Use `electric-indent-functions' instead of
696 `electric-indent-chars'.
698 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
700 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
702 (ruby-smie-rules): Indent plus one level after `=>'.
704 2013-12-21 Richard Stallman <rms@gnu.org>
706 * simple.el (newline): Doc fix.
708 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
710 * net/eww.el (eww-list-histories, eww-list-histories)
711 (eww-history-browse, eww-history-quit, eww-history-kill)
712 (eww-history-mode-map, eww-history-mode): New command and
713 functions to list browser histories.
714 (eww-form-text): Support text form with disabled
715 and readonly attributes.
716 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
718 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
720 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
721 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
722 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
723 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
725 (eww-bookmark-mode-map): Add menu.
726 (eww-render, eww-mode): Use `setq-local'.
727 (eww-tool-bar-map): New variable.
728 (eww-mode): Set `tool-bar-map'.
729 (eww-view-source): Check for `html-mode' with `fboundp'.
731 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
733 * net/shr.el (shr--extract-best-source): Don't bug out on audio
734 elements with text inside. Also remove debugging.
736 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
738 * cus-start.el (all): Add ns-use-srgb-colorspace.
740 2013-12-21 Chong Yidong <cyd@gnu.org>
742 * custom.el (custom-theme-recalc-face): Do nothing if the face is
743 undefined. Thus, theme settings for undefined faces do not take
744 effect until the faces are defined with defface, the same as with
747 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
748 (face-spec-reset-face): Don't assign extra properties in temacs.
749 (face-spec-recalc): Apply X resources too.
751 2013-12-21 Chong Yidong <cyd@gnu.org>
753 * faces.el (face-spec-set):
754 * cus-face.el (custom-theme-set-faces, custom-set-faces):
755 * custom.el (defface): Doc fixes (Bug#16203).
757 * indent.el (indent-rigidly-map): Add docstring, and move commands
758 into named functions.
759 (indent-rigidly-left, indent-rigidly-right)
760 (indent-rigidly-left-to-tab-stop)
761 (indent-rigidly-right-to-tab-stop): New functions. Decide on
762 indentation direction based on bidi direction, and accumulate
763 sequential commands in a single undo boundary.
764 (indent-rigidly--pop-undo): New utility function.
766 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
768 * faces.el (read-face-name): Require crm.el when using crm-separator.
770 2013-12-20 Daniel Colascione <dancol@dancol.org>
772 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
773 so that we don't reflow comments into the shebang line.
775 2013-12-20 Juri Linkov <juri@jurta.org>
777 * saveplace.el (save-place-to-alist): Add `dired-filename' as
778 a position when `dired-directory' is non-nil. Check integer
779 positions with `integerp'.
780 (toggle-save-place, save-places-to-alist): Add check for
782 (save-place-find-file-hook): Check integer positions with
784 (save-place-dired-hook): Use `dired-goto-file' when
785 `dired-filename' is found in the assoc list. Check integer
786 positions with `integerp'.
787 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
789 * dired.el (dired-initial-position-hook): Rename back from
790 `dired-initial-point-hook'.
791 (dired-initial-position): Rename `dired-initial-point-hook' to
792 `dired-initial-position-hook'.
793 (dired-file-name-at-point): Doc fix. (Bug#15329)
795 2013-12-20 Juri Linkov <juri@jurta.org>
797 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
798 (read-regexp-suggestions): New function.
799 (read-regexp): Use `read-regexp-defaults-function' to get default values.
800 Use `read-regexp-suggestions'. Add non-empty default to history
802 (occur-read-regexp-defaults-function): Remove function.
803 (occur-read-primary-args): Use `regexp-history-last' instead of
804 `occur-read-regexp-defaults-function'.
806 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
807 (hi-lock-line-face-buffer, hi-lock-face-buffer)
808 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
809 `hi-lock-read-regexp-defaults-function'. Doc fix.
810 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
811 with `find-tag-default-as-symbol-regexp'. Doc fix.
812 (hi-lock-read-regexp-defaults): Remove function.
813 (hi-lock-regexp-okay): Add check for null.
815 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
816 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
818 * subr.el (find-tag-default-as-symbol-regexp): New function.
819 (find-tag-default-as-regexp): Move symbol regexp formatting to
820 `find-tag-default-as-symbol-regexp'.
822 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
824 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
827 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
829 * calendar/todo-mode.el: New implementation of item insertion
830 commands and key bindings.
831 (todo-key-prompt): New face.
832 (todo-insert-item): New command.
833 (todo-insert-item--parameters): New defconst, replacing defvar
834 todo-insertion-commands-args-genlist.
835 (todo-insert-item--param-key-alist): New defconst, replacing
836 defvar todo-insertion-commands-arg-key-list.
837 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
838 (todo-insert-item--argsleft, todo-insert-item--apply-args)
839 (todo-insert-item--next-param): New functions.
840 (todo-insert-item--args, todo-insert-item--argleft)
841 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
843 (todo-key-bindings-t): Change binding of "i" from
844 todo-insertion-map to todo-insert-item.
845 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
846 (todo-insertion-command-name, todo-insertion-commands-names)
847 (todo-define-insertion-command, todo-insertion-commands)
848 (todo-insertion-key-bindings, todo-insertion-map): Remove.
850 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
852 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
853 (todo-toggle-item-highlighting): Use eval-and-compile instead of
855 (todo-move-category): Allow choosing a non-existing todo file to
856 move the category to, and create that file.
857 (todo-default-priority): New user option.
858 (todo-set-item-priority): Use it.
859 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
860 (desktop-restore-file-buffer): Declare.
861 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
862 (todo-modes-set-2): Locally set desktop-save-buffer to
863 todo-desktop-save-buffer.
864 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
865 (auto-mode-alist): Add autoload cookie.
867 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
869 * emacs-lisp/subr-x.el: Renamed from helpers.el.
870 helpers.el was a poor choice of name.
871 (string-remove-prefix): New function.
872 (string-remove-suffix): New function.
874 2013-12-20 Martin Rudalics <rudalics@gmx.at>
876 Fix assignment for new window total sizes.
877 * window.el (window--pixel-to-size): Remove function.
878 (window--pixel-to-total-1, window--pixel-to-total):
879 Fix calculation of new total sizes.
881 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
883 * comint.el (comint-output-filter): Fix rear-nonsticky property
884 placement (Bug#16010).
886 2013-12-20 Chong Yidong <cyd@gnu.org>
888 * faces.el (read-color): Minor fix for completion function.
890 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
892 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
893 New option. (Bug#16182)
894 (ruby-smie--indent-to-stmt-p): Use it.
895 (ruby-smie-rules): Revert the logic in the handling of `when'.
896 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
897 (ruby-deep-arglist, ruby-deep-indent-paren)
898 (ruby-deep-indent-paren-style): Update docstrings to note that the
899 vars don't have any effect with SMIE.
901 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
903 * calc/calc.el (calc-enter, calc-pop): Use the variable
904 `calc-context-sensitive-enter'.
906 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
908 * net/shr.el (shr-insert): Protect against infloops in degenerate
911 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
913 * progmodes/octave.el (octave): Add link to manual and octave
915 (octave-mode-menu): Link to octave-mode manual.
917 2013-12-20 Leo Liu <sdl.web@gmail.com>
919 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
920 insertion using skeleton-end-newline. (Bug#16138)
922 2013-12-20 Juri Linkov <juri@jurta.org>
924 * replace.el (occur-engine): Use `add-face-text-property'
925 to add the face property to matches and titles. (Bug#14645)
927 * hi-lock.el (hi-green): Use lighter color "light green" closer to
928 the palette of other hi-lock colors.
929 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
931 2013-12-19 Juri Linkov <juri@jurta.org>
933 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
934 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
935 (minibuffer-history-symbol): Move variable declaration closer to
938 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
941 2013-12-19 Juri Linkov <juri@jurta.org>
943 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
945 (log-edit-hook): Add it to :options. (Bug#16170)
947 2013-12-19 Juri Linkov <juri@jurta.org>
949 * simple.el (eval-expression-print-format): Don't check for
950 command names and the last command. Always display additional
951 formats of the integer result in the echo area, and insert them
952 to the current buffer only with a zero prefix arg.
953 Display character when char-displayable-p is non-nil.
954 (eval-expression): With a zero prefix arg, set `print-length' and
955 `print-level' to nil, and insert the integer values from
956 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
958 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
959 `eval-last-sexp-arg-internal'. Doc fix.
960 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
961 `eval-last-sexp-print-value'. Doc fix.
962 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
963 Set `print-length' and `print-level' to nil when arg is zero.
964 (eval-last-sexp): Doc fix.
965 (eval-defun-2): Print the integer values from
966 `eval-expression-print-format' at the end.
968 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
969 values from `eval-expression-print-format' at the end.
971 * ielm.el (ielm-eval-input): Print the integer
972 values from `eval-expression-print-format' at the end.
974 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
976 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
977 2013-12-11T19:01:44Z!tzz@lifelogs.com.
979 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
981 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
982 (hl-line-highlight, global-hl-line-highlight): Use it.
983 (hl-line-overlay): Use defvar-local.
985 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
987 * term/ns-win.el: Require dnd.
988 (global-map): Remove drag items.
989 (ns-insert-text, ns-set-foreground-at-mouse)
990 (ns-set-background-at-mouse):
991 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
992 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
995 2013-12-19 Glenn Morris <rgm@gnu.org>
997 * emacs-lisp/ert.el (ert-select-tests):
998 Fix string/symbol mixup. (Bug#16121)
1000 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1002 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1003 keywords to their parent.
1005 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1007 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1008 first arg to be a string (fixed dead code), or an operator symbol.
1009 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1011 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1012 did nothing. Don't respond to `(:after ".")', it will be called
1013 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1014 change anything. Only return indentation for binary operators
1015 when they are hanging. De-dent opening paren when its parent is
1016 `.', otherwise it looks bad when the dot is not at bol or eol
1019 2013-12-19 Juri Linkov <juri@jurta.org>
1021 * replace.el (query-replace-read-args): Split a non-negative arg
1022 and a negative arg into separate elements.
1023 (query-replace, query-replace-regexp, replace-string)
1024 (replace-regexp): Add arg `backward'. Doc fix.
1025 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1026 move point to the beginning of the match.
1027 (replace-search, replace-highlight): Use new arg `backward'
1028 to set the value of `isearch-forward'.
1029 (perform-replace): Add arg `backward' and use it to perform
1030 replacement backward. (Bug#14979)
1032 * isearch.el (isearch-query-replace): Use a negative prefix arg
1033 to call `perform-replace' with a non-nil arg `backward'.
1035 2013-12-18 Juri Linkov <juri@jurta.org>
1037 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1038 to the default list. Move `log-edit-show-files' to the end.
1039 Add more available functions to options.
1040 (log-edit): Move default specific settings to
1041 `log-edit-insert-message-template'. Don't move point.
1042 (log-edit-insert-message-template): New function.
1043 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1046 2013-12-18 Juri Linkov <juri@jurta.org>
1048 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1049 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1051 2013-12-18 Leo Liu <sdl.web@gmail.com>
1053 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1056 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1058 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1059 formats for displaying file sizes when the -s switch is given.
1060 Instead, compute a separate format for displaying the size in
1061 blocks, which is displayed in addition to the "regular" size.
1062 When -h is given in addition to -s, produce size in blocks in
1063 human-readable form as well. (Bug#16179)
1065 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1067 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1068 Reference tables with ~\ref{...} instead of only \ref{...}.
1070 2013-12-18 Chong Yidong <cyd@gnu.org>
1072 * cus-edit.el (custom-magic-alist): Fix "themed" description
1075 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1076 is non-nil, do not create a new entry in the symbol's theme-value
1077 or theme-face property; update theme-settings only (Bug#14664).
1078 (custom-available-themes): Doc fix.
1080 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1083 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1085 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1087 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1090 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1092 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1094 2013-12-18 Glenn Morris <rgm@gnu.org>
1096 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1097 * cus-start.el (load-prefer-newer): New option.
1099 2013-12-18 Le Wang <l26wang@gmail.com>
1101 * comint.el (comint-previous-matching-input-from-input):
1102 Retain point (Bug#13404).
1104 2013-12-18 Chong Yidong <cyd@gnu.org>
1106 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1108 2013-12-18 Glenn Morris <rgm@gnu.org>
1110 * mail/emacsbug.el (report-emacs-bug):
1111 Only mention enable-multibyte-characters if non-standard.
1113 2013-12-17 Juri Linkov <juri@jurta.org>
1115 * arc-mode.el (archive-extract-by-file): Check if directory exists
1116 before deletion to not show irrelevant errors if it doesn't exist.
1118 2013-12-17 Juri Linkov <juri@jurta.org>
1120 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1123 * net/eww.el (browse-web): Add alias to `eww'.
1124 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1125 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1127 * net/browse-url.el (browse-url-browser-function): Move `eww'
1128 closer to similar functions.
1130 * startup.el (fancy-startup-screen, fancy-about-screen):
1131 Set browse-url-browser-function to eww-browse-url locally.
1134 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1136 * window.el (window--pixel-to-total): Remove unused `mini' var.
1137 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1138 (split-window): Remove unused `new' var.
1139 (window--display-buffer): Remove unused `frame' and `delta' vars.
1140 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1143 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1145 * dired.el (dired-mark-pop-up):
1146 * register.el (register-preview): Don't bind
1147 split-height-threshold here since it's now done in
1148 display-buffer-below-selected.
1150 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1152 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1153 xterm-rgb-convert-to-16bit.
1154 (rxvt-register-default-colors): Standardize with
1155 xterm-register-default-colors (Bug#14078).
1157 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1159 * simple.el (kill-region): Pass mark first, then point, so that
1160 kill-append works right (Bug#12819).
1161 (copy-region-as-kill, kill-ring-save): Likewise.
1163 2013-12-17 Leo Liu <sdl.web@gmail.com>
1165 * net/rcirc.el (rcirc-add-face):
1166 * eshell/em-prompt.el (eshell-emit-prompt):
1167 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1170 2013-12-17 Chong Yidong <cyd@gnu.org>
1172 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1173 Suggested by Xue Fuqiao.
1175 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1177 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1179 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1181 * net/shr.el (shr-insert-document): Remove unused var
1182 `shr-preliminary-table-render'.
1183 (shr-rescale-image): Remove unused arg `force'.
1184 (shr-put-image): Update calls accordingly.
1185 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1187 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1189 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1190 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1191 :close-all, to see which indentation method to use (Bug#16116).
1192 (smie-rules-function): Document the method :close-all.
1194 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1196 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1198 * net/eww.el (eww-display-html): If we can't find the anchor we're
1199 looking for, then go to point-min.
1201 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1203 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1204 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1205 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1206 Expand dir too, in case it's relative.
1208 2013-12-16 Juri Linkov <juri@jurta.org>
1210 * desktop.el (desktop-auto-save-timeout): Change default to
1211 `auto-save-timeout'. Doc fix.
1212 (desktop-save): Skip the timestamp in desktop-saved-frameset
1213 when checking for auto-save changes.
1214 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1215 `desktop-auto-save' is called repeatedly by the idle timer.
1216 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1217 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1220 2013-12-16 Juri Linkov <juri@jurta.org>
1222 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1224 (isearch-pre-command-hook): Check `this-command' for symbolp.
1226 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1228 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1230 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1232 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1233 (cfengine3--current-function): Bring in the current-function
1234 functionality from `cfengine3--current-word'.
1235 (cfengine3-completion-function): Bring in the
1236 bounds-of-current-word functionality from
1237 `cfengine3--current-word'.
1239 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1241 * window.el (display-buffer-below-selected):
1242 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1244 2013-12-16 Leo Liu <sdl.web@gmail.com>
1246 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1247 Remove NOMSG arg and all uses changed.
1249 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1251 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1252 (cua--deactivate-rectangle): Don't deactivate the mark.
1253 (cua-set-rectangle-mark): Don't set mark-active since
1254 cua--activate-rectangle already does it for us.
1255 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1256 non-rectangular region.
1258 * emulation/cua-base.el (cua-repeat-replace-region):
1259 Use with-current-buffer.
1261 * net/gnutls.el: Use cl-lib.
1262 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1264 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1266 * emacs-lisp/package.el (package-built-in-p): Support both
1267 built-in and the package.el converted package descriptions.
1268 (package-show-package-list): Allow keywords.
1269 (package-keyword-button-action): Use it instead of
1270 `finder-list-matches'.
1271 (package-menu-filter-interactive): Interactive filtering (by
1273 (package-menu--generate): Support keywords and change keymappings
1274 and headers when they are given.
1275 (package--has-keyword-p): Helper function.
1276 (package-menu--refresh): Use it.
1277 (package--mapc): Helper function.
1278 (package-all-keywords): Use it.
1279 (package-menu-mode-map): Set up menu items and keybindings to
1280 provide a filtering UI.
1282 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1284 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1285 the behavior when a certificate fails validation. Defaults to
1286 old behavior: never abort, just warn.
1287 (gnutls-negotiate): Use it.
1289 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1291 * window.el (display-buffer-below-selected): Never split window
1292 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1294 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1296 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1297 (package-buffer-info): Use it (bug#15108).
1299 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1301 * icomplete.el (icomplete-completions): Make sure the prefix is already
1302 displayed elsewhere before hiding it (bug#16219).
1304 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1306 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1307 open-paren tokens when preceded by a open-paren, too.
1308 (ruby-smie-rules): Handle virtual indentation after open-paren
1309 tokens specially. If there is code between it and eol, return the
1310 column where is starts (Bug#16118).
1312 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1314 * progmodes/cfengine.el: Fix `add-hook' doc.
1315 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1316 (cfengine3--current-word): Fix parameters.
1317 (cfengine3-make-syntax-cache): Simplify further.
1318 (cfengine3-completion-function, cfengine3--current-function):
1319 Use `assq' for symbols.
1320 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1322 2013-12-13 Glenn Morris <rgm@gnu.org>
1324 * loadup.el (load-path): Warn if site-load or site-init changes it.
1325 No more need to reset it when bootstrapping.
1327 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1329 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1330 locations for cf-promises.
1331 (cfengine-mode-syntax-functions-regex): New caching variable.
1332 (cfengine3-fallback-syntax): Fallback syntax for cases where
1333 cf-promises doesn't run.
1334 (cfengine3--current-word): Reimplement using
1335 `cfengine-mode-syntax-functions-regex'.
1336 (cfengine3-completion-function, cfengine3--current-function):
1337 Use `cfengine3-make-syntax-cache' directly.
1338 (cfengine3-clear-syntax-cache): New function.
1339 (cfengine3-make-syntax-cache): Simplify and create
1340 `cfengine-mode-syntax-functions-regex' on demand.
1341 (cfengine3-format-function-docstring): Don't call
1342 `cfengine3-make-syntax-cache' explicitly.
1344 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1346 Fix windmove-find-other-window broken after pixelwise resizing
1348 * windmove.el (windmove-other-window-loc): Revert change from
1350 (windmove-find-other-window): Call window-in-direction.
1351 * window.el (window-in-direction): New arguments SIGN, WRAP and
1352 MINI to emulate original windmove-find-other-window behavior.
1354 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1356 * simple.el (blink-matching--overlay): New variable.
1357 (blink-matching-open): Instead of moving point, highlight the
1358 matching paren with an overlay
1359 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1361 * faces.el (paren-showing-faces, show-paren-match)
1362 (show-paren-mismatch): Move from paren.el.
1364 2013-12-13 Leo Liu <sdl.web@gmail.com>
1366 * indent.el (indent-region): Disable progress reporter in
1367 minibuffer. (Bug#16108)
1369 * bindings.el (visual-order-cursor-movement): Fix version.
1371 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1373 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1374 Also match after beginning of line.
1375 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1376 files. Thanks to Russell Sim. (Bug#15378)
1378 2013-12-13 Juri Linkov <juri@jurta.org>
1380 * simple.el <Keypad support>: Remove key bindings duplicated
1381 with bindings.el. (Bug#14397)
1383 2013-12-13 Juri Linkov <juri@jurta.org>
1385 * comint.el (comint-mode-map): Replace `delete-char' with
1386 `delete-forward-char'. (Bug#16109)
1388 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1390 * progmodes/python.el (python-indent-calculate-indentation):
1391 Fix de-denters cornercase. (Bug#15731)
1393 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1395 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1396 (advice--make): Pay attention to `depth'.
1397 (advice--make-1): Don't autoload commands eagerly.
1398 * emacs-lisp/elp.el (elp-instrument-function):
1399 * emacs-lisp/trace.el (trace-function-internal):
1400 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1402 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1404 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1406 * term/w32-win.el (w32-handle-dropped-file):
1407 * startup.el (normal-top-level):
1408 * net/browse-url.el (browse-url-file-url):
1409 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1410 decode file names using 'utf-8' rather than
1411 file-name-coding-system.
1413 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1415 * progmodes/python.el (python-indent-context)
1416 (python-indent-calculate-indentation): Fix auto-identation
1417 behavior for comment blocks. (Bug#15916)
1419 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1421 * progmodes/python.el (python-indent-calculate-indentation):
1422 When determining indentation, don't treat "return", "pass", etc., as
1423 operators when they are just string constituents. (Bug#15812)
1425 2013-12-12 Juri Linkov <juri@jurta.org>
1427 * uniquify.el (uniquify-buffer-name-style): Change default to
1428 `post-forward-angle-brackets'.
1430 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1431 `uniquify'. Change default to `post-forward-angle-brackets'.
1433 2013-12-11 Glenn Morris <rgm@gnu.org>
1435 * emacs-lisp/package.el (finder-list-matches):
1436 Autoload rather than falsely declaring.
1438 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1440 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1441 (eww-mode-map): Use them.
1443 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1445 * window.el (display-buffer-in-side-window): Fix doc-string
1448 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1450 * vc/vc-git.el: Silence byte-compiler warnings.
1451 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1452 (log-edit-set-header): Declare.
1454 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1456 * Makefile.in (custom-deps, finder-data): Run output file names
1457 through unmsys--file-name. (Bug#16099)
1459 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1461 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1462 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1464 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1465 instead of deleting the selection "by hand" (bug#16098).
1466 Rely on insert-for-yank to yank rectangles.
1467 (cua-highlight-region-shift-only): Mark obsolete.
1468 (cua-mode): Don't enable/disable transient-mark-mode,
1469 shift-select-mode (cua-mode works both with and without them), and
1470 pc-selection-mode (obsolete).
1471 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1472 (cua--deactivate-rectangle): Deactivate it.
1474 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1475 (delete-selection-helper): Make sure yank starts at the top of the
1477 (minibuffer-keyboard-quit): Use region-active-p.
1479 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1481 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1482 to `delete' (bug#16109).
1484 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1486 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1487 info manual and show keybindings and set `:group' keyword.
1489 2013-12-11 Juri Linkov <juri@jurta.org>
1491 * delsel.el (delete-active-region): Let-bind `this-command'
1492 to prevent `kill-region' from changing its original value.
1493 (delete-selection-helper): Handle `overwrite-mode' for the type
1494 `kill' exactly the same way as for the type `t'.
1495 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1496 Support more commands. (Bug#13312)
1498 2013-12-11 Juri Linkov <juri@jurta.org>
1500 * bindings.el: Map kp keys to non-kp keys systematically
1501 with basic modifiers control, meta and shift. (Bug#14397)
1503 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1505 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1506 "Close browser" menu items. Fix wrong function of "List
1509 2013-12-11 Juri Linkov <juri@jurta.org>
1511 * misearch.el (multi-isearch-buffers): Set the value of
1512 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1513 arg of isearch-forward to t.
1514 (multi-isearch-buffers-regexp): Set the value of
1515 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1516 arg of isearch-forward-regexp to t.
1517 (multi-isearch-files): Set the value of
1518 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1519 arg of isearch-forward to t.
1520 (multi-isearch-files-regexp): Set the value of
1521 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1522 arg of isearch-forward-regexp to t. (Bug#16035)
1524 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1525 arg of isearch-forward to t.
1526 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1527 arg of isearch-forward-regexp to t.
1528 (dired-isearch-filter-filenames): Remove unnecessary check for
1529 `dired-isearch-filenames'.
1531 * comint.el (comint-history-isearch-backward):
1532 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1533 (comint-history-isearch-backward-regexp):
1534 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1536 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1538 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1539 unmsys--file-name. (Bug#16099)
1541 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1543 * emacs-lisp/package.el (package-keyword-button-action):
1544 Remove finder.el require dependency.
1546 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1548 * emacs-lisp/package.el: Require finder.el.
1549 (describe-package-1): Add keyword buttons.
1550 (package-make-button): New convenience function.
1551 (package-keyword-button-action): Keyword button action using
1552 `finder-list-matches'.
1554 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1556 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1559 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1561 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1564 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1566 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1567 after the end of a percent literal.
1569 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1571 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1572 Handle caret-delimited strings (Bug#16079).
1574 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1576 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1577 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1578 `ruby-parse-partial' (Bug#16078).
1580 2013-12-09 Leo Liu <sdl.web@gmail.com>
1582 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1584 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1586 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1587 (js-switch-indent-offset): New option.
1588 (js--proper-indentation): Use it. And handle the case when
1589 "default" is actually a key in an object literal.
1590 (js--same-line): New function.
1591 (js--multi-line-declaration-indentation): Use it.
1592 (js--indent-in-array-comp, js--array-comp-indentation):
1594 (js--proper-indentation): Use them, to handle array comprehension
1597 2013-12-08 Leo Liu <sdl.web@gmail.com>
1599 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1600 (flymake-make-overlay): Remove arg MOUSE-FACE.
1601 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1603 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1605 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1607 (redisplay-highlight-region-function): Use it.
1609 * emulation/cua-base.el (cua--explicit-region-start)
1610 (cua--last-region-shifted): Remove.
1611 (cua--deactivate): Use deactivate-mark.
1612 (cua--pre-command-handler-1): Don't handle shift-selection.
1613 (cua--post-command-handler-1): Don't change transient-mark-mode.
1614 (cua--select-keymaps): Use region-active-p rather than
1615 cua--explicit-region-start or cua--last-region-shifted.
1616 (cua-mode): Enable shift-select-mode.
1618 2013-12-08 Leo Liu <sdl.web@gmail.com>
1620 * progmodes/flymake.el (flymake-popup-current-error-menu):
1621 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1622 (flymake-posn-at-point-as-event, flymake-popup-menu)
1623 (flymake-make-emacs-menu): Remove. (Bug#16077)
1625 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1627 * rect.el (rectangle-mark-mode): Activate mark even if
1628 transient-mark-mode is off (bug#16066).
1629 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1630 is > mark and at bolp.
1632 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1633 (region-extract-function): Use it.
1634 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1635 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1637 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1638 kill-ring-save, kill-region, delete-char, delete-forward-char.
1639 Ignore self-insert-iso.
1641 * emulation/cua-gmrk.el (cua--init-global-mark):
1642 Ignore `self-insert-iso'.
1644 * emulation/cua-base.el (cua--prefix-copy-handler)
1645 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1646 checking cua--rectangle.
1647 (cua-delete-region): Use region-extract-function.
1648 (cua-replace-region): Delete function.
1649 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1650 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1651 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1652 (cua--init-keymaps): Don't remap delete-selection commands.
1653 (cua-mode): Use delete-selection-mode instead of rolling our own
1656 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1657 Obey region-extract-function.
1659 Make registers and delete-selection-mode work on rectangles.
1660 * register.el (describe-register-1): Don't modify the register's value.
1661 (copy-to-register): Obey region-extract-function.
1662 * delsel.el (delete-active-region): Obey region-extract-function.
1664 2013-12-08 Leo Liu <sdl.web@gmail.com>
1666 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1667 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1668 (flymake-compilation-prevents-syntax-check)
1669 (flymake-start-syntax-check-on-newline)
1670 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1671 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1672 (flymake-xml-program, flymake-master-file-dirs)
1673 (flymake-master-file-count-limit)
1674 (flymake-allowed-file-name-masks): Relocate.
1675 (flymake-makehash, flymake-float-time)
1676 (flymake-replace-regexp-in-string, flymake-split-string)
1677 (flymake-get-temp-dir): Remove.
1678 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1679 (flymake-current-row, flymake-selected-frame)
1680 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1681 related functions. (Bug#16077)
1683 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1685 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1687 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1689 * help-fns.el (describe-function-1): Use new advice-* functions
1690 rather than old ad-* functions. Fix function type description and
1691 source links for advised functions and subrs.
1693 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1695 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1697 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1699 * progmodes/compile.el (compilation-start):
1700 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1702 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1703 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1705 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1707 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1708 Touch up the last change.
1710 2013-12-06 Leo Liu <sdl.web@gmail.com>
1712 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1713 (inferior-octave-startup): Always use "octave> " for prompt.
1714 (octave-goto-function-definition)
1715 (octave-sync-function-file-names)
1716 (octave-find-definition-default-filename): Remove redundant backquotes.
1718 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1720 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1722 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1723 where appropriate already.
1724 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1725 end of method names (Bug#15874).
1727 2013-12-06 Juri Linkov <juri@jurta.org>
1729 * isearch.el (isearch--saved-overriding-local-map):
1730 New internal variable.
1731 (isearch-mode): Set it to the initial value of
1732 `overriding-terminal-local-map'.
1733 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1734 with `isearch--saved-overriding-local-map'. (Bug#16035)
1736 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1738 * progmodes/octave.el (inferior-octave-completion-table):
1739 Turn back into function, use `completion-table-with-cache'
1740 (Bug#11906). Update all references.
1742 * minibuffer.el (completion-table-with-cache): New function.
1744 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1746 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1748 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1750 * net/eww.el (eww-current-source): New variable to store page
1752 (eww-display-html, eww-mode, eww-save-history)
1753 (eww-restore-history): Use it.
1754 (eww-view-source): New command to view page source.
1755 Opportunistically uses `html-mode' to highlight the buffer.
1756 (eww-mode-map): Install it.
1758 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1760 * net/dbus.el (dbus-unregister-service)
1761 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1763 (dbus-unregister-service): Skip :serial entries in
1764 `dbus-registered-objects-table'.
1765 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1767 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1769 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1770 around keywords with extra `split-string' argument.
1772 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1774 * windmove.el (windmove-other-window-loc): Handle navigation
1775 between windows (excluding the minibuffer window - Bug#16017).
1777 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1779 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1780 in D-Bus type syntax.
1781 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1782 preserve unibyte strings. (Bug#16048)
1784 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1786 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1787 Call force-mode-line-update is the proper buffer (bug#16042).
1789 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1791 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1792 `log-edit-remember-comment', make argument optional. Adjust all
1794 (log-edit-mode): Add `log-edit-remember-comment' to
1795 `kill-buffer-hook' locally.
1796 (log-edit-kill-buffer): Don't remember comment explicitly since
1797 the buffer is killed anyway.
1799 2013-12-04 Juri Linkov <juri@jurta.org>
1801 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1802 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1804 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1806 * notifications.el (notifications-close-notification): Call the
1807 D-Bus method with ID being a `:uint32'. (Bug#16030)
1809 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1811 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1813 2013-12-03 Juri Linkov <juri@jurta.org>
1815 * progmodes/compile.el (compilation-start): Rename window alist
1816 entry `no-display-ok' to `allow-no-window'.
1818 * simple.el (shell-command): Add window alist entry
1819 `allow-no-window' to `display-buffer'.
1820 (async-shell-command): Doc fix.
1822 * window.el (display-buffer-no-window): New action function.
1823 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1825 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1827 * vc/log-edit.el (log-edit-set-header): Extract from
1828 `log-edit-toggle-header'.
1829 (log-edit-extract-headers): Separate the summary, when extracted
1830 from header, from the rest of the message with an empty line.
1832 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1833 line, if present, to the Summary header.
1835 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1837 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1838 in current-buffer (bug#16029).
1840 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1842 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1843 (debugger-mode-map): Bind it.
1844 (debugger--backtrace-base): New function.
1845 (debugger-eval-expression): Use it.
1846 (debugger-frame-number): Skip local vars when present.
1847 (debugger--locals-visible-p, debugger--insert-locals)
1848 (debugger--show-locals, debugger--hide-locals): New functions.
1850 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1852 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1854 (tramp-get-remote-locale): New defun.
1855 (tramp-open-connection-setup-interactive-shell): Use it.
1857 2013-12-02 Leo Liu <sdl.web@gmail.com>
1859 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1861 * progmodes/sh-script.el (sh-shell-process):
1862 * progmodes/octave.el (inferior-octave-process-live-p):
1863 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1864 (gdb-inferior-io-sentinel):
1865 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1867 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1869 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1870 `save-selected-window' to `log-edit-hide-buf'. This makes
1871 `log-edit-show-files' idempotent.
1872 (log-edit-show-files): Mark the new window as dedicated.
1874 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1876 * vc/log-edit.el (log-edit-mode-map): Add binding for
1877 `log-edit-kill-biffer'.
1878 (log-edit-hide-buf): Add a FIXME comment.
1879 (log-edit-add-new-comment): New function, extracted from
1881 (log-edit-done, log-edit-add-to-changelog): Use it.
1882 (log-edit-kill-buffer): New command.
1884 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1886 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1887 instead of killing the buffer.
1889 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1891 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1893 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1895 * net/eww.el (eww-form-checkbox-selected-symbol)
1896 (eww-form-checkbox-symbol): New customizable variable.
1897 (eww-form-checkbox, eww-toggle-checkbox):
1898 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1900 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1901 (shr--get-media-pref, shr--extract-best-source): New function.
1902 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1903 no :src tag was specified.
1905 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1906 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1907 Use \\` to match beginning of string instead of ^.
1908 (eww-browse-with-external-browser): Provide optional URL parameter.
1909 (eww-render): Set `eww-current-title' back to "".
1911 * net/shr.el (shr-tag-video): Display content for video if no
1912 poster is available.
1913 (shr-tag-audio): Add support for <audio> tag.
1915 * net/eww.el (eww-text-input-types): New const.
1916 (eww-process-text-input): Treat input types in
1917 `eww-text-input-types' as text.
1919 * net/shr.el (shr-tag-table): Fix comment typo.
1921 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1923 * net/eww.el (eww-follow-link): New command to avoid reloading
1924 pages when we follow #target links (bug#15243).
1925 (eww-quit): Special mode buffers shouldn't query before exiting.
1927 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1929 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1932 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1934 * net/eww.el (eww-restore-history): Update the window title after
1935 moving in the history.
1936 (eww-current-dom): New variable used to save the current DOM.
1938 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1940 * vc/log-edit.el (log-edit-mode-map): Add binding for
1941 `log-edit-beginning-of-line'.
1942 (log-edit-setup-add-author): New user option.
1943 (log-edit-beginning-of-line): New command.
1944 (log-edit): Move major mode call above the contents setup so that
1945 the local variable values are already applied.
1946 (log-edit): Only insert "Author: " when
1947 `log-edit-setup-add-author' is non-nil.
1948 (log-edit): When SETUP is non-nil, position point after ": "
1949 instead of point-min.
1951 2013-12-01 Glenn Morris <rgm@gnu.org>
1953 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1955 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1957 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1958 redisplay to make sure the initial frame gets a chance to become
1959 visible. (Bug#16014)
1961 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1963 Support resizing frames and windows pixelwise.
1964 * cus-start.el (frame-resize-pixelwise)
1965 (window-resize-pixelwise): New entries.
1966 * emacs-lisp/debug.el (debug): Use window-total-height instead
1967 of window-total-size.
1968 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1969 * help.el (describe-bindings-internal): Call help-buffer
1970 (temp-buffer-max-width): New option.
1971 (resize-temp-buffer-window, help-window-setup)
1972 (with-help-window): Rewrite.
1973 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1975 * window.el (frame-char-size, window-min-pixel-height)
1976 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1977 (window-min-pixel-width, window-safe-min-pixel-size)
1978 (window-combination-p, window-safe-min-size)
1979 (window-resizable-p, window--size-to-pixel)
1980 (window--pixel-to-size, window--resize-apply-p): New functions.
1981 (window-safe-min-height): Fix doc-string.
1982 (window-size, window-min-size, window--min-size-1)
1983 (window-sizable, window-sizable-p, window--min-delta-1)
1984 (window-min-delta, window--max-delta-1, window-max-delta)
1985 (window--resizable, window--resizable-p, window-resizable)
1986 (window-full-height-p, window-full-width-p, window-at-side-p)
1987 (window--in-direction-2, window-in-direction)
1988 (window--resize-reset-1, window--resize-mini-window)
1989 (window-resize, window-resize-no-error)
1990 (window--resize-child-windows-normal)
1991 (window--resize-child-windows, window--resize-siblings)
1992 (window--resize-this-window, window--resize-root-window)
1993 (window--resize-root-window-vertically)
1994 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1995 (maximize-window, minimize-window, delete-window)
1996 (quit-restore-window, window-split-min-size, split-window)
1997 (balance-windows-2, balance-windows)
1998 (balance-windows-area-adjust, balance-windows-area)
1999 (window--state-get-1, window-state-get, window--state-put-1)
2000 (window--state-put-2, window-state-put)
2001 (display-buffer-record-window, window--display-buffer):
2002 Make functions handle pixelwise sizing of windows.
2003 (display-buffer--action-function-custom-type)
2004 (display-buffer-fallback-action):
2005 Add display-buffer-in-previous-window.
2006 (display-buffer-use-some-window): Resize window to height it had
2008 (fit-window-to-buffer-horizontally): New option.
2009 (fit-frame-to-buffer): Describe new values.
2010 (fit-frame-to-buffer-bottom-margin): Replace with
2011 fit-frame-to-buffer-margins.
2012 (window--sanitize-margin): New function.
2013 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2014 using window-text-pixel-size.
2016 2013-11-30 Glenn Morris <rgm@gnu.org>
2018 * emacs-lisp/bytecomp.el (byte-compile-form):
2019 Make the `interactive-only' warning like the `obsolete' one.
2020 * comint.el (comint-run):
2021 * files.el (insert-file-literally, insert-file):
2022 * replace.el (replace-string, replace-regexp):
2023 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2024 (goto-line, insert-buffer, next-line, previous-line):
2025 Tweak `interactive-only' spec.
2027 Stop keeping (most) generated cedet grammar files in the repository.
2028 * Makefile.in (semantic): New.
2029 (compile-main): Depend on semantic.
2031 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2033 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2034 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2036 * uniquify.el (uniquify-buffer-name-style): Change default.
2038 * loadup.el: Preload "uniquify".
2040 * time.el (display-time-update): Update all mode lines (bug#15999).
2042 * electric.el (electric-indent-mode): Enable by default.
2043 * loadup.el: Preload "electric".
2045 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2047 * emacs-lisp/helpers.el (string-empty-p): New function.
2048 (string-blank-p): New function.
2050 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2052 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2055 2013-11-29 Andreas Politz <politza@fh-trier.de>
2056 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2057 allow non-lambda lists as functions.
2058 (imenu--in-alist): Don't recurse into non-subalists.
2059 (imenu): Don't pass function itself as an argument (Bug#14029).
2061 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2063 * progmodes/python.el (python-mode-map): Remove binding for ":".
2064 (python-indent-electric-colon): Remove command.
2065 (python-indent-post-self-insert-function): Integrate the previous code
2066 of python-indent-electric-colon. Make it conditional on
2067 electric-indent-mode.
2068 (python-mode): Add ?: to electric-indent-chars.
2069 Move python-indent-post-self-insert-function to the end of
2070 post-self-insert-hook.
2072 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2074 * doc-view.el (doc-view-goto-page): Update mode-line.
2076 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2078 2013-11-27 Glenn Morris <rgm@gnu.org>
2080 * international/charprop.el, international/uni-bidi.el:
2081 * international/uni-category.el, international/uni-combining.el:
2082 * international/uni-comment.el, international/uni-decimal.el:
2083 * international/uni-decomposition.el, international/uni-digit.el:
2084 * international/uni-lowercase.el, international/uni-mirrored.el:
2085 * international/uni-name.el, international/uni-numeric.el:
2086 * international/uni-old-name.el, international/uni-titlecase.el:
2087 * international/uni-uppercase.el:
2088 Remove generated files from VCS repository.
2090 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2092 * filenotify.el (file-notify-add-watch): Don't special-case
2093 w32notify when computing the directory to watch.
2095 2013-11-27 Glenn Morris <rgm@gnu.org>
2097 Make bootstrap without generated uni-*.el files possible again.
2098 * loadup.el: Update command-line-args checking for unidata-gen.
2099 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2100 * composite.el, international/characters.el:
2101 Handle unicode tables being undefined.
2103 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2104 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2105 (compile-main): Depend on leim rule.
2107 * loadup.el: Move leim-list.el to leim/ subdirectory.
2108 * startup.el (normal-top-level): No more leim directory.
2109 * international/ja-dic-cnv.el (skkdic-convert):
2110 Disable version-control and autoloads in output files.
2111 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2112 Disable version-control and autoloads in output files.
2113 * leim/quail: Move here from ../leim.
2114 * leim/quail/hangul.el (hangul-input-method-activate):
2115 Add autoload cookie.
2116 (generated-autoload-load-name): Set file-local value.
2117 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2118 (generated-autoload-load-name): Set file-local value.
2120 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2122 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2123 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2124 (eww-quit): Ask confirmation before quitting eww.
2126 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2128 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2129 reading output from Diff on MS-Windows and MS-DOS.
2131 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2133 * emacs-lisp/helpers.el (string-reverse): New function.
2135 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2137 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2138 names on MS Windows, like "/[::1]:".
2140 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2143 2013-11-26 Glenn Morris <rgm@gnu.org>
2145 * progmodes/python.el (python-indent-guess-indent-offset):
2146 Avoid corner-case error. (Bug#15975)
2148 Preload leim-list.el. (Bug#4789)
2149 * loadup.el: Load leim-list.el when found.
2150 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2152 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2154 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2156 * emacs-lisp/helpers.el (string-join): New function.
2158 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2160 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2161 Mark as obsolete and replace it with a symbol property.
2162 (byte-compile-form): Use new 'interactive-only property.
2163 * comint.el, files.el, replace.el, simple.el:
2164 Apply new 'interactive-only properly.
2166 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2168 * window.el (display-buffer-at-bottom): Make sure that
2169 split-window-sensibly creates the new window on bottom
2172 2013-11-23 David Kastrup <dak@gnu.org>
2174 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2175 on the conflict markers when available.
2176 (smerge--get-marker): New function.
2177 (smerge-end-re, smerge-base-re): Add subgroup.
2179 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2181 * frame.el (handle-focus-in, handle-focus-out): Add missing
2184 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2186 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2187 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2189 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2191 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2192 (gomoku--last-pos): New var.
2193 (gomoku--intangible-chars): New const.
2194 (gomoku--intangible): New function.
2195 (gomoku-mode): Use it. Derive from special-mode.
2196 (gomoku-move-up): Adjust line count.
2197 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2198 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2199 Simplify accordingly.
2201 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2202 Remove blink-cursor code.
2203 (blink-cursor-timer-function, blink-cursor-suspend):
2204 Don't special-case GUIs.
2205 (blink-cursor-mode): Use focus-in/out-hook.
2207 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2209 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2210 work when annotation is invisible (Bug#13886).
2212 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2214 * json.el (json-alist-p): Only return non-nil if the alist has
2215 simple keys (Bug#13518).
2217 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2219 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2220 when control-statement is the first statement in a buffer (Bug#15956).
2222 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2224 * imenu.el (imenu-generic-skip-comments-and-strings):
2225 New option (Bug#15560).
2226 (imenu--generic-function): Use it.
2228 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2230 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2233 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2235 * emacs-lisp/helpers.el: Add some string helpers.
2236 (string-trim-left): Removes leading whitespace.
2237 (string-trim-right): Removes trailing whitespace.
2238 (string-trim): Removes leading and trailing whitespace.
2240 * subr.el (string-suffix-p): New function.
2242 2013-11-23 Glenn Morris <rgm@gnu.org>
2244 * progmodes/python.el (python-shell-send-file):
2245 Add option to delete file when done. (Bug#15647)
2246 (python-shell-send-string, python-shell-send-region): Use it.
2248 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2250 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2251 to set buffer-read-only to t, never to nil. (Bug#15938)
2253 * textmodes/tex-mode.el (latex-noindent-environments):
2254 Add safe-local-variable property. (Bug#15936)
2256 2013-11-23 Glenn Morris <rgm@gnu.org>
2258 * textmodes/enriched.el (enriched-mode): Doc fix.
2259 * emacs-lisp/authors.el (authors-renamed-files-alist):
2260 Add enriched.doc -> enriched.txt.
2262 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2264 2013-11-22 Leo Liu <sdl.web@gmail.com>
2266 * progmodes/octave.el (inferior-octave-startup): Spit out error
2269 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2271 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2274 (ruby-encoding-magic-comment-style): Add :version.
2276 2013-11-22 Leo Liu <sdl.web@gmail.com>
2278 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2280 (octave-help-mode): Adapt to change to help-mode-finish to use
2281 derived-mode-p on 2013-09-17.
2282 (inferior-octave-prompt): Also match octave-gui.
2283 (octave-kill-process): Don't ask twice. (Bug#10564)
2285 2013-11-22 Leo Liu <sdl.web@gmail.com>
2287 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2288 (inferior-octave-startup, inferior-octave-check-process)
2289 (inferior-octave-track-window-width-change)
2290 (octave-completion-at-point, octave-eldoc-function): Use it.
2291 (octave-kill-process): Provide confirmation. (Bug#10564)
2293 2013-11-21 Leo Liu <sdl.web@gmail.com>
2295 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2296 Fix obsolete variable comment-use-global-state.
2298 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2300 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2301 Add `octave-source-file'.
2302 (octave-source-file): New function. (Bug#15935)
2304 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2306 * net/eww.el (eww-local-regex): New variable.
2307 (eww): Use it to detect localhost and similar.
2309 2013-11-21 Leo Liu <sdl.web@gmail.com>
2311 Add completion for command `ag'.
2312 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2313 (pcomplete/ag): New function.
2314 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2316 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2318 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2320 (make-obsolete): Remove interactive spec.
2322 2013-11-21 Glenn Morris <rgm@gnu.org>
2324 * startup.el (command-line-1): Use path-separator with -L.
2326 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2328 * emacs-lisp/package.el (describe-package-1): Add package archive
2331 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2333 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2334 Change default to "# encoding: %s" to differentiate it from the
2335 default Ruby encoding comment template.
2337 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2339 * ses.el (ses-mode): Doc fix. (Bug#14748)
2341 2013-11-20 Leo Liu <sdl.web@gmail.com>
2343 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2345 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2347 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2348 when rebase or bisect are in progress.
2350 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2352 * filenotify.el (file-notify-add-watch): Doc fix.
2354 2013-11-19 Leo Liu <sdl.web@gmail.com>
2356 * obsolete/rcompile.el: Mark obsolete.
2358 * progmodes/compile.el (compilation-start)
2359 (compilation-goto-locus, compilation-find-file):
2360 Pass no-display-ok and handle nil value from display-buffer.
2363 * window.el (display-buffer-alist, display-buffer): Document the
2364 new parameter no-display-ok. Return either a window or nil
2365 but never a non-window value.
2367 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2369 * electric.el (electric-indent-mode-map): Remove.
2370 (electric-indent-mode): Change the global-map instead (bug#15915).
2372 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2375 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2377 * emacs-lisp/nadvice.el (remove-function): Align with
2378 add-function's behavior.
2380 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2381 (gdb--string-regexp): New constant.
2382 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2383 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2384 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2386 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2387 Adjust use accordingly.
2388 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2390 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2392 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2393 interpolation curlies (Bug#15914).
2395 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2397 * calc/calc.el (calc-context-sensitive-enter): New variable.
2398 (calc-enter): Use `calc-context-sensitive-enter'.
2400 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2402 * progmodes/cfengine.el: Version bump.
2403 (cfengine-cf-promises): New defcustom to locate cf-promises.
2404 (cfengine3-vartypes): Add new "data" type.
2405 (cfengine3--current-word): New function to get current name-like
2407 (cfengine3--current-function): New function to look up a CFEngine
2408 function's definition.
2409 (cfengine3-format-function-docstring): New function.
2410 (cfengine3-make-syntax-cache): New function.
2411 (cfengine3-documentation-function): New function: ElDoc glue.
2412 (cfengine3-completion-function): New function: completion glue.
2413 (cfengine3-mode): Set `compile-command',
2414 `eldoc-documentation-function', and add to
2415 `completion-at-point-functions'.
2417 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2419 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2420 `tramp-current-connection'.
2422 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2424 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2425 nil/self/true/false with "end of symbol".
2427 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2429 * subr.el (version-regexp-alist): Fix a typo.
2431 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2433 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2434 "en_US.utf8" and "LC_CTYPE" to "".
2435 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2436 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2438 2013-11-15 Leo Liu <sdl.web@gmail.com>
2440 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2442 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2444 * progmodes/gud.el (ctl-x-map):
2445 Remove C-x SPC binding. (Bug#12342)
2446 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2448 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2450 * subr.el (version-regexp-alist):
2451 Recognize hg, svn and darcs versions as snapshot versions.
2453 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2454 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2455 (ruby--encoding-comment-required-p): Extract from
2456 `ruby-mode-set-encoding'.
2457 (ruby-mode-set-encoding): Add the ability to always insert an
2458 utf-8 encoding comment. Fix and simplify coding comment update
2461 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2463 * net/tramp-gvfs.el (top): Run init code only when
2464 `tramp-gvfs-enabled' is not nil.
2465 (tramp-gvfs-enabled): Check also :system bus.
2467 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2469 Sync with upstream verilog-mode revision 78e66ba.
2470 * progmodes/verilog-mode.el (verilog-end-of-defun)
2471 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2472 (verilog-get-end-of-defun): Remove unused argument.
2473 (verilog-comment-depth): Remove unused local `e'.
2474 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2475 Don't pass arg to verilog-get-end-of-defun.
2477 2013-11-14 Glenn Morris <rgm@gnu.org>
2479 * obsolete/assoc.el (aget): Prefix dynamic variable.
2481 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2483 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2485 * widget.el, hfy-cmap.el: Remove bogus package version number.
2487 2013-11-13 Glenn Morris <rgm@gnu.org>
2489 * replace.el (replace-eval-replacement):
2490 Try to give more helpful error message. (Bug#15836)
2492 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2493 (archive-7z-update): Avoid custom type mismatches.
2495 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2497 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2499 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2500 address can be empty.
2502 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2503 Accept nil SWITCHES.
2504 (tramp-gvfs-handle-write-region): Implement APPEND.
2506 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2508 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2509 binary "|" operator and closing block args delimiter.
2510 Remove FIXME comment referring to Ruby 1.8-only syntax.
2511 (ruby-smie--implicit-semi-p): Not after "|" operator.
2512 (ruby-smie--closing-pipe-p): New function.
2513 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2514 (ruby-smie-rules): Indent after "|".
2516 2013-11-12 Glenn Morris <rgm@gnu.org>
2518 * ps-print.el (ps-face-attribute-list):
2519 Handle anonymous faces. (Bug#15827)
2521 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2523 * window.el (display-buffer-other-frame): Fix doc-string.
2526 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2528 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2530 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2532 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2533 (tramp-sh-handle-file-local-copy): Don't write a message when
2534 saving temporary files.
2536 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2537 both directories are remote.
2538 (tramp-smb-handle-directory-files): Do not return double entries.
2539 Do not expand full file names.
2540 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2541 (tramp-smb-handle-write-region): Implement APPEND.
2542 (tramp-smb-get-stat-capability): Fix a stupid bug.
2544 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2546 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2548 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2550 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2551 throwing error over malformed let/let* (bug#15814).
2553 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2555 * iswitchb.el (iswitchb-mode): Mark obsolete.
2557 2013-11-11 Glenn Morris <rgm@gnu.org>
2559 * international/uni-bidi.el, international/uni-category.el:
2560 * international/uni-name.el, international/uni-numeric.el:
2561 Regenerate for Unicode 6.3.0.
2563 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2565 * net/tramp.el (tramp-methods):
2566 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2567 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2569 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2571 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2572 Force highlighting text after Summary keyword in doc face for rpm.
2574 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2576 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2577 available and the word has no wildcards, append one to the grep pattern.
2578 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2579 (ispell-complete-word): Call `ispell-lookup-words' with the value
2580 independent of `ispell-look-p'.
2582 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2584 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2586 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2589 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2591 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2592 (ruby-font-lock-keywords): Use backquote.
2594 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2596 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2597 (ruby-smie--backward-token): Only consider full-string matches.
2599 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2601 * faces.el (describe-face): Add distant-foreground.
2603 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2605 * progmodes/ruby-mode.el: Improve encoding comment handling.
2606 (ruby-encoding-magic-comment-style): New option.
2607 (ruby-custom-encoding-magic-comment-template): New option.
2608 (ruby--insert-coding-comment, ruby--detect-encoding):
2609 New functions extracted from `ruby-mode-set-encoding'.
2610 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2611 to control the style of the auto-inserted encoding comment.
2613 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2615 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2616 Use `smie-backward-sexp' with token argument.
2618 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2620 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2621 Remove instrumentation code.
2623 2013-11-08 Glenn Morris <rgm@gnu.org>
2625 * progmodes/autoconf.el (autoconf-mode):
2626 Tweak comment-start-skip. (Bug#15822)
2628 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2630 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2631 at bobp (bug#15826).
2632 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2634 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2636 * man.el (Man-start-calling): New macro, extracted from
2637 Man-getpage-in-background.
2638 (Man-getpage-in-background): Use it.
2639 (Man-update-manpage): New command.
2640 (Man-mode-map): Bind it.
2642 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2644 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2645 of "and", "or", "&&" and "||".
2646 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2647 argument. Prohibit opening curly brace because it could only be a
2648 block opener in that position.
2649 (ruby-smie--forward-token, ruby-smie--backward-token):
2650 Separate "|" from "&" or "*" going after it. That can happen in block
2652 (ruby-smie--indent-to-stmt): New function, seeks the end of
2653 previous statement or beginning of buffer.
2654 (ruby-smie-rules): Use it.
2655 (ruby-smie-rules): Check if there's a ":" before a curly block
2656 opener candidate; if there is, it's a hash.
2658 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2660 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2661 (cl--block-wrapper): Fix last accidental change.
2663 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2665 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2666 Instrument, in order to hunt failure on hydra.
2668 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2670 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2671 malformed bindings form (bug#15814).
2673 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2675 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2676 "." compared to " @ ". This incidentally fixes some indentation
2678 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2679 (ruby-smie-grammar): New tokens: "and" and "or".
2680 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2681 Exclude "and" and "or". Remove "do" in order to work around token
2683 (ruby-smie-rules): Add all infix tokens. Handle the case of
2684 beginning-of-buffer.
2686 2013-11-06 Glenn Morris <rgm@gnu.org>
2688 * Makefile.in (setwins_almost, setwins_for_subdirs):
2689 Avoid accidental matches.
2691 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2693 * menu-bar.el (popup-menu): Use key-binding.
2695 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2697 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2698 menus, support also the menus produced by minor modes.
2701 2013-11-06 Leo Liu <sdl.web@gmail.com>
2703 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2704 DISTANCE to bound the search. All uses changed. (Bug#15808)
2706 2013-11-06 Glenn Morris <rgm@gnu.org>
2708 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2709 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2710 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2712 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2714 * electric.el (electric-indent-just-newline): New command.
2715 (electric-indent-mode-map): New keymap.
2716 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2717 Re-add :group which weren't redundant.
2719 * electric.el (electric-indent-local-mode): New minor mode.
2720 (electric-indent-functions-without-reindent): New var.
2721 (electric-indent-post-self-insert-function): Use it.
2722 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2724 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2726 * international/quail.el (quail-help): Be more explicit about the
2727 meaning of the labels shown on the keys. (Bug#15800)
2729 * startup.el (normal-top-level): Load the subdirs.el files before
2730 setting the locale environment. (Bug#15805)
2732 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2734 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2735 via arguments so as to get the right ones (bug#15418).
2737 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2739 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2741 Fix problems found while writing a test suite.
2743 * net/tramp-compat.el (tramp-compat-load): New defun.
2744 * net/tramp.el (tramp-handle-load): Use it.
2746 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2747 "(numberp ok-if-already-exists)" correctly.
2749 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2751 * international/characters.el (glyphless-char-display-control):
2754 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2756 * progmodes/python.el (python-mode):
2757 * progmodes/scheme.el (scheme-mode):
2758 * progmodes/prolog.el (prolog-mode):
2759 * progmodes/ruby-mode.el (ruby-mode):
2760 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2761 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2763 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2765 * rect.el (rectangle--highlight-for-redisplay):
2766 * emacs-lisp/smie.el (smie--next-indent-change):
2767 Use buffer-chars-modified-tick.
2769 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2771 * electric.el (electric-indent-post-self-insert-function):
2772 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2774 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2776 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2778 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2780 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2783 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2785 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2787 * progmodes/python.el: Fix up last change.
2788 (python-shell--save-temp-file): New function.
2789 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2790 `string' comes from the current buffer.
2791 (python-shell-send-string-no-output): Remove `msg' arg.
2792 (python--use-fake-loc): New var.
2793 (python-shell-buffer-substring): Obey it. Try to compensate for the
2794 extra coding line added by python-shell--save-temp-file.
2795 (python-shell-send-region): Use python-shell--save-temp-file and
2796 python-shell-send-file directly. Add `nomain' argument.
2797 (python-shell-send-buffer): Use python-shell-send-region.
2798 (python-electric-pair-string-delimiter): New function.
2799 (python-mode): Use it.
2801 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2803 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2804 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2805 environment and decoding all of the default-directory's to here
2807 (command-line): Decode also argv[0].
2809 * loadup.el: Error out if default-directory is a multibyte string
2810 when we are dumping.
2812 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2814 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2816 * emacs-lisp/package.el (package-menu-mode)
2817 (package-menu--print-info, package-menu--archive-predicate):
2818 Add Archive column to package list.
2820 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2822 Fix problems found while writing a test suite.
2824 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2825 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2826 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2827 to nil when running original file name handler. Otherwise,
2828 there are problems with constructs like "$$FOO".
2830 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2833 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2835 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2837 * subr.el (version<, version<=, version=):
2838 Update docstrings with information for snapshot versions.
2840 * helpers.el: New library for misc helper functions.
2841 (hash-table-keys): New function returning a list of hash keys.
2842 (hash-table-values): New function returning a list of hash values.
2844 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2846 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2847 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2849 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2851 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2852 checking whether point is after a 1-letter word.
2854 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2856 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2857 Don't infloop when expanding region over `multiline' syntax-type that
2858 begins a line (bug#15778).
2860 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2862 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2863 Make it into a proper minor mode.
2864 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2865 (rectangle-mark-mode-map): New keymap.
2866 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2868 2013-11-04 Glenn Morris <rgm@gnu.org>
2870 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2872 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2874 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2875 (ruby-smie-rules): Use smie-rule-parent instead.
2877 * emacs-lisp/smie.el (smie-rule-parent): Always call
2878 smie-indent-virtual rather than only for hanging tokens.
2879 (smie--next-indent-change): New helper command.
2881 2013-11-03 Glenn Morris <rgm@gnu.org>
2883 * Makefile.in (abs_srcdir): Remove.
2884 (emacs): Unset EMACSLOADPATH.
2886 2013-11-02 Glenn Morris <rgm@gnu.org>
2888 * Makefile.in (EMACS): Use a relative filename.
2889 (abs_top_builddir): Remove.
2890 (custom-deps, finder-data, autoloads): Use --chdir.
2892 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2894 Use relative filenames in TAGS files.
2895 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2896 (lisptagsfiles4, TAGS): Use relative file names.
2897 (TAGS-LISP): Remove.
2898 (maintainer-clean): No more TAGS-LISP file.
2900 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2901 (lisptagsfiles4): Use absolute filenames again.
2902 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2903 Remove all *loaddefs files, not just the first. Remove esh-groups.
2904 (maintainer-clean): Delete TAGS, TAGS-LISP.
2906 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2908 * emacs-lisp/package.el (package-version-join):
2909 Recognize snapshot versions.
2911 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2913 * subr.el (version-regexp-alist): Add support for snapshot versions.
2915 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2917 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2918 New function, replacement for `smie-rule-parent' for when we want to
2919 skip over our direct parent if it's an assignment token..
2920 (ruby-smie-rules): Use it.
2922 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2924 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2925 unconditionally. Remove now unnecessary forward declarations.
2926 Remove XEmacs-specific setup.
2927 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2928 (ruby-font-lock-syntactic-keywords)
2929 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2930 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2931 (ruby-here-doc-end-syntax): Remove.
2932 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2933 defined as function.
2935 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2937 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2939 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2941 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2942 table and abbrev table, `define-derived-mode' does that for us
2945 2013-11-01 Glenn Morris <rgm@gnu.org>
2947 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2948 files is atomic for some time, so no parallel compilation issues).
2950 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2952 * faces.el (face-x-resources): Add :distant-foreground.
2953 (region): Use :distant-foreground for gtk and ns.
2955 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2957 Allow multiple bibliographies when BibLaTeX is used rather than
2959 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2960 (reftex-locate-bibliography-files): Us it.
2962 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2964 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2965 allow comments in pbm files.
2967 * term/w32-win.el (dynamic-library-alist): Support newer versions
2968 of libjpeg starting with v7: look only for the DLL from the
2969 version against which Emacs was built.
2970 Support versions of libpng beyond 1.4.x.
2971 Support libtiff v4.x.
2973 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2975 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2976 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2978 (ruby-deep-arglist): Add property :type.
2980 2013-10-31 Glenn Morris <rgm@gnu.org>
2982 * Makefile.in (custom-deps, finder-data): No need to setq the target
2983 variables, we are in the right directory and the defaults work fine.
2985 2013-10-30 Glenn Morris <rgm@gnu.org>
2987 * Makefile.in (autoloads): Do not use abs_lisp.
2989 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2990 `newline' does not respect `standard-output', so use `princ'.
2992 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2994 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2995 * buff-menu.el (Buffer-menu--unmark): New function.
2996 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2998 2013-10-30 Glenn Morris <rgm@gnu.org>
3000 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3002 * emacs-lisp/package.el (lm-homepage): Declare.
3004 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3007 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3009 * Makefile.in (finder-data, autoloads, update-subdirs)
3010 (compile-main, compile-clean, compile-always, bootstrap-clean):
3011 Check return value of cd.
3012 (compile-calc): Remove.
3014 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3016 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3018 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3019 (byte-compile-and-folded): New function.
3020 (=, <, >, <=, >=): Use it.
3022 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3023 (path-separator, null-device, buffer-file-coding-system)
3024 (lpr-headers-switches): Check system-type before modifying them.
3025 (find-buffer-file-type-coding-system): Mark obsolete.
3026 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3027 find-file-not-found-set-buffer-file-coding-system.
3028 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3029 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3030 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3031 (w32-direct-print-region-helper, w32-direct-print-region-function)
3032 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3033 * startup.el (normal-top-level-add-subdirs-to-load-path):
3034 * ps-print.el (ps-print-region-function):
3035 * lpr.el (print-region-function): Use new name.
3037 * subr.el (custom-declare-variable-early): Remove function.
3038 (custom-declare-variable-list): Remove var.
3039 (error, user-error): Remove `while' loop.
3040 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3041 (user-emacs-directory-warning, locate-user-emacs-file):
3043 * simple.el (read-quoted-char-radix, read-quoted-char):
3044 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3046 * custom.el (custom-declare-variable-list): Don't process
3047 custom-declare-variable-list.
3049 * progmodes/python.el (python-shell-get-buffer): New function.
3050 (python-shell-get-process): Use it.
3051 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3052 Python which encoding was used. Don't split-string since we only care
3053 about the first line. Return the temp-file, if applicable.
3054 (python-shell-send-region): Tell compile.el how to turn locations in
3055 the temp-file into locations in the source buffer.
3057 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3059 * subr.el (undefined): Add missing behavior from the C code for
3062 * rect.el: Use lexical-binding. Add new rectangular region support.
3063 (rectangle-mark): New command.
3064 (rectangle--region): New var.
3065 (deactivate-mark-hook): Reset rectangle--region.
3066 (rectangle--extract-region, rectangle--insert-for-yank)
3067 (rectangle--highlight-for-redisplay)
3068 (rectangle--unhighlight-for-redisplay): New functions.
3069 (region-extract-function, redisplay-unhighlight-region-function)
3070 (redisplay-highlight-region-function): Use them to handle
3072 * simple.el (region-extract-function): New var.
3073 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3074 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3075 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3076 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3077 (redisplay-unhighlight-region-function)
3078 (redisplay-highlight-region-function): New vars.
3079 (redisplay--update-region-highlight): New function.
3080 (pre-redisplay-function): Use it.
3081 (exchange-point-and-mark): Don't deactivate the mark before
3082 reactivate-it anyway.
3083 * comint.el (comint-kill-region): Remove yank-handler argument.
3084 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3085 (delete-char): Remove property, since it's now part of their
3087 (self-insert-iso): Remove property since this command doesn't exist.
3089 * emacs-lisp/package.el (package--download-one-archive)
3090 (describe-package-1): Don't query the user about final newline.
3092 2013-10-29 Daniel Colascione <dancol@dancol.org>
3094 * net/tramp.el (tramp-methods): Document new functionality.
3095 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3096 tramp-hostname-checker if method provides one instead of scanning
3097 argument list for "%h" to decide hostname acceptability.
3099 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3101 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3102 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3103 Handle COPY-CONTENTS. (Bug#15737)
3105 2013-10-28 Daiki Ueno <ueno@gnu.org>
3108 (epa-file-cache-passphrase-for-symmetric-encryption):
3109 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3111 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3113 * image.el (defimage):
3114 (image-load-path): Doc fixes.
3116 2013-10-27 Alan Mackenzie <acm@muc.de>
3118 Indent statements in macros following "##" correctly.
3119 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3120 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3122 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3124 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3126 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3128 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3129 after `=' is probably a new expression.
3131 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3133 * man.el (man-imenu-title): New option.
3134 (Man-mode-map): Add menu. (Bug#15722)
3135 (Man-mode): Add imenu to menu.
3137 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3139 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3140 specific in what the first arg can be: a non-keyword word,
3141 string/regexp/percent literal opener, opening paren, or unary
3142 operator followed directly by word.
3144 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3146 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3147 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3148 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3149 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3150 Remove vars, they do not apply any more.
3151 (prolog-mode-abbrev-table): Remove redundant declaration.
3152 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3153 (prolog-use-smie): Remove.
3154 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3155 supported by prolog-electric-if-then-else-flag.
3156 (prolog-mode-variables, prolog-menu): Use setq-local.
3157 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3158 Remove binding to `Backspace' since this key doesn't exist anyway.
3159 Remove bindings for electric self-inserting keys.
3160 (prog-mode): Assume it's defined.
3161 (prolog-post-self-insert): New function.
3162 (prolog-mode): Use it.
3163 (prolog-indent-line, prolog-indent-level)
3164 (prolog-find-indent-of-matching-paren)
3165 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3166 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3167 (prolog-goto-next-paren, prolog-in-string-or-comment)
3168 (prolog-tokenize, prolog-inside-mline-comment)
3169 (prolog-find-start-of-mline-comment): Remove functions.
3170 (prolog-find-unmatched-paren, prolog-clause-end)
3171 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3172 (prolog-electric--if-then-else): Rename from
3173 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3174 (prolog-tokenize-searchkey): Remove const.
3175 (prolog-clause-info): Use forward-sexp.
3176 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3177 (prolog-electric-if-then-else): Remove commands.
3178 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3179 for use in post-self-insert-hook.
3180 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3181 for use in post-self-insert-hook.
3182 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3183 for use in post-self-insert-hook.
3184 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3185 adapt it for use in post-self-insert-hook.
3187 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3189 * emacs-lisp/ert.el (ert-run-tests-interactively):
3190 Use `completing-read'. (Bug#9756)
3192 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3194 * simple.el (line-move): Call line-move-1 instead of
3195 line-move-visual when the current window hscroll is zero, but
3196 temporary-goal-column indicates we will need to hscroll as result
3197 of the movement. (Bug#15712)
3199 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3201 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3202 capitalization. Use :visible instead of :active.
3203 Fix `ruby-indent-exp' reference. Add menu items for the generic
3204 commands that are used with SMIE.
3205 (ruby-do-end-to-brace): Insert space after `{'.
3207 2013-10-25 John Anthony <john@jo.hnanthony.com>
3209 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3211 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3213 2013-10-25 Glenn Morris <rgm@gnu.org>
3215 * vc/vc.el (vc-print-log): Don't use a working revision unless
3216 one was explicitly specified. (Bug#15322)
3218 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3220 * subr.el (add-to-list): Preserve return value in compiler-macro
3223 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3225 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3226 result. Ask user to retry using '-all' flag. (Bug#15701)
3228 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3230 * emacs-lisp/smie.el: New smie-config system.
3231 (smie-config): New defcustom.
3232 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3233 (smie-config-guess, smie-config-save): New commands.
3234 (smie-config--mode-local, smie-config--buffer-local)
3235 (smie-config--trace, smie-config--modefuns): New vars.
3236 (smie-config--advice, smie-config--mode-hook)
3237 (smie-config--setter, smie-config-local, smie-config--get-trace)
3238 (smie-config--guess-value, smie-config--guess): New functions.
3239 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3240 text properties. Treat "string fence" syntax like string syntax.
3242 * progmodes/sh-script.el (sh-use-smie): Change default.
3243 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3244 (sh-var-value): Simplify by CSE.
3245 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3246 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3248 (sh-guess-basic-offset): Use cl-incf.
3249 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3251 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3253 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3256 2013-10-24 Glenn Morris <rgm@gnu.org>
3258 * Makefile.in (abs_top_srcdir): Remove.
3259 (update-subdirs): Use relative path to update-subdirs.
3261 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3263 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3264 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3265 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3266 Call unmsys--file-name before expand-file-name, not after it.
3268 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3270 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3271 (ert-test-skipped): New error.
3272 (ert-skip, ert-stats-skipped): New defuns.
3273 (ert--skip-unless): New macro.
3274 (ert-test-skipped): New struct.
3275 (ert--run-test-debugger, ert-test-result-type-p)
3276 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3277 (ert--stats-set-test-and-result, ert-char-for-test-result)
3278 (ert-string-for-test-result, ert-run-tests-batch)
3279 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3280 Handle skipped tests. (Bug#9803)
3282 2013-10-24 Glenn Morris <rgm@gnu.org>
3284 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3286 * Makefile.in (abs_top_srcdir): New, set by configure.
3287 (update-subdirs): Correct build-aux location.
3289 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3291 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3292 value, whether we could auto-deduce `backend', or not.
3294 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3295 with parameters" example. Simplify the "is it block or is it
3296 hash" check, but also make it more thorough.
3298 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3300 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3302 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3304 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3307 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3310 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3312 * progmodes/compile.el (compilation-directory-matcher)
3313 (compilation-page-delimiter):
3314 Support GNU Make-4.0 directory quoting. (Bug#15678)
3316 2013-10-23 Leo Liu <sdl.web@gmail.com>
3318 * ido.el (ido-tidy): Handle read-only text.
3320 2013-10-23 Glenn Morris <rgm@gnu.org>
3322 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3323 (emacs, compile, compile-always):
3324 Quote entities that might contain whitespace.
3325 (custom-deps, finder-data, autoloads): Use abs_lisp.
3326 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3327 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3328 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3330 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3332 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3333 Use `following-char'.
3335 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3337 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3338 * progmodes/ruby-mode.el (ruby-smie-rules):
3339 Remove corresponding workaround. Fix indentation rule of ";" so it
3340 also applies when ";" is the parent.
3342 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3344 * frame.el (display-screens, display-pixel-height)
3345 (display-pixel-width, display-mm-width, display-backing-store)
3346 (display-save-under, display-planes, display-color-cells)
3347 (display-visual-class, display-monitor-attributes-list):
3348 Mention the optional ‘display’ argument in doc strings.
3350 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3352 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3353 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3355 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3357 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3358 TODO. Add "." after " @ ".
3359 (ruby-smie--at-dot-call): New function. Checks if point at method
3360 call with explicit target.
3361 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3362 to the method name tokens when it precedes them.
3363 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3364 (ruby-smie-rules): Add rule for indentation before and after "."
3367 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3369 * textmodes/remember.el (remember-diary-extract-entries):
3372 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3375 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3377 * progmodes/ruby-mode.el (ruby-smie-grammar):
3378 Add (almost) all infix operators.
3379 (ruby-smie--implicit-semi-p): Add new operator chars.
3381 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3383 (ruby-smie--args-separator-p): Check that there's no newline
3384 between method call and its arguments.
3386 2013-10-20 Alan Mackenzie <acm@muc.de>
3388 Allow comma separated lists after Java "implements".
3390 * progmodes/cc-engine.el (c-backward-over-enum-header):
3392 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3393 from a "disallowed" list in enum fontification.
3395 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3397 * startup.el (default-frame-background-mode): Remove unused defvar.
3399 * progmodes/verilog-mode.el (verilog-mode): Don't set
3400 comment-indent-function globally.
3402 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3404 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3405 Move Info menu item creation to ns-win.el.
3407 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3410 * menu-bar.el: Move GNUStep specific menus...
3412 * term/ns-win.el (ns-initialize-window-system): ... to here.
3414 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3416 * simple.el (newline): Only run post-self-insert-hook when
3417 called interactively.
3419 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3421 * icomplete.el (icomplete-with-completion-tables): Add :version.
3423 2013-10-19 Alan Mackenzie <acm@muc.de>
3425 Fix fontification bugs with constructors and const.
3427 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3428 CASE 2) Remove the check for the absence of a suffix construct
3429 after a function declaration with only types (no identifiers) in
3430 the parentheses. Also, accept a function declaration with just a
3431 type inside the parentheses, if this type can be positively
3432 recognised as such, or if a prefix keyword like "explicit" nails
3433 down the construct as a declaration.
3435 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3437 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3438 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3439 the problem whereby selecting a menu item that leads to a
3440 minibuffer prompt moves the cursor out of the minibuffer window,
3441 making it hard to type at the prompt. Suggested by Stefan Monnier
3442 <monnier@iro.umontreal.ca>.
3444 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3446 * menu-bar.el: Don't make Services menu.
3448 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3450 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3451 (ffap-alist): Use ffap-c++-mode for c++-mode.
3452 (ffap-c++-path): New variable.
3453 (ffap-c++-mode): New function.
3455 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3457 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3459 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3461 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3462 introduced on 2013-09-08, which results in an infinite loop
3463 requesting a password.
3465 2013-10-18 Glenn Morris <rgm@gnu.org>
3467 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3469 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3471 Sync with upstream verilog-mode revision 1a6ecec7.
3472 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3473 (verilog-mode-release-date): Remove.
3474 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3475 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3476 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3477 (verilog-auto-tieoff-ignore-regexp)
3478 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3479 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3480 (verilog-signals-with, verilog-dir-cache-preserving)
3481 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3483 (verilog-case-fold): New option, to control case folding in
3484 regexp searches, bug597.
3485 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3486 (verilog-string-match-fold, verilog-in-paren-count)
3487 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3488 (verilog-at-close-struct-p): New functions.
3489 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3490 (verilog-forward-sexp, verilog-set-auto-endcomments):
3491 (verilog-leap-to-case-head): Handle "unique0" case.
3492 (verilog-in-constraint-re): New constant.
3493 (verilog-keywords, verilog-type-font-keywords):
3494 Add some SystemVerilog 1800-2012 keywords.
3495 (verilog-label-be): Remove unimplemented argument, bug669.
3496 (verilog-batch-execute-func): When batch expanding clear
3497 create-lockfiles to prevent spurious user locks when a file ends
3499 (verilog-calculate-indent, verilog-calc-1)
3500 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3501 (verilog-do-indent): Fix indentation of nested constraints
3503 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3504 (verilog-auto-inst-param): Use verilog-string-match-fold.
3505 (verilog-read-inst-module-matcher):
3506 Fix AUTOINST on gate primitives with #1.
3507 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3508 Reads all user-defined typed variables.
3509 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3510 (verilog-signals-matching-regexp)
3511 (verilog-signals-not-matching-regexp, verilog-auto):
3512 Respect verilog-case-fold.
3513 (verilog-diff-report): Fix line count.
3514 (verilog-auto-assign-modport): Remove unused local `modi'.
3515 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3516 better handle multidimensional arrays.
3517 Fix packed array ports misadding bit index in AUTOINST, bug637.
3518 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3519 to not double-declare existing outputs and inputs, respectively.
3520 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3521 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3522 (verilog-sk-uvm-component): New skeleton.
3523 (verilog-submit-bug-report): Add verilog-case-fold,
3524 remove verilog-mode-release-date.
3526 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3528 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3531 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3533 * textmodes/remember.el (remember): Set buffer-offer-save in
3534 remember buffers (bug#13566).
3536 2013-10-18 Daniel Colascione <dancol@dancol.org>
3538 When evaluating forms in ielm, direct standard output to ielm
3539 buffer. Add new ielm-return-for-effect command. Remove trailing
3540 whitespace throughout.
3542 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3543 (ielm-return-for-effect): New command.
3544 (ielm-send-input): Accept optional `for-effect' parameter.
3545 (ielm-eval-input): Accept optional `for-effect' parameter.
3546 Bind `standard-output' to stream we create using
3547 `ielm-standard-output-impl'. Suppress printing result when
3549 (ielm-standard-output-impl): New function.
3550 (inferior-emacs-lisp-mode): Explain new features in documentation.
3552 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3556 * net/tramp.el (tramp-debug-message): Do not check for connection
3558 (tramp-message): Use "vector" connection property.
3560 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3561 (tramp-equal-remote, tramp-eshell-directory-change)
3562 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3563 (tramp-adb-handle-rename-file)
3564 * net/tramp-cmds.el (tramp-list-remote-buffers)
3565 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3566 * net/tramp-compat.el (tramp-compat-process-running-p)
3567 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3568 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3569 (tramp-gvfs-handle-rename-file)
3570 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3571 (tramp-set-file-uid-gid)
3572 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3573 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3576 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3577 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3578 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3579 (tramp-gw-open-network-stream): Suppress unrelated traces.
3581 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3582 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3583 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3584 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3585 connection property.
3587 * net/tramp-cache.el (top): Suppress traces when reading
3590 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3591 Refactor common code. Improve debug message.
3592 (tramp-maybe-open-connection)
3593 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3594 connection buffer too early.
3596 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3597 from `tramp-smb-actions-with-acl'.
3598 (tramp-smb-actions-set-acl): New defconst.
3599 (tramp-smb-handle-copy-directory)
3600 (tramp-smb-action-get-acl): New defun, renamed from
3601 `tramp-smb-action-with-acl'.
3602 (tramp-smb-action-set-acl): New defun.
3603 (tramp-smb-handle-set-file-acl): Rewrite.
3605 2013-10-17 Glenn Morris <rgm@gnu.org>
3607 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3609 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3611 * skeleton.el (skeleton-newline): Remove.
3612 (skeleton-internal-1): Use (insert "\n") instead.
3614 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3617 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3618 forward-sexp-function while we redo its job (bug#15613).
3620 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3622 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3623 represented by lists.
3625 2013-10-16 Glenn Morris <rgm@gnu.org>
3627 * tmm.el (tmm--history): New dynamic variable.
3628 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3630 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3632 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3633 (tramp-smb-errors): Add error messages.
3634 (tramp-smb-actions-with-acl): New defconst.
3635 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3636 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3637 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3638 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3639 (tramp-smb-get-stat-capability): Fix tests.
3641 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3643 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3646 2013-10-16 Glenn Morris <rgm@gnu.org>
3648 * ansi-color.el (ansi-color-drop-regexp):
3649 Add 1J, 1K, 2K. (Bug#15617)
3651 * files.el (hack-local-variables--warned-lexical): New.
3652 (hack-local-variables):
3653 Warn about misplaced lexical-binding. (Bug#15616)
3655 * net/eww.el (eww-render): Always set eww-current-url,
3656 and update header line. (Bug#15622)
3657 (eww-display-html): ... Rather than just doing it here.
3659 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3661 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3662 menu navigations commands.
3664 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3666 * progmodes/subword.el (subword-capitalize): Be careful when
3667 the search for [[:alpha:]] fails (bug#15580).
3669 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3671 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3672 to commands that scroll the menu.
3674 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3676 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3677 Handle methods ending with `?' and `!'.
3679 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3681 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3682 `japanese-cp932' to `cp932' to fix the problem where saving a
3683 source file written in Shift_JIS twice would end up having
3684 `coding: japanese-cp932' which Ruby could not recognize.
3685 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3686 in `ruby-encoding-map'.
3687 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3688 doesn't need to be explicitly declared in magic comment.
3689 (ruby-encoding-map): Add type declaration for better customize UI.
3691 2013-10-13 Glenn Morris <rgm@gnu.org>
3693 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3694 Occur buffers are read-only. http://bugs.debian.org/720775
3696 * emacs-lisp/authors.el (authors-fixed-entries):
3697 Comment out old alpha stuff.
3699 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3701 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3702 to `after-save-hook' instead of `before-save-hook'.
3703 (ruby-mode-set-encoding): Use the value of coding system used to
3704 write the file. Call `basic-save-buffer-1' after modifying the
3707 2013-10-13 Alan Mackenzie <acm@muc.de>
3709 Fix indentation/fontification of Java enum with
3710 "implements"/generic.
3712 * progmodes/cc-engine.el (c-backward-over-enum-header):
3713 Extracted from the three other places and enhanced to handle generics.
3714 (c-inside-bracelist-p): Uses new function above.
3715 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3717 (c-font-lock-enum-tail): Uses new function above.
3719 2013-10-13 Kenichi Handa <handa@gnu.org>
3721 * international/mule-cmds.el (select-safe-coding-system): Remove a
3722 superfluous condition in chekcing whether a coding system is safe
3725 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3727 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3729 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3731 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3733 2013-10-13 Glenn Morris <rgm@gnu.org>
3735 * menu-bar.el (menu-bar-update-buffers):
3736 Unify Buffers menu prompt string. (Bug#15576)
3738 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3740 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3742 (authors-fixed-entries): Use accented form of name.
3744 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3746 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3747 method calls (bug#15594).
3748 (ruby-smie--args-separator-p): New function.
3749 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3750 recognize paren-free method calls.
3752 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3753 internals of universal-argument.
3755 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3757 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3758 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3759 dropped menu on second mouse click on the menu bar.
3761 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3763 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3764 (explicit-shell-file-name): Declare.
3765 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3766 (sh-completion-at-point-function): New function.
3768 (sh-smie--keyword-p): Remove unused argument.
3769 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3771 (sh-set-shell): Always setup SMIE, even if we use the
3772 old indentation code.
3774 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3776 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3778 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3779 predicate would return nil are almost non-existent.
3780 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3782 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3783 cache also after commands that modify the buffer but don't move
3786 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3788 * env.el (substitute-env-in-file-name): New function.
3789 (substitute-env-vars): Extend the meaning of the optional arg.
3791 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3793 * term/w32-win.el (dynamic-library-alist): Define separate lists
3794 of GIF DLLs for versions before and after 5.0.0 of giflib.
3797 2013-10-10 João Távora <joaotavora@gmail.com>
3799 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3800 not locked, use last revision and current source as
3801 defaults. (Bug#15569)
3803 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3805 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3808 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3810 * window.el (pop-to-buffer-same-window): Fix doc-string.
3813 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3815 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3817 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3819 * calendar/icalendar.el (icalendar-import-file):
3820 Fix interactive spec. (Bug#15482)
3822 2013-10-10 Glenn Morris <rgm@gnu.org>
3824 * desktop.el (desktop-save): Default to saving in .emacs.d,
3825 since PWD is no longer in desktop-path by default. (Bug#15319)
3827 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3828 now that text mode has a menu with the same entry.
3829 (menu-bar-text-mode-auto-fill): Remove now unused func.
3830 * textmodes/text-mode.el (text-mode-map):
3831 Use auto-fill help text from menu-bar.el.
3833 2013-10-10 John Anthony <john@jo.hnanthony.com>
3835 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3837 2013-10-09 Juri Linkov <juri@jurta.org>
3839 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3840 instead of this-command-keys. Add universal-argument-more and
3841 universal-argument-minus to the list of prefix commands. (Bug#15568)
3843 2013-10-09 Glenn Morris <rgm@gnu.org>
3845 * vc/vc-svn.el (vc-svn-create-repo):
3846 Expand paths in file://... url. (Bug#15446)
3848 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3850 (authors): Remove unused local variables.
3852 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3854 * profiler.el: Create a more coherent calltree from partial backtraces.
3855 (profiler-format): Hide the tail with `invisible' so that C-s can still
3856 find the hidden elements.
3857 (profiler-calltree-depth): Don't recurse so enthusiastically.
3858 (profiler-function-equal): New hash-table-test.
3859 (profiler-calltree-build-unified): New function.
3860 (profiler-calltree-build): Use it.
3861 (profiler-report-make-name-part): Indent the calltree less.
3862 (profiler-report-mode): Add visibility specs for profiler-format.
3863 (profiler-report-expand-entry, profiler-report-toggle-entry):
3864 Expand the whole subtree when provided with a prefix arg.
3866 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3868 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3870 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3871 hanging iuwu-mod token.
3872 (ruby-smie--forward-token): Do not include a dot after a token in
3874 (ruby-smie--backward-token): Likewise.
3876 2013-10-08 Juri Linkov <juri@jurta.org>
3878 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3879 to isearch-other-control-char.
3880 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3881 and isearch-post-command-hook to post-command-hook.
3882 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3883 and isearch-post-command-hook from post-command-hook.
3884 (isearch-unread-key-sequence)
3885 (isearch-reread-key-sequence-naturally)
3886 (isearch-lookup-scroll-key, isearch-other-control-char)
3887 (isearch-other-meta-char): Remove functions.
3888 (isearch-pre-command-hook, isearch-post-command-hook):
3889 New functions based on isearch-other-meta-char rewritten
3890 relying on the new behavior of overriding-terminal-local-map
3891 that does not replace the local keymaps any more. (Bug#15200)
3893 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3895 Support menus on text-mode terminals.
3896 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3899 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3901 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3902 Move here from mouse.el.
3903 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3905 (tty-menu-navigation-map): New map for TTY menu navigation.
3907 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3909 * frame.el (display-mouse-p): Report text-mode mouse as available
3911 (display-popup-menus-p): Report availability if mouse is
3912 available; don't condition on window-system.
3914 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3915 (tty-menu-selected-face): New faces.
3917 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3919 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3920 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3921 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3922 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3924 (lisp-mode-variables): New `elisp' argument.
3925 (emacs-lisp-mode): Use it.
3926 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3927 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3929 * indent.el: Use lexical-binding.
3930 (indent-region): Add progress reporter.
3931 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3933 (indent--next-tab-stop): New function to implement this behavior.
3934 (tab-to-tab-stop, move-to-tab-stop): Use it.
3936 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3938 * indent.el (indent-rigidly--current-indentation): New function.
3939 (indent-rigidly-map): New var.
3940 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3942 2013-10-08 Bastien Guerry <bzg@gnu.org>
3944 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3946 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3948 * progmodes/perl-mode.el: Use lexical-binding.
3949 Remove redundant :group args.
3950 (perl-nochange): Change default to be closer to other major modes's
3952 (perl-indent-line): Don't consider text on current line as a
3953 valid beginning of function from which to indent.
3955 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3956 with more than one argument (bug#15538).
3958 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3960 * vc/pcvs.el: Use lexical-binding.
3961 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3962 environment of `eval'.
3963 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3964 than a list of expressions. Adjust callers.
3965 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3967 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3969 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3970 case of the dot in a chained method call being on the following line.
3972 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3974 * electric.el (electric-indent-inhibit): New var.
3975 (electric-indent-post-self-insert-function): Use it.
3976 * progmodes/python.el (python-mode): Set it.
3978 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3981 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3983 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3984 (css-mode): Use electric-indent-chars.
3986 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3987 (font-lock-beg, font-lock-end): Move before first use.
3988 (nxml-mode): Use syntax-propertize-function.
3989 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3990 (nxml-extend-after-change-region): Remove.
3991 * nxml/xmltok.el: Use lexical-binding.
3992 (xmltok-save): Use `declare'.
3993 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3994 * nxml/nxml-util.el: Use lexical-binding.
3995 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3997 * nxml/nxml-ns.el: Use lexical-binding.
3998 (nxml-ns-save): Use `declare'.
3999 (nxml-ns-prefixes-for): Avoid add-to-list.
4000 * nxml/rng-match.el: Use lexical-binding.
4001 (rng--ipattern): Use cl-defstruct.
4002 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4003 (rng-cons-group-after, rng-subst-group-after)
4004 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4005 Use closures instead of `(lambda...).
4007 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4009 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4012 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4013 Use `tramp-handle-insert-file-contents'.
4014 (tramp-gvfs-handle-insert-file-contents): Remove function.
4016 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4017 Use `save-restriction' in order to keep markers.
4019 * net/trampver.el: Update release number.
4021 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4023 * progmodes/compile.el (compilation-parse-errors):
4024 Use compilation--put-prop.
4025 (compilation--ensure-parse): Check compilation-multiline.
4027 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4029 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4032 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4034 * progmodes/ruby-mode.el: Fix recently added tests.
4035 (ruby-smie-grammar): Add - and +.
4036 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4037 (ruby-smie--backward-id): New functions.
4038 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4039 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4042 2013-10-07 Leo Liu <sdl.web@gmail.com>
4044 * register.el (register-preview-delay)
4045 (register-preview-functions): New variables.
4046 (register-read-with-preview, register-preview)
4047 (register-describe-oneline): New functions.
4048 (point-to-register, window-configuration-to-register)
4049 (frame-configuration-to-register, jump-to-register)
4050 (number-to-register, view-register, insert-register)
4051 (copy-to-register, append-to-register, prepend-to-register)
4052 (copy-rectangle-to-register): Use register-read-with-preview to
4053 read register. (Bug#15525)
4055 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4057 * net/network-stream.el (network-stream-open-starttls): Don't add
4058 --insecure if it's already present, because that gnutls-cli
4059 rejects getting that parameter twice.
4061 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4063 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4066 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4068 * newcomment.el (comment-use-global-state): Change default value
4069 to t, mark obsolete (Bug#15251).
4070 (comment-beginning): In addition to `comment-to-syntax', check the
4071 value of `comment-use-global-state'.
4073 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4075 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4076 (ruby-comment-column): Follow the global default, by default.
4077 (ruby-smie-grammar): Add assignment syntax.
4078 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4079 open-paren, a comma, or a \.
4080 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4081 and line continuations.
4082 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4083 followed by implicit semi-colons. Add rule for string concatenation
4084 and for indentation at BOB.
4085 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4087 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4088 calling next-sexp, since next-token may have skipped chars which
4089 next-sexp doesn't know should be skipped!
4091 2013-10-05 Leo Liu <sdl.web@gmail.com>
4093 * progmodes/octave.el (octave-send-region):
4094 Call compilation-forget-errors.
4096 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4098 * vc/vc-svn.el (vc-svn-find-admin-dir):
4099 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4100 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4101 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4102 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4104 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4106 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4108 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4110 * subr.el (read-passwd): Hide chars even when called within a context
4111 where after-change-functions is disabled (bug#15501).
4112 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4113 until we removed ourself from overriding-terminal-local-map.
4115 2013-10-04 Leo Liu <sdl.web@gmail.com>
4117 * progmodes/octave.el (inferior-octave-mode):
4118 Call compilation-forget-errors.
4120 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4122 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4124 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4126 * net/secrets.el (secrets-create-collection): Add optional
4127 argument ALIAS. Use proper Label keyword. Append ALIAS as
4128 dbus-call-method argument. (Bug#15516)
4130 2013-10-04 Leo Liu <sdl.web@gmail.com>
4132 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4133 (inferior-octave-compilation-font-lock-keywords): New variables.
4134 (compilation-error-regexp-alist)
4135 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4136 (inferior-octave-mode): Use compilation-shell-minor-mode.
4138 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4140 * minibuffer.el (completion--replace): Be careful that `end' might be
4143 2013-10-03 Daiki Ueno <ueno@gnu.org>
4145 Add support for package signature checking.
4146 * emacs-lisp/package.el (url-http-file-exists-p)
4147 (epg-make-context, epg-context-set-home-directory)
4148 (epg-verify-string, epg-context-result-for)
4149 (epg-signature-status, epg-signature-to-string)
4150 (epg-check-configuration, epg-configuration)
4151 (epg-import-keys-from-file): Declare.
4152 (package-check-signature): New user option.
4153 (package-unsigned-archives): New user option.
4154 (package-desc): Add `signed' field.
4155 (package-load-descriptor): Set `signed' field if .signed file exists.
4156 (package--archive-file-exists-p): New function.
4157 (package--check-signature): New function.
4158 (package-install-from-archive): Check package signature.
4159 (package--download-one-archive): Check archive signature.
4160 (package-delete): Remove .signed file.
4161 (package-import-keyring): New command.
4162 (package-refresh-contents): Import default keyring.
4163 (package-desc-status): Add "unsigned" status.
4164 (describe-package-1, package-menu--print-info)
4165 (package-menu-mark-delete, package-menu--find-upgrades)
4166 (package-menu--status-predicate): Support "unsigned" status.
4168 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4170 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4171 the new compilation scheme using the new byte-codes.
4173 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4174 (byte-pophandler): New byte codes.
4175 (byte-goto-ops): Adjust accordingly.
4176 (byte-compile--use-old-handlers): New var.
4177 (byte-compile-catch): Use new byte codes depending on
4178 byte-compile--use-old-handlers.
4179 (byte-compile-condition-case--old): Rename from
4180 byte-compile-condition-case.
4181 (byte-compile-condition-case--new): New function.
4182 (byte-compile-condition-case): New function that dispatches depending
4183 on byte-compile--use-old-handlers.
4184 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4187 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4188 Optimize under `condition-case' and `catch' if
4189 byte-compile--use-old-handlers is nil.
4190 (disassemble-offset): Handle new bytecodes.
4192 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4194 * subr.el (error): Use `declare'.
4195 (decode-char, encode-char): Use advertised-calling-convention instead
4196 of the docstring to discourage use of the `restriction' arg.
4198 2013-10-03 Daiki Ueno <ueno@gnu.org>
4200 * epg.el (epg-verify-file): Add a comment saying that it does not
4201 notify verification error as a return value nor a signal.
4202 (epg-verify-string): Ditto.
4204 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4206 * progmodes/compile.el (compilation-start): Try globbing the arg to
4209 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4211 Sync with Tramp 2.2.8.
4213 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4214 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4215 * net/trampver.el: Update release number.
4217 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4219 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4220 and default-process-coding-system for darwin only.
4222 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4224 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4226 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4228 * vc/vc-git.el (vc-git-grep): Disable pager.
4230 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4232 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4233 Use :url instead of :homepage, as per
4234 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4236 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4237 non-nil, use `syntax-ppss' (Bug#15251).
4239 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4241 * progmodes/octave.el (inferior-octave-startup-file):
4242 Prefer ~/.emacs.d/init_octave.m.
4244 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4246 * emacs-lisp/package.el (package-desc-from-define):
4247 Accept additional arguments as plist, convert them to an alist and store
4248 them in the `extras' slot.
4249 (package-generate-description-file): Convert extras alist back to
4250 plist and append to the `define-package' form arguments.
4251 (package--alist-to-plist): New function.
4252 (package--ac-desc): Add `extras' slot.
4253 (package--add-to-archive-contents): Check if the archive-contents
4254 vector is long enough, and if it is, pass its `extras' slot value
4255 to `package-desc-create'.
4256 (package-buffer-info): Call `lm-homepage', pass the returned value
4257 to `package-desc-from-define'.
4258 (describe-package-1): Render the homepage button (Bug#13291).
4260 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4261 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4263 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4265 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4266 and default-process-coding-system to utf-8-unix (Bug#15402).
4268 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4270 * subr.el (looking-back): Do not recommend using looking-back.
4272 2013-09-28 Alan Mackenzie <acm@muc.de>
4274 Fix indentation/fontification of Java enum with "implements".
4276 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4277 regexp which matches "implements", etc., in Java.
4278 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4279 specifier clauses coming after "enum".
4280 * progmodes/cc-fonts.el (c-font-lock-declarations)
4281 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4284 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4286 * faces.el (region): Change ns_selection_color to
4287 ns_selection_fg_color, add ns_selection_bg_color.
4289 2013-09-28 Leo Liu <sdl.web@gmail.com>
4291 * progmodes/octave.el (inferior-octave-completion-table)
4292 (inferior-octave-completion-at-point): Minor tweaks.
4294 * textmodes/ispell.el (ispell-lookup-words): Rename from
4295 lookup-words. (Bug#15460)
4296 (lookup-words): Obsolete.
4297 (ispell-complete-word, ispell-command-loop): All uses changed.
4299 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4301 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4302 (octave-mode-menu): Add octave-send-buffer.
4303 (octave-send-buffer): New function.
4305 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4307 * progmodes/octave.el (octave-mode-map): Add key binding for
4309 (octave-mode-menu): Add octave-lookfor.
4310 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4312 (octave-lookfor): New function.
4314 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4316 * emacs-lisp/cl-macs.el:
4317 (cl--loop-destr-temps): Remove.
4318 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4320 (cl--loop-set-iterator-function): New function.
4321 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4322 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4323 Bind `it' with `let' instead of substituting it with `cl-subst'.
4324 (cl--unused-var-p): New function.
4325 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4326 Eliminate some unused variable warnings (bug#15326).
4328 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4330 * doc-view.el (doc-view-scale-reset): Rename from
4331 `doc-view-reset-zoom-level'.
4332 (doc-view-scale-adjust): New command.
4333 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4334 `doc-view-scale-adjust'.
4336 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4338 * doc-view.el (doc-view-reset-zoom-level): New command.
4339 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4340 zoom commands (bug#15466).
4342 2013-09-26 Kenichi Handa <handa@gnu.org>
4344 * international/quail.el (quail-help): Make it not a command.
4346 2013-09-26 Leo Liu <sdl.web@gmail.com>
4348 * minibuffer.el (completion-all-sorted-completions): Make args
4349 optional as they are.
4351 2013-09-25 Daniel Colascione <dancol@dancol.org>
4353 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4354 specs are and that they're not evaluated.
4356 2013-09-24 Sam Steingold <sds@gnu.org>
4358 * midnight.el (clean-buffer-list-kill-regexps)
4359 (clean-buffer-list-kill-buffer-names): Update for the new Man
4360 buffer naming which includes the object name.
4362 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4364 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4365 (eshell-parse-command, eshell-parse-pipeline): Use it since
4366 eshell-separate-commands requires a dynamic scoped var.
4367 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4369 2013-09-23 Leo Liu <sdl.web@gmail.com>
4371 * autoinsert.el (auto-insert-alist): Make the value of
4372 lexical-binding match its file setting.
4374 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4376 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4378 * autoarg.el (autoarg-kp-digit-argument):
4379 * electric.el (Electric-command-loop):
4380 * kmacro.el (kmacro-step-edit-insert):
4381 Do not set universal-argument-num-events.
4383 2013-09-22 Leo Liu <sdl.web@gmail.com>
4385 * files.el (interpreter-mode-alist): Add octave.
4387 2013-09-21 Alan Mackenzie <acm@muc.de>
4389 C++: fontify identifier in declaration following "public:" correctly.
4390 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4391 to match "public", etc.
4392 (c-decl-prefix-re): Add ":" into the C++ value.
4393 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4394 bit. Add a check for a ":" preceded by "public", etc.
4396 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4398 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4399 recognized by GDB 7.5 and later.
4401 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4403 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4405 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4407 * subr.el (internal--call-interactively): New const.
4408 (called-interactively-p): Use it (bug#3984).
4410 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4412 * vc/pcvs.el (cvs-mode-ignore):
4413 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4414 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4416 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4418 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4419 (eshell-ls-orig-insert-directory): Remove.
4420 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4421 (eshell-ls-use-in-dired): Use advice-add/remove.
4422 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4423 Add `orig-fun' arg for use in :around advice.
4424 Make it check (redundantly) eshell-ls-use-in-dired.
4426 2013-09-19 Glenn Morris <rgm@gnu.org>
4428 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4430 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4432 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4434 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4436 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4437 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4438 (tramp-get-remote-python): New defuns.
4439 (tramp-get-remote-uid-with-perl)
4440 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4441 contributed by yary <not.com@gmail.com> (tiny change).
4442 (tramp-get-remote-uid-with-python)
4443 (tramp-get-remote-gid-with-python): New defuns. Python code
4444 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4445 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4447 2013-09-19 Glenn Morris <rgm@gnu.org>
4449 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4451 * eshell/em-unix.el (eshell-remove-entries):
4452 Rename argument to avoid name-clash with global `top-level'.
4454 * eshell/esh-proc.el (eshell-kill-process-function):
4455 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4456 (eshell-reset-after-proc): Remove unused arg `proc'.
4458 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4459 (directory-files-and-attributes): Mark unused arg.
4461 * eshell/em-unix.el (eshell-remove-entries):
4462 Remove unused arg `path'. Update callers.
4464 * eshell/em-hist.el (eshell-hist-parse-arguments):
4465 Remove unused arg `silent'. Update callers.
4467 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4468 Fix (f)boundp mix-up.
4470 * eshell/em-smart.el (eshell-smart-scroll-window)
4471 (eshell-disable-after-change):
4472 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4474 2013-09-18 Alan Mackenzie <acm@muc.de>
4476 Fix fontification of type when followed by "const".
4477 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4478 "known" types from fontification.
4480 2013-09-18 Glenn Morris <rgm@gnu.org>
4482 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4483 (chart-face-list): Drop Emacsen without display-color-p.
4485 * net/eww.el (libxml-parse-html-region): Declare.
4486 (eww-display-html): Explicit error if no libxml2 support.
4488 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4490 * image.el (image-type-from-buffer, image-multi-frame-p):
4491 Remove --without-x warning/error.
4493 * mouse.el (mouse-yank-primary):
4494 * term.el (term-mouse-paste):
4495 Reorder to silence --without-x compilation.
4497 * mpc.el (doc-view-mode): Silence --without-x compilation.
4499 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4500 Silence --without-x compilation.
4502 * progmodes/gud.el (gud-find-file, gud-mode):
4503 Silence --without-x compilation.
4504 (tooltip-mode): Declare.
4506 * wdired.el (dired-backup-overwrite): Remove declaration.
4507 (wdired-mode-map): Add doc string.
4509 * custom.el (x-get-resource): Declare.
4511 * eshell/em-glob.el (ange-cache):
4512 * eshell/em-unix.el (ange-cache): Declare.
4514 * faces.el (x-display-list, x-open-connection, x-get-resource):
4517 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4518 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4521 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4523 * net/gnutls.el (gnutls-log-level): Declare.
4525 * net/shr.el (image-size, image-animate): Declare.
4527 * simple.el (font-info): Declare.
4529 * subr.el (x-popup-dialog): Declare.
4531 * term/common-win.el (x-select-enable-primary)
4532 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4535 * term/ns-win.el (x-handle-args): Declare.
4537 * term/x-win.el (x-select-enable-clipboard): Declare.
4539 * term/w32-win.el (create-default-fontset): Declare.
4541 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4544 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4545 (fit-frame-to-buffer): Explicit error if --without-x.
4546 (mouse-autoselect-window-select): Silence compiler.
4548 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4550 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4551 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4552 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4553 * eshell/esh-util.el (eshell-sublist):
4554 Remove unused local variables.
4556 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4558 * textmodes/two-column.el: Make 2C-split work for --without-x.
4559 (scroll-bar-columns): Autoload.
4560 (top-level): Require fringe when compiling.
4562 2013-09-18 Leo Liu <sdl.web@gmail.com>
4564 * subr.el (add-hook): Robustify to handle closure as well.
4566 2013-09-17 Glenn Morris <rgm@gnu.org>
4568 * simple.el (messages-buffer-mode-map): Unbind "g".
4570 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4572 * help-mode.el (help-mode-finish): Use derived-mode-p.
4573 Remove obsolete highlighting.
4575 * play/life.el (life-mode): Use define-derived-mode. Derive from
4577 (life): Let-bind inhibit-read-only.
4578 (life-setup): Avoid `setq'. Use `life-mode'.
4580 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4581 which should not be needed any more.
4582 (package-menu-refresh, package-menu-describe-package): Use user-error.
4584 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4585 (eshell-post-rewrite-command-hook): Make obsolete.
4586 (eshell-parse-command): Simplify.
4587 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4588 (eshell--cmd): Declare.
4589 (eshell-parse-pipeline): Remove unused var `final-p'.
4590 Pass a dynvar to eshell-post-rewrite-command-hook.
4591 Implement the new eshell-post-rewrite-command-function.
4592 (eshell-invoke-directly): Remove unused arg `input'.
4593 * eshell/esh-io.el (eshell-io-initialize):
4594 Use eshell-post-rewrite-command-function (bug#15399).
4595 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4596 adjust to new calling convention.
4597 (eshell-create-handles): Rename args to avoid clashing with dynvar
4600 2013-09-17 Glenn Morris <rgm@gnu.org>
4602 * simple.el (messages-buffer-mode): New major mode.
4603 (messages-buffer): New function.
4604 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4605 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4606 (ert-run-test): Use `messages-buffer' function.
4607 (ert--force-message-log-buffer-truncation): Ignore read-only.
4608 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4609 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4611 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4613 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4615 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4617 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4619 * icomplete.el (icomplete-in-buffer): New var.
4620 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4621 vars and replace them with functions.
4622 (icomplete-minibuffer-setup): Adjust accordingly.
4623 (icomplete--completion-table, icomplete--completion-predicate)
4624 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4626 (icomplete-forward-completions, icomplete-backward-completions)
4627 (icomplete-simple-completing-p, icomplete-exhibit)
4628 (icomplete-completions): Use them.
4629 (icomplete--in-region-buffer): New var.
4630 (icomplete--in-region-setup): New function.
4631 (icomplete-mode): Use it.
4633 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4635 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4636 return args and options.
4637 (eshell-eval-using-options): Use the new return value of
4638 eshell--do-opts to set the options's vars in their scope.
4639 (eshell--set-option): Rename from eshell-set-option.
4641 (eshell--process-option): Rename from eshell-process-option.
4643 (eshell--process-args): Use an `opt-vals' alist to store the options's
4644 values during their processing and return them additionally to the
4647 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4649 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4650 continuation character an operator, as far as indentation is
4651 concerned (Bug#15369).
4653 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4655 * window.el (window--state-put-2): Don't process buffer state
4656 when buffer doesn't exist any more (Bug#15382).
4658 2013-09-15 Glenn Morris <rgm@gnu.org>
4660 * eshell/em-unix.el (eshell/rm):
4661 Make -f ignore missing files. (Bug#15373)
4663 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4664 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4665 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4667 2013-09-14 Glenn Morris <rgm@gnu.org>
4669 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4671 2013-09-13 Glenn Morris <rgm@gnu.org>
4673 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4674 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4676 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4678 * frame.el (x-focus-frame): Mark as declared in frame.c.
4680 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4682 * ls-lisp.el: Use advice-add.
4683 (original-insert-directory): Remove.
4684 (ls-lisp--insert-directory): Rename from insert-directory; add
4685 `orig-fun' argument.
4686 (insert-directory): Advise.
4688 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4690 * term.el (term-emulate-terminal): Decode the command string
4691 before passing it to term-command-hook. (Bug#15337)
4693 2013-09-13 Glenn Morris <rgm@gnu.org>
4695 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4697 * eshell/esh-ext.el (eshell-search-path): Declare.
4699 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4700 Otherwise an error occurs if eshell-dirs module not loaded.
4702 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4704 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4706 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4707 `tramp-check-proper-host'. Check for a valid method name.
4709 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4710 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4711 * net/tramp-sh.el (tramp-maybe-open-connection):
4712 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4714 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4715 also for hash values.
4717 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4719 * term/ns-win.el (parameters): Don't declare as dynamic.
4720 (before-make-frame-hook): Don't add ineffective function.
4722 * eshell/*.el: Use lexical-binding (bug#15231).
4724 2013-09-12 Kenichi Handa <handa@gnu.org>
4726 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4728 2013-09-12 Glenn Morris <rgm@gnu.org>
4730 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4731 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4733 * subr.el (do-after-load-evaluation): Also give compiler warnings
4734 when obsolete files are used (except by obsolete files).
4736 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4737 in the status output, assume `filename' is the first. (Bug#15322)
4739 * vc/vc.el (vc-deduce-fileset): Doc fix.
4741 * calc/calc-help.el (Info-goto-node):
4742 * progmodes/cperl-mode.el (Info-find-node):
4743 * vc/ediff.el (Info-goto-node): Update declarations.
4745 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4747 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4748 (vc-bzr-pull): Require vc-dispatcher.
4749 * vc/vc-git.el (vc-compilation-mode): Declare.
4750 (vc-git-pull): Require vc-dispatcher.
4752 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4754 * progmodes/octave.el (help-button-action): Declare.
4756 * shell.el (shell-directory-tracker): Output error as a message
4757 rather than just returning it as a string.
4758 (shell-process-pushd): Remove useless use of message.
4760 * dframe.el (dframe-timer-fn):
4761 * files.el (dir-locals-read-from-file):
4762 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4764 * reveal.el (reveal-post-command):
4765 * saveplace.el (load-save-place-alist-from-file):
4766 * shell.el (shell-resync-dirs):
4767 * w32-common-fns.el (x-get-selection-value):
4768 * emacs-lisp/copyright.el (copyright-find-copyright):
4769 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4770 * emulation/tpu-edt.el (tpu-copy-keyfile):
4771 * play/bubbles.el (bubbles--mark-neighbourhood):
4772 * progmodes/executable.el
4773 (executable-make-buffer-file-executable-if-script-p):
4774 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4776 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4778 Cleanup Eshell to rely less on dynamic scoping.
4779 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4780 last-value, and ext-command here. Bind `args' closer to `body'.
4781 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4782 (eshell--args): Declare new dynamic var.
4783 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4784 last-value, and ext-command. Pass `args' to `body'.
4785 (eshell-process-args): Bind eshell--args.
4786 (eshell-set-option): Use eshell--args.
4787 * eshell/eshell.el (eshell): Use derived-mode-p.
4788 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4789 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4790 (eshell-glob-function): Declare.
4791 * eshell/esh-util.el: Require cl-lib.
4792 (eshell-read-hosts-file): Avoid add-to-list.
4793 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4795 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4797 (eshell/diff): Remove unused var `err'.
4798 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4800 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4801 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4803 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4804 Move declaration before first use.
4805 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4806 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4809 2013-09-12 Glenn Morris <rgm@gnu.org>
4811 * term/ns-win.el (global-map): Remove binding for ispell-next,
4812 deleted 1999-05-29. (Bug#15357)
4814 2013-09-11 Glenn Morris <rgm@gnu.org>
4816 * echistory.el (electric-command-history): Remove call to deleted func.
4818 * play/landmark.el (landmark-mode): Fix typos.
4820 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4821 Check cvs-sort-ignore-file is bound.
4823 * savehist.el: No need for cl when compiling on Emacs.
4825 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4827 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4829 (eshell-self-insert-command, eshell-send-invisible):
4830 Remove unused argument.
4831 (eshell-handle-control-codes): Remove unused var `orig'.
4832 Avoid delete-backward-char.
4834 * files.el (set-auto-mode): Simplify a bit further.
4836 2013-09-11 Glenn Morris <rgm@gnu.org>
4838 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4839 (set-auto-mode): Don't regexp-quote elements.
4840 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4841 * progmodes/cc-mode.el (interpreter-mode-alist):
4842 * progmodes/ruby-mode.el (interpreter-mode-alist):
4843 Revert previous change.
4845 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4847 * play/snake.el (snake-mode):
4848 * play/mpuz.el (mpuz-mode):
4849 * play/landmark.el (lm-mode):
4850 * play/blackbox.el (blackbox-mode):
4851 * play/5x5.el (5x5-mode):
4852 * obsolete/options.el (Edit-options-mode):
4853 * net/quickurl.el (quickurl-list-mode):
4854 * net/newst-treeview.el (newsticker-treeview-mode):
4855 * mail/rmailsum.el (rmail-summary-mode):
4856 * mail/mspools.el (mspools-mode):
4857 * locate.el (locate-mode):
4858 * ibuffer.el (ibuffer-mode):
4859 * emulation/ws-mode.el (wordstar-mode):
4860 * emacs-lisp/debug.el (debugger-mode):
4861 * array.el (array-mode):
4862 * net/eudc.el (eudc-mode): Use define-derived-mode.
4863 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4864 Move initialization into declaration.
4865 (mairix-searches-mode): Use define-derived-mode.
4866 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4867 (eudc-edit-hotlist): Use dolist.
4868 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4869 (Man-mode): Use define-derived-mode.
4870 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4871 (Info-edit-mode): Use define-derived-mode.
4872 (Info-cease-edit): Use Info-mode.
4873 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4875 (eshell-mode): Use define-derived-mode.
4876 * chistory.el (command-history-mode-map): Rename from
4877 command-history-map.
4878 (command-history-mode): Use define-derived-mode.
4879 (Command-history-setup): Remove function.
4880 * calc/calc.el (calc-trail-mode-map): New var.
4881 (calc-trail-mode): Use define-derived-mode.
4882 (calc-trail-buffer): Set calc-main-buffer manually.
4883 * bookmark.el (bookmark-insert-annotation): New function.
4884 (bookmark-edit-annotation): Use it.
4885 (bookmark-edit-annotation-mode): Make it a proper major mode.
4886 (bookmark-send-edited-annotation): Use derived-mode-p.
4887 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4888 closer to its ideal place. Use \' to match EOS.
4890 * profiler.el (profiler-calltree-find): Use function-equal.
4892 2013-09-10 Glenn Morris <rgm@gnu.org>
4894 * files.el (interpreter-mode-alist): Convert to regexps.
4895 (set-auto-mode): Adapt for this. (Bug#15306)
4896 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4897 Comment out unused variable.
4898 * progmodes/cc-mode.el (interpreter-mode-alist):
4899 * progmodes/python.el (interpreter-mode-alist):
4900 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4901 * progmodes/sh-script.el (sh-set-shell):
4902 No longer use interpreter-mode-alist to get list of shells.
4904 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4906 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4908 * simple.el: Use set-temporary-overlay-map for universal-argument.
4909 (universal-argument-map): Don't use default-bindings (bug#15317).
4910 Bind switch-frame explicitly. Replace universal-argument-minus with
4911 a conditional binding.
4912 (universal-argument-num-events, saved-overriding-map): Remove.
4913 (restore-overriding-map): Remove.
4914 (universal-argument--mode): Rename from save&set-overriding-map,
4916 (universal-argument, universal-argument-more, negative-argument)
4917 (digit-argument): Adjust accordingly.
4918 (universal-argument-minus): Remove.
4919 (universal-argument-other-key): Remove.
4921 * subr.el (with-demoted-errors): Add `format' argument.
4923 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4925 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4926 `tramp-cleanup-connection'.
4928 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4929 parameters KEEP-DEBUG and KEEP-PASSWORD.
4931 * net/tramp.el (tramp-file-name-handler):
4932 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4933 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4934 (tramp-maybe-open-connection):
4935 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4936 Use `tramp-cleanup-connection'.
4938 * net/tramp-sh.el (tramp-maybe-open-connection):
4939 Catch 'uname-changed inside the progress reporter.
4941 2013-09-10 Glenn Morris <rgm@gnu.org>
4943 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4945 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4946 returns "alternate access method" in mode (eg "-rw-r--r--.").
4948 2013-09-08 Glenn Morris <rgm@gnu.org>
4950 * saveplace.el (load-save-place-alist-from-file):
4951 Demote errors. (Bug#15305)
4953 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4955 Improve compatibility with older Emacsen, and XEmacs.
4957 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4958 only if it is bound. It isn't for XEmacs.
4959 (with-tramp-progress-reporter): Do not let-bind `result'.
4960 This yields to scoping errors in XEmacs.
4961 (tramp-handle-make-auto-save-file-name): New function, moved from
4964 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4965 for `make-auto-save-file-name'.
4966 (tramp-adb--gnu-switches-to-ash):
4967 Use `tramp-compat-replace-regexp-in-string'.
4969 * net/tramp-cache.el (tramp-cache-print): Call
4970 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4972 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4973 bound. It isn't for XEmacs.
4975 * net/tramp-compat.el (tramp-compat-copy-file):
4976 Catch `wrong-number-of-arguments' error.
4977 (tramp-compat-replace-regexp-in-string): New defun.
4979 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4980 for `make-auto-save-file-name'.
4981 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4983 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4984 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4985 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4987 * net/tramp-gw.el (tramp-gw-open-network-stream):
4988 Use `tramp-compat-replace-regexp-in-string'.
4990 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4991 Call `tramp-handle-make-auto-save-file-name'.
4992 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4993 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4994 (tramp-sh-file-inotifywait-process-filter):
4995 Use `tramp-compat-replace-regexp-in-string'.
4996 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4998 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4999 for `make-auto-save-file-name'.
5000 (tramp-smb-handle-copy-directory):
5001 Call `tramp-compat-replace-regexp-in-string'.
5002 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5003 (tramp-smb-handle-copy-file): Improve error message.
5004 (tramp-smb-handle-rename-file): Rename directly only in case
5005 `newname' does not exist yet. This is a restriction of smbclient.
5006 (tramp-smb-maybe-open-connection): Rerun the function only when
5007 `auth-sources' is non-nil.
5009 2013-09-08 Kenichi Handa <handa@gnu.org>
5011 * international/characters.el: Set category "^" (Combining) for
5014 2013-09-07 Alan Mackenzie <acm@muc.de>
5016 Correctly fontify Java class constructors.
5017 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5019 (c-recognize-typeless-decls): Set the Java value to t.
5020 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5021 While handling a "(", add a check for, effectively, Java, and handle a
5022 "typeless" declaration there.
5024 2013-09-07 Roland Winkler <winkler@gnu.org>
5026 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5027 field subtitle for entry type book.
5029 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5031 * minibuffer.el: Make minibuffer-complete call completion-in-region
5032 rather than other way around.
5033 (completion--some, completion-pcm--find-all-completions):
5034 Don't delay signals when debugging.
5035 (minibuffer-completion-contents): Beware fields within the
5036 minibuffer contents.
5037 (completion-all-sorted-completions): Use defvar-local.
5038 (completion--do-completion, completion--cache-all-sorted-completions)
5039 (completion-all-sorted-completions, minibuffer-force-complete):
5040 Add args `beg' and `end'.
5041 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5042 (minibuffer-complete): Use completion-in-region.
5043 (completion-complete-and-exit): New fun, extracted from
5044 minibuffer-complete-and-exit.
5045 (minibuffer-complete-and-exit): Use it.
5046 (completion--complete-and-exit): Rename from
5047 minibuffer--complete-and-exit.
5048 (completion-in-region--single-word): New function, extracted from
5049 minibuffer-complete-word.
5050 (minibuffer-complete-word): Use it.
5051 (display-completion-list): Make `common-substring' argument obsolete.
5052 (completion--in-region): Call completion--in-region-1 instead of
5053 minibuffer-complete.
5054 (completion-help-at-point): Pass boundaries to
5055 minibuffer-completion-help as args rather than via an overlay.
5056 (completion-pcm--string->pattern): Use `any-delim'.
5057 (completion-pcm--optimize-pattern): New function.
5058 (completion-pcm--pattern->regex): Handle `any-delim'.
5059 * icomplete.el (icomplete-forward-completions)
5060 (icomplete-backward-completions, icomplete-completions):
5061 Adjust calls to completion-all-sorted-completions and
5062 completion--cache-all-sorted-completions.
5063 (icomplete-with-completion-tables): Default to t.
5064 * emacs-lisp/crm.el (crm--current-element): Rename from
5065 crm--select-current-element. Don't put an overlay but return the
5067 (crm--completion-command): Take two new args to bind to the boundaries.
5068 (crm-completion-help): Adjust accordingly.
5069 (crm-complete): Use completion-in-region.
5070 (crm-complete-word): Use completion-in-region--single-word.
5071 (crm-complete-and-exit): Use completion-complete-and-exit.
5073 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5075 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5078 2013-09-06 Juri Linkov <juri@jurta.org>
5080 * info.el (Info-display-images-node): When image file doesn't exist
5081 display text version of the image if it's provided in the Info file.
5082 Otherwise, display the location of missing image from SRC attribute.
5083 Add help-echo text property from ALT attribute. (Bug#15279)
5085 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5087 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5088 (edit-abbrevs-mode): Use define-derived-mode.
5090 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5091 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5093 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5094 Use define-derived-mode.
5096 * epg.el (epg-start-encrypt): Minor CSE simplification.
5098 2013-09-06 William Xu <william.xwl@gmail.com>
5100 * arc-mode.el: Add support for 7za (bug#15264).
5101 (archive-7z-program): New var.
5102 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5103 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5104 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5106 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5110 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5111 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5112 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5113 (tramp-postfix-host-format, tramp-file-name-regexp)
5114 (tramp-completion-file-name-regexp)
5115 (tramp-completion-dissect-file-name)
5116 (tramp-handle-substitute-in-file-name): Remove 'url case.
5117 (tramp-file-name-regexp-url)
5118 (tramp-completion-file-name-regexp-url): Remove constants.
5120 2013-09-06 Glenn Morris <rgm@gnu.org>
5122 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5124 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5126 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5127 keywords" below "here-doc beginnings" (Bug#15270).
5129 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5131 * subr.el (pop): Use `car-safe'.
5132 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5133 to detect unused `pop' return value.
5135 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5137 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5138 (python-fill-string): Remove unused var `marker'.
5139 (python-skeleton-add-menu-items): Remove unused var `items'.
5141 * international/mule-cmds.el: Require CL.
5142 (find-coding-systems-for-charsets): Avoid add-to-list.
5143 (sanitize-coding-system-list): New function, extracted from
5144 select-safe-coding-system-interactively.
5145 (select-safe-coding-system-interactively): Use it.
5146 (read-input-method-name): Accept symbols for `default'.
5148 * emacs-lisp/advice.el (defadvice): Add indent rule.
5150 2013-09-05 Daniel Hackney <dan@haxney.org>
5154 * net/browse-url.el:
5157 * net/eudcb-ldap.el:
5170 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5171 byte compiler. Remove some unused let-bound variables.
5173 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5175 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5176 a "ref-cell", since it gets better optimized (bug#14883).
5178 2013-09-05 Glenn Morris <rgm@gnu.org>
5180 * progmodes/cc-awk.el (c-forward-sws): Declare.
5182 2013-09-04 Glenn Morris <rgm@gnu.org>
5184 * generic-x.el [rul-generic-mode]: Require cc-mode.
5185 (c++-mode-syntax-table): Declare.
5186 (rul-generic-mode-syntax-table): Init in the defvar.
5188 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5190 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5191 (vc-do-command, vc-set-async-update):
5192 * vc/vc-mtn.el (vc-mtn-dir-status):
5193 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5194 (vc-hg-pull, vc-hg-merge-branch):
5195 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5196 (vc-git-merge-branch):
5197 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5198 (vc-cvs-dir-status-files):
5199 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5200 (vc-bzr-dir-status-files):
5201 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5202 * vc/vc-annotate.el: Use lexical-binding.
5203 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5204 (vc-sentinel-movepoint): Declare.
5205 (vc-annotate): Don't use `goto-line'.
5206 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5207 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5208 (vc-sentinel-movepoint): Declare.
5209 * vc/vc-svn.el: Use lexical-binding.
5210 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5212 * vc/vc-rcs.el: Use lexical-binding.
5214 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5215 `deleted'. Don't drop errors silently.
5217 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5219 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5221 * vc/vc.el (vc-ignore): Rewrite.
5222 (vc-default-ignore): New function.
5223 (vc-default-ignore-completion-table): Use find-ignore-file.
5225 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5226 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5227 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5228 Remove. Most code moved to vc.el.
5230 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5232 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5233 * net/tramp-smb.el (tramp-smb-get-file-entries):
5234 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5235 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5237 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5239 (eww-change-select): Remove unused var `properties'.
5240 (eww-make-unique-file-name): Remove unused var `base'.
5242 * finder.el (finder-compile-keywords): Don't mess with windows.
5244 * calculator.el (calculator-funcall): Fix typo in last change.
5246 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5248 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5249 <pkg>-autoloads.el file stop us.
5251 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5252 warnings, and factor out common code.
5254 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5256 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5257 two-character operators and whether the character preceding them
5258 changes their meaning (Bug#15208).
5260 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5262 Format code sent to Python shell for robustness.
5263 * progmodes/python.el (python-shell-buffer-substring):
5265 (python-shell-send-region, python-shell-send-buffer): Use it.
5267 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5269 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5270 * net/tramp.el (tramp-user-error): ... here.
5271 (tramp-find-method, tramp-check-proper-host)
5272 (tramp-dissect-file-name, tramp-debug-message)
5273 (tramp-handle-shell-command):
5274 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5275 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5277 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5279 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5281 * avoid.el (mouse-avoidance-point-position)
5282 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5285 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5287 * progmodes/python.el (python-shell-completion-get-completions):
5288 Drop use of deleted `comint-last-prompt-overlay'.
5289 (python-nav-if-name-main): New command.
5291 2013-09-01 Glenn Morris <rgm@gnu.org>
5293 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5294 Avoid leading space in $wins. Otherwise the sed command used by
5295 eg compile-main ends up containing "/*.el". (Bug#15170)
5297 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5299 2013-08-30 Glenn Morris <rgm@gnu.org>
5301 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5302 Fix is-this-a-directory logic. (Bug#15220)
5304 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5306 * textmodes/css-mode.el: Use SMIE.
5307 (css-smie-grammar): New var.
5308 (css-smie--forward-token, css-smie--backward-token)
5309 (css-smie-rules): New functions.
5310 (css-mode): Use them.
5311 (css-navigation-syntax-table): Remove var.
5312 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5313 (css-indent-calculate, css-indent-line): Remove functions.
5315 Misc changes to reduce use of `(lambda...); and other cleanups.
5316 * cus-edit.el: Use lexical-binding.
5317 (customize-push-and-save, customize-apropos)
5318 (custom-buffer-create-internal): Use closures.
5319 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5320 * progmodes/ada-xref.el: Use setq.
5321 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5322 * dframe.el: Use lexical-binding.
5323 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5324 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5325 * descr-text.el: Use lexical-binding.
5326 (describe-text-widget, describe-text-sexp, describe-property-list):
5328 * comint.el (comint-history-isearch-push-state): Use a closure.
5329 * calculator.el: Use lexical-binding.
5330 (calculator-number-to-string): Make it work with lexical-binding.
5331 (calculator-funcall): Same and use cl-letf.
5333 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5334 (lisp--company-doc-string, lisp--company-location): New functions.
5335 (lisp-completion-at-point): Use them to improve Company support.
5337 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5338 params of lambda expressions.
5339 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5340 (ruby-smie--opening-pipe-p): New function.
5341 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5342 symbols and matched |...| for formal params.
5343 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5344 from being treated as hanging. Handle "rescue".
5346 2013-08-29 Glenn Morris <rgm@gnu.org>
5348 * progmodes/cc-engine.el (c-pull-open-brace):
5349 Move definition before use.
5351 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5353 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5354 are immutable. Don't use `unsafe' any more.
5355 (cl--defsubst-expand): Don't substitute at the same time as keeping
5356 a residual unused let-binding. Don't use `unsafe' any more.
5358 2013-08-29 Glenn Morris <rgm@gnu.org>
5360 * calendar/cal-china.el (calendar-chinese-year-cache):
5363 * nxml/nxml-util.el (nxml-debug-clear-inside):
5364 Use cl-loop rather than loop.
5366 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5368 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5370 2013-08-28 Glenn Morris <rgm@gnu.org>
5372 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5374 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5376 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5378 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5380 * simple.el (repeat-complex-command--called-interactively-skip):
5382 (repeat-complex-command): Use it (bug#14136).
5384 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5385 (c-define-abbrev-table): Add `doc' argument.
5386 (c-mode-abbrev-table, c++-mode-abbrev-table)
5387 (objc-mode-abbrev-table, java-mode-abbrev-table)
5388 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5389 (awk-mode-abbrev-table): Use it.
5390 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5391 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5392 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5393 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5394 Move initialization into the declaration; and remove any
5397 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5398 and dynamic let binding.
5400 * vc/smerge-mode.el: Remove redundant :group args.
5402 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5405 2013-08-28 Juri Linkov <juri@jurta.org>
5407 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5408 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5409 (isearch-other-meta-char): Handle an undefined shifted printing
5410 character by downshifting it. (Bug#15200)
5412 2013-08-28 Juri Linkov <juri@jurta.org>
5414 * isearch.el (isearch-search): Change regexp error message for
5415 non-regexp searches. (Bug#15166)
5417 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5419 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5420 for portability to hosts where /bin/sh has problems.
5422 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5424 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5426 2013-08-27 Juri Linkov <juri@jurta.org>
5428 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5429 in the keyboard macro. (Bug#15126)
5431 2013-08-27 Juri Linkov <juri@jurta.org>
5433 * isearch.el (isearch-quote-char): Comment out converting unibyte
5434 to multibyte, thus syncing with its `quoted-insert' counterpart.
5437 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5439 * window.el (display-buffer-use-some-window): Add missing
5440 argument in call of get-largest-window (Bug#15185).
5441 Reported by Stephen Leake.
5443 2013-08-27 Glenn Morris <rgm@gnu.org>
5445 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5447 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5449 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5450 from a matcher-function unless there's no more matches (bug#15161).
5452 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5454 * minibuffer.el: Revert change from 2013-08-20.
5456 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5457 with text property `tramp-default', if appropriate.
5458 (tramp-check-proper-host): New defun.
5459 (tramp-dissect-file-name): Do not check hostname. Revert change
5461 (tramp-backtrace): Make VEC-OR-PROC optional.
5463 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5464 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5465 * net/tramp-sh.el (tramp-maybe-open-connection):
5466 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5467 Apply `tramp-check-proper-host'.
5469 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5471 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5472 lambda expression in order to have `describe-variable' display it.
5474 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5476 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5477 BUF can be optional. (Bug#15186)
5479 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5481 * progmodes/flymake.el (flymake-get-real-file-name-function):
5482 Fix broken customization. (Bug#15184)
5484 2013-08-25 Alan Mackenzie <acm@muc.de>
5486 Improve indentation of bracelists defined by macros (without "=").
5488 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5489 expansion begins with "{", regard it as bracelist when it doesn't
5492 Parse C++ inher-intro when there's a template split over 2 lines.
5494 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5495 rigorously the search for "class" etc. followed by ":".
5497 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5498 random languages a regexp which never matches rather than nil.
5500 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5502 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5503 (c-awk-regexp-one-line-possibly-open-char-list-re)
5504 (c-awk-one-line-possibly-open-regexp-re)
5505 (c-awk-one-line-non-syn-ws*-re): Remove.
5506 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5507 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5508 (c-awk-space*-unclosed-regexp-/-re): New constants.
5509 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5510 aren't regexp delimiters.
5512 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5513 handling for a rare situation in AWK Mode involving unterminated
5516 2013-08-23 Glenn Morris <rgm@gnu.org>
5518 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5520 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5522 * files.el (create-file-buffer): If the result would begin with
5523 spaces, prepend a "|" instead of removing them. (Bug#15162)
5525 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5527 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5528 text-properties (bug#15155).
5530 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5532 (calc-keypad-redraw): Remove unused var `pad'.
5533 (calc-keypad-press): Remove unused var `menu'.
5535 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5537 * window.el (display-buffer-pop-up-frame):
5538 Call pop-up-frame-function with BUFFER current so `make-frame' will
5539 use it as the new frame's buffer (Bug#15133).
5541 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5543 * calendar/timeclock.el: Minor cleanups.
5544 (timeclock-ask-before-exiting, timeclock-use-display-time):
5546 (timeclock-modeline-display): Define as alias before the
5548 (timeclock-mode-line-display): Use define-minor-mode.
5549 (timeclock-day-list-template): Make it a function, add an argument.
5550 (timeclock-day-list-required, timeclock-day-list-length)
5551 (timeclock-day-list-debt, timeclock-day-list-span)
5552 (timeclock-day-list-break): Adjust calls accordingly.
5554 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5556 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5557 Use read--expression so that completion works again.
5559 2013-08-21 Sam Steingold <sds@gnu.org>
5561 Add rudimentary inferior shell interaction
5562 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5563 (sh-set-shell): Reset it.
5564 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5565 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5567 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5569 * align.el: Use lexical-binding.
5570 (align-region): Simplify accordingly.
5572 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5574 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5576 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5579 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5583 * net/tramp-cmds.el:
5585 * net/tramp-gvfs.el:
5587 * net/tramp-sh.el: Don't wrap external variable declarations by
5588 `eval-when-compile'.
5590 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5592 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5593 now that Emacs supports ImageMagick animations.
5595 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5597 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5598 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5600 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5602 * window.el (mouse-autoselect-window-select): Do autoselect when
5603 mouse pointer is on margin.
5605 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5607 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5609 2013-08-16 Glenn Morris <rgm@gnu.org>
5611 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5612 Handle "Remote Directory" response of some clients. (Bug#15058)
5614 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5615 Tweak warning. (Bug#14926)
5617 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5618 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5620 * image-mode.el (image-mode-map): Add menu items to reverse,
5621 increase, decrease, reset animation speed.
5622 (image--set-speed, image-increase-speed, image-decrease-speed)
5623 (image-reverse-speed, image-reset-speed): New functions.
5624 (image-mode-map): Add bindings for speed commands.
5626 * image.el (image-animate-get-speed, image-animate-set-speed):
5628 (image-animate-timeout): Respect image :speed property.
5630 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5632 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5633 previous line (bug#15101).
5634 (debugger-eval-expression, debugger-record-expression):
5635 Use read--expression (bug#15102).
5637 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5639 Remove byte compiler warnings, visible when compiling with
5640 `byte-compile-force-lexical-warnings' set to t.
5642 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5643 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5644 (tramp-handle-unhandled-file-name-directory)
5645 (tramp-handle-file-notify-add-watch, tramp-action-login)
5646 (tramp-action-succeed, tramp-action-permission-denied)
5647 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5650 * net/tramp-adb.el (tramp-adb-parse-device-names)
5651 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5652 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5653 (tramp-adb-handle-file-truename): Remove unused arguments.
5655 * net/tramp-cache.el (tramp-flush-directory-property)
5656 (tramp-flush-connection-property, tramp-list-connections)
5657 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5659 * net/tramp-compat.el (tramp-compat-make-temp-file):
5660 Rename FILENAME to F.
5662 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5663 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5664 (tramp-zeroconf-parse-workstation-device-names)
5665 (tramp-zeroconf-parse-webdav-device-names)
5666 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5668 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5669 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5671 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5673 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5674 (tramp-sh-handle-insert-file-contents-literally)
5675 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5677 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5678 Remove unused variables.
5680 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5681 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5682 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5684 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5685 Make them a defconst.
5686 (tramp-uuencode-region): Remove unused variable.
5688 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5690 * frameset.el (frameset--prop-setter): New function.
5691 (frameset-prop): Add gv-setter declaration.
5692 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5693 parameter was already set in FILTERED. Doc fix.
5694 (frameset--record-minibuffer-relationships): Allow saving a
5695 minibufferless frame without its corresponding minibuffer frame.
5696 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5697 frame, if the frame id matches.
5698 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5699 frames before orphaned ones.
5700 (frameset-restore): Warn about orphaned windows, instead of error out.
5702 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5704 * window.el (window-make-atom): Don't overwrite parameter
5706 (display-buffer-in-atom-window): Handle special case where we
5707 split an already atomic window.
5708 (window--major-non-side-window, display-buffer-in-side-window)
5709 (window--side-check): Ignore minibuffer window when walking
5711 (window-deletable-p): Return 'frame only if no other frame uses
5712 our minibuffer window.
5713 (record-window-buffer): Run buffer-list-update-hook.
5714 (split-window): Make sure window--check-frame won't destroy an
5715 existing atomic window in case the new window gets nested
5717 (display-buffer-at-bottom): Ignore minibuffer window when
5718 walking window tree. Don't split a side window.
5719 (pop-to-buffer): Don't set-buffer here, the select-window call
5721 (mouse-autoselect-window-select): Autoselect only if we are in the
5722 text portion of the window.
5724 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5726 * net/shr.el (shr-parse-image-data): New function to grab both the
5727 data itself and the Content-Type.
5728 (shr-put-image): Use it.
5730 * net/eww.el (eww-display-image): Ditto.
5732 * image.el (image-content-type-suffixes): New variable.
5734 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5736 * progmodes/python.el (python-imenu--build-tree)
5737 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5739 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5741 * simple.el (backward-word): Mention the optional argument.
5743 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5745 * frameset.el (frameset--make): Rename constructor from make-frameset.
5746 (frameset-p, frameset-valid-p): Don't autoload.
5747 (frameset-valid-p): Use normal accessors.
5749 2013-08-13 Glenn Morris <rgm@gnu.org>
5751 * progmodes/compile.el (compile-command): Tweak example in doc.
5752 * obsolete/scribe.el (scribe-mode):
5753 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5755 * mail/feedmail.el (feedmail-confirm-outgoing)
5756 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5758 * cus-start.el (truncate-partial-width-windows): Fix type.
5760 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5762 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5764 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5766 * emacs-lisp/timer.el (timer--time-setter): New function.
5767 (timer--time): Use it as gv-setter.
5769 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5770 setter is not a symbol.
5772 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5774 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5775 if sending fails. This makes debugging easier.
5777 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5779 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5780 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5781 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5783 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5785 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5787 2013-08-12 Glenn Morris <rgm@gnu.org>
5789 * format.el (format-annotate-function):
5790 Handle read-only text properties in the source. (Bug#14887)
5792 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5794 * net/eww.el (eww-display-html): Ignore coding system errors.
5795 One web site uses "utf-8lias" as the coding system.
5797 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5799 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5801 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5803 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5804 (tutorial--detailed-help): Remove unused local variables.
5805 (tutorial--save-tutorial-to): Use ignore-errors.
5806 (help-with-tutorial): Use looking-at-p.
5808 * view.el (view-buffer-other-window, view-buffer-other-frame):
5809 Mark unused arguments.
5811 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5812 (woman-select-symbol-fonts, woman, woman-find-file)
5813 (woman-insert-file-contents, woman-non-underline-faces):
5815 (woman1-unquote): Move declaration.
5817 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5818 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5819 argument. Remove unused local variable.
5820 (xml-parse-elem-type): Use string-match-p.
5821 (xml-substitute-numeric-entities): Use ignore-errors.
5823 * calculator.el (calculator): Mark unused argument.
5824 (calculator-paste, calculator-quit, calculator-integer-p):
5826 (calculator-string-to-number, calculator-decimal, calculator-exp)
5827 (calculator-op-or-exp): Use string-match-p.
5829 * dired.el (dired-buffer-more-recently-used-p): Declare.
5830 (dired-insert-set-properties, dired-insert-old-subdirs):
5833 * dired-aux.el (dired-compress): Use ignore-errors.
5834 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5835 (dired-do-async-shell-command, dired-do-shell-command)
5836 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5837 (dired-insert-subdir-validate): Use string-match-p.
5838 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5839 (dired-add-entry): Use string-match-p, looking-at-p.
5840 (dired-insert-subdir-newpos): Remove unused local variable.
5842 * filenotify.el (file-notify-callback): Remove unused local variable.
5844 * filesets.el (filesets-error): Mark unused argument.
5845 (filesets-which-command-p, filesets-filter-dir-names)
5846 (filesets-directory-files, filesets-get-external-viewer)
5847 (filesets-ingroup-get-data): Use string-match-p.
5849 * find-file.el (ff-other-file-name, ff-other-file-name)
5850 (ff-find-the-other-file, ff-cc-hh-converter):
5851 Remove unused local variables.
5852 (ff-get-file-name): Use string-match-p.
5853 (ff-all-dirs-under): Use ignore-errors.
5855 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5856 (follow-select-if-visible): Remove unused local variable.
5858 * forms.el (read-file-filter): Move declaration.
5859 (forms--make-format, forms--make-parser, forms-insert-record):
5860 Quote function with #'.
5861 (forms--update): Use string-match-p. Quote function with #'.
5863 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5864 (help-make-xrefs): Use looking-at-p.
5865 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5867 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5868 (ibuffer-confirm-operation-on): Use string-match-p.
5870 * msb.el (msb-item-handler, msb-dired-item-handler):
5871 Mark unused arguments.
5873 * ses.el (ses-decode-cell-symbol)
5874 (ses-kill-override): Remove unused local variable.
5875 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5876 (ses-load): Use ignore-errors, looking-at-p.
5877 (ses-jump-safe): Use ignore-errors.
5878 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5880 * tabify.el (untabify, tabify): Mark unused arguments.
5882 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5883 Mark unused argument.
5884 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5885 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5887 * emacs-lisp/timer.el (timer--time): Define setter with
5888 gv-define-setter to avoid deprecation warning.
5890 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5891 (*record-cmpl-statistics-p*): Remove (was commented out).
5892 (cmpl-statistics-block): Remove (body was commented out).
5893 All callers changed.
5894 (add-completions-from-buffer, load-completions-from-file):
5895 Remove unused variables.
5897 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5899 * filecache.el (file-cache-delete-file-list):
5900 Print message only when told so.
5901 (file-cache-files-matching): Use #' in mapconcat argument.
5903 * ffap.el (ffap-url-at-point): Fix reference to variable
5904 thing-at-point-default-mail-uri-scheme.
5906 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5908 * subr.el (define-error): New function.
5909 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5910 error-file-not-found and define with define-error.
5911 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5912 and define with define-error.
5913 * userlock.el (file-locked, file-supersession):
5914 * simple.el (mark-inactive):
5915 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5916 * progmodes/ada-mode.el (ada-mode-errors):
5917 * play/life.el (life-extinct):
5918 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5919 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5920 * nxml/rng-util.el (rng-error):
5921 * nxml/rng-uri.el (rng-uri-error):
5922 * nxml/rng-match.el (rng-compile-error):
5923 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5924 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5925 * nxml/nxml-rap.el (nxml-scan-error):
5926 * nxml/nxml-outln.el (nxml-outline-error):
5927 * net/soap-client.el (soap-error):
5928 * net/gnutls.el (gnutls-error):
5929 * net/ange-ftp.el (ftp-error):
5930 * mpc.el (mpc-proc-error):
5931 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5932 (json-number-format, json-string-escape, json-string-format)
5933 (json-key-format, json-object-format):
5934 * jka-compr.el (compression-error):
5935 * international/quail.el (quail-error):
5936 * international/kkc.el (kkc-error):
5937 * emacs-lisp/ert.el (ert-test-failed):
5938 * calc/calc.el (calc-error, inexact-result, math-overflow)
5940 * bookmark.el (bookmark-error-no-filename):
5941 * epg.el (epg-error): Define with define-error.
5943 * time.el (display-time-event-handler)
5944 (display-time-next-load-average): Don't call sit-for since it seems
5945 unnecessary (bug#15045).
5947 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5948 Use #' instead of ' to quote functions.
5949 (checkdoc-output-mode): Use setq-local.
5950 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5951 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5952 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5953 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5954 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5955 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5956 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5957 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5959 * ido.el (ido-completion-help): Fix up compiler warning.
5961 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5963 * frameset.el (frameset-p): Add autoload cookie.
5964 (frameset--jump-to-register): New function, based on code moved from
5966 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5968 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5969 (frameset-restore, frameset-save, frameset-session-filter-alist):
5970 Remove declarations.
5971 (register-alist): Doc fix.
5972 (frameset-to-register): Move to frameset.el.
5973 (jump-to-register, describe-register-1): Remove frameset-specific code.
5975 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5977 * allout-widgets.el (allout-widgets-pre-command-business)
5978 (allout-widgets-post-command-business)
5979 (allout-widgets-after-change-handler)
5980 (allout-decorate-item-and-context, allout-set-boundary-marker)
5981 (allout-body-modification-handler)
5982 (allout-graphics-modification-handler): Mark ignored arguments.
5983 (allout-widgets-post-command-business)
5984 (allout-widgets-exposure-change-processor)
5985 (allout-widgets-exposure-undo-processor)
5986 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5987 (allout-parse-item-at-point, allout-decorate-item-guides)
5988 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5989 * allout.el (epa-passphrase-callback-function): Declare.
5990 (allout-overlay-insert-in-front-handler)
5991 (allout-overlay-interior-modification-handler)
5992 (allout-isearch-end-handler, allout-chart-siblings)
5993 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5994 (allout-yank-processing, allout-process-exposed)
5995 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5996 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5997 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5998 (lisp-indent-defform): Mark ignored arguments.
5999 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6000 (calculate-lisp-indent): Remove unused variables.
6001 * international/characters.el (indian-2-column, arabic-2-column)
6002 (tibetan): Mark ignored arguments.
6003 (use-cjk-char-width-table): Mark ignored arguments.
6004 Remove unused variables.
6005 * international/fontset.el (build-default-fontset-data)
6006 (x-compose-font-name, create-fontset-from-fontset-spec):
6007 Mark ignored arguments.
6008 (fontset-plain-name): Remove unused variables.
6009 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6010 (keyboard-coding-system): Mark ignored arguments.
6011 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6012 * help.el (resize-temp-buffer-window):
6013 * window.el (display-buffer-in-major-side-window)
6014 (display-buffer-in-side-window, display-buffer-in-previous-window):
6015 Remove unused variables.
6016 * isearch.el (isearch-forward-symbol):
6017 * version.el (emacs-bzr-version-bzr):
6018 * international/mule-cmds.el (current-language-environment):
6019 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6021 * term/pc-win.el (x-list-fonts, x-display-planes)
6022 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6023 (x-server-version, x-display-screens, x-display-mm-height)
6024 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6025 (x-selection-owner-p, x-own-selection-internal)
6026 (x-disown-selection-internal, x-get-selection-internal)
6027 (msdos-initialize-window-system):
6028 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6029 * term/x-win.el (x-handle-no-bitmap-icon):
6030 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6031 (vc-default-find-file-hook, vc-default-extra-menu):
6032 Mark ignored arguments.
6034 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6036 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6037 break-condition in the context of the debugged code (bug#12685).
6039 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6042 Do not use an overlay to highlight the last prompt. (Bug#14744)
6043 (comint-mode): Make comint-last-prompt buffer local.
6044 (comint-last-prompt): New variable.
6045 (comint-last-prompt-overlay): Remove. Superseded by
6047 (comint-snapshot-last-prompt, comint-output-filter):
6048 Use comint-last-prompt.
6050 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6052 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6053 (frameset-save): Check validity of the resulting frameset.
6055 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6057 * ido.el (ido-record-command): Add doc string.
6059 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6061 * frameset.el (frameset): Do not disable creation of the default
6062 frameset-p predicate. Doc fix.
6063 (frameset-valid-p): New function, copied from the old predicate-p.
6064 Add additional checks.
6065 (frameset-restore): Check with frameset-valid-p.
6066 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6067 (frameset-name, frameset-description, frameset-properties)
6068 (frameset-states): Add docstring.
6069 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6070 (frameset-filter-alist): Doc fixes.
6072 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6074 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6076 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6078 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6079 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6080 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6081 (byte-compile-normal-call): Remove obsolescence check.
6083 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6085 * frameset.el (frameset-restore): Doc fix.
6087 * register.el (frameset-frame-id, frameset-frame-with-id)
6088 (frameset-p, frameset-restore, frameset-save): Declare.
6089 (register-alist): Document framesets.
6090 (frameset-session-filter-alist): Declare.
6091 (frameset-to-register): New function.
6092 (jump-to-register): Implement jumping to framesets. Doc fix.
6093 (describe-register-1): Describe framesets.
6095 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6097 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6099 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6100 Use lexical-binding.
6102 * frameset.el (frameset): Use type vector, not list (incompatible
6103 change). Do not declare a new constructor, use the default one.
6104 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6105 `name' and `description', respectively, and add read-only slot
6106 `timestamp'. Doc fixes.
6107 (frameset-copy, frameset-persistent-filter-alist)
6108 (frameset-filter-alist, frameset-switch-to-gui-p)
6109 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6110 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6111 (frameset-filter-iconified, frameset-keep-original-display-p):
6113 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6114 Rename from frameset-filter-(save|restore)-param. All callers changed.
6116 (frameset-p): Adapt to change to vector and be more thorough.
6117 Change arg name to OBJECT. Doc fix.
6118 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6119 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6120 All callers changed.
6121 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6122 All callers changed.
6123 (frameset--record-minibuffer-relationships): Rename from
6124 frameset--process-minibuffer-frames. All callers changed.
6125 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6126 Use new default constructor (again). Doc fix.
6127 (frameset--find-frame-if): Rename from `frameset--find-frame.
6128 All callers changed.
6129 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6130 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6132 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6133 PARAMETERS and WINDOW-STATE, respectively.
6134 (frameset-restore): Add new keyword argument PREDICATE.
6135 Reset frameset--target-display to nil. Doc fix.
6137 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6139 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6141 (bat-mode-syntax-table): Mark \n as end-of-comment.
6142 (bat-font-lock-keywords): Remove comment rule.
6144 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6145 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6147 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6148 (byte-compile-callargs-warn): Use `push'.
6149 (byte-compile-arglist-warn): Ignore higher-order "calls".
6150 (byte-compile-file-form-autoload): Use `pcase'.
6151 (byte-compile-function-form): If quoting a symbol, check that it exists.
6153 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6155 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6156 and add a few popular commands found in batch files.
6157 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6158 (dos-mode): Doc fixes.
6160 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6162 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6163 (dos-mode): Use setq-local. Add space after "rem".
6164 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6165 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6167 2013-08-07 Arni Magnusson <arnima@hafro.is>
6169 * progmodes/dos.el: New file.
6170 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6173 2013-08-06 Glenn Morris <rgm@gnu.org>
6175 * calendar/calendar.el: Add new faces, and day-header-array.
6176 (calendar-weekday-header, calendar-weekend-header)
6177 (calendar-month-header): New faces.
6178 (calendar-day-header-construct): New function.
6179 (calendar-day-header-width): Also :set calendar-day-header-array.
6180 (calendar-american-month-header, calendar-european-month-header)
6181 (calendar-iso-month-header): Use calendar- faces.
6182 (calendar-generate-month):
6183 Use calendar-day-header-array for day headers; apply faces to them.
6184 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6185 (calendar-abbrev-construct): Add optional maxlen argument.
6186 (calendar-day-name-array): Doc fix.
6187 (calendar-day-name-array, calendar-abbrev-length)
6188 (calendar-day-abbrev-array):
6189 Also :set calendar-day-header-array, and maybe redraw.
6190 (calendar-day-header-array): New option. (Bug#15007)
6191 (calendar-font-lock-keywords): Set to nil and make obsolete.
6192 (calendar-day-name): Add option to use header array.
6194 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6196 * net/shr.el (shr-render-td): Remove debugging.
6197 (shr-render-td): Make width computation consistent by defaulting
6198 all zero-width columns to 10 characters. This may not be optimal,
6199 but it's at least consistent.
6200 (shr-make-table-1): Redo last change to fix the real problem in
6203 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6205 * files.el (cache-long-line-scans):
6206 Make obsolete alias to `cache-long-scans'.
6208 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6210 * frameset.el (frameset, frameset-filter-alist)
6211 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6212 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6213 (frameset-compute-pos): Rename from frameset--compute-pos,
6215 (frameset-move-onscreen): Use frameset-compute-pos.
6216 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6218 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6219 Fix typos in docstrings.
6221 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6223 * frame.el (get-other-frame): Tiny cleanup.
6225 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6227 * vc/vc.el (vc-default-ignore-completion-table):
6228 Silence byte-compiler warning.
6230 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6231 slot , which can indeed be nil.
6232 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6233 Move entry for `left' from persistent to live filter alist.
6234 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6236 (frameset-filter-params): When restoring a frame, copy items added to
6237 `filtered', to avoid unwittingly modifying the original parameters.
6238 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6239 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6241 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6242 to use looking-at-p instead of looking-at. (Bug#15028)
6244 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6246 Revert introduction of isearch-filter-predicates (bug#14714).
6247 Rely on add-function instead.
6248 * isearch.el (isearch-filter-predicates): Rename it back to
6249 isearch-filter-predicate.
6250 (isearch-message-prefix): Use advice-function-mapc and advice
6251 properties to get the isearch-message-prefix.
6252 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6253 instead of run-hook-with-args-until-failure.
6254 (isearch-filter-visible): Not obsolete any more.
6255 * loadup.el: Preload nadvice.
6256 * replace.el (perform-replace): Revert to funcall
6257 instead of run-hook-with-args-until-failure.
6258 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6259 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6260 dired-isearch-filenames-toggle; make it into a proper minor mode.
6261 Use add/remove-function.
6262 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6263 Call the minor-mode rather than add/remove-hook.
6264 (dired-isearch-filter-filenames):
6265 Remove isearch-message-prefix property.
6266 * info.el (Info--search-loop): New function, extracted from Info-search.
6267 Funcall isearch-filter-predicate instead of
6268 run-hook-with-args-until-failure isearch-filter-predicates.
6269 (Info-search): Use it.
6270 (Info-mode): Use isearch-filter-predicate instead of
6271 isearch-filter-predicates.
6273 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6275 Do not call to `selected-window' where it is assumed by default.
6276 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6277 `window-hscroll', `window-width', `window-height', `window-buffer',
6278 `window-frame', `window-start', `window-point', `next-window'
6279 and `window-display-table'.
6280 * abbrev.el (abbrev--default-expand):
6281 * bs.el (bs--show-with-configuration):
6282 * buff-menu.el (Buffer-menu-mouse-select):
6283 * calc/calc.el (calc):
6284 * calendar/calendar.el (calendar-generate-window):
6285 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6287 * comint.el (send-invisible, comint-dynamic-complete-filename)
6288 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6289 * completion.el (complete):
6290 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6291 * disp-table.el (describe-current-display-table):
6292 * doc-view.el (doc-view-insert-image):
6293 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6294 * ehelp.el (with-electric-help):
6295 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6296 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6297 * emacs-lisp/helper.el (Helper-help-scroller):
6298 * emulation/cua-base.el (cua--post-command-handler-1):
6299 * eshell/esh-mode.el (eshell-output-filter):
6300 * ffap.el (ffap-gnus-wrapper):
6301 * help-macro.el (make-help-screen):
6302 * hilit-chg.el (highlight-compare-buffers):
6303 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6304 * hl-line.el (global-hl-line-highlight):
6305 * icomplete.el (icomplete-simple-completing-p):
6306 * isearch.el (isearch-done):
6307 * jit-lock.el (jit-lock-stealth-fontify):
6308 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6309 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6310 * mpc.el (mpc-tagbrowser, mpc):
6311 * net/rcirc.el (rcirc-any-buffer):
6312 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6313 * play/landmark.el (landmark-max-width, landmark-max-height):
6314 * play/zone.el (zone):
6315 * progmodes/compile.el (compilation-goto-locus):
6316 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6317 * progmodes/etags.el (find-tag-other-window):
6318 * progmodes/fortran.el (fortran-column-ruler):
6319 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6320 * progmodes/verilog-mode.el (verilog-point-text):
6321 * reposition.el (reposition-window):
6322 * rot13.el (toggle-rot13-mode):
6323 * server.el (server-switch-buffer):
6324 * shell.el (shell-dynamic-complete-command)
6325 (shell-dynamic-complete-environment-variable):
6326 * simple.el (insert-buffer, set-selective-display)
6327 (delete-completion-window):
6328 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6329 (speedbar-recenter):
6330 * startup.el (fancy-splash-head):
6331 * textmodes/ispell.el (ispell-command-loop):
6332 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6333 * tutorial.el (help-with-tutorial):
6334 * vc/add-log.el (add-change-log-entry):
6335 * vc/compare-w.el (compare-windows):
6336 * vc/ediff-help.el (ediff-indent-help-message):
6337 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6338 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6339 (ediff-setup-control-frame):
6340 * vc/emerge.el (emerge-position-region):
6341 * vc/pcvs-util.el (cvs-bury-buffer):
6342 * window.el (walk-windows, mouse-autoselect-window-select):
6343 * winner.el (winner-set-conf, winner-undo): Related users changed.
6345 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6347 * frameset.el (frameset--set-id): Doc fix.
6348 (frameset-frame-id, frameset-frame-id-equal-p)
6349 (frameset-locate-frame-id): New functions.
6350 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6351 (frameset-restore): Use them.
6353 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6355 Do not call to `selected-frame' where it is assumed by default.
6356 Affected functions are `raise-frame', `redraw-frame',
6357 `frame-first-window', `frame-terminal' and `delete-frame'.
6358 * calendar/appt.el (appt-disp-window):
6359 * epg.el (epg-wait-for-completion):
6360 * follow.el (follow-delete-other-windows-and-split)
6361 (follow-avoid-tail-recenter):
6362 * international/mule.el (set-terminal-coding-system):
6363 * mail/rmail.el (rmail-mail-return):
6364 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6365 * progmodes/f90.el (f90-add-imenu-menu):
6366 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6367 * server.el (server-switch-buffer):
6368 * simple.el (delete-completion-window):
6370 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6371 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6372 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6373 * vc/ediff.el (ediff-documentation): Related users changed.
6374 * frame.el (selected-terminal): Remove the leftover.
6376 2013-08-05 Glenn Morris <rgm@gnu.org>
6378 * calendar/calendar.el (calendar-generate-month):
6379 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6380 (calendar-generate-month, calendar-font-lock-keywords):
6381 Fix for calendar-day-header-width > length of any day name.
6383 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6385 * desktop.el (desktop-clear): Use new name of sort predicate.
6387 * frameset.el (frameset): Add docstring. Move :version property to its
6389 (frameset-copy): Rename from copy-frameset.
6390 (frameset-p): Check more thoroughly.
6391 (frameset-prop): Do not check for :version, which is no longer a prop.
6392 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6393 Use new :never value instead of t.
6394 (frameset-filter-alist): Expand and clarify docstring.
6395 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6396 (frameset-filter-minibuffer, frameset-filter-save-param)
6397 (frameset-filter-restore-param, frameset-filter-iconified):
6398 Add pointer to docstring of frameset-filter-alist.
6399 (frameset-filter-params): Rename filter values to be more meaningful:
6400 :never instead of t, and reverse the meanings of :save and :restore.
6401 (frameset--process-minibuffer-frames): Clarify error message.
6402 (frameset-save): Avoid unnecessary and confusing call to framep.
6403 Use new BOA constructor for framesets.
6404 (frameset--reuse-list): Doc fix.
6405 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6406 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6407 (frameset-minibufferless-first-p): Doc fix.
6408 Rename from frameset-sort-frames-for-deletion.
6409 (frameset-restore): Doc fixes. Use new function names.
6410 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6412 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6414 * desktop.el (desktop-restore-forces-onscreen)
6415 (desktop-restore-reuses-frames): Document :keyword constant values.
6416 (desktop-filter-parameters-alist): Remove, now identical to
6417 frameset-filter-alist.
6418 (desktop--filter-tty*): Remove, moved to frameset.el.
6419 (desktop-save-frameset, desktop-restore-frameset):
6420 Do not pass :filters argument.
6422 * frameset.el (frameset-live-filter-alist)
6423 (frameset-persistent-filter-alist): New variables.
6424 (frameset-filter-alist): Use them. Add autoload cookie.
6425 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6426 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6427 `frameset--id' (it's supposed to be internal to frameset.el).
6428 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6429 (frameset--initial-params): New function.
6430 (frameset--get-frame): Use it. Doc fix.
6431 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6432 Accept :all, not 'all.
6433 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6434 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6435 with fbound symbols. Fix frame id matching, and remove matching ids if
6436 the frame being restored is deleted. Obey :delete.
6438 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6440 * subr.el (macrop): New function.
6441 (text-clone--maintaining): New var.
6442 (text-clone--maintain): Rename from text-clone-maintain. Use it
6443 instead of inhibit-modification-hooks.
6445 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6446 a proxy, so as handle autoloads and redefinitions of the target.
6447 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6449 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6450 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6451 (pcase--mutually-exclusive-p): New function.
6452 (pcase--split-consp): Use it.
6453 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6454 mutually exclusive with the current predicate.
6456 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6457 (edebug-macrop): Remove. Use `macrop' instead.
6458 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6460 * eshell/esh-cmd.el (eshell-macrop):
6461 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6463 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6465 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6466 (advice-mapc): New function, using it.
6467 (advice-function-member-p): New function.
6468 (advice--normalize): Store the cdr in advice--saved-rewrite since
6469 that's the part that will be changed.
6470 (advice--symbol-function): New function.
6471 (advice-remove): Handle removal before the function is defined.
6472 Adjust to new advice--saved-rewrite.
6473 (advice-member-p): Use advice-function-member-p and
6474 advice--symbol-function.
6476 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6478 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6479 (frameset-filter-minibuffer): Doc fix.
6480 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6481 (frameset--set-id, frameset--process-minibuffer-frames)
6482 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6483 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6485 * desktop.el (desktop-clear): Only delete frames when called
6486 interactively and desktop-restore-frames is non-nil. Doc fix.
6487 (desktop-read): Set desktop-saved-frameset to nil.
6489 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6491 * vc/vc.el (vc-ignore): Rewrite.
6492 (vc-default-ignore-completion-table):
6494 (vc--add-line, vc--remove-regexp): New functions.
6496 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6497 (vc-svn-ignore-completion-table): New function.
6499 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6500 (vc-hg-ignore-completion-table):
6501 (vc-hg-find-ignore-file): New functions.
6503 * vc/vc-git.el (vc-git-ignore): Rewrite.
6504 (vc-git-ignore-completion-table):
6505 (vc-git-find-ignore-file): New functions.
6507 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6509 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6510 (vc-bzr-ignore-completion-table):
6511 (vc-bzr-find-ignore-file): New functions.
6513 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6515 * frameset.el (frameset-prop): New function and setter.
6516 (frameset-save): Do not modify frame list passed by the caller.
6518 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6520 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6522 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6524 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6525 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6527 * custom.el (custom-initialize-default, custom-initialize-set)
6528 (custom-initialize-reset, custom-initialize-changed): Affect the
6529 toplevel-default-value (bug#6275, bug#14586).
6530 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6533 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6535 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6536 Add cl-def* expressions.
6538 * frameset.el (frameset-filter-params): Fix order of arguments.
6540 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6542 Move code related to saving frames to frameset.el.
6543 * desktop.el: Require frameset.
6544 (desktop-restore-frames): Doc fix.
6545 (desktop-restore-reuses-frames): Rename from
6546 desktop-restoring-reuses-frames.
6547 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6548 (desktop-clear): Clear frames too.
6549 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6550 (desktop--filter-tty*, desktop-save, desktop-read):
6551 Use frameset functions.
6552 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6553 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6554 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6555 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6556 (desktop--process-minibuffer-frames, desktop-save-frames)
6557 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6558 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6559 (desktop--sort-states, desktop-restoring-frames-p)
6560 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6561 (desktop-restoring-frameset-p, desktop-restore-frameset)
6562 (desktop--check-dont-save, desktop-save-frameset): New functions.
6563 (desktop--app-id): New constant.
6564 (desktop-first-buffer, desktop-buffer-ok-count)
6565 (desktop-buffer-fail-count): Move before first use.
6566 * frameset.el: New file.
6568 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6570 * files.el: Use lexical-binding.
6571 (dir-locals-read-from-file): Remove unused `err' variable.
6572 (hack-dir-local-variables--warned-coding): New var.
6573 (hack-dir-local-variables): Use it to avoid repeated warnings.
6574 (make-backup-file-name--default-function): New function.
6575 (make-backup-file-name-function): Use it as default.
6576 (buffer-stale--default-function): New function.
6577 (buffer-stale-function): Use it as default.
6578 (revert-buffer-insert-file-contents--default-function): New function.
6579 (revert-buffer-insert-file-contents-function): Use it as default.
6580 (insert-directory): Avoid add-to-list.
6582 * autorevert.el (auto-revert-handler): Simplify.
6583 Use buffer-stale--default-function.
6585 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6587 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6589 * whitespace.el (whitespace-ensure-local-variables): New function.
6590 (whitespace-cleanup-region): Call it.
6591 (whitespace-turn-on): Call it.
6593 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6595 Complete file name handlers.
6597 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6598 (tramp-handle-verify-visited-file-modtime)
6599 (tramp-handle-file-notify-rm-watch): New functions.
6600 (tramp-call-process): Do not bind `default-directory'.
6602 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6603 Order alphabetically.
6604 [access-file, add-name-to-file, dired-call-process]:
6605 [dired-compress-file, file-acl, file-notify-rm-watch]:
6606 [file-ownership-preserved-p, file-selinux-context]:
6607 [make-directory-internal, make-symbolic-link, set-file-acl]:
6608 [set-file-selinux-context, set-visited-file-modtime]:
6609 [verify-visited-file-modtime]: Add handler.
6610 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6612 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6613 [file-notify-add-watch, file-notify-rm-watch]:
6614 [set-file-times, set-visited-file-modtime]:
6615 [verify-visited-file-modtime]: Add handler.
6616 (with-tramp-gvfs-error-message)
6617 (tramp-gvfs-handle-set-visited-file-modtime)
6618 (tramp-gvfs-fuse-file-name): Remove.
6619 (tramp-gvfs-handle-file-notify-add-watch)
6620 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6621 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6623 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6624 Order alphabetically.
6625 [file-notify-rm-watch ]: Use default Tramp handler.
6626 [executable-find]: Remove private handler.
6627 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6628 `default-directory'.
6629 (tramp-sh-handle-executable-find)
6630 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6631 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6632 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6633 Do not use `format' in `tramp-message'.
6635 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6636 [file-notify-rm-watch, set-visited-file-modtime]:
6637 [verify-visited-file-modtime]: Add handler.
6638 (tramp-smb-call-winexe): Do not bind `default-directory'.
6640 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6642 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6644 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6646 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6648 (log-view-diff-changeset): Same.
6649 (log-view-diff-common): Call backend command `previous-revision'
6650 to find out the previous revision, in both cases. Swap the
6651 variables `to' and `fr', so that `fr' usually refers to the
6652 earlier revision (Bug#14989).
6654 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6656 * ibuf-ext.el (ibuffer-filter-by-filename):
6657 Make it work with dired buffers too.
6659 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6661 * emacs-lisp/re-builder.el (reb-color-display-p):
6662 * files.el (save-buffers-kill-terminal):
6663 * net/browse-url.el (browse-url):
6664 * server.el (server-save-buffers-kill-terminal):
6665 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6666 Prefer nil to selected-frame for the first arg of frame-parameter.
6668 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6670 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6672 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6674 * minibuffer.el (completion--twq-all): Try and preserve each
6675 completion's case choice (bug#14907).
6677 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6679 * net/network-stream.el (open-network-stream): Mention the new
6680 :nogreeting parameter.
6681 (network-stream-open-starttls): Use the :nogreeting parameter
6684 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6686 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6687 more natural than popping.
6689 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6690 (shr-urlify): Highlight under mouse.
6692 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6694 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6696 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6698 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6701 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6702 point-min==1. Fix search string. Fix parentheses missing.
6704 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6705 assume point-min==1. Fix search string. Fix parentheses missing.
6707 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6709 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6712 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6714 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6715 initial frame is minibuffer-less. (Bug#14841)
6717 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6719 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6722 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6723 (tramp-maybe-open-connection): Use it.
6725 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6727 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6728 minimal set of parameters passed when creating a frame, because
6729 the minibuffer status of a frame cannot be changed later.
6731 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6733 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6734 replace-regexp-in-string and inadvertent omissions in previous change.
6735 (todo-filter-items): Ensure only file names are comma-separated in
6736 name of filtered items buffer.
6738 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6740 * desktop.el: Optionally force offscreen frames back onscreen.
6741 (desktop-restoring-reuses-frames): New option.
6742 (desktop--compute-pos, desktop--move-onscreen): New functions.
6743 (desktop--make-frame): Use desktop--move-onscreen.
6745 2013-07-27 Alan Mackenzie <acm@muc.de>
6747 Fontify a Java generic method as a function.
6748 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6751 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6753 * calendar/todo-mode.el: Add command to rename todo files.
6754 (todo-rename-file): New command.
6755 (todo-key-bindings-t): Add key binding for it. Change the
6756 bindings of todo-filter-regexp-items(-multifile) to use `x'
6757 instead of `r', since the latter is better suited to the new
6760 2013-07-27 Alan Mackenzie <acm@muc.de>
6762 Make Java try-with-resources statement parse properly.
6763 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6764 (c-block-stmt-1-2-key): New language constants/variables.
6765 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6766 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6767 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6768 with c-block-stmt-1-2-key.
6770 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6772 * desktop.el (desktop--make-frame): Apply most frame parameters after
6773 creating the frame to force (partially or totally) offscreen frames to
6774 be restored as such.
6776 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6778 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6781 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6783 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6784 `base' arg of backtrace-frame.
6786 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6788 * simple.el (list-processes): Doc fix.
6790 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6792 * desktop.el (desktop--select-frame):
6793 Try harder to reuse existing frames.
6795 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6797 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6798 (edebug-eval): Use backtrace-eval.
6799 (edebug--display, edebug--recursive-edit): Don't let-bind the
6800 edebug-outer-* vars that keep track of variables we locally let-bind.
6801 (edebug-outside-excursion): Don't restore outside values of locally
6803 (edebug--display): Use user-error.
6804 (cl-lexical-debug, cl-debug-env): Remove.
6806 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6808 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6809 are restored to be sure that they are visible before deleting any
6812 2013-07-26 Matthias Meulien <orontee@gmail.com>
6814 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6815 vc-print-root-log. (Bug#14948)
6817 2013-07-26 Richard Stallman <rms@gnu.org>
6819 Add aliases for encrypting mail.
6820 * epa.el (epa-mail-aliases): New option.
6821 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6822 Bind inhibit-read-only so read-only text doesn't ruin everything.
6823 (epa-mail-default-recipients): New subroutine broken out.
6824 Handle epa-mail-aliases.
6826 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6828 Add support for lexical variables to the debugger's `e' command.
6829 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6830 vars, except for debugger-outer-match-data.
6831 (debugger-frame-number): Move check for "on a function call" from
6832 callers into it. Add `skip-base' argument.
6833 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6834 (debugger-env-macro): Only reset the state stored in non-variables,
6835 i.e. current-buffer and match-data.
6836 (debugger-eval-expression): Rewrite using backtrace-eval.
6837 * subr.el (internal--called-interactively-p--get-frame): Remove.
6838 (called-interactively-p):
6839 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6840 `base' arg of backtrace-frame instead.
6842 2013-07-26 Glenn Morris <rgm@gnu.org>
6844 * align.el (align-regexp): Doc fix. (Bug#14857)
6845 (align-region): Explicit error if subexpression missing/does not match.
6847 * simple.el (global-visual-line-mode):
6848 Do not duplicate the mode lighter. (Bug#14858)
6850 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6852 * window.el (display-buffer): In display-buffer bind
6853 split-window-keep-point to t, bug#14829.
6855 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6857 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6858 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6859 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6860 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6862 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6863 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6865 2013-07-25 Glenn Morris <rgm@gnu.org>
6867 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6869 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6871 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6872 parameter to modify-frame-parameters if the value has not changed;
6873 this is a workaround for bug#14949.
6874 (desktop--make-frame): On cl-delete-if call, check parameter name,
6877 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6879 * vc/vc.el (vc-ignore): New function.
6881 * vc/vc-svn.el (vc-svn-ignore): New function.
6883 * vc/vc-hg.el (vc-hg-ignore): New function.
6885 * vc/vc-git.el (vc-git-ignore): New function.
6887 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6888 (vc-dir-ignore): New function.
6890 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6891 (cvs-append-to-ignore): Move here from pcvs.el.
6893 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6895 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6897 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6899 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6900 (desktop-restore-frames): Warn when deleting an existing frame failed.
6902 2013-07-24 Glenn Morris <rgm@gnu.org>
6904 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6906 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6908 * filenotify.el (file-notify-supported-p):
6909 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6912 * autorevert.el (auto-revert-use-notify):
6913 (auto-revert-notify-add-watch):
6914 * net/tramp.el (tramp-file-name-for-operation):
6915 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6916 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6917 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6918 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6919 Remove `file-notify-supported-p' entry.
6921 2013-07-24 Glenn Morris <rgm@gnu.org>
6923 * printing.el: Replace all uses of deleted ps-windows-system,
6924 ps-lp-system, ps-flatten-list with lpr- versions.
6926 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6928 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6929 checked with memq (bug#14935).
6931 * files.el (revert-buffer-function): Use a non-nil default.
6932 (revert-buffer-preserve-modes): Declare var to
6933 provide access to the `preserve-modes' argument.
6934 (revert-buffer): Let-bind it.
6935 (revert-buffer--default): New function, extracted from revert-buffer.
6937 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6939 * lpr.el: Signal print errors more prominently.
6940 (print-region-function): Don't default to nil.
6941 (lpr-print-region): New function, extracted from print-region-1.
6942 Check lpr's return value and signal an error in case of problem.
6943 (print-region-1): Use it.
6944 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6946 (ps-printer-name): Default to nil.
6947 (ps-printer-name-option): Default to lpr-printer-switch.
6948 (ps-print-region-function): Don't default to nil.
6949 (ps-postscript-code-directory): Simplify default.
6950 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6951 (ps-string-list, ps-eval-switch, ps-flatten-list)
6952 (ps-flatten-list-1): Remove.
6953 (ps-multibyte-buffer): Avoid setq.
6954 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6955 (print-region-function, ps-print-region-function): Don't set them here.
6957 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6959 * ido.el (ido-fractionp):
6960 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6961 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6962 (ido-max-directory-size, ido-max-dir-file-cache)
6963 (ido-decorations): Doc fix.
6965 * ansi-color.el: Fix old URL.
6967 2013-07-23 Michael R. Mauger <michael@mauger.com>
6969 * progmodes/sql.el: Version 3.3
6970 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6971 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6972 (sql-interactive-remove-continuation-prompt): Rewrite, use
6973 functions above. Fix continuation prompt and complete output line
6975 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6976 redirected output buffer.
6977 (sql-mode): Restore deleted code (Bug#13591).
6979 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6981 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6983 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6985 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6987 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6988 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6989 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6991 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6993 * desktop.el (desktop-clear): Simplify; remove useless checks
6994 against invalid buffer names.
6995 (desktop-list*): Use cl-list*.
6996 (desktop-buffer-info, desktop-create-buffer): Simplify.
6998 2013-07-23 Leo Liu <sdl.web@gmail.com>
7000 * bookmark.el (bookmark-make-record): Restore NAME as a default
7003 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7005 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7006 extracted from autoload--insert-text.
7007 (autoload--insert-text): Remove.
7008 (autoload--print-cookie-text): New function, extracted from
7009 autoload--insert-cookie-text.
7010 (autoload--insert-cookie-text): Remove.
7011 (autoload-generate-file-autoloads): Adjust calls accordingly.
7013 * winner.el (winner-hook-installed-p): Remove.
7014 (winner-mode): Simplify accordingly.
7016 * subr.el (add-to-list): Fix compiler-macro when `append' is
7017 not constant. Don't use `cl-member' for the base case.
7019 * progmodes/subword.el: Fix boundary case (bug#13758).
7020 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7022 (subword-backward-regexp): Make it a constant.
7023 (subword-forward-internal): Don't treat a trailing capital as the
7024 beginning of a word.
7026 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7028 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7029 global value of tabulated-list-revert-hook (bug#14930).
7031 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7033 * desktop.el: Require 'cl-lib.
7034 (desktop-before-saving-frames-functions): New hook.
7035 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7036 for frames being saved. Rename from desktop--save-minibuffer-frames.
7037 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7038 Do not save frames with non-nil `desktop-dont-save' parameter.
7039 Filter out deleted frames.
7040 (desktop--find-frame): Use cl-find-if.
7041 (desktop--select-frame): Use cl-(first|second|third) to access values
7043 (desktop--make-frame): Use cl-delete-if.
7044 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7045 (desktop-restore-frames): Use cl-(first|second|third) to access values
7046 of desktop-mini. Look for visible frame at the end, not while
7049 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7050 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7051 Use string-match-p, looking-at-p (bug#14927).
7053 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7055 * desktop.el (desktop-saved-frame-states):
7056 Rename from desktop--saved-states; all users changed.
7057 (desktop-save-frames): Rename from desktop--save-frames.
7058 Do not save state to desktop file.
7059 (desktop-save): Save desktop-saved-frame-states to desktop file
7061 (desktop-restoring-frames-p): New function.
7062 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7063 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7064 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7066 * desktop.el: Correctly restore iconified frames.
7067 (desktop--filter-iconified-position): New function.
7068 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7070 2013-07-20 Glenn Morris <rgm@gnu.org>
7072 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7073 Let `message' do the formatting.
7074 (def-gdb-preempt-display-buffer): Add explicit format.
7076 * image-dired.el (image-dired-track-original-file):
7077 Use with-current-buffer.
7078 (image-dired-track-thumbnail): Use with-current-buffer.
7079 Avoid changing point of wrong window.
7081 * image-dired.el (image-dired-track-original-file):
7082 Avoid changing point of wrong window. (Bug#14909)
7084 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7086 * progmodes/gdb-mi.el (gdb-done-or-error):
7087 Guard against "%" in gdb output. (Bug#14127)
7089 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7091 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7094 * international/mule.el (coding-system-iso-2022-flags): Fix last
7097 2013-07-20 Kenichi Handa <handa@gnu.org>
7099 * international/mule.el (coding-system-iso-2022-flags):
7100 Add `8-bit-level-4'. (Bug#8522)
7102 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7104 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7107 * net/eww.el (eww-process-text-input): Allow inputting when the
7108 point is at the start of the line, as the properties aren't
7111 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7114 2013-07-19 Richard Stallman <rms@gnu.org>
7116 * epa.el (epa-popup-info-window): Doc fix.
7118 * subr.el (split-string): New arg TRIM.
7120 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7122 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7123 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7125 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7127 * filenotify.el (file-notify--library): Rename from
7128 `file-notify-support'. Do not autoload. Adapt all uses.
7129 (file-notify-supported-p): New defun.
7131 * autorevert.el (auto-revert-use-notify):
7132 Use `file-notify-supported-p' instead of `file-notify-support'.
7134 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7136 * net/tramp.el (tramp-file-name-for-operation):
7137 Add `file-notify-supported-p'.
7139 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7141 (tramp-sh-file-name-handler-alist): Add it as handler for
7142 `file-notify-supported-p '.
7144 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7145 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7146 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7147 Add `ignore' as handler for `file-notify-*' functions.
7149 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7151 * simple.el (line-move-partial, line-move): Don't start vscroll or
7152 scroll-up if the current line is not taller than the window.
7155 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7157 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7158 highlight question marks in the method names as strings.
7159 (ruby-block-beg-keywords): Inline.
7160 (ruby-font-lock-keyword-beg-re): Extract from
7161 `ruby-font-lock-keywords'.
7163 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7165 * frame.el (blink-cursor-blinks): New defcustom.
7166 (blink-cursor-blinks-done): New defvar.
7167 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7168 (blink-cursor-timer-function): Check if number of blinks has been
7170 (blink-cursor-suspend, blink-cursor-check): New defuns.
7172 2013-07-15 Glenn Morris <rgm@gnu.org>
7174 * edmacro.el (edmacro-format-keys): Fix previous change.
7176 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7178 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7179 The hack didn't work outside English locales anyway.
7181 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7183 * simple.el (define-alternatives): Rename from alternatives-define,
7184 per RMS' suggestion.
7186 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7188 * desktop.el (desktop-restore-frames): Change default to t.
7189 (desktop-restore-in-current-display): Now offer more options.
7190 (desktop-restoring-reuses-frames): New customization option.
7191 (desktop--saved-states): Doc fix.
7192 (desktop-filter-parameters-alist): New variable, renamed and expanded
7193 from desktop--excluded-frame-parameters.
7194 (desktop--target-display): New variable.
7195 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7196 (desktop--filter-tty*, desktop--filter-*-color)
7197 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7198 (desktop--filter-save-desktop-parm)
7199 (desktop-restore-in-original-display-p): New functions.
7200 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7201 (desktop--save-minibuffer-frames): New function, inspired by a similar
7202 function from Martin Rudalics.
7203 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7204 (desktop--restore-in-this-display-p): Remove.
7205 (desktop--find-frame): Rename from desktop--find-frame-in-display
7206 and add predicate argument.
7207 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7208 (desktop--reuse-list): New variable.
7209 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7211 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7213 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7215 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7217 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7219 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7220 Highlight conversion methods on Kernel.
7222 2013-07-13 Alan Mackenzie <acm@muc.de>
7224 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7225 and comment it out. This out-commenting enables certain C++
7226 declarations to be parsed correctly.
7228 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7230 * international/mule.el (define-coding-system): Doc fix.
7232 * simple.el (default-font-height): Don't call font-info if the
7233 frame's default font didn't change since the frame was created.
7236 2013-07-13 Leo Liu <sdl.web@gmail.com>
7238 * ido.el (ido-read-file-name): Guard against non-symbol value.
7240 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7242 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7245 2013-07-13 Leo Liu <sdl.web@gmail.com>
7247 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7248 ido-set-matches call. (Bug#6852)
7250 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7252 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7253 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7255 (ruby-font-lock-keywords): Distinguish calls to functions with
7256 module-like names from module references. Highlight character
7259 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7261 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7262 (gdb-send): Handle continued commands. (Bug#14847)
7264 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7266 * desktop.el (desktop--v2s): Remove unused local variable.
7267 (desktop-save-buffer): Make defvar-local; adjust docstring.
7268 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7269 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7271 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7273 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7275 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7277 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7280 2013-07-12 Glenn Morris <rgm@gnu.org>
7282 * doc-view.el: Require cl-lib at runtime too.
7283 (doc-view-remove-if): Remove.
7284 (doc-view-search-next-match, doc-view-search-previous-match):
7287 * edmacro.el: Require cl-lib at runtime too.
7288 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7289 (edmacro-mismatch, edmacro-subseq): Remove.
7291 * shadowfile.el: Require cl-lib.
7292 (shadow-remove-if): Remove.
7293 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7296 * wid-edit.el: Require cl-lib.
7297 (widget-choose): Use cl-remove-if.
7298 (widget-remove-if): Remove.
7300 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7301 (ebrowse-delete-if-not): Remove.
7302 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7303 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7304 Use cl-delete-if-not.
7306 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7308 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7309 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7311 2013-07-12 Leo Liu <sdl.web@gmail.com>
7313 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7315 2013-07-11 Glenn Morris <rgm@gnu.org>
7317 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7318 (edebug-gensym-index, edebug-gensym):
7319 Remove reimplementation of cl-gensym.
7320 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7322 * thumbs.el: Require cl-lib at run-time too.
7323 (thumbs-gensym-counter, thumbs-gensym):
7324 Remove reimplementation of cl-gensym.
7325 (thumbs-temp-file): Use cl-gensym.
7327 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7328 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7329 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7330 (ert--union, ert--gensym-counter, ert--gensym-counter)
7331 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7332 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7333 (ert-make-test-unbound, ert--expand-should-1)
7334 (ert--expand-should, ert--should-error-handle-error)
7335 (should-error, ert--explain-equal-rec)
7336 (ert--plist-difference-explanation, ert-select-tests)
7337 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7338 Use cl-lib functions rather than reimplementations.
7340 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7342 * net/tramp.el (tramp-methods): Extend docstring.
7343 (tramp-connection-timeout): New defcustom.
7344 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7345 (with-tramp-progress-reporter): Simplify.
7346 (tramp-process-actions): Improve messages.
7348 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7349 * net/tramp-sh.el (tramp-maybe-open-connection):
7350 Use `tramp-connection-timeout'.
7351 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7354 2013-07-11 Leo Liu <sdl.web@gmail.com>
7356 * ido.el (ido-read-file-name): Conform to the requirements of
7357 read-file-name. (Bug#11861)
7358 (ido-read-directory-name): Conform to the requirements of
7359 read-directory-name.
7361 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7363 * subr.el (delay-warning): New function.
7365 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7367 * simple.el (default-line-height): New function.
7368 (line-move-partial, line-move): Use it instead of computing the
7370 (line-move-partial): Always compute ROWH. If the last line is
7371 partially-visible, but its text is completely visible, allow
7372 cursor to enter such a partially-visible line.
7374 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7376 Improve error messages. (Bug#14808)
7378 * net/tramp.el (tramp-current-connection): New defvar, moved from
7380 (tramp-message-show-progress-reporter-message): Remove, not
7382 (tramp-error-with-buffer): Show message in minibuffer.
7383 Discard input before waiting. Reset connection timestamp.
7384 (with-tramp-progress-reporter): Improve messages.
7385 (tramp-process-actions): Use progress reporter. Delete process in
7386 case of error. Improve messages.
7388 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7389 Call `tramp-error-with-buffer' with vector and buffer.
7390 (tramp-current-connection): Remove.
7391 (tramp-maybe-open-connection): The car of
7392 `tramp-current-connection' are the first 3 slots of the vector.
7394 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7396 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7397 inside continued strings.
7399 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7401 Timestamp fixes for undo (Bug#14824).
7402 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7404 2013-07-10 Leo Liu <sdl.web@gmail.com>
7406 * files.el (require-final-newline): Allow safe local value.
7409 2013-07-09 Leo Liu <sdl.web@gmail.com>
7411 * ido.el (ido-read-directory-name): Handle fallback.
7412 (ido-read-file-name): Update DIR to ido-current-directory.
7414 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7416 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7418 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7419 "autoload". Remove "warn lower camel case" section, previously
7420 commented out. Highlight negation char. Do not highlight the
7421 target in singleton method definitions.
7423 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7425 * faces.el (tty-setup-hook): Declare the hook.
7427 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7428 and detect when a guard/pred depends on local vars (bug#14773).
7429 (pcase--u1): Adjust caller.
7431 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7433 * simple.el (line-move-partial, line-move): Account for
7435 (line-move-partial): Avoid setting vscroll when the last
7436 partially-visible line in window is of default height.
7438 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7440 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7443 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7445 * subr.el (read-quoted-char): Remove unused local variable `char'.
7447 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7449 * ediff.el (ediff-version): Version update.
7450 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7451 (ediff-merge-with-ancestor-command, ediff-directories-command)
7452 (ediff-directories3-command, ediff-merge-directories-command)
7453 (ediff-merge-directories-with-ancestor-command): New functions.
7454 All are command-line interfaces to ediff: to facilitate calling
7455 Emacs with the appropriate ediff functions invoked.
7457 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7458 (viper-save-kill-buffer): Check if buffer is modified.
7460 * viper.el (viper-version): Version update.
7461 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7463 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7465 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7466 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7467 (viper-intercept-ESC-key): Simplify.
7468 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7469 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7470 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7471 (viper-setup-ESC-to-escape): New functions.
7472 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7473 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7475 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7477 * simple.el (default-font-height, window-screen-lines):
7479 (line-move, line-move-partial): Use them instead of
7480 frame-char-height and window-text-height. This makes scrolling
7481 text smoother when the buffer's default face uses a font that is
7482 different from the frame's default font.
7484 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7486 * files.el (write-file): Do not display confirm dialog for NS,
7487 it does its own dialog, which can't be canceled (Bug#14578).
7489 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7491 * simple.el (line-move-partial): Adjust the row returned by
7492 posn-at-point for the current window-vscroll. (Bug#14567)
7494 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7496 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7497 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7500 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7502 * window.el (window-state-put-stale-windows): New variable.
7503 (window--state-put-2): Save list of windows without matching buffer.
7504 (window-state-put): Remove "bufferless" windows if possible.
7506 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7508 * simple.el (alternatives-define): Remove leftover :group keyword.
7511 2013-07-06 Leo Liu <sdl.web@gmail.com>
7513 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7514 (ido-enable-virtual-buffers): New variable.
7515 (ido-buffer-internal, ido-toggle-virtual-buffers)
7516 (ido-make-buffer-list): Use it.
7517 (ido-exhibit): Support turning on and off virtual buffers
7520 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7522 * simple.el (alternatives-define): New macro.
7524 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7526 * subr.el (read-quoted-char): Use read-key.
7527 (sit-for): Let read-event decode tty input (bug#14782).
7529 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7531 * calendar/todo-mode.el: Add handling of file deletion, both by
7532 mode command and externally. Fix various related bugs.
7533 Clarify Commentary and improve some documentation strings and code.
7534 (todo-delete-file): New command.
7535 (todo-check-file): New function.
7536 (todo-show): Handle external deletion of the file we're trying to
7537 show (bug#14688). Replace called-interactively-p by an optional
7538 prefix argument to avoid problematic interaction with catch form
7539 when byte compiled (bug#14702).
7540 (todo-quit): Handle external deletion of the archive's todo file.
7541 Make sure the buffer that was visiting the archive file is still
7542 live before trying to bury it.
7543 (todo-category-completions): Handle external deletion of any
7544 category completion files.
7545 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7546 of todo files, in case of external deletion.
7547 (todo-add-file): Replace unnecessary setq by let-binding.
7548 (todo-find-archive): Check whether there are any archives.
7549 Replace unnecessary setq by let-binding.
7550 (todo-archive-done-item): Use find-file-noselect to get the
7551 archive buffer whether or not the archive already exists.
7552 Remove superfluous code. Use file size instead of buffer-file-name to
7553 check if the archive is new; if it is, update list of archives.
7554 (todo-default-todo-file): Allow nil to be a valid value for when
7555 there are no todo files.
7556 (todo-reevaluate-default-file-defcustom): Use corrected definition
7557 of todo-default-todo-file.
7558 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7559 (todo-delete-category, todo-show-categories-table)
7560 (todo-category-number): Clarify comment.
7561 (todo-filter-items): Clarify documentation string.
7562 (todo-show-current-file, todo-display-as-todo-file)
7563 (todo-reset-and-enable-done-separator): Tweak documentation string.
7564 (todo-done-separator): Make separator length window-width, since
7565 bug#2749 is now fixed.
7567 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7569 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7570 Support both "gvfs-monitor-dir" and "inotifywait".
7571 (tramp-sh-file-inotifywait-process-filter): Rename from
7572 `tramp-sh-file-notify-process-filter'.
7573 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7574 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7576 2013-07-05 Leo Liu <sdl.web@gmail.com>
7578 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7580 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7582 * frame.el (display-pixel-height, display-pixel-width)
7583 (display-mm-height, display-mm-width): Mention behavior on
7584 multi-monitor setups in docstrings.
7585 (w32-display-monitor-attributes-list): Declare function.
7586 (display-monitor-attributes-list): Use it.
7588 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7590 * filenotify.el: New package.
7592 * autorevert.el (top): Require filenotify.el.
7593 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7595 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7596 (auto-revert-notify-handler): Use `file-notify-*' functions.
7598 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7600 * net/tramp.el (tramp-file-name-for-operation):
7601 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7603 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7604 for `file-notify-add-watch' and `file-notify-rm-watch'.
7605 (tramp-process-sentinel): Improve trace.
7606 (tramp-sh-handle-file-notify-add-watch)
7607 (tramp-sh-file-notify-process-filter)
7608 (tramp-sh-handle-file-notify-rm-watch)
7609 (tramp-get-remote-inotifywait): New defuns.
7611 2013-07-03 Juri Linkov <juri@jurta.org>
7613 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7614 call of `occur-read-primary-args' to interactive spec.
7616 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7617 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7619 2013-07-03 Matthias Meulien <orontee@gmail.com>
7621 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7622 `Buffer-menu-multi-occur'. Add it to the menu.
7623 (Buffer-menu-mode): Document it in docstring.
7624 (Buffer-menu-multi-occur): New command. (Bug#14673)
7626 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7628 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7629 keywords and built-ins.
7631 2013-07-03 Glenn Morris <rgm@gnu.org>
7633 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7635 Make info-xref checks case-sensitive by default
7636 * info.el (Info-find-node, Info-find-in-tag-table)
7637 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7638 Add option for exact case matching of nodes.
7639 * info-xref.el (info-xref): New custom group.
7640 (info-xref-case-fold): New option.
7641 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7643 2013-07-03 Leo Liu <sdl.web@gmail.com>
7645 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7647 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7649 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7650 middle of block statement initially, lower the depth. Remove
7651 FIXME comment, not longer valid. Remove middle of block statement
7652 detection, no need to do that anymore since we've been using
7653 `ruby-parse-region' here.
7655 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7657 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7659 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7661 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7663 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7665 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7666 (desktop-restore-in-current-display): New customization option.
7667 (desktop--excluded-frame-parameters): Add `font'.
7668 (desktop--save-frames): Rename from desktop--save-windows.
7669 (desktop--restore-in-this-display-p): New function.
7670 (desktop--make-full-frame): Remove unwanted width/height from
7671 full(width|height) frames.
7672 (desktop--restore-frames): Rename from desktop--restore-windows.
7673 Obey desktop-restore-current-display. Do not delete old frames or
7674 select a new frame unless we were able to restore at least one frame.
7676 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7678 * files.el (find-file-noselect): Simplify conditional expression.
7680 * textmodes/remember.el (remember-append-to-file):
7681 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7683 Add `remember-notes' function to store random notes across Emacs
7685 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7686 notes buffer (if any).
7687 (remember-notes): New command.
7688 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7689 New defcustoms for the `remember-notes' function.
7690 (remember-notes-save-and-bury-buffer): New command.
7691 (remember-notes-mode-map): New variable.
7692 (remember-mode): New minor mode.
7693 (remember-notes--kill-buffer-query): New function.
7694 * startup.el (initial-buffer-choice): Add notes to custom type.
7696 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7698 * bindings.el (right-char, left-char): Don't call sit-for, this is
7699 no longer needed. Use arithmetic comparison only for numerical
7702 * international/mule-cmds.el (select-safe-coding-system):
7703 Handle the case of FROM being a string correctly. (Bug#14755)
7705 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7707 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7708 progression on degenerate tables.
7709 (shr-rescale-image): ImageMagick animated images currently don't work.
7711 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7713 Some fixes and improvements for desktop frame restoration.
7714 It is still experimental and disabled by default.
7715 * desktop.el (desktop--save-windows): Put the selected frame at
7716 the head of the list.
7717 (desktop--make-full-frame): New function.
7718 (desktop--restore-windows): Try to re-select the frame that was
7719 selected upon saving. Do not abort if some frames fail to restore,
7720 just show an error message and continue. Set up maximized frames
7721 so they have default non-maximized dimensions.
7723 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7725 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7726 Don't start heredoc inside a string or comment.
7728 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7730 * bindings.el (visual-order-cursor-movement): New defcustom.
7731 (right-char, left-char): Provide visual-order cursor motion by
7732 calling move-point-visually. Update the doc strings.
7734 2013-06-28 Kenichi Handa <handa@gnu.org>
7736 * international/mule.el (define-coding-system): New coding system
7737 properties :inhibit-null-byte-detection,
7738 :inhibit-iso-escape-detection, and :prefer-utf-8.
7739 (set-buffer-file-coding-system): If :charset-list property of
7740 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7741 appropriate for setting.
7743 * international/mule-cmds.el (select-safe-coding-system):
7744 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7745 multibyte characters, return utf-8 (or one of its siblings).
7747 * international/mule-conf.el (prefer-utf-8): New coding system.
7748 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7751 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7753 * net/shr.el (shr-render-region): New function.
7755 * net/eww.el: Autoload `eww-browse-url'.
7757 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7759 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7760 Adapt to `package-desc-version' being a list.
7761 Use `package--ac-desc-version' to retrieve version from a package
7764 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7766 New experimental feature to save&restore window and frame setup.
7767 * desktop.el (desktop-save-windows): New defcustom.
7768 (desktop--saved-states): New var.
7769 (desktop--excluded-frame-parameters): New defconst.
7770 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7771 (desktop--restore-windows, desktop--save-windows): New functions.
7772 (desktop-save): Call `desktop--save-windows'.
7773 (desktop-read): Call `desktop--restore-windows'.
7775 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7777 * net/shr.el (add-face-text-property): Remove compat definition.
7779 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7781 * info.el (Info-try-follow-nearest-node): Move search for footnote
7782 above search for node name to prevent missing a footnote (bug#14717).
7784 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7786 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7788 2013-06-27 Leo Liu <sdl.web@gmail.com>
7790 * net/eww.el (eww-read-bookmarks): Check file size.
7792 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7794 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7795 advice--pending if newdef is nil or an autoload (bug#13820).
7796 (advice-mapc): New function.
7798 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7800 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7802 (eww-mode-map): Add a menu bar.
7803 (eww-add-bookmark): New command.
7804 (eww-bookmark-mode): New mode and commands.
7805 (eww-add-bookmark): Remove newlines from the title.
7806 (eww-bookmark-browse): Don't bug out if it's the only window.
7808 2013-06-26 Glenn Morris <rgm@gnu.org>
7810 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7811 (hfy-size): Handle ttys. (Bug#14668)
7813 * info-xref.el: Update for Texinfo 5 change in *note format.
7814 (info-xref-node-re, info-xref-note-re): New constants.
7815 (info-xref-check-buffer): Use info-xref-note-re.
7817 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7819 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7821 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7822 nil terminate the loop (bug#14718).
7824 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7826 * net/eww.el: Rework history traversal. When going forward/back,
7827 put these actions into the history, too, so that they can be
7829 (eww-render): Move the history reset to the correct buffer.
7831 2013-06-25 Juri Linkov <juri@jurta.org>
7833 * files-x.el (modify-dir-local-variable): Change the header comment
7834 in the file with directory local variables. (Bug#14692)
7836 * files-x.el (read-file-local-variable-value): Add `default'.
7839 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7841 * net/eww.el (eww-make-unique-file-name): Create a unique file
7842 name before saving to entering `y' accidentally asynchronously.
7844 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7846 * net/eww.el (eww-download): New command and keystroke.
7848 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7850 * net/eww.el (eww-copy-page-url): Change name of command.
7852 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7853 be more consistent with Info and dired.
7855 * net/eww.el (eww-mode-map): Ditto.
7857 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7859 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7860 packages from archives.
7861 (package-archive-contents): Change format; include obsolete packages.
7862 (package-desc): Use `dir' to mark builtin packages.
7863 (package--from-builtin): Set the `dir' field to `builtin'.
7864 (generated-autoload-file, version-control): Declare.
7865 (package-compute-transaction): Change first arg and return value to be
7866 lists of package-descs. Adjust to new package-archive-contents format.
7867 (package--add-to-archive-contents): Adjust to new
7868 package-archive-contents format.
7869 (package-download-transaction): Arg is now a list of package-descs.
7870 (package-install): If `pkg' is a package name, pass it as
7871 a requirement, so it is subject to the usual (e.g. disabled) checks.
7872 (describe-package): Accept package-desc as well.
7873 (describe-package-1): Describe a specific package-desc. Add links to
7874 other package-descs for the same package name.
7875 (package-menu-describe-package): Pass the actual package-desc.
7876 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7878 (package-desc-status): New function.
7879 (package-menu--refresh): New function, extracted
7880 from package-menu--generate.
7881 (package-menu--generate): Use it.
7882 (package-delete): Update package-alist.
7883 (package-menu-execute): Don't call package-initialize.
7885 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7886 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7887 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7888 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7889 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7890 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7892 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7894 * window.el (window--state-get-1): Workaround for bug#14527.
7895 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7897 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7899 * net/eww.el (eww-back-url): Implement the history by stashing all
7900 the data into a list.
7901 (eww-forward-url): Allow going forward in the history, too.
7903 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7905 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7906 for values and use read--expression for expressions (bug#14710).
7907 (read-file-local-variable): Avoid setq.
7908 (read-file-local-variable-mode): Use minor-mode-list.
7910 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7912 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7915 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7917 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7918 Update imenu-support when dialect changes.
7920 2013-06-25 Leo Liu <sdl.web@gmail.com>
7922 * ido.el (ido-read-internal): Allow forward slash on windows.
7924 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7926 * net/eww.el (eww): Start of strings is \\`, not ^.
7928 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7930 * net/shr.el (shr-browse-url): Fix interactive spec.
7932 * net/eww.el (eww): Add a trailing slash to domain names.
7934 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7936 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7938 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7940 * net/shr.el (shr-browse-url): Use an external browser if given a
7943 * net/eww.el (eww-external-browser): Move to shr.
7945 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7947 * net/eww.el (eww): Work more correctly for file: URLs.
7948 (eww-detect-charset): Allow quoted charsets.
7949 (eww-yank-page-url): New command and keystroke.
7951 2013-06-24 Daiki Ueno <ueno@gnu.org>
7953 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7954 file name of gpg executable.
7955 (epg-context-program): New function.
7956 (epg-context-home-directory): New function.
7957 (epg-context-set-program): New function.
7958 (epg-context-set-home-directory): New function.
7959 (epg--start): Use `epg-context-program' instead of
7961 (epg--list-keys-1): Likewise.
7963 2013-06-24 Leo Liu <sdl.web@gmail.com>
7965 * ido.el (ido-read-internal): Fix bug#14620.
7967 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7969 * faces.el (face-documentation): Simplify.
7970 (read-face-attribute, tty-find-type, x-resolve-font-name):
7971 Use `string-match-p'.
7972 (list-faces-display): Use `string-match-p'. Simplify.
7973 (face-spec-recalc): Check face to avoid face alias loops.
7974 (read-color): Use `string-match-p' and non-capturing parenthesis.
7976 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7978 * net/shr.el (shr-rescale-image): Use the new
7979 :max-width/:max-height functionality.
7981 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7983 * net/eww.el (eww-search-prefix): New variable.
7985 (eww-external-browser): New variable.
7986 (eww-mode-map): New keystroke.
7987 (eww-browse-with-external-browser): New command.
7989 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7991 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7993 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7994 Don't skip aligning the next header field when padding is 0;
7995 otherwise, field width is not respected unless the title is as
7998 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8000 * emacs-lisp/package.el (package-el-version): Remove.
8001 (package-process-define-package): Fix inf-loop.
8002 (package-install): Allow symbols as arguments again.
8004 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8006 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8007 add some more keyword-like methods.
8008 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8010 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8012 * bs.el (bs-buffer-show-mark): Make defvar-local.
8013 (bs-mode): Use setq-local.
8015 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8016 (emacs-lock--try-unlocking): Make defvar-local.
8018 2013-06-22 Glenn Morris <rgm@gnu.org>
8020 * play/cookie1.el (cookie-apropos): Minor simplification.
8022 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8024 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8026 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8027 `regexp-opt', it breaks the build during dumping.
8029 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8031 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8032 Highlight keyword-like methods on Kernel and Module with
8033 font-lock-builtin-face.
8034 (auto-mode-alist): Consolidate different entries into one regexp
8035 and add more *file-s.
8037 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8039 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8041 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8042 (diary-entry): Use it in the action of this button type instead of
8045 * calendar/todo-mode.el: New version.
8046 (todo-add-category): Append new category to end of file and give
8047 it the highest number, instead of putting it at the beginning and
8048 giving it 0. Incorporate noninteractive functionality.
8049 (todo-forward-category): Adapt to 1-based category numbering.
8050 Allow skipping over archived categories.
8051 (todo-backward-category): Derive from todo-forward-category.
8052 (todo-backward-item, todo-forward-item): Make noninteractive and
8053 delegate interactive part to new commands. Make sensitive to done items.
8054 (todo-categories): Make value an alist of category names and
8055 vectors of item counts.
8056 (todo-category-beg): Make a defconst.
8057 (todo-category-number): Use 1 instead of 0 as initial value.
8058 (todo-category-select): Make sensitive to overlays, optional item
8059 highlighting and done items.
8060 (todo-delete-item): Make sensitive to overlays and marked and done items.
8061 (todo-edit-item): Make sensitive to overlays and editing of
8062 date/time header optional. Add format checks.
8063 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8064 no-op if point is not on an item. Advertise using todo-edit-quit.
8065 (todo-edit-mode): Make sensitive to new format, font-locking, and
8066 multiple todo files.
8067 (todo-insert-item, todo-insert-item-here): Derive from
8068 todo-basic-insert-item and extend functionality.
8069 (todo-item-end, todo-item-start): Make sensitive to done items.
8070 (todo-item-string): Don't return text properties. Restore point.
8071 (todo-jump-to-category): Make sensitive to multiple todo files and
8072 todo archives. Use extended category completion.
8073 (todo-lower-item, todo-raise-item): Rename to *-priority and
8074 derive from todo-set-item-priority.
8075 (todo-mode): Derive from special-mode. Make sensitive to new
8076 format, font-locking and multiple todo files. Make read-only.
8077 (todo-mode-map): Don't suppress digit keys, so they can supply
8078 prefix arguments. Add many new key bindings.
8079 (todo-prefix): Insert as an overlay instead of file text.
8080 Change semantics from diary date expression to purely visual mark.
8081 (todo-print): Rename to todo-print-buffer. Make buffer display
8082 features printable. Remove option to restrict number of items
8083 printed. Add option to print to file.
8084 (todo-print-function): Rename to todo-print-buffer-function.
8085 (todo-quit): Extend to handle exiting new todo modes.
8086 (todo-remove-item): Make sensitive to overlays.
8087 (todo-save): Extend to buffers of filtered items.
8088 (todo-show): Make sensitive to done items, multiple todo files and
8089 new todo modes. Offer to convert legacy todo file before creating
8090 first new todo file.
8091 (todo-show-priorities): Rename to todo-top-priorities.
8092 Change semantics of value 0.
8093 (todo-top-priorities): Rename to todo-filter-top-priorities,
8094 derive from todo-filter-items and extend functionality.
8095 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8096 and extend functionality to other types of filtered items.
8097 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8098 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8099 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8100 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8101 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8102 (todo-edit-mode-hook, todo-entry-prefix-function)
8103 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8104 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8105 (todo-initials, todo-insert-threshold, todo-item-string-start)
8106 (todo-line-string, todo-menu, todo-mode-hook)
8107 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8108 (todo-print-priorities, todo-remove-separator)
8109 (todo-save-top-priorities-too, todo-string-count-lines)
8110 (todo-string-multiline-p, todo-time-string-format)
8111 (todo-tmp-buffer-name): Remove.
8112 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8113 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8114 (todo-edit-category-diary-inclusion)
8115 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8116 (todo-edit-file, todo-edit-item-date-day)
8117 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8118 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8119 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8120 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8121 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8122 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8123 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8124 (todo-filter-top-priorities-multifile, todo-find-archive)
8125 (todo-find-filtered-items-file, todo-go-to-source-item)
8126 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8127 (todo-jump-to-archive-category, todo-lower-category)
8128 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8129 (todo-move-category, todo-move-item, todo-next-button)
8130 (todo-next-item, todo-padded-string, todo-powerset)
8131 (todo-previous-button, todo-previous-item)
8132 (todo-print-buffer-to-file, todo-raise-category)
8133 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8134 (todo-set-category-number, todo-set-item-priority)
8135 (todo-set-top-priorities-in-category)
8136 (todo-set-top-priorities-in-file, todo-show-categories-table)
8137 (todo-sort-categories-alphabetically-or-numerically)
8138 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8139 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8140 (todo-toggle-item-header, todo-toggle-item-highlighting)
8141 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8142 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8143 (todo-unarchive-items, todo-unmark-category): New commands.
8144 (todo-absolute-file-name, todo-add-to-buffer-list)
8145 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8146 (todo-basic-insert-item, todo-category-completions)
8147 (todo-category-number, todo-category-string-matcher-1)
8148 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8149 (todo-check-format, todo-clear-matches)
8150 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8151 (todo-current-category, todo-date-string-matcher)
8152 (todo-define-insertion-command, todo-diary-expired-matcher)
8153 (todo-diary-goto-entry, todo-diary-item-p)
8154 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8155 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8156 (todo-done-item-section-p, todo-done-separator)
8157 (todo-done-string-matcher, todo-files, todo-filter-items)
8158 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8159 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8160 (todo-insert-category-line, todo-insert-item-from-calendar)
8161 (todo-insert-sort-button, todo-insert-with-overlays)
8162 (todo-insertion-command-name, todo-insertion-key-bindings)
8163 (todo-label-to-key, todo-longest-category-name-length)
8164 (todo-make-categories-list, todo-mode-external-set)
8165 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8166 (todo-modes-set-3, todo-multiple-filter-files)
8167 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8168 (todo-read-category, todo-read-date, todo-read-dayname)
8169 (todo-read-file-name, todo-read-time)
8170 (todo-reevaluate-category-completions-files-defcustom)
8171 (todo-reevaluate-default-file-defcustom)
8172 (todo-reevaluate-filelist-defcustoms)
8173 (todo-reevaluate-filter-files-defcustom)
8174 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8175 (todo-reset-done-separator, todo-reset-done-separator-string)
8176 (todo-reset-done-string, todo-reset-global-current-todo-file)
8177 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8178 (todo-reset-prefix, todo-set-categories)
8179 (todo-set-date-from-calendar, todo-set-show-current-file)
8180 (todo-set-top-priorities, todo-short-file-name)
8181 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8182 (todo-total-item-counts, todo-update-buffer-list)
8183 (todo-update-categories-display, todo-update-categories-sexp)
8184 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8186 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8188 (todo-categories, todo-display, todo-edit, todo-faces)
8189 (todo-filtered): New defgroups.
8190 (todo-archived-only, todo-button, todo-category-string, todo-date)
8191 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8192 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8193 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8194 (todo-add-item-if-new-category, todo-always-add-time-string)
8195 (todo-categories-align, todo-categories-archived-label)
8196 (todo-categories-category-label, todo-categories-diary-label)
8197 (todo-categories-done-label, todo-categories-number-separator)
8198 (todo-categories-todo-label, todo-categories-totals-label)
8199 (todo-category-completions-files, todo-completion-ignore-case)
8200 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8201 (todo-done-separator-string, todo-done-string)
8202 (todo-files-function, todo-filter-done-items, todo-filter-files)
8203 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8204 (todo-initial-category, todo-initial-file, todo-item-mark)
8205 (todo-legacy-date-time-regexp, todo-mode-line-function)
8206 (todo-nondiary-marker, todo-number-prefix)
8207 (todo-print-buffer-function, todo-show-current-file)
8208 (todo-show-done-only, todo-show-first, todo-show-with-done)
8209 (todo-skip-archived-categories, todo-top-priorities-overrides)
8210 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8211 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8213 (todo-category-done, todo-date-pattern, todo-date-string-start)
8214 (todo-diary-items-buffer, todo-done-string-start)
8215 (todo-filtered-items-buffer, todo-item-start)
8216 (todo-month-abbrev-array, todo-month-name-array)
8217 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8218 (todo-top-priorities-buffer): New defconsts.
8219 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8220 (todo-categories-with-marks, todo-category-string-face)
8221 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8222 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8223 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8224 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8225 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8226 (todo-font-lock-keywords, todo-global-current-todo-file)
8227 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8228 (todo-insertion-commands-args)
8229 (todo-insertion-commands-args-genlist)
8230 (todo-insertion-commands-names, todo-insertion-map)
8231 (todo-key-bindings-t, todo-key-bindings-t+a)
8232 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8233 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8234 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8235 (todo-visited): New variables.
8237 2013-06-21 Glenn Morris <rgm@gnu.org>
8239 * play/cookie1.el (cookie-apropos): Add optional display argument.
8240 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8241 (psychoanalyze-pinhead): Use cookie-doctor.
8243 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8245 * emacs-lisp/package.el (tar-get-file-descriptor)
8246 (tar--extract): Declare.
8248 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8250 Extend flymake's warning predicate to be a function (bug#14217).
8251 * progmodes/flymake.el (flymake-warning-predicate): New.
8252 (flymake-parse-line): Use it.
8253 (flymake-warning-re): Make obsolete alias to
8254 `flymake-warning-predicate'.
8256 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8258 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8259 (package-obsolete-list): Remove.
8260 (package-activate): Remove min-version argument. Add `force' argument.
8261 Adjust to new package-alist format.
8262 (package-mark-obsolete): Remove.
8263 (package-unpack): Force reload of the package's autoloads.
8264 (package-installed-p): Check builtins if the installed package is not
8266 (package-initialize): Don't reset package-obsolete-list.
8267 Don't specify which package version to activate.
8268 (package-process-define-package, describe-package-1)
8269 (package-menu--generate): Adjust to new package-alist format.
8271 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8273 * allout-widgets.el (allout-widgets-mode-off)
8274 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8275 (allout-widgets-post-command-business)
8276 (allout-widgets-after-copy-or-kill-function)
8277 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8278 (allout-decorate-item-and-context)
8279 (allout-graphics-modification-handler): Fix typos in docstrings.
8280 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8282 * cmuscheme.el (scheme-start-file): Doc fix.
8283 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8284 (scheme-input-filter): Use `string-match-p'.
8286 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8288 * dired-x.el: Use Dired consistently in docstrings.
8290 * dired.el: Use Dired consistently in docstrings.
8291 (dired-readin, dired-mode): Use `setq-local'.
8292 (dired-switches-alist): Make defvar-local.
8293 (dired-buffers-for-dir): Use `zerop'.
8294 (dired-safe-switches-p, dired-switches-escape-p)
8295 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8296 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8297 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8298 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8299 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8300 (dired-toggle-marks, dired-mark-files-containing-regexp)
8301 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8302 (dired-flag-auto-save-files, dired-flag-backup-files):
8304 (dired-mark-files-regexp, dired-build-subdir-alist):
8305 Use `string-match-p', `looking-at-p'.
8307 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8308 (direct-print-region-helper): Use `string-match-p'.
8310 2013-06-21 Leo Liu <sdl.web@gmail.com>
8312 * comint.el (comint-redirect-results-list-from-process):
8315 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8317 * net/eww.el (eww-update-header-line-format): Quote % characters.
8319 2013-06-21 Glenn Morris <rgm@gnu.org>
8321 * play/cookie1.el (cookie): New custom group.
8322 (cookie-file): New option.
8323 (cookie-check-file): New function.
8324 (cookie): Make it interactive. Make start and end messages optional.
8325 Interactively, display the result. Default to cookie-file.
8326 (cookie-insert): Default to cookie-file.
8327 (cookie-snarf): Make start and end messages optional.
8328 Default to cookie-file. Use with-temp-buffer.
8329 (cookie-read): Rename from read-cookie.
8330 Make start and end messages optional. Default to cookie-file.
8331 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8333 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8334 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8336 2013-06-21 Leo Liu <sdl.web@gmail.com>
8338 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8340 2013-06-21 Glenn Morris <rgm@gnu.org>
8342 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8344 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8345 Daniel Hackney <dan@haxney.org>
8347 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8348 Consolidate the single-file vs tarball code.
8349 (package-desc-suffix): New function.
8350 (package-desc-full-name): Don't bother inlining it.
8351 (package-load-descriptor): Return the new package-desc.
8352 (package-mark-obsolete): Remove unused arg `package'.
8353 (package-unpack): Make it work for single files as well.
8354 Make it update package-alist.
8355 (package--make-autoloads-and-stuff): Rename from
8356 package--make-autoloads-and-compile. Don't compile any more.
8357 (package--compile): New function.
8358 (package-generate-description-file): New function, extracted from
8359 package-unpack-single.
8360 (package-unpack-single): Remove.
8361 (package--with-work-buffer): Add indentation and debugging info.
8362 (package-download-single): Remove.
8363 (package-install-from-archive): Rename from package-download-tar, make
8364 it take a pkg-desc, and make it work for single files as well.
8365 (package-download-transaction): Simplify.
8366 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8367 external tar program.
8368 (package-install-from-buffer): Remove `pkg-desc' argument.
8369 Use package-tar-file-info for tar-mode buffers.
8370 (package-install-file): Simplify accordingly.
8371 (package-archive-base): Change to take a pkg-desc.
8372 * tar-mode.el (tar--check-descriptor): New function, extracted from
8374 (tar-get-descriptor): Use it.
8375 (tar-get-file-descriptor): New function.
8376 (tar--extract): New function, extracted from tar-extract.
8377 (tar--extract): Use it.
8378 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8379 case the summary uses non-ascii. Adjust to new calling convention of
8380 package-tar-file-info.
8382 2013-06-21 Leo Liu <sdl.web@gmail.com>
8384 * comint.el (comint-redirect-results-list-from-process):
8385 Fix random delay. (Bug#14681)
8387 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8389 * profiler.el (profiler-format-number): Use log, not log10.
8391 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8393 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8395 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8397 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8398 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8400 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8401 (AUTOGENEL): ... here.
8402 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8403 (cl--defsubst-expand): Use it.
8405 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8407 * subr.el (log10): Move here from C code, and declare as obsolete.
8408 All uses of (log10 X) replaced with (log X 10).
8410 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8412 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8413 Declare with `defvar-local'.
8414 (tabulated-list-use-header-line, tabulated-list-entries)
8415 (tabulated-list-padding, tabulated-list-printer)
8416 (tabulated-list-sort-key): Declare with `defvar-local'.
8417 (tabulated-list-init-header, tabulated-list-print-fake-header):
8420 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8422 * arc-mode.el (archive-mode): Add `archive-write-file' to
8423 `write-contents-functions' also for remote files. (Bug#14652)
8425 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8427 * cus-edit.el (custom-commands): Fix typos.
8428 (custom-display): Fix tooltip text.
8429 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8430 Fix typos in docstrings.
8431 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8432 (custom-unlispify-menu-entry, custom-magic-value-create)
8433 (custom-add-see-also, custom-group-value-create): Use ?\s.
8434 (custom-guess-type, customize-apropos, editable-field)
8435 (custom-face-value-create): Use `string-match-p'.
8436 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8438 * custom.el (custom-load-symbol): Use `string-match-p'.
8440 * ansi-color.el: Convert to lexical binding.
8441 (ansi-colors): Fix URL.
8442 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8443 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8444 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8446 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8448 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8450 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8452 2013-06-19 Tom Tromey <tromey@redhat.com>
8454 * net/eww.el (eww-top-url): Remove.
8455 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8456 (eww-render): Set new variables. Don't set eww-top-url.
8457 (eww-handle-link): Handle "prev", "home", and "contents".
8458 Downcase the rel text.
8459 (eww-top-url): Choose best top URL.
8461 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8463 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8464 relying in widget.el. Using widget.el leads to too many
8465 user interface inconsistencies.
8466 (eww-self-insert): Implement entering commands in text fields.
8467 (eww-process-text-input): New function to make text input field editing
8469 (eww-submit): Rewrite to use the new-style form methods.
8470 (eww-select-display): Display the correct selected item.
8471 (eww-change-select): Implement changing the select value.
8472 (eww-toggle-checkbox): Implement radio/checkboxes.
8473 (eww-update-field): Fix compilation error.
8474 (eww-tag-textarea): Implement <textarea>.
8476 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8477 we don't shadow mode-specific bindings.
8479 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8482 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8484 2013-06-19 Glenn Morris <rgm@gnu.org>
8486 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8488 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8490 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8493 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8495 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8497 * net/browse-url.el (browse-url-browser-function):
8498 `eww-browse-url' has the right calling signature, `eww' does not.
8500 2013-06-19 Glenn Morris <rgm@gnu.org>
8502 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8503 Only eval autoloaded macros.
8504 (byte-compile-autoload): Only give the macro warning for macros.
8506 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8507 (ps-underlined-faces): Declare.
8509 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8510 (speedbar-add-supported-extension): Declare.
8512 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8513 Don't include a date stamp in the header of the generated file;
8514 it leads to needless differences between output files.
8516 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8518 * net/secrets.el (secrets-struct-secret-content-type):
8519 Replace check of introspection data by a test call of "CreateItem".
8520 Some servers do not offer introspection.
8522 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8524 * electric.el (electric-pair-mode): Improve interaction with
8525 electric-layout-mode.
8526 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8527 (electric-pair-syntax): Use text-mode-syntax-table in comments
8529 (electric-pair--insert): New function.
8530 (electric-pair-post-self-insert-function): Use it and
8531 electric--after-char-pos.
8533 2013-06-19 Leo Liu <sdl.web@gmail.com>
8535 * progmodes/octave.el (octave-help): Fix regexp.
8537 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8539 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8540 (shr-table-horizontal-line): Allow nil as a value, and change the
8542 (shr-insert-table-ruler): Respect the nil value.
8544 2013-06-18 Tom Tromey <tromey@barimba>
8546 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8548 (eww-open-file): New defun.
8549 (eww-render): Initialize new variables.
8550 (eww-display-html): Handle "link" and "a".
8551 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8552 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8553 (eww-back-url): Rename from eww-previous-url.
8554 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8557 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8559 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8560 Distinguish ternary operator tokens from slash symbol and slash
8563 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8565 Convert symbol prettification into minor mode and global minor mode.
8567 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8568 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8569 (prettify-symbols--keywords): Rename from
8570 `prog-prettify-symbols-alist' and make a local defvar.
8571 (prettify-symbols--compose-symbol): Rename from
8572 `prog--prettify-font-lock-compose-symbol'.
8573 (prettify-symbols--make-keywords): Rename from
8574 `prog-prettify-font-lock-symbols-keywords' and simplify.
8575 (prog-prettify-install): Remove.
8576 (prettify-symbols-mode): New minor mode, based on
8577 `prog-prettify-install'.
8578 (turn-on-prettify-symbols-mode): New function.
8579 (global-prettify-symbols-mode): New globalized minor mode.
8581 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8582 * progmodes/cfengine.el (cfengine3-mode):
8583 * progmodes/perl-mode.el (perl-mode): Don't call
8584 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8586 2013-06-18 Juri Linkov <juri@jurta.org>
8588 * files-x.el (modify-file-local-variable-message): New function.
8589 (modify-file-local-variable)
8590 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8591 and call `modify-file-local-variable-message' when it's non-nil.
8592 (add-file-local-variable, delete-file-local-variable)
8593 (add-file-local-variable-prop-line)
8594 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8595 and use it. (Bug#9820)
8597 2013-06-18 Juri Linkov <juri@jurta.org>
8599 * emulation/vi.el (vi-shell-op):
8600 * emulation/vip.el (vip-execute-com, ex-command):
8601 * emulation/viper-cmd.el (viper-exec-bang):
8602 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8603 the call of `shell-command-on-region'. (Bug#14637)
8605 * simple.el (shell-command-on-region): Doc fix.
8607 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8609 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8612 2013-06-18 Glenn Morris <rgm@gnu.org>
8614 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8616 * newcomment.el (comment-search-forward, comment-search-backward):
8617 Doc fix. (Bug#14376)
8619 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8621 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8622 (buffer-face-mode-invoke): Doc fix.
8624 2013-06-18 Matthias Meulien <orontee@gmail.com>
8626 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8627 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8629 2013-06-18 Glenn Morris <rgm@gnu.org>
8631 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8632 Replace obsolete function generic-make-keywords with its expansion.
8634 * progmodes/python.el (ffap-alist): Declare.
8636 * textmodes/reftex.el (bibtex-mode-map): Declare.
8638 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8640 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8641 (package-unpack, package-unpack-single): Return the pkg-dir.
8642 (package-download-transaction): Use it to update package-alist.
8644 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8646 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8649 2013-06-17 Juri Linkov <juri@jurta.org>
8651 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8653 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8655 * emacs-lisp/package.el (package-load-descriptor):
8656 Remove `with-syntax-table' call, `read' doesn't need it.
8657 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8659 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8661 * startup.el (command-line): Expand package name returned by
8662 `package--description-file' (bug#14639).
8664 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8666 * emacs-lisp/package.el (package-load-descriptor): Do not call
8667 `emacs-lisp-mode', just use its syntax table.
8669 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8671 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8672 `font-lock-extra-managed-props' if any prettifying keyword is added.
8673 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8674 (prog-mode): Use `setq-local'.
8676 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8678 * international/characters.el (standard-case-table): Set syntax of ?»
8679 and ?« to punctuation.
8681 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8683 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8684 Save relevant match data before calling `syntax-ppss' (bug#14595).
8686 2013-06-15 Juri Linkov <juri@jurta.org>
8688 * files-x.el (modify-file-local-variable-prop-line): Add local
8689 variables to the end of the existing comment on the first line.
8690 Use `file-auto-mode-skip' to skip interpreter magic line,
8691 and also skip XML declaration.
8693 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8695 * startup.el (package--builtin-versions): New var.
8696 (package-subdirectory-regexp): Remove.
8697 (package--description-file): Hard code its value instead.
8699 * emacs-lisp/package.el: Don't activate packages older than builtin.
8700 (package-obsolete-list): Rename from package-obsolete-alist, and make
8701 it into a simple list of package-desc.
8702 (package-strip-version): Remove.
8703 (package-built-in-p): Use package--builtin-versions.
8704 (package-mark-obsolete): Simplify.
8705 (package-process-define-package): Mark it obsolete if older than the
8707 (package-handle-response): Use line-end-position.
8708 (package-read-archive-contents, package--download-one-archive):
8710 (package--add-to-archive-contents): Skip if older than the builtin or
8712 (package-menu-describe-package): Fix last change.
8713 (package-list-unversioned): New var.
8714 (package-menu--generate): Use it.
8716 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8717 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8718 (autoload-builtin-package-versions): New variable.
8719 (autoload-generate-file-autoloads): Use them.
8720 Remove the list of autoloaded functions/macros from the
8721 (autoload...) comments.
8723 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8725 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8727 * simple.el (line-move-partial): Don't jump to the next screen
8728 line as soon as it becomes visible. Instead, continue enlarging
8729 the vscroll until the portion of a tall screen line that's left on
8730 display is about the height of the frame's default font.
8733 2013-06-15 Glenn Morris <rgm@gnu.org>
8735 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8736 compilation-error-regexp-alist void, or local while let-bound.
8738 * progmodes/make-mode.el (makefile-mode-syntax-table):
8739 Treat "=" as punctuation. (Bug#14614)
8741 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8743 * help-fns.el (describe-variable):
8744 Add extra line for permanent-local variables.
8746 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8748 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8749 Add export, import, library. (Bug#9164)
8750 (library): Set indent function.
8752 2013-06-14 Glenn Morris <rgm@gnu.org>
8754 * term/xterm.el (xterm--query):
8755 Stop after first matching handler. (Bug#14615)
8757 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8759 Add support for dired in saveplace.
8760 * dired.el (dired-initial-position-hook): New variable.
8761 (dired-initial-position): Call hook to place cursor position.
8762 * saveplace.el (save-place-to-alist): Add dired position.
8763 (save-place-dired-hook): New function.
8765 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8767 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8768 through a symbol rather than letrec.
8770 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8771 (package-desc): Add `dir' field.
8772 (package-desc-full-name): New function.
8773 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8774 (package-maybe-load-descriptor): Remove.
8775 (package-load-all-descriptors): Just call package-load-descriptor.
8776 (package--disabled-p): New function.
8777 (package-desc-vers, package-desc-doc): Remove aliases.
8778 (package--dir): Remove function.
8779 (package-activate): Check if a package is disabled.
8780 (package-process-define-package): New function, extracted from
8782 (define-package): Turn into a place holder.
8783 (package-unpack-single, package-tar-file-info):
8784 Use package--description-file.
8785 (package-compute-transaction): Use package--disabled-p.
8786 (package-download-transaction): Don't call
8787 package-maybe-load-descriptor since they're all loaded anyway.
8788 (package-install): Change argument to be a pkg-desc.
8789 (package-delete): Use a single pkg-desc argument.
8790 (describe-package-1): Use package-desc-dir instead of package--dir.
8791 Use package-desc property instead of package-symbol.
8792 (package-install-button-action): Adjust accordingly.
8793 (package--push): Rewrite.
8794 (package-menu--print-info): Adjust accordingly. Change the ID format
8796 (package-menu-describe-package, package-menu-get-status)
8797 (package-menu--find-upgrades, package-menu-mark-upgrades)
8798 (package-menu-execute, package-menu--name-predicate):
8800 * startup.el (package--description-file): New function.
8801 (command-line): Use it.
8802 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8803 Use package-desc-version.
8805 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8806 (byte-compile-preprocess): Use it.
8807 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8808 can't quite recognize.
8809 (byte-compile-add-to-list): Remove.
8810 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8811 (cconv-closure-convert): Add assertion.
8813 * emacs-lisp/map-ynp.el: Use lexical-binding.
8814 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8815 Factor out some repeated code.
8817 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8819 * subr.el (with-eval-after-load): New macro.
8820 (eval-after-load): Allow form to be a function.
8821 take advantage of lexical-binding.
8822 (do-after-load-evaluation): Use dolist and adjust to new format.
8823 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8825 2013-06-13 Juri Linkov <juri@jurta.org>
8827 * replace.el (perform-replace): Display "symbol " and other search
8828 modes from `isearch-message-prefix' in the *Help* buffer.
8830 * isearch.el (isearch-query-replace): Add " symbol" and other
8831 possible search modes from `isearch-message-prefix' to the prompt.
8832 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8833 when reading a regexp to collect.
8835 2013-06-13 Juri Linkov <juri@jurta.org>
8837 * isearch.el (word-search-regexp): Match whitespace if the search
8838 string begins or ends in whitespace. The LAX arg is applied to
8839 both ends of the search string. Use `regexp-quote' and explicit
8840 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8841 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8842 boundaries are replaced with symbol boundaries, and characters
8843 between symbols match non-word non-symbol syntax. (Bug#14602)
8845 2013-06-13 Juri Linkov <juri@jurta.org>
8847 * isearch.el (isearch-del-char): Don't exceed the length of
8848 `isearch-string' by the prefix arg. (Bug#14563)
8850 2013-06-13 Juri Linkov <juri@jurta.org>
8852 * isearch.el (isearch-yank-word, isearch-yank-line)
8853 (isearch-char-by-name, isearch-quote-char)
8854 (isearch-printing-char, isearch-process-search-char):
8855 Add optional count prefix arg. (Bug#14563)
8857 * international/isearch-x.el
8858 (isearch-process-search-multibyte-characters):
8859 Add optional count prefix arg.
8861 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8863 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8864 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8867 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8869 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8871 2013-06-13 Glenn Morris <rgm@gnu.org>
8873 * startup.el (tty-handle-args):
8874 Don't just discard "--" and anything after. (Bug#14608)
8876 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8878 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8880 Implement changes in Secret Service API. Make it backward compatible.
8881 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8882 (secrets-create-item): Use it. Prefix properties with interface.
8884 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8886 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8887 (term-emulate-terminal): Respect term-suppress-hard-newline.
8889 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8891 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8892 Only remove a `thumb-file' overlay. (Bug#14548)
8894 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8896 * mail/reporter.el (reporter-submit-bug-report):
8897 Handle missing package-name. (Bug#14600)
8899 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8901 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8902 (reftex-citation-prompt, reftex-default-bibliography)
8903 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8904 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8905 (reftex-bib-sort-author, reftex-bib-sort-year)
8906 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8907 (reftex-extract-bib-entries-from-thebibliography)
8908 (reftex-get-bibkey-default, reftex-get-bib-names)
8909 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8910 (reftex-format-bib-entry, reftex-parse-bibitem)
8911 (reftex-format-bibitem, reftex-do-citation)
8912 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8913 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8914 (reftex-insert-bib-matches, reftex-format-citation)
8915 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8916 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8917 existing comments into docstrings.
8919 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8921 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8923 2013-06-12 Andreas Schwab <schwab@suse.de>
8925 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8926 for auto-save files.
8928 2013-06-12 Glenn Morris <rgm@gnu.org>
8930 * ido.el (ido-delete-ignored-files): Remove.
8931 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8932 Go back to calling ido-ignore-item-p directly.
8934 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8936 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8938 * ido.el (ido-delete-ignored-files): New function,
8939 split from ido-make-file-list-1.
8940 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8941 (ido-make-file-list-1): Use ido-delete-ignored-files.
8943 2013-06-12 Leo Liu <sdl.web@gmail.com>
8945 * progmodes/octave.el (inferior-octave-startup)
8946 (inferior-octave-completion-table)
8947 (inferior-octave-track-window-width-change)
8948 (octave-eldoc-function-signatures, octave-help)
8949 (octave-find-definition): Use single quoted strings.
8950 (inferior-octave-startup-args): Change default value.
8951 (inferior-octave-startup): Do not hard code "-i" and
8952 "--no-line-editing".
8953 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8954 (inferior-octave-directory-tracker): Use it.
8955 (octave-goto-function-definition): Robustify.
8956 (octave-help): Support highlighting operators in 'See also'.
8957 (octave-find-definition): Find subfunctions only in Octave mode.
8959 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8961 * help-fns.el (help-fns--compiler-macro): If the handler function is
8962 named, then put a link to it.
8963 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8964 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8966 (cl-eval-when): Simplify debug spec.
8967 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8968 compiler-macro function instead of setting `compiler-macro-file'.
8970 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8972 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8973 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8975 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8976 Daniel Hackney <dan@haxney.org>
8978 First part of Daniel Hackney's patch to package.el.
8979 * emacs-lisp/package.el: Use defstruct.
8980 (package-desc): New, main struct.
8981 (package--bi-desc, package--ac-desc): New structs, used to describe the
8982 format in external files.
8983 (package-desc-vers): Replace with package-desc-version accessor.
8984 (package-desc-doc): Replace with package-desc-summary accessor.
8985 (package-activate-1): Remove `package' arg since the pkg-vec now
8987 (define-package): Use package-desc-from-define.
8988 (package-unpack-single): Change file-name arg to be a symbol.
8989 (package--add-to-archive-contents): Use package-desc-create and new
8990 accessor functions to package--ac-desc.
8991 (package-buffer-info, package-tar-file-info): Return a package-desc.
8992 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8993 arg to be a package-desc.
8994 (package-install-file): Adjust accordingly. Use \' to match EOS.
8995 (package--from-builtin): New function.
8996 (describe-package-1, package-menu--generate): Use it.
8997 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8998 (package-generate-autoloads): Idem and return the name of the file.
8999 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9000 Change pkg-info arg to be a package-desc.
9001 Use package-make-ac-desc.
9002 (package-upload-file): Use \' to match EOS.
9003 * finder.el (finder-compile-keywords): Use package-make-builtin.
9005 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9007 * vc/vc.el (vc-deduce-fileset): Change error message.
9008 (vc-read-backend): New function.
9009 (vc-next-action): Use it.
9011 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9013 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9014 (prolog-font-lock-keywords): Use regexp-opt instead.
9015 Don't manually highlight strings.
9016 (prolog-mode-variables): Simplify comment-start-skip.
9017 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9019 * emacs-lisp/generic.el (generic--normalise-comments)
9020 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9021 (generic-mode-set-comments): Use them.
9022 (generic-bracket-support): Use setq-local.
9023 (generic-make-keywords-list): Declare obsolete.
9025 2013-06-11 Glenn Morris <rgm@gnu.org>
9027 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9028 Prettify after setting font-lock-defaults. (Bug#14574)
9030 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9032 * replace.el (query-replace, occur-read-regexp-defaults-function)
9034 * subr.el (declare-function, number-sequence, local-set-key)
9035 (substitute-key-definition, locate-user-emacs-file)
9036 (with-silent-modifications, split-string, eval-after-load):
9037 Fix typos, remove unneeded backslashes and reflow some docstrings.
9039 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9041 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9042 default for Elisp files.
9044 2013-06-11 Glenn Morris <rgm@gnu.org>
9046 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9047 although define-derived-mode was doing this anyway. (Bug#14583)
9049 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9051 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9052 Fix make-variable-buffer-local call to refer to the correct variable.
9054 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9056 * eshell/em-term.el (eshell-visual-commands)
9057 (eshell-visual-subcommands, eshell-visual-options):
9058 Add summary line to docstrings. Add cross-references.
9060 2013-06-10 Glenn Morris <rgm@gnu.org>
9062 * epa.el (epa-read-file-name): New function. (Bug#14510)
9063 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9065 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9067 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9068 output redirection to be ignored with visual commands.
9070 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9072 * eshell/em-term.el (eshell-visual-command-p): New function.
9073 (eshell-term-initialize): Move long lambda to separate function
9074 eshell-visual-command-p.
9075 * eshell/em-dirs.el (eshell-dirs-initialise):
9076 * eshell/em-script.el (eshell-script-initialize):
9077 Add missing #' to lambda.
9079 2013-06-08 Leo Liu <sdl.web@gmail.com>
9081 * progmodes/octave.el (octave-add-log-current-defun): New function.
9082 (octave-mode): Set add-log-current-defun-function.
9083 (octave-goto-function-definition): Do not move point if not found.
9084 (octave-find-definition): Enhance to try subfunctions first.
9086 2013-06-08 Glenn Morris <rgm@gnu.org>
9088 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9089 (byte-compile-backward-char, byte-compile-backward-word):
9090 Improve previous change, to handle non-explicit nil.
9092 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9094 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9095 (smie--opener/closer-at-point): New function.
9096 (smie--matching-block-data): Use it. Don't match from right after an
9097 opener or right before a closer. Obey smie-blink-matching-inners.
9098 Don't signal a mismatch for repeated inners like "switch..case..case".
9100 2013-06-07 Leo Liu <sdl.web@gmail.com>
9102 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9104 (octave-function-header-regexp): Fix. (Bug#14570)
9105 (octave-help-mode-finish-hook, octave-help-mode-finish):
9106 Remove. Just use temp-buffer-show-hook.
9108 * newcomment.el (comment-search-backward): Revert last change.
9111 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9113 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9115 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9116 through xargs, to avoid failure due to MS-Windows limitations on
9117 command-line length.
9119 2013-06-06 Glenn Morris <rgm@gnu.org>
9121 * font-lock.el (lisp-font-lock-keywords-2):
9122 Treat user-error like error.
9124 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9125 (byte-compile-backward-char, byte-compile-backward-word):
9126 Handle explicit nil arguments. (Bug#14565)
9128 2013-06-05 Alan Mackenzie <acm@muc.de>
9130 * isearch.el (isearch-allow-prefix): New user option.
9131 (isearch-other-meta-char): Don't exit isearch when a prefix
9132 argument is typed whilst `isearch-allow-prefix' is non-nil.
9135 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9137 * autorevert.el (auto-revert-notify-handler): Use memq.
9138 Hide assertion failure.
9140 * skeleton.el: Use cl-lib.
9141 (skeleton-further-elements): Use defvar-local.
9142 (skeleton-insert): Use cl-progv.
9144 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9146 * progmodes/prog-mode.el (prog-prettify-symbols)
9147 (prog-prettify-install): Update docstrings.
9149 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9151 * simple.el: Move all the prog-mode code to prog-mode.el.
9152 * progmodes/prog-mode.el: New file.
9153 * loadup.el: Add prog-mode.el.
9155 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9157 * simple.el (prog-prettify-symbols): Add version.
9158 (prog-prettify-install): Add convenience function to prettify symbols.
9160 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9161 (perl--augmented-font-lock-keywords-1)
9162 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9163 variables and use it.
9165 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9166 (cfengine3-mode): Remove unneeded variable and use it.
9168 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9169 (lisp--augmented-font-lock-keywords-1)
9170 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9171 Remove unneeded variables and use it.
9173 2013-06-05 João Távora <joaotavora@gmail.com>
9175 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9176 to point when opening the connection. (Bug#14380)
9178 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9180 * subr.el (load-history-regexp, load-history-filename-element)
9181 (eval-after-load, after-load-functions, do-after-load-evaluation)
9182 (eval-next-after-load, display-delayed-warnings)
9183 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9184 definition of save-match-data.
9185 (overriding-local-map): Remove accidental obsolescence declaration.
9187 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9189 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9191 Generalize symbol prettify support to prog-mode and implement it
9192 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9193 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9194 (prog--prettify-font-lock-compose-symbol)
9195 (prog-prettify-font-lock-symbols-keywords): New variables and
9196 functions to support symbol prettification.
9197 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9198 (lisp--augmented-font-lock-keywords-1)
9199 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9200 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9201 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9202 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9203 Implement prettify of -> => :: strings.
9204 * progmodes/perl-mode.el (perl-prettify-symbols)
9205 (perl--font-lock-compose-symbol)
9206 (perl--font-lock-symbols-keywords): Move to prog-mode.
9207 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9208 (perl-font-lock-keywords-1)
9209 (perl-font-lock-keywords-2): Remove explicit prettify support.
9210 (perl--augmented-font-lock-keywords)
9211 (perl--augmented-font-lock-keywords-1)
9212 (perl--augmented-font-lock-keywords-2, perl-mode):
9213 Implement prettify support.
9215 2013-06-05 Leo Liu <sdl.web@gmail.com>
9217 Re-implement smie matching block highlight using
9218 show-paren-data-function. (Bug#14395)
9219 * emacs-lisp/smie.el (smie-matching-block-highlight)
9220 (smie--highlight-matching-block-overlay)
9221 (smie--highlight-matching-block-lastpos)
9222 (smie-highlight-matching-block)
9223 (smie-highlight-matching-block-mode): Remove.
9224 (smie--matching-block-data-cache): New variable.
9225 (smie--matching-block-data): New function.
9226 (smie-setup): Use smie--matching-block-data for
9227 show-paren-data-function.
9229 * progmodes/octave.el (octave-mode-menu): Fix.
9230 (octave-find-definition): Skip garbage lines.
9232 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9234 Fix compilation error with simultaneous dynamic+lexical scoping.
9235 Add warning when a defvar appears after the first let-binding.
9236 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9237 (byte-compile-close-variables): Initialize it.
9238 (byte-compile--declare-var): New function.
9239 (byte-compile-file-form-defvar)
9240 (byte-compile-file-form-define-abbrev-table)
9241 (byte-compile-file-form-custom-declare-variable): Use it.
9242 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9243 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9244 (byte-compile-bind): Handle dynamic bindings that shadow
9246 (byte-compile-unbind): Make arg non-optional.
9247 (byte-compile-let): Simplify.
9248 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9249 (cconv--analyse-function, cconv-analyse-form): Populate it.
9250 Protect byte-compile-bound-variables to limit the scope of defvars.
9251 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9252 Remove unneeded rule for `declare'.
9254 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9255 so as to avoid depending on cl-adjoin at run-time.
9256 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9258 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9259 (macroexp--warn-and-return): Use it.
9261 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9263 * subr.el: Convert to lexical binding.
9264 (overriding-local-map): Make obsolete.
9265 (add-to-list): Doc fix. Add compiler macro.
9266 (read-key): Swap values of local maps.
9268 2013-06-05 Leo Liu <sdl.web@gmail.com>
9270 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9272 2013-06-04 Leo Liu <sdl.web@gmail.com>
9274 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9275 (compilation-auto-jump): Suppress the "Mark set" message to give
9276 way to exit message.
9278 2013-06-04 Alan Mackenzie <acm@muc.de>
9280 Remove faulty optimisation from indentation calculation.
9281 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9282 search limit based on 2000 characters back from indent-point.
9284 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9286 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9288 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9290 * emacs-lisp/lisp.el: Use lexical-binding.
9291 (lisp--local-variables-1, lisp--local-variables): New functions.
9292 (lisp--local-variables-completion-table): New var.
9293 (lisp-completion-at-point): Use it complete let-bound vars.
9295 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9296 eagerly (bug#14422).
9298 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9300 * autorevert.el (auto-revert-notify-enabled)
9301 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9302 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9303 (auto-revert-notify-handler): Handle also gfilenotify.
9305 * subr.el (file-notify-handle-event): New defun. Replacing ...
9306 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9309 2013-06-03 Juri Linkov <juri@jurta.org>
9311 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9312 `M-s h .'. (Bug#14427)
9314 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9315 command `hi-lock-face-symbol-at-point'.
9316 (hi-lock-face-symbol-at-point): New command.
9317 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9318 (hi-lock-menu): Add `highlight-symbol-at-point'.
9319 (hi-lock-mode): Doc fix.
9321 * isearch.el (isearch-forward-symbol-at-point): New command.
9322 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9323 (isearch-highlight-regexp): Add a regexp which matches
9324 words/symbols for word/symbol mode.
9326 * subr.el (find-tag-default-bounds): New function with the body
9327 mostly moved from `find-tag-default'.
9328 (find-tag-default): Move most code to `find-tag-default-bounds',
9329 call it and apply `buffer-substring-no-properties' afterwards.
9331 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9333 * eshell/em-term.el (eshell-term-initialize):
9334 Use `cl-intersection' rather than `intersection'.
9336 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9338 * vc/log-view.el: Doc fix.
9339 (log-view-mode-map): Copy keymap from `special-mode-map'.
9341 2013-06-02 Eric Ludlam <zappo@gnu.org>
9343 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9344 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9345 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9346 (eieio-unbound, eieio-default-superclass)
9347 (eieio--define-field-accessors, method-static, method-before)
9348 (method-primary, method-after, method-num-lists)
9349 (method-generic-before, method-generic-primary)
9350 (method-generic-after, method-num-slots)
9351 (eieio-specialized-key-to-generic-key)
9352 (eieio--check-type, class-v, class-p)
9353 (eieio-class-name, define-obsolete-function-alias)
9354 (eieio-class-parents-fast, eieio-class-children-fast)
9355 (same-class-fast-p, class-constructor, generic-p)
9356 (generic-primary-only-p, generic-primary-only-one-p)
9357 (class-option-assoc, class-option, eieio-object-p)
9358 (class-abstract-p, class-method-invocation-order)
9359 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9360 (eieio-class-un-autoload, eieio-defclass)
9361 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9362 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9363 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9364 (eieio-defgeneric-reset-generic-form)
9365 (eieio-defgeneric-form-primary-only)
9366 (eieio-defgeneric-reset-generic-form-primary-only)
9367 (eieio-defgeneric-form-primary-only-one)
9368 (eieio-defgeneric-reset-generic-form-primary-only-one)
9369 (eieio-unbind-method-implementations)
9370 (eieio--defmethod, eieio--typep)
9371 (eieio-perform-slot-validation, eieio-validate-slot-value)
9372 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9373 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9374 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9375 (eieio-slot-name-index, eieio-class-slot-name-index)
9376 (eieio-set-defaults, eieio-initarg-to-attribute)
9377 (eieio-attribute-to-initarg, eieio-c3-candidate)
9378 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9379 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9380 (eieio-class-precedence-list, eieio-generic-call-methodname)
9381 (eieio-generic-call-arglst, eieio-generic-call-key)
9382 (eieio-generic-call-next-method-list)
9383 (eieio-pre-method-execution-functions, eieio-generic-call)
9384 (eieio-generic-call-primary-only, eieiomt-method-list)
9385 (eieiomt-optimizing-obarray, eieiomt-install)
9386 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9387 (eieio-generic-form, eieio-defmethod, make-obsolete)
9388 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9389 (defclass): Remove `eval-and-compile' from macro.
9390 (call-next-method, shared-initialize): Instead of using
9391 `scoped-class' variable, use new eieio--scoped-class, and
9392 eieio--with-scoped-class.
9393 (initialize-instance): Rename local variable 'scoped-class' to
9394 'this-class' to remove ambiguitity from old global.
9396 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9398 (eieio--scoped-class-stack): New variable.
9399 (eieio--scoped-class): New fcn.
9400 (eieio--with-scoped-class): New scoping macro.
9401 (eieio-defclass): Use pushnew instead of add-to-list.
9402 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9403 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9404 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9405 `scoped-class' variable, use new eieio--scoped-class, and
9406 eieio--with-scoped-class.
9408 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9410 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9412 * eshell/esh-ext.el (eshell-external-command): Pass args to
9413 `eshell-find-interpreter'.
9414 (eshell-find-interpreter): Add new second parameter ARGS.
9416 * eshell/em-script.el (eshell-script-initialize): Add second arg
9417 to the function added as MATCH to `eshell-interpreter-alist'.
9419 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9420 the function added as MATCH to `eshell-interpreter-alist'.
9422 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9423 (eshell-visual-options): New defcustom.
9424 (eshell-escape-control-x): Adapt docstring.
9425 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9426 `eshell-visual-options' in addition to `eshell-visual-commands'.
9427 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9429 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9431 * progmodes/python.el (python-indent-block-enders): Add break,
9432 continue and raise keywords.
9434 2013-06-01 Glenn Morris <rgm@gnu.org>
9436 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9438 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9439 * progmodes/cc-cmds.el (delete-forward-p):
9440 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9441 * progmodes/cc-engine.el (buffer-syntactic-context):
9442 * progmodes/cc-fonts.el (face-property-instance):
9443 * progmodes/cc-mode.el (set-keymap-parents):
9444 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9445 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9446 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9447 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9448 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9450 * progmodes/cc-vars.el (other): Emacs has this widget since
9451 at least 21.1, so don't (re)define it.
9453 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9454 Replace the obsolete alias pcomplete-arg-quote-list.
9456 2013-06-01 Leo Liu <sdl.web@gmail.com>
9458 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9460 (inferior-octave-minimal-columns)
9461 (inferior-octave-last-column-width): New variables.
9462 (inferior-octave-track-window-width-change): New function.
9463 (inferior-octave-mode): Adjust column width so that Octave output,
9464 for example from 'ls', can fit into the window nicely.
9466 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9468 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9469 Highlight expansions inside regexp literals.
9471 2013-05-31 Glenn Morris <rgm@gnu.org>
9473 * obsolete/sym-comp.el (symbol-complete):
9474 Replace obsolete completion-annotate-function.
9476 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9478 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9480 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9481 New function, checks if point is inside a literal that allows
9482 expression expansion.
9483 (ruby-syntax-propertize-expansion): Use it.
9484 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9487 2013-05-30 Juri Linkov <juri@jurta.org>
9489 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9491 (isearch-invisible): New variable.
9492 (isearch-forward): Doc fix.
9493 (isearch-mode): Set `isearch-invisible'
9494 to the value of `search-invisible'.
9495 (isearch-toggle-case-fold): Doc fix.
9496 (isearch-toggle-invisible): New command.
9497 (isearch-query-replace): Let-bind `search-invisible'
9498 to the value of `isearch-invisible'.
9499 (isearch-search): Use `isearch-invisible' instead of
9500 `search-invisible'. Let-bind `search-invisible'
9501 to the value of `isearch-invisible'. (Bug#11378)
9503 2013-05-30 Juri Linkov <juri@jurta.org>
9505 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9506 call when `query-flag' is nil and `search-invisible' is non-nil.
9509 2013-05-30 Glenn Morris <rgm@gnu.org>
9511 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9513 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9514 (cc-require): Suppress spurious "noruntime" warnings.
9515 (cc-require-when-compile): Use fboundp, for sake of compiler.
9517 * progmodes/cc-mode.el: Move load of cc-vars before that of
9518 cc-langs (which in turn loads cc-vars), to quieten compiler.
9520 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9522 * paren.el: Simplify the code.
9523 (show-paren-mode): Always start the timer.
9524 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9525 (show-paren--overlay, show-paren--overlay-1): Rename from
9526 show-paren-overlay and show-paren-overlay-1, and initialize to an
9527 overlay rather than to nil.
9528 (show-paren-function): Misc cleanup and simplifications.
9530 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9532 * paren.el (show-paren-data-function): New hook.
9533 (show-paren--default): New function, extracted from show-paren-function.
9534 (show-paren-function): Use show-paren-data-function.
9536 2013-05-30 Glenn Morris <rgm@gnu.org>
9538 * ielm.el (ielm-map, ielm-complete-symbol):
9539 Use completion-at-point rather than obsolete functions.
9540 (inferior-emacs-lisp-mode): Doc fix.
9541 Set completion-at-point-functions, rather than
9542 comint-dynamic-complete-functions.
9544 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9545 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9546 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9548 * image.el (image-animated-p): Tweak definition.
9550 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9551 (rlogin-process-connection-type): Tweak default. Add set-after.
9552 (rlogin-host): Doc fix.
9553 (rlogin): Tweak prompt.
9554 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9556 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9557 * progmodes/tcl.el (inferior-tcl-mode-map):
9558 Use completion-at-point rather than obsolete alias.
9560 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9562 * minibuffer.el (read-file-name-completion-ignore-case):
9563 Move before completion--in-region, for eager macro expansion.
9565 2013-05-29 Juri Linkov <juri@jurta.org>
9567 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9568 for total count of matching lines. Add `global-matches' for total
9569 count of matches. Rename `matches' to `lines' for count of
9570 matching lines. Add `matches' for count of matches.
9571 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9572 to `prev-line' for line number of prev match endpt.
9573 Increment `matches' for every match. Print the number of
9574 matching lines in the header.
9575 (occur-context-lines): Rename `lines' to `curr-line'.
9576 Rename `prev-lines' to `prev-line'. (Bug#14017)
9578 2013-05-29 Juri Linkov <juri@jurta.org>
9580 * replace.el (perform-replace): Add `skip-read-only-count',
9581 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9582 Increment them for corresponding conditions and report the number
9583 of skipped occurrences in the final message. (Bug#11746)
9584 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9585 (replace-string, replace-regexp): Doc fix.
9587 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9589 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9591 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9592 prog-mode-map (bug#14504).
9594 2013-05-29 Leo Liu <sdl.web@gmail.com>
9596 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9597 (octave-help): Small simplification.
9599 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9600 off the highlight first.
9602 2013-05-29 Glenn Morris <rgm@gnu.org>
9604 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9605 Handle idlwave-last-system-routine-info-cons-cell being nil.
9607 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9608 (idlwave-write-paths): Simplify via with-temp-buffer.
9610 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9611 * emulation/cua-rect.el: Also load cua-base at run time.
9613 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9614 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9615 (cperl-imenu-on-info): Require imenu.
9617 2013-05-28 Alan Mackenzie <acm@muc.de>
9619 Handle "capitalised keywords" correctly.
9620 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9622 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9624 * eshell/em-unix.el: Add -r option to cp.
9626 2013-05-28 Glenn Morris <rgm@gnu.org>
9628 * vc/vc-arch.el (vc-exec-after): Declare.
9629 (vc-switches): Autoload.
9630 * vc/vc-bzr.el: No need to require vc when compiling.
9631 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9632 (vc-resynch-buffer, vc-dir-refresh): Declare.
9633 (vc-setup-buffer, vc-switches): Autoload.
9634 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9635 (vc-resynch-buffer): Declare.
9636 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9637 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9638 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9639 (grep-read-regexp, grep-read-files, grep-expand-template)
9640 (vc-dir-refresh): Declare.
9641 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9642 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9643 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9644 * vc/vc-mtn.el (vc-exec-after): Declare.
9645 (vc-switches): Autoload.
9646 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9647 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9648 (vc-file-tree-walk): Declare.
9649 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9650 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9651 (vc-tag-precondition, vc-rename-master): Autoload.
9652 * vc/vc-svn.el (vc-exec-after): Declare.
9653 (vc-switches, vc-setup-buffer): Autoload.
9654 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9656 (vc-resynch-buffer): Declare.
9658 * obsolete/fast-lock.el (byte-compile-warnings):
9659 Don't warn about obsolete features in this obsolete file.
9661 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9662 Move definition before use.
9664 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9665 (dun-unix-verbs): Remove dun-zippy.
9666 (dun-zippy): Remove function.
9668 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9670 2013-05-27 Juri Linkov <juri@jurta.org>
9672 * replace.el (replace-search): New function with code moved out
9673 from `perform-replace'.
9674 (replace-highlight, replace-dehighlight): Move function definitions
9675 up closer to `replace-search'. (Bug#11746)
9677 2013-05-27 Juri Linkov <juri@jurta.org>
9679 * replace.el (perform-replace): Ignore invisible matches.
9680 In addition to checking `query-replace-skip-read-only', also
9681 filter out matches by calling `run-hook-with-args-until-failure'
9682 on `isearch-filter-predicates', and also check `search-invisible'
9683 for t or call `isearch-range-invisible'.
9684 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9686 2013-05-27 Juri Linkov <juri@jurta.org>
9688 * isearch.el (isearch-filter-predicates): Rename from
9689 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9690 (isearch-message-prefix): Display text from the property
9691 `isearch-message-prefix' of the currently active filters.
9692 (isearch-search): Don't compare `isearch-filter-predicate' with
9693 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9694 on `isearch-filter-predicates'. Also check `search-invisible' for t
9695 or call `isearch-range-invisible'.
9696 (isearch-filter-visible): Make obsolete.
9697 (isearch-lazy-highlight-search):
9698 Call `run-hook-with-args-until-failure' on
9699 `isearch-filter-predicates' and use `isearch-range-invisible'.
9701 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9702 `isearch-filter-predicates' instead of `funcall'ing
9703 `isearch-filter-predicate'.
9704 (Info-mode): Set `Info-isearch-filter' to
9705 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9707 * dired-aux.el (dired-isearch-filter-predicate-orig):
9709 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9710 (dired-isearch-filenames-end): Add and remove
9711 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9712 instead of changing the value of `isearch-filter-predicate'.
9713 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9714 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9715 Put property `isearch-message-prefix' to "filename " on
9716 `dired-isearch-filter-filenames'.
9718 * wdired.el (wdired-change-to-wdired-mode):
9719 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9720 locally instead of changing `isearch-filter-predicate'.
9721 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9723 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9725 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9726 return the commit hash (Bug#14459). Also set the
9727 `vc-git-detached' property.
9728 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9729 (vc-git-mode-line-string): Use the same help-echo format whether
9730 in detached mode or not, because we know the actual revision now.
9731 When in detached mode, shorten the revision to 7 chars.
9733 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9735 * emacs-lisp/easy-mmode.el (define-minor-mode):
9736 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9737 mode hook and provide a docstring.
9739 2013-05-27 Alan Mackenzie <acm@muc.de>
9741 Remove spurious syntax-table text properties inserted by C-y.
9742 * progmodes/cc-mode.el (c-after-change): Also clear hard
9743 syntax-table property with value nil.
9745 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9747 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9748 when reading the events; the buffer layout shall not be changed.
9750 2013-05-27 Leo Liu <sdl.web@gmail.com>
9752 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9754 (inferior-octave-directory-tracker): Automatically re-sync
9756 (octave-help): Improve handling of 'See also'.
9758 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9760 * doc-view.el: Minor naming convention tweaks.
9761 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9763 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9764 even if there's no `display' property yet (bug#14435).
9766 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9768 * subr.el (unmsys--file-name): Rename from reveal-filename.
9770 * Makefile.in (custom-deps, finder-data, autoloads)
9771 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9772 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9773 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9775 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9777 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9778 error-completion on the first 2 args of condition-case (bug#14446).
9781 2013-05-25 Leo Liu <sdl.web@gmail.com>
9783 * comint.el (comint-previous-matching-input): Do not flood the
9784 *Messages* buffer with trivial messages.
9786 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9788 * progmodes/flymake.el (flymake-nop): Don't return a string.
9789 (flymake-set-at): Fix typo.
9791 * simple.el (read--expression): New function, extracted from
9792 eval-expression. Set completion-at-point-functions (bug#14465).
9793 (eval-expression, eval-minibuffer): Use it.
9795 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9797 * progmodes/flymake.el (flymake-save-buffer-in-file)
9798 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9799 (flymake-selected-frame, flymake-log, flymake-ins-after)
9800 (flymake-set-at, flymake-get-buildfile-from-cache)
9801 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9802 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9803 Refine the doc string.
9804 (flymake-get-file-name-mode-and-masks): Reformat.
9805 (flymake-get-real-file-name-function): Fix a minor bug.
9807 2013-05-24 Juri Linkov <juri@jurta.org>
9809 * progmodes/grep.el (grep-mode-font-lock-keywords):
9810 Support =linenumber= format used by git-grep for lines with
9811 function names. (Bug#13549)
9813 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9815 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9816 0 after a semi-colon; it works better for smie-auto-fill.
9817 (octave--indent-new-comment-line): New function.
9818 (octave-indent-new-comment-line): Use it (indirectly).
9819 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9820 modify comment-line-break-function.
9822 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9823 (smie-setup): Use add-function to set it.
9825 2013-05-24 Sam Steingold <sds@gnu.org>
9827 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9828 argument (before the `interactive' argument).
9830 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9832 * image-mode.el (image-mode-winprops): Add winprops to
9833 image-mode-winprops-alist before running
9834 image-mode-new-window-functions.
9835 * doc-view.el (doc-view-new-window-function): Don't delay
9836 doc-view-goto-page via timers (bug#14435).
9838 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9840 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9841 (doc-view-desktop-save-buffer): New function.
9842 (doc-view-restore-desktop-buffer): New function.
9843 (desktop-buffer-mode-handlers):
9844 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9846 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9847 `desktop-save-buffer' function.
9849 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9851 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9852 (tramp-gvfs-file-name-handler): Raise a user error when
9853 `tramp-gvfs-enabled' is nil.
9854 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9855 Do not raise a user error when loading package. (Bug#14447)
9857 * net/xesam.el: Move to obsolete/.
9859 2013-05-24 Glenn Morris <rgm@gnu.org>
9861 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9863 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9865 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9866 (Info-find-node, Man-getpage-in-background): Declare.
9868 * mail/unrmail.el (unrmail):
9869 Replace obsolete detect-coding-with-priority.
9871 * net/socks.el (socks-split-string): Use this rather than split-string.
9872 (socks-nslookup-host): Update for above change.
9873 (dynamic-choice, s5-dynamic-choice-match)
9874 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9875 Comment out unused code.
9877 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9878 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9879 (gud-tooltip-echo-area): Make obsolete.
9880 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9882 * progmodes/js.el (js--optimize-arglist): Declare.
9884 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9886 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9887 (ediff-window-C): Declare.
9889 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9890 Tweak requires to silence compiler.
9892 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9893 (he-search-string, he-tried-table, he-expand-list)
9894 (he-init-string, he-string-member, he-substitute-string)
9895 (he-reset-string): Declare.
9897 * obsolete/options.el (list-options): Use custom-variable-p,
9898 rather than obsolete alias.
9900 2013-05-23 Sam Steingold <sds@gnu.org>
9902 * simple.el (shell-command-on-region): Pass the `replace' argument
9903 down to `call-process-region' to comply with the doc as reported on
9904 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9906 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9908 * emacs-lisp/smie.el (smie-indent-forward-token)
9909 (smie-indent-backward-token): Handle string tokens (bug#14381).
9911 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9913 * ielm.el (ielm-menu): New menu.
9914 (inferior-emacs-lisp-mode): Set comment-start.
9916 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9918 * textmodes/reftex.el (reftex-ref-style-toggle):
9919 Fix deactivate action.
9921 * textmodes/reftex-vars.el (reftex-ref-style-alist):
9922 Add cleveref macros.
9924 * textmodes/reftex-parse.el
9925 (reftex-locate-bibliography-files): Accept options for
9926 bibliography commands.
9927 * textmodes/reftex-vars.el (reftex-bibliography-commands):
9928 Add addbibresource. Basic Biblatex support.
9930 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9932 * net/tramp-gvfs.el (top):
9933 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9934 when loading package. (Bug#14447)
9936 2013-05-23 Glenn Morris <rgm@gnu.org>
9938 * progmodes/js.el: No need to load comint when compiling.
9939 (ring-insert, comint-send-string, comint-send-input)
9940 (comint-last-input-end, ido-chop): Declare.
9942 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9943 * vc/ediff-mult.el: Adjust requires.
9944 (ediff-directories-internal, ediff-directory-revisions-internal)
9945 (ediff-patch-file-internal): Declare.
9946 * vc/ediff-ptch.el: Adjust requires.
9947 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9948 (ediff-find-file): Autoload.
9949 * vc/ediff-util.el: No need to load ediff when compiling.
9950 (ediff-regions-internal): Declare.
9951 * vc/ediff-wind.el: Adjust requires.
9952 (ediff-compute-toolbar-width): Define when compiling.
9953 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9954 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9955 (dired-get-filename, dired-get-marked-files)
9956 (ediff-last-dir-patch, ediff-patch-default-directory)
9957 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9958 (ediff-patch-buffer-internal): Declare.
9960 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9961 (ispell-process, ispell-buffer-local-words, lm-summary)
9962 (lm-section-start, lm-section-end): Declare.
9963 (checkdoc-ispell-init): Simplify.
9965 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9966 (he-string-member, he-reset-string, he-substitute-string): Declare.
9968 * eshell/em-ls.el: Adjust requires.
9969 (eshell-glob-regexp): Declare.
9970 * eshell/em-tramp.el: Adjust requires.
9971 (eshell-parse-command): Autoload.
9972 * eshell/em-xtra.el: Adjust requires.
9973 (eshell-parse-command): Autoload.
9974 * eshell/esh-ext.el: Adjust requires.
9975 (eshell-parse-command, eshell-close-handles): Autoload.
9976 * eshell/esh-io.el: Adjust requires.
9977 (eshell-output-filter): Autoload.
9978 * eshell/esh-util.el: No need to load tramp when compiling.
9979 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9981 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9982 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9983 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9984 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9985 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9986 * eshell/esh-opt.el, eshell/esh-proc.el:
9987 * eshell/esh-var.el: Adjust requires.
9988 * eshell/eshell.el: Do not require esh-util twice.
9989 (eshell-add-input-to-history): Declare.
9990 (eshell-command): Check history module is active before using it.
9992 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9994 2013-05-22 Leo Liu <sdl.web@gmail.com>
9996 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9998 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10000 * autorevert.el (auto-revert-notify-add-watch)
10001 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10002 it indicates changes in file modification time.
10004 2013-05-22 Glenn Morris <rgm@gnu.org>
10006 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10007 Always delete the autoloaded function from the noruntime and
10008 unresolved functions lists.
10010 * allout.el: No need to load epa, epg, overlay when compiling.
10011 (epg-context-set-passphrase-callback, epg-list-keys)
10012 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10013 (epg-key-user-id-list): Declare.
10015 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10016 (viper-set-parsing-style-toggling-macro)
10017 (viper-set-emacs-state-searchstyle-macros):
10018 Use called-interactively-p on Emacs.
10019 (viper-looking-back): Make it an obsolete alias. Update callers.
10020 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10021 Use looking-back rather than viper-looking-back.
10022 (viper-tmp-insert-at-eob, viper-enlarge-region)
10023 (viper-read-string-with-history, viper-register-to-point)
10024 (viper-append-to-register, viper-change-state-to-vi)
10025 (viper-backward-char-carefully, viper-forward-char-carefully)
10026 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10027 (viper-change-state-to-emacs): Declare.
10028 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10029 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10030 * emulation/viper-mous.el: Do not load viper-cmd.
10031 (viper-backward-char-carefully, viper-forward-char-carefully)
10032 (viper-forward-word, viper-adjust-window): Declare.
10034 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10036 * progmodes/idlw-help.el (idlwave-help-fontify):
10037 Use called-interactively-p.
10039 * term/w32console.el (w32-get-console-codepage)
10040 (w32-get-console-output-codepage): Declare.
10042 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10043 Remove unnecessary declarations.
10044 (dframe-message): Doc fix.
10046 * info.el (dframe-select-attached-frame, dframe-current-frame):
10049 * speedbar.el (speedbar-message): Make it an obsolete alias.
10050 Update all callers.
10051 (speedbar-with-attached-buffer)
10052 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10053 (speedbar-with-writable): Use backquote.
10054 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10055 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10056 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10057 rather than speedbar- aliases.
10058 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10059 (speedbar-make-specialized-keymap, speedbar-insert-button)
10060 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10061 (speedbar-do-function-pointer): Declare.
10062 (rmail-speedbar-button, rmail-speedbar-find-file)
10063 (rmail-speedbar-move-message):
10064 Use dframe-with-attached-buffer rather than speedbar- alias.
10065 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10066 (dframe-message, speedbar-make-specialized-keymap)
10067 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10068 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10069 (speedbar-insert-button, dframe-select-attached-frame)
10070 (dframe-maybee-jump-to-attached-frame)
10071 (speedbar-change-initial-expansion-list)
10072 (speedbar-previously-used-expansion-list-name): Declare.
10073 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10074 Use dframe-message, dframe-with-attached-buffer rather than
10076 (gud-sentinel): Silence compiler.
10077 * progmodes/vhdl-mode.el (speedbar-refresh)
10078 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10079 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10080 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10081 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10082 (speedbar-file-lists, speedbar-make-tag-line)
10083 (speedbar-line-directory, speedbar-goto-this-file)
10084 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10085 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10086 (speedbar-make-button, speedbar-reset-scanners)
10087 (speedbar-files-item-info, speedbar-line-text)
10088 (speedbar-find-file-in-frame, speedbar-set-timer)
10089 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10090 (speedbar-with-writable): Do not (re)define it.
10091 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10092 rather than speedbar- alias.
10094 2013-05-21 Leo Liu <sdl.web@gmail.com>
10096 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10098 (octave-mode): Tweak fill-nobreak-predicate.
10099 (inferior-octave-startup): Check process to avoid infinite loop.
10100 (inferior-octave): Pop to buffer first to show abornmal process
10103 2013-05-21 Glenn Morris <rgm@gnu.org>
10105 * printing.el (pr-menu-bar): Define when compiling.
10107 2013-05-21 Leo Liu <sdl.web@gmail.com>
10109 * progmodes/octave.el (octave-auto-fill): Remove.
10110 (octave-indent-new-comment-line): Improve.
10111 (octave-mode): Use auto fill mode through
10112 comment-line-break-function and fill-nobreak-predicate.
10113 (octave-goto-function-definition): Support DEFUN_DLD.
10114 (octave-beginning-of-defun): Small tweak.
10115 (octave-help): Show parent directory.
10117 2013-05-21 Glenn Morris <rgm@gnu.org>
10119 * files.el (dired-unmark):
10120 * progmodes/gud.el (gdb-input): Update declarations.
10122 * calculator.el (electric, ehelp): No need to load when compiling.
10123 (Electric-command-loop, electric-describe-mode): Declare.
10125 * doc-view.el (doc-view-current-converter-processes): Move before use.
10127 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10128 Move MODE-set-explicitly definition before use.
10130 * international/mule-diag.el (mule-diag):
10131 Don't use obsolete window-system-version.
10133 * mail/feedmail.el (smtpmail): No need to load when compiling.
10134 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10136 * mail/mail-utils.el (rfc822): No need to load when compiling.
10137 (rfc822-addresses): Autoload it.
10138 (mail-strip-quoted-names): Trivial simplification.
10140 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10141 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10143 * net/snmp-mode.el (tempo): Don't duplicate requires.
10145 * progmodes/prolog.el (info): No need to load when compiling.
10146 (comint): Require before shell requires it.
10147 (Info-goto-node): Autoload it.
10148 (Info-follow-nearest-node): Declare.
10149 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10151 * textmodes/artist.el (picture-mode-exit): Declare.
10153 * textmodes/reftex-parse.el (reftex-parse-from-file):
10154 Trivial rewrite so the compiler can parse it better.
10156 2013-05-20 Leo Liu <sdl.web@gmail.com>
10158 * progmodes/octave.el (octave-help-mode-map)
10159 (octave-help-mode-finish-hook): New variables.
10160 (octave-help-mode, octave-help-mode-finish): New functions.
10161 (octave-help): Use octave-help-mode.
10163 2013-05-20 Glenn Morris <rgm@gnu.org>
10165 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10167 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10169 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10170 start at point, so that expansion starting right after opening
10171 slash in a regexp is recognized.
10172 (ruby-syntax-before-regexp-re): New defvar, extracted from
10173 ruby-syntax-propertize-function. Since the value of this regexp
10174 is looked up at runtime now, we should be able to turn
10175 `ruby-syntax-methods-before-regexp' into a defcustom later.
10176 (ruby-syntax-propertize-function): Split regexp matching into two
10177 parts, for opening and closing slashes. That allows us to skip
10178 over string interpolations and support multiline regexps.
10179 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10180 for them, which calls `ruby-syntax-propertize-expansion'.
10181 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10182 call to `ruby-syntax-propertize-function'.
10183 (ruby-syntax-propertize-expansion): Extracted from
10184 `ruby-syntax-propertize-expansions'. Handles one expansion.
10185 (ruby-syntax-propertize-percent-literal): Leave point right after
10186 the percent symbol, so that the expression expansion rule can
10187 propertize the contents.
10188 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10190 (ruby-syntax-propertize-expansions): Remove.
10192 2013-05-18 Juri Linkov <juri@jurta.org>
10194 * man.el (Man-default-man-entry): Remove `-' from the end
10195 of the default value. (Bug#14400)
10197 2013-05-18 Glenn Morris <rgm@gnu.org>
10199 * comint.el (comint-password-prompt-regexp):
10200 Allow "password for XXX" where XXX contains colons (eg https://...).
10202 2013-05-18 Leo Liu <sdl.web@gmail.com>
10204 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10205 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10206 (octave-source-directories): Don't check process.
10207 (octave-source-directories, octave-find-definition): Doc fix.
10209 2013-05-18 Glenn Morris <rgm@gnu.org>
10211 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10212 Remove backspace/delete bindings. (Bug#14392)
10214 * cus-dep.el (custom-make-dependencies): Sort the output.
10215 (custom-versions-load-alist): Convert comment to doc.
10217 2013-05-17 Leo Liu <sdl.web@gmail.com>
10219 * newcomment.el (comment-search-backward): Stricter in finding
10220 comment start. (Bug#14303)
10222 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10223 (octave-comment-start-skip): Properly anchored.
10225 2013-05-17 Leo Liu <sdl.web@gmail.com>
10227 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10228 Clean up when turned off. (Bug#14395)
10229 (smie--highlight-matching-block-overlay): No longer buffer-local.
10230 (smie-highlight-matching-block): Adjust.
10232 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10234 Doc string fix for "nanoseconds" (Bug#14406).
10235 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10236 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10238 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10240 * calc/calc-units.el (math-extract-units): Preserve powers
10243 2013-05-17 Leo Liu <sdl.web@gmail.com>
10245 * subr.el (delete-consecutive-dups): New function.
10246 * ido.el (ido-set-matches-1): Use it.
10247 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10248 * ido.el (ido-remove-consecutive-dups): Remove.
10250 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10252 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10253 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10254 regexp-opt's `words'.
10256 2013-05-16 Leo Liu <sdl.web@gmail.com>
10258 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10259 (smie--highlight-matching-block-overlay)
10260 (smie--highlight-matching-block-lastpos)
10261 (smie--highlight-matching-block-timer): New variables.
10262 (smie-highlight-matching-block): New function.
10263 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10264 (smie-setup): Conditionally enable smie-blink-matching-open.
10266 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10268 Sync with upstream verilog-mode r840.
10269 * progmodes/verilog-mode.el (verilog-mode-version)
10270 (verilog-mode-release-date): Update.
10271 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10272 (verilog-sig-tieoff): Fix string error on
10273 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10274 (verilog-read-decls): Fix parameters confusing
10275 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10277 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10279 * subr.el (reveal-filename): New function.
10281 * loadup.el: Compute Emacs executable versions on MS-Windows,
10282 where executables have the .exe extension. Add a hard link
10283 emacs-XX.YY.ZZ.exe on MS-Windows.
10285 * Makefile.in (XARGS_LIMIT): New variable.
10286 (custom-deps, finder-data, autoloads)
10287 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10288 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10289 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10290 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10292 2013-05-16 Leo Liu <sdl.web@gmail.com>
10294 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10295 (octave-mode-menu, octave-mode-map): Remove its uses.
10297 2013-05-16 Reto Zimmermann <reto@gnu.org>
10299 Sync with upstream vhdl mode v3.34.2.
10300 * progmodes/vhdl-mode.el: Use `push' throughout.
10301 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10302 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10303 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10304 (vhdl-actual-generic-name): New option to derive actual generic name.
10305 (vhdl-port-paste-signals): Replace formal by actual generics.
10306 (vhdl-beautify): New name for old group vhdl-align. Update users.
10307 (vhdl-beautify-options): New option.
10308 (vhdl-last-input-event): New compat alias. Use throughout.
10309 (vhdl-goto-line): Replace user level function `goto-line'.
10310 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10311 vhdl-fix-statement-buffer.
10312 (vhdl-create-mode-menu): Add some entries.
10313 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10314 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10315 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10316 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10317 to force statements on one line.
10318 (vhdl-remove-trailing-spaces-region):
10319 New, split from vhdl-remove-trailing-spaces.
10320 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10321 Respect vhdl-beautify-options.
10322 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10323 (vhdl-update-sensitivity-list): Not add with index if exists without.
10324 Not include array index with signal. Ignore keywords in comments.
10325 (vhdl-get-visible-signals): Regexp tweaks.
10326 (vhdl-template-component-inst): Handle empty library.
10327 (vhdl-template-type): Add template for 'enum' type.
10328 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10329 Use vhdl-replace-string.
10330 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10331 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10332 (vhdl-speedbar-initialize): Update for above name change.
10333 (vhdl-compose-wire-components): Fix in handling of constants.
10334 (vhdl-error-regexp-emacs-alist): New variable.
10335 (vhdl-error-regexp-add-emacs): New function;
10336 adds support for new compile.el (Emacs 22+)
10337 (vhdl-generate-makefile-1): Change target order for single lib. units.
10338 Allow use of absolute file names.
10340 2013-05-16 Leo Liu <sdl.web@gmail.com>
10342 * simple.el (prog-indent-sexp): Indent enclosing defun.
10344 2013-05-15 Glenn Morris <rgm@gnu.org>
10346 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10347 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10348 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10349 (whitespace-highlight): Move to whitespace group.
10351 * comint.el (comint-source):
10352 * pcmpl-linux.el (pcmpl-linux):
10353 * shell.el (shell-faces):
10354 * eshell/esh-opt.el (eshell-opt):
10355 * international/ccl.el (ccl): Remove empty custom groups.
10357 * completion.el (dynamic-completion-mode):
10358 * jit-lock.el (jit-lock-debug-mode):
10359 * minibuffer.el (completion-in-region-mode):
10360 * type-break.el (type-break-mode-line-message-mode)
10361 (type-break-query-mode):
10362 * emulation/tpu-edt.el (tpu-edt-mode):
10363 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10364 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10365 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10367 * term/xterm.el (xterm): Change parent group to terminals.
10369 * master.el (master): Remove empty custom group.
10370 (master-mode): Remove unused :group argument.
10371 * textmodes/refill.el (refill): Remove empty custom group.
10372 (refill-mode): Remove unused :group argument.
10374 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10376 * cus-dep.el: Provide a feature.
10377 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10378 Don't mistakenly ignore files whose basenames match a basename
10379 from preloaded-file-list (eg cedet/ede/simple.el).
10380 Add a fallback method for getting :group.
10382 2013-05-15 Juri Linkov <juri@jurta.org>
10384 * isearch.el (isearch-char-by-name): Rename from
10385 `isearch-insert-char-by-name'. Doc fix.
10386 (isearch-forward): Mention `isearch-char-by-name' in
10387 the docstring. (Bug#13348)
10389 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10390 `exit-minibuffer' instead of
10391 `isearch-nonincremental-exit-minibuffer'.
10392 (isearch-edit-string): Remove mention of
10393 `isearch-nonincremental-exit-minibuffer' from docstring.
10394 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10395 (isearch-forward-exit-minibuffer)
10396 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10398 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10400 * loadup.el: Just use unversioned DOC.
10402 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10403 literals as extending to EOB.
10404 (nxml-last-fontify-end): Remove unused variable.
10405 (nxml-after-change1): Use with-silent-modifications.
10406 (nxml-extend-after-change-region): Simplify.
10407 (nxml-extend-after-change-region1): Remove function.
10408 (nxml-after-change1): Don't adjust for dependent regions.
10409 (nxml-fontify-matcher): Simplify.
10410 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10411 (xmltok-add-dependent): Remove function.
10412 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10413 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10414 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10415 unclosed <[[, <?, comment, and other literals as extending to EOB.
10416 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10417 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10419 (rng-do-some-validation-1): Don't mark dependent regions.
10420 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10421 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10422 (nxml-clear-dependent-regions): Remove functions.
10423 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10424 (nxml-ensure-scan-up-to-date):
10425 Don't clear&mark dependent regions.
10427 2013-05-15 Leo Liu <sdl.web@gmail.com>
10429 * progmodes/octave.el (octave-goto-function-definition):
10430 Improve and fix callers.
10432 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10434 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10435 the setter (bug#14387).
10437 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10438 surrounding group (bug#14402).
10440 2013-05-14 Juri Linkov <juri@jurta.org>
10442 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10445 2013-05-14 Glenn Morris <rgm@gnu.org>
10447 * progmodes/f90.el (f90-imenu-generic-expression):
10448 Fix typo in 2013-05-08 change. (Bug#14402)
10450 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10452 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10453 Remove signals for which replies are never received.
10455 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10457 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10458 (gdb-handler-alist, gdb-handler-number): Remove variables.
10459 (gdb-handler-list): New variable.
10460 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10461 (gdb-pending-handler-p, gdb-handle-reply)
10462 (gdb-remove-all-pending-triggers): New functions.
10463 (gdb-discard-unordered-replies): New defcustom.
10464 (gdb-handler): New defstruct.
10465 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10466 instead of gdb-pending-triggers. Update docstring.
10467 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10468 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10469 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10470 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10471 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10472 (gdb-frame-handler): Pending triggers are now automatically managed.
10473 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10475 (gdb-input): Automatically handles pending triggers. Update docstring.
10476 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10477 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10479 (gdb-done-or-error): Now use gdb-handle-reply.
10481 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10483 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10486 2013-05-14 Glenn Morris <rgm@gnu.org>
10488 * subr.el (user-emacs-directory-warning): New option.
10489 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10491 2013-05-14 Leo Liu <sdl.web@gmail.com>
10493 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10495 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10496 (octave-font-lock-texinfo-comment): Fix invalid search bound
10497 error: wrong side of point.
10499 2013-05-14 Glenn Morris <rgm@gnu.org>
10501 * progmodes/flymake.el (flymake-xml-program): New option.
10502 (flymake-xml-init): Use it.
10504 * term/xterm.el: Provide a feature.
10506 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10508 2013-05-13 Glenn Morris <rgm@gnu.org>
10510 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10511 Add compat aliases as a hack workaround. (Bug#14384)
10513 2013-05-13 Leo Liu <sdl.web@gmail.com>
10515 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10517 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10519 (octave-comment-start-skip): Include %!.
10520 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10522 2013-05-12 Leo Liu <sdl.web@gmail.com>
10524 * progmodes/octave.el (inferior-octave-startup): Store the value
10525 of __octave_srcdir__ for octave-source-directories.
10526 (inferior-octave-check-process): New function refactored out of
10527 inferior-octave-send-list-and-digest.
10528 (octave-source-directories)
10529 (octave-find-definition-filename-function): New variables.
10530 (octave-source-directories)
10531 (octave-find-definition-default-filename): New functions.
10532 (octave-find-definition): Improve to find functions implemented in C++.
10534 2013-05-12 Glenn Morris <rgm@gnu.org>
10536 * calendar/diary-lib.el (diary-outlook-format-1):
10537 Don't include dayname in the output. (Bug#14349)
10539 2013-05-11 Glenn Morris <rgm@gnu.org>
10541 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10543 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10544 Treat cc-provide like provide.
10546 2013-05-11 Kevin Ryde <user42@zip.com.au>
10548 * cus-dep.el (custom-make-dependencies):
10549 Use generated-autoload-load-name for the sake of files such
10550 such cedet/semantic/bovine/c.el, where the base file name
10551 is not in load-path. (Bug#5277)
10553 2013-05-11 Glenn Morris <rgm@gnu.org>
10555 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10558 2013-05-11 Leo Liu <sdl.web@gmail.com>
10560 * progmodes/octave.el (octave-indent-comment): Improve.
10561 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10562 (octave-eldoc-function-signatures, octave-eldoc-function):
10564 (octave-mode, inferior-octave-mode): Add eldoc support.
10566 2013-05-11 Richard Stallman <rms@gnu.org>
10568 * epa.el (epa-decrypt-file): Take output file name as argument
10569 and read it using `interactive'.
10571 2013-05-11 Leo Liu <sdl.web@gmail.com>
10573 * progmodes/octave.el (octave-beginning-of-line)
10574 (octave-end-of-line): Check before using up-list because it jumps
10575 out of more syntactic contructs since moving to smie.
10576 (octave-indent-comment): New function.
10577 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10578 (octave-begin-keywords, octave-end-keywords)
10579 (octave-reserved-words, octave-smie-bnf-table)
10580 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10582 2013-05-11 Glenn Morris <rgm@gnu.org>
10584 * faces.el (internal-face-x-get-resource):
10585 * frame.el (ns-display-monitor-attributes-list):
10586 * calc/calc-aent.el (math-to-radians-2):
10587 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10590 * calc/calc-menu.el: Make it loadable in isolation.
10592 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10593 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10594 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10595 (eudc-bbdb-query-internal): Require 'bbdb.
10597 * lpr.el (lpr-headers-switches):
10598 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10600 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10602 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10604 * term.el (term-set-escape-char): Make it idempotent.
10606 2013-05-10 Leo Liu <sdl.web@gmail.com>
10608 * progmodes/octave.el (inferior-octave-completion-table):
10609 No longer a function and all uses changed. Use cache to speed up
10610 completion due to bug#11906.
10611 (octave-beginning-of-defun): Re-write to be more general.
10613 2013-05-10 Glenn Morris <rgm@gnu.org>
10615 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10617 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10619 * comint.el (comint-redirect-send-command-to-process): Use :around
10620 rather than :override for comint-redirect-filter.
10621 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10622 Call it instead of comint-redirect-original-filter-function (which
10623 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10625 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10627 * frame.el (display-monitor-attributes-list): Add NS case.
10628 (ns-display-monitor-attributes-list): Declare.
10630 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10632 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10634 2013-05-09 Glenn Morris <rgm@gnu.org>
10636 * international/fontset.el (vertical-centering-font-regexp):
10637 Set standard-value.
10639 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10641 * bookmark.el (bookmark-search-delay):
10642 * cus-start.el (vertical-centering-font-regexp):
10643 * ps-mule.el (ps-mule-font-info-database-default):
10644 * ps-print.el (ps-default-fg, ps-default-bg):
10645 * type-break.el (type-break-good-break-interval):
10646 * whitespace.el (whitespace-indentation-regexp)
10647 (whitespace-space-after-tab-regexp):
10648 * emacs-lisp/testcover.el (testcover-1value-functions)
10649 (testcover-noreturn-functions, testcover-progn-functions)
10650 (testcover-prog1-functions):
10651 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10652 * eshell/em-glob.el (eshell-glob-translate-alist):
10653 * play/tetris.el (tetris-tty-colors):
10654 * progmodes/cpp.el (cpp-face-default-list):
10655 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10656 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10657 (idlwave-help-browser-generic-args):
10658 * progmodes/make-mode.el (makefile-special-targets-list):
10659 * progmodes/python.el (python-shell-virtualenv-path):
10660 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10661 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10662 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10663 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10664 * textmodes/reftex-vars.el (reftex-format-label-function):
10665 * textmodes/remember.el (remember-diary-file): Fix custom types.
10667 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10670 2013-05-09 Leo Liu <sdl.web@gmail.com>
10672 * progmodes/octave.el (inferior-octave-completion-at-point):
10673 Restore file completion. (Bug#14300)
10674 (inferior-octave-startup): Fix incorrect highlighting for the
10677 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10679 * progmodes/ruby-mode.el: First cut at SMIE support.
10680 (ruby-use-smie): New var.
10681 (ruby-smie-grammar): New constant.
10682 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10683 (ruby-smie--forward-token, ruby-smie--backward-token)
10684 (ruby-smie-rules): New functions.
10685 (ruby-mode-variables): Setup SMIE if applicable.
10687 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10689 * simple.el (line-move-visual): Signal beginning/end of buffer
10690 only if vertical-motion moved less than it was requested. Avoids
10691 silly incorrect error messages when there are display strings with
10692 multiple newlines at EOL.
10694 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10696 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10697 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10698 (prolog-char-quote-workaround):
10699 * progmodes/cperl-mode.el (cperl-under-as-char):
10700 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10702 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10704 (vhdl-mode-syntax-table-init): Remove.
10706 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10709 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10711 (ld-script-font-lock-keywords):
10712 Change regexps to use things like \_< and \_>.
10714 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10715 Change all regexps to use things like \_< and \_>.
10717 * progmodes/autoconf.el (autoconf-definition-regexp)
10718 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10719 Handle a _ with symbol syntax.
10720 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10722 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10723 Consolidate declaration.
10724 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10726 (ada-create-syntax-table): Remove.
10727 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10728 already has the right syntax nowadays.
10729 (ada-goto-next-word): Don't change the syntax of "_".
10731 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10734 2013-05-08 Sam Steingold <sds@gnu.org>
10736 * thingatpt.el (thing-at-point): Accept optional second argument
10737 NO-PROPERTIES to strip the text properties from the return value.
10738 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10739 to `thing-at-point' instead of stripping the properties ourselves.
10740 Also, when `thing-at-point' fails to find a url, prepend "http://"
10741 to the filename at point on the assumption that the user is
10742 pointing at something like gnu.org/gnu.
10744 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10746 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10747 * faces.el (crm-separator):
10748 Silence byte-compiler.
10750 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10751 (tool-bar-map): Remove unneeded defvars.
10753 2013-05-08 Leo Liu <sdl.web@gmail.com>
10755 Re-work a fix for bug#10994 based on Le Wang's patch.
10756 * ido.el (ido-remove-consecutive-dups): New helper.
10757 (ido-completing-read): Use it.
10758 (ido-chop): Revert fix for bug#10994.
10760 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10762 * cus-edit.el (custom-save-variables):
10763 Pretty-print long values. (Bug#14187)
10765 2013-05-08 Glenn Morris <rgm@gnu.org>
10767 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10768 (m4-mode-syntax-table): Init in the defvar.
10769 (m4-mode-abbrev-table): Let define-derived-mode define it.
10771 2013-05-08 Tom Tromey <tromey@redhat.com>
10773 * progmodes/m4-mode.el (m4-mode-syntax-table):
10774 Do not treat "_" as word constituent. (Bug#14167)
10776 2013-05-07 Glenn Morris <rgm@gnu.org>
10778 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10779 Remove explicit eshell-isearch-cancel-map.
10781 * progmodes/f90.el (f90-smart-end-names): New option.
10782 (f90-smart-end): Doc fix.
10783 (f90-end-block-optional-name): New constant.
10784 (f90-block-match): Respect f90-smart-end-names.
10786 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10788 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10789 about implicit semi-colons (bug#14218).
10791 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10793 * frame.el (display-monitor-attributes-list)
10794 (frame-monitor-attributes): New functions.
10796 2013-05-06 Leo Liu <sdl.web@gmail.com>
10798 * progmodes/octave.el (octave-syntax-propertize-function): Change
10799 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10800 (octave-font-lock-keywords): Use octave-operator-regexp.
10801 (octave-completion-at-point): Rename from
10802 octave-completion-at-point-function.
10803 (inferior-octave-directory-tracker): Robustify.
10804 (octave-text-functions): Remove and fix its uses. No such things
10807 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10809 * emacs-lisp/trace.el (trace--display-buffer): New function.
10810 (trace-make-advice): Use it.
10812 2013-05-06 Juri Linkov <juri@jurta.org>
10814 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10815 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10817 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10818 in the help string. (Bug#12985)
10820 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10822 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10824 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10826 * progmodes/perl-mode.el: Add support for here documents.
10827 (perl-syntax-propertize-function): Match here-doc markers.
10828 (perl-syntax-propertize-special-constructs): Find their end.
10829 (perl-imenu-generic-expression): Use [:alnum:].
10831 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10832 (advice--add-function): Refresh the advice if already present
10835 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10837 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10839 2013-05-06 Glenn Morris <rgm@gnu.org>
10841 * w32-fns.el (w32-charset-info-alist): Declare.
10843 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10844 of its defcustom properties.
10845 (eshell-cmpl-initialize): No need to load pcomplete.
10847 * generic-x.el: No need to require comint when compiling.
10849 * net/eudc-export.el: Make it loadable without bbdb.
10850 (top-level): Use require rather than load-library.
10851 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10852 (eudc-batch-export-records-to-bbdb)
10853 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10856 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10858 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10859 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10860 some tweaks, instead.
10862 2013-05-05 Leo Liu <sdl.web@gmail.com>
10864 * progmodes/octave.el (octave-font-lock-keywords)
10865 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10866 (inferior-octave-send-list-and-digest): Improve error message.
10867 (octave-mode, inferior-octave-mode): Use setq-local.
10868 (octave-help): Set info-lookup-mode.
10870 2013-05-05 Richard Stallman <rms@gnu.org>
10872 * vc/compare-w.el (compare-windows-whitespace):
10873 Treat no-break space as whitespace.
10875 * mail/rmailsum.el (rmail-summary-rmail-update):
10876 Detect empty summary and don't change selected message.
10877 (rmail-summary-goto-msg): Likewise.
10879 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10880 Doc fixes, rename args.
10882 2013-05-05 Alan Mackenzie <acm@muc.de>
10884 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10886 2013-05-05 Juri Linkov <juri@jurta.org>
10888 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10889 to not add the length of the summary segment to the return value.
10892 2013-05-05 Leo Liu <sdl.web@gmail.com>
10894 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10895 (inferior-octave-output-filter): Remove.
10896 (octave-send-region, inferior-octave-startup): Fix callers.
10897 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10898 (octave-binary-file-extensions): New user variable.
10899 (octave-find-definition): Confirm if opening binary files.
10900 (octave-help-file): Use octave-find-definition to get the binary
10902 (octave-help): Adjust for octave-help-file change.
10904 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10906 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10907 Merge the two entries that handle function definitions.
10908 (pascal--syntax-propertize): New const.
10909 (pascal-mode): Use it. Use setq-local.
10911 2013-05-04 Glenn Morris <rgm@gnu.org>
10913 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10914 (diary-from-outlook): Respect diary-from-outlook-function.
10916 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10918 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10919 Move the declaration from C.
10920 (read-minibuffer, eval-minibuffer): Move from C.
10921 (completion-setup-function): Avoid minibuffer-completion-contents.
10923 2013-05-03 Leo Liu <sdl.web@gmail.com>
10925 * progmodes/octave.el (octave-font-lock-keywords): Do not
10926 dehighlight 'end' in comments or strings.
10927 (octave-completing-read, octave-goto-function-definition):
10929 (octave-help-buffer): New user variable.
10930 (octave-help-file, octave-help-function): New button types.
10931 (octave-help): New command and bind it to C-h ;.
10932 (octave-find-definition): New command and bind it to M-.
10933 (user-error): Alias to error if not defined.
10935 2013-05-02 Leo Liu <sdl.web@gmail.com>
10937 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10939 (octave-font-lock-keywords): Include [ and {.
10941 2013-05-02 Leo Liu <sdl.web@gmail.com>
10943 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10944 (inferior-octave): Remove calling comint-mode and return the buffer.
10945 (inferior-octave-startup): Cosmetic changes.
10947 2013-05-02 Leo Liu <sdl.web@gmail.com>
10949 * progmodes/octave.el (octave-syntax-propertize-function):
10950 Include the case when ' is at line beginning. (Bug#14336)
10952 2013-05-02 Glenn Morris <rgm@gnu.org>
10954 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10955 * desktop.el (vc-dir-mode): Just autoload it here.
10957 2013-05-02 Alan Mackenzie <acm@muc.de>
10959 Eliminate variable c-standard-font-lock-fontify-region-function.
10960 * progmodes/cc-mode.el
10961 (c-standard-font-lock-fontify-region-function): Remove.
10962 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10964 2013-05-01 Leo Liu <sdl.web@gmail.com>
10966 * progmodes/octave.el: Compatible with older emacs-24 releases.
10967 (inferior-octave-has-built-in-variables): Remove. Built-in
10968 variables were removed from Octave in 2007.
10969 (inferior-octave-startup): Fix uses.
10970 (comint-line-beginning-position): Remove compatibility code for
10973 2013-05-01 Juri Linkov <juri@jurta.org>
10975 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10977 2013-05-01 Juri Linkov <juri@jurta.org>
10979 * comint.el (comint-previous-matching-input): Don't print message
10980 "History item: %d" when `isearch-mode' is active.
10981 (comint-history-isearch-message): Print message "History item: %d"
10982 when `comint-input-ring-index' is not empty and this function is
10983 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10985 2013-05-01 Leo Liu <sdl.web@gmail.com>
10987 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10988 definitions. Use completion-at-point to insert keywords.
10989 (octave-abbrev-start): Remove.
10990 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10992 2013-04-30 Leo Liu <sdl.web@gmail.com>
10994 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10997 2013-04-30 Alan Mackenzie <acm@muc.de>
10999 Handle arbitrarily long C++ member initialisation lists.
11000 * progmodes/cc-engine.el (c-back-over-member-initializers):
11002 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11003 (most) member init lists.
11005 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11007 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11010 2013-04-30 Leo Liu <sdl.web@gmail.com>
11012 * progmodes/octave.el (octave-variables): Remove. No builtin
11013 variables any more. All converted to functions.
11014 (octave-font-lock-keywords, octave-completion-at-point-function):
11016 (octave-font-lock-texinfo-comment): New user variable.
11017 (octave-texinfo-font-lock-keywords): New variable for texinfo
11019 (octave-function-comment-block): New face.
11020 (octave-font-lock-texinfo-comment): New function.
11021 (octave-mode): Font lock texinfo comment block.
11023 2013-04-29 Leo Liu <sdl.web@gmail.com>
11025 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11026 indexing expression.
11027 (octave-continuation-string): Do not use \.
11028 (inferior-octave-complete-impossible): Remove.
11029 (inferior-octave-completion-table)
11030 (inferior-octave-completion-at-point): Remove its uses.
11031 (inferior-octave-startup): completion_matches was introduced to
11032 Octave in 1996 so safe to assume it.
11033 (octave-function-file-comment): Improve to follow how Octave does it.
11034 (octave-update-function-file-comment): Tweak.
11036 2013-04-29 Leo Liu <sdl.web@gmail.com>
11038 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11039 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11040 (octave-function-file-comment): Fix typo.
11041 (octave-sync-function-file-names): Use read-char-choice.
11043 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11045 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11046 to t for the less important warnings.
11048 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11050 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11052 2013-04-27 Glenn Morris <rgm@gnu.org>
11054 * vc/log-view.el (log-view-current-entry):
11055 Treat "---" separator lines as part of the following rev. (Bug#14169)
11057 2013-04-27 Juri Linkov <juri@jurta.org>
11059 * subr.el (read-number): Doc fix about using it by interactive
11060 code letter `n'. (Bug#14254)
11062 2013-04-27 Juri Linkov <juri@jurta.org>
11064 * desktop.el (desktop-auto-save-timeout): New option.
11065 (desktop-file-checksum): New variable.
11066 (desktop-save): Add optional arg `auto-save' and don't auto-save
11067 if nothing changed.
11068 (desktop-auto-save-timer): New variable.
11069 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11070 (after-init-hook): Call `desktop-auto-save-set-timer'.
11071 Suggested by Reuben Thomas <rrt@sc3d.org> in
11072 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11074 2013-04-27 Leo Liu <sdl.web@gmail.com>
11076 * progmodes/octave.el (octave-function-file-p)
11077 (octave-skip-comment-forward, octave-function-file-comment)
11078 (octave-update-function-file-comment): New functions.
11079 (octave-mode-map): Bind C-c ; to
11080 octave-update-function-file-comment.
11081 (octave-mode-menu): Add octave-update-function-file-comment.
11082 (octave-mode, inferior-octave-mode): Fix doc-string.
11083 (octave-insert-defun): Conform to Octave's coding convention.
11086 * files.el (basic-save-buffer): Don't let errors in
11087 before-save-hook prevent saving buffer.
11089 2013-04-20 Roland Winkler <winkler@gnu.org>
11091 * faces.el (read-face-name): Use completing-read if arg multiple
11094 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11096 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11097 displayed, move point to after the totals line.
11098 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11101 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11103 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11104 Add current dir to the load-path.
11105 (package-generate-autoloads): Don't rely on
11106 autoload-ensure-default-file.
11108 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11110 * textmodes/remember.el (remember-store-in-files): Document that
11111 the file name format is passed to `format-time-string'.
11113 2013-04-26 Leo Liu <sdl.web@gmail.com>
11115 * progmodes/octave.el (octave-sync-function-file-names): New function.
11116 (octave-mode): Use it in before-save-hook.
11118 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11120 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11123 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11124 \n and comment, even if it's not an implicit ; (bug#14218).
11126 2013-04-26 Glenn Morris <rgm@gnu.org>
11128 * subr.el (read-number): Once more use `read' rather than
11129 `string-to-number', to trap non-numeric input. (Bug#14254)
11131 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11133 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11134 Use `syntax-multiline' text property consistently instead of
11135 `font-lock-multiline'. (Bug#14237)
11137 2013-04-26 Glenn Morris <rgm@gnu.org>
11139 * emacs-lisp/shadow.el (list-load-path-shadows):
11140 No longer necessary to check for duplicate simple.el, since
11141 2012-07-07 change to init_lread to not include installation lisp
11142 directories in load-path when running uninstalled. (Bug#14270)
11144 2013-04-26 Leo Liu <sdl.web@gmail.com>
11146 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11147 (octave-mode, inferior-octave-mode): Use setq-local.
11148 (octave-not-in-string-or-comment-p): Rename to
11149 octave-in-string-or-comment-p.
11150 (octave-in-comment-p, octave-in-string-p)
11151 (octave-in-string-or-comment-p): Replace defsubst with defun.
11153 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11155 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11157 2013-04-25 Bastien Guerry <bzg@gnu.org>
11159 * textmodes/remember.el (remember-data-directory)
11160 (remember-directory-file-name-format): Fix custom types.
11162 2013-04-25 Leo Liu <sdl.web@gmail.com>
11164 * progmodes/octave.el (octave-completion-at-point-function):
11165 Make use of inferior octave process.
11166 (octave-initialize-completions): Remove.
11167 (inferior-octave-completion-table): New function.
11168 (inferior-octave-completion-at-point): Use it.
11169 (octave-completion-alist): Remove.
11171 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11173 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11174 (opascal-mode-syntax-table): New var.
11175 (opascal-literal-kind, opascal-is-literal-end)
11176 (opascal-literal-token-at): Rewrite.
11177 (opascal--literal-start-re, opascal-font-lock-keywords)
11178 (opascal--syntax-propertize): New constants.
11179 (opascal-font-lock-defaults): Adjust.
11180 (opascal-mode): Use them. Set comment-<foo> variables as well.
11181 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11182 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11183 (delphi-other-face, opascal-other-face): Remove face variables.
11184 (opascal-save-state): Remove macro.
11185 (opascal-fontifying-progress-step): Remove constant.
11186 (opascal--ignore-changes): Remove var.
11187 (opascal-set-token-property, opascal-parse-next-literal)
11188 (opascal-is-stable-literal, opascal-complete-literal)
11189 (opascal-is-literal-start, opascal-face-of)
11190 (opascal-parse-region, opascal-parse-region-until-stable)
11191 (opascal-fontify-region, opascal-after-change)
11192 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11193 (opascal-debug-parse-region, opascal-debug-parse-window)
11194 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11195 (opascal-debug-fontify-buffer): Remove.
11196 (opascal-debug-mode-map): Adjust accordingly.
11198 2013-04-25 Leo Liu <sdl.web@gmail.com>
11200 Merge octave-mod.el and octave-inf.el into octave.el with some
11202 * progmodes/octave.el: New file renamed from octave-mod.el.
11203 * progmodes/octave-inf.el: Merged into octave.el.
11204 * progmodes/octave-mod.el: Renamed to octave.el.
11206 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11208 * textmodes/reftex-vars.el
11209 (reftex-label-ignored-macros-and-environments): New defcustom.
11211 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11213 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11215 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11216 (smie-indent-keyword): Improve the check to ensure that the next
11217 comment is really on the same line.
11218 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11220 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11221 semi-colons if the line is not otherwise empty (bug#14218).
11223 2013-04-25 Glenn Morris <rgm@gnu.org>
11225 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11227 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11229 * progmodes/opascal.el (opascal-set-token-property): Rename from
11230 opascal-set-text-properties and only set `token' (bug#14134).
11231 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11232 (opascal-literal-text-properties): Remove.
11233 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11236 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11238 * textmodes/remember.el (remember-handler-functions): Add an
11239 option for a new handler `remember-store-in-files'.
11240 (remember-data-directory, remember-directory-file-name-format):
11242 (remember-store-in-files): New function to store remember notes
11243 as separate files within a directory.
11245 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11247 * progmodes/compile.el (compilation-next-error-function):
11248 Pass "formats" to compilation-find-file (bug#11777).
11250 2013-04-24 Glenn Morris <rgm@gnu.org>
11252 * vc/vc-bzr.el (vc-bzr-print-log):
11253 * vc/vc-hg.el (vc-hg-print-log):
11254 * vc/vc-svn.el (vc-svn-print-log):
11255 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11257 * vc/vc-bzr.el (vc-bzr-print-log):
11258 * vc/vc-cvs.el (vc-cvs-print-log):
11259 * vc/vc-git.el (vc-git-print-log):
11260 * vc/vc-hg.el (vc-hg-print-log):
11261 * vc/vc-mtn.el (vc-mtn-print-log):
11262 * vc/vc-rcs.el (vc-rcs-print-log):
11263 * vc/vc-sccs.el (vc-sccs-print-log):
11264 * vc/vc-svn.el (vc-svn-print-log):
11265 * vc/vc.el (vc-print-log-internal): Doc fixes.
11267 2013-04-23 Glenn Morris <rgm@gnu.org>
11269 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11270 Remove venerable code attempting to avoid substitute-command-keys.
11272 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11274 * textmodes/reftex-vars.el (reftex-label-regexps):
11275 Call `reftex-compile-variables' after changes to this variable.
11277 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11279 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11280 Use lexical-binding.
11281 (jit-lock-force-redisplay): Use markers, check buffer's continued
11282 existence and beware narrowed buffers.
11283 (jit-lock-fontify-now): Adjust call accordingly.
11285 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11287 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11288 to avoid misleading the user.
11290 2013-04-22 Leo Liu <sdl.web@gmail.com>
11292 * info-look.el: Prefer latex2e.info. (Bug#14240)
11294 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11296 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11298 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11299 * net/tramp.el (tramp-call-process): ... here.
11300 (tramp-set-completion-function, tramp-parse-putty):
11301 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11302 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11303 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11304 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11305 (tramp-call-local-coding-command): Use `tramp-call-process'
11306 instead of `tramp-compat-call-process'.
11308 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11309 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11310 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11311 (tramp-find-inline-compress): Improve traces.
11312 (tramp-maybe-send-script): Check for Perl binary.
11313 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11315 2013-04-22 Daiki Ueno <ueno@gnu.org>
11317 * epg.el (epg-context-pinentry-mode): New function.
11318 (epg-context-set-pinentry-mode): New function.
11319 (epg--start): Pass --pinentry-mode option to gpg command.
11321 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11323 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11324 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11325 `completion-at-point'. (Bug#13774)
11327 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11328 default key binding for `describe-distribution' has been moved to
11329 `C-h C-o'. (Bug#13970)
11331 2013-04-21 Glenn Morris <rgm@gnu.org>
11333 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11335 (vc-print-log): Clarify interactive prompt.
11337 2013-04-20 Glenn Morris <rgm@gnu.org>
11339 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11340 No longer include timestamp etc information.
11342 2013-04-20 Roland Winkler <winkler@gnu.org>
11344 * faces.el (read-face-name): Bug fix, return just one face if arg
11345 multiple is nil. (Bug#14209)
11347 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11349 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11350 (remove-function): Autoload.
11352 * comint.el (comint-redirect-original-filter-function): Remove.
11353 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11354 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11355 (vc-cvs-annotate-command):
11356 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11357 * progmodes/prolog.el (prolog-consult-compile):
11358 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11359 Use add/remove-function instead.
11360 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11361 (gud-tooltip-process-output, gud-tooltip-tips):
11362 Use add/remove-function instead.
11363 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11364 (scheme-interaction-mode, exit-scheme-interaction-mode):
11365 Use add/remove-function instead.
11367 * vc/vc-dispatcher.el: Use lexical-binding.
11368 (vc--process-sentinel): Rename from vc-process-sentinel.
11369 Change last arg to be the code to run. Don't use vc-previous-sentinel
11370 and vc-sentinel-commands any more.
11371 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11372 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11374 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11376 * progmodes/sh-script.el (sh-imenu-generic-expression):
11377 Handle function names with a single character. (Bug#14111)
11379 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11381 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11382 for subroutines defined in an eval (bug#14182).
11384 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11386 * bookmark.el (bookmark-completing-read): Improve handling of empty
11387 string (bug#14176).
11389 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11391 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11393 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11395 New faster Imenu implementation (bug#14058).
11396 * progmodes/python.el:
11397 (python-imenu-prev-index-position):
11398 (python-imenu-format-item-label-function)
11399 (python-imenu-format-parent-item-label-function)
11400 (python-imenu-format-parent-item-jump-label-function):
11402 (python-imenu-format-item-label)
11403 (python-imenu-format-parent-item-label)
11404 (python-imenu-format-parent-item-jump-label)
11405 (python-imenu--put-parent, python-imenu--build-tree)
11406 (python-imenu-create-index, python-imenu-create-flat-index)
11407 (python-util-popn): New functions.
11408 (python-mode): Set imenu-create-index-function to
11409 python-imenu-create-index.
11411 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11413 * winner.el (winner-active-region): Use region-active-p, activate-mark
11414 and deactivate-mark (bug#14225).
11416 * simple.el (deactivate-mark): Don't inline it.
11418 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11420 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11422 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11424 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11425 file extensions from the archive-mode entry in order to prefer
11426 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11428 2013-04-18 Leo Liu <sdl.web@gmail.com>
11430 * bindings.el (help-event-list): Add ?\?.
11432 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11434 * subr.el (with-wrapper-hook): Declare obsolete.
11435 * simple.el (filter-buffer-substring-function): New hook.
11436 (filter-buffer-substring): Use it.
11437 (filter-buffer-substring-functions): Mark obsolete.
11438 * minibuffer.el (completion-in-region-function): New hook.
11439 (completion-in-region): Use it.
11440 (completion-in-region-functions): Mark obsolete.
11441 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11442 * abbrev.el (abbrev-expand-function): New hook.
11443 (expand-abbrev): Use it.
11444 (abbrev-expand-functions): Mark obsolete.
11445 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11446 and :filter-return.
11448 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11450 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11451 and do not care about match data.
11453 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11455 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11456 completion tables when completing error conditions and
11457 `declare' arguments.
11458 (lisp-complete-symbol, field-complete): Mark as obsolete.
11459 (check-parens): Unmatched parens are user errors.
11460 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11462 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11464 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11465 command changed buffer (ie. `flyspell-pre-buffer' is not current
11466 buffer), which prevents making decisions based on invalid value of
11467 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11468 cause an error when `flyspell-pre-point' was nil after switching
11470 (flyspell-post-command-hook): No longer needs to change buffers when
11471 checking pre-word. While at it remove unnecessary progn.
11473 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11475 * textmodes/ispell.el (ispell-add-per-file-word-list):
11476 Fix `flyspell-correct-word-before-point' error when accepting
11477 words and `coment-padding' is an integer by using
11478 `comment-normalize-vars' (Bug #14214).
11480 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11482 New defun movement commands.
11483 * progmodes/python.el (python-nav--syntactically)
11484 (python-nav--forward-defun, python-nav-backward-defun)
11485 (python-nav-forward-defun): New functions.
11487 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11489 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11490 (python-syntax-context): Use named compiler-macro for backwards
11491 compatibility with Emacs 24.x.
11493 2013-04-17 Leo Liu <sdl.web@gmail.com>
11495 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11496 octave-hide-process-buffer.
11498 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11500 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11503 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11505 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11506 Fix adjustment of offset when receiving incomplete responses from GDB
11509 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11511 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11512 python-mode-abbrev-table.
11513 (python-skeleton-define): Adjust accordingly.
11514 (python-mode-abbrev-table): New table that inherits from it so that
11515 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11517 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11518 (abbrev-symbol): Use it.
11519 (abbrev--before-point): Use it since we already handle inheritance.
11521 2013-04-16 Leo Liu <sdl.web@gmail.com>
11523 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11524 binding to info-lookup-symbol.
11526 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11528 * minibuffer.el (completion--twq-all):
11529 * term/ns-win.el (ns-initialize-window-system):
11530 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11532 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11534 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11537 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11539 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11541 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11542 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11544 (ruby-end-of-defun): Remove the unused arg, change the docstring
11545 to reflect that this function is only used as the value of
11546 `end-of-defun-function'.
11547 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11548 to reflect an earlier change that beginning/end-of-defun functions
11549 jump between methods in a class definition, as well as top-level
11552 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11554 * minibuffer.el (minibuffer-complete): Don't just scroll
11555 a *Completions* that's been iconified.
11556 (minibuffer-force-complete): Make sure repetitions do cycle when going
11557 through completion-in-region -> minibuffer-complete.
11559 2013-04-15 Alan Mackenzie <acm@muc.de>
11561 Correct the placement of c-cpp-delimiters when there're #s not at
11564 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11565 place a submatch around the #.
11566 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11567 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11570 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11572 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11573 (advice--member-p): New arg `name'.
11574 (advice--add-function, advice-member-p): Use it (bug#14202).
11576 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11578 Reformulate java imenu-generic-expression.
11579 The old expression contained ill formed regexps.
11581 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11582 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11583 (cc-imenu-java-method-arg-regexp): New defconsts.
11584 (cc-imenu-java-build-type-args-regex): New defun.
11585 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11586 handling of spaces in the regexp.
11588 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11590 * textmodes/ispell.el (ispell-command-loop): Remove
11591 flyspell highlight of a word when ispell accepts it (bug #14178).
11593 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11595 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11596 uses code from the previous `ange-ftp-run-real-handler'.
11597 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11598 only in case that function exist. This is needed for proper
11599 unloading of Tramp.
11601 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11603 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11605 * textmodes/reftex.el (reftex-compile-variables): Use it.
11607 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11609 * files.el (normal-mode): Only use default major-mode if no other mode
11612 * emacs-lisp/trace.el (trace-values): New function.
11614 * files.el: Allow : in local variables (bug#14089).
11615 (hack-local-variable-regexp): New var.
11616 (hack-local-variables-prop-line, hack-local-variables): Use it.
11618 2013-04-13 Roland Winkler <winkler@gnu.org>
11620 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11621 data before it gets modified by bibtex-beginning-of-entry.
11623 2013-04-13 Roland Winkler <winkler@gnu.org>
11625 * textmodes/bibtex.el (bibtex-url): Doc fix.
11627 2013-04-13 Roland Winkler <winkler@gnu.org>
11629 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11630 does not visit a BibTeX file, exclude it from the list of buffers
11631 returned by bibtex-initialize.
11633 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11635 * window.el (split-window): Remove interactive form, since as a
11636 command this function is a special case of split-window-below.
11637 Correct doc string.
11639 2013-04-12 Roland Winkler <winkler@gnu.org>
11641 * faces.el (read-face-name): Do not override value of arg default.
11642 Allow single faces and strings as default values. Remove those
11643 elements from return value that are not faces.
11644 (describe-face): Simplify.
11645 (face-at-point): New optional args thing and multiple so that this
11646 function can provide the same functionality previously provided by
11648 (make-face-bold, make-face-unbold, make-face-italic)
11649 (make-face-unitalic, make-face-bold-italic, invert-face)
11650 (modify-face, read-face-and-attribute): Use face-at-point.
11652 * cus-edit.el (customize-face, customize-face-other-window)
11653 * cus-theme.el (custom-theme-add-face)
11654 * face-remap.el (buffer-face-set)
11655 * facemenu.el (facemenu-set-face): Use face-at-point.
11657 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11659 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11661 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11663 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11664 off leading { and trailing } from field values.
11666 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11668 * emacs-lisp/timer.el (timer--check): New function.
11669 (timer--time, timer-set-function, timer-event-handler): Use it.
11670 (timer-set-idle-time): Simplify.
11671 (timer--activate): CSE.
11672 (timer-event-handler): Give more info in error message.
11673 (internal-timer-start-idle): New function, moved from C.
11675 * mpc.el (mpc-proc): Add `restart' argument.
11676 (mpc-proc-cmd): Use it.
11677 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11678 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11681 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11683 * progmodes/sh-script.el: Implement `sh-mode' own
11684 `add-log-current-defun-function' (bug#14112).
11685 (sh-current-defun-name): New function.
11686 (sh-mode): Use the function.
11688 2013-04-09 Bastien Guerry <bzg@gnu.org>
11690 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11692 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11694 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11696 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11699 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11701 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11704 2013-04-07 Leo Liu <sdl.web@gmail.com>
11706 * pcmpl-x.el: New file.
11708 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11710 Do not set x-display-name until X connection is established.
11711 This is needed to prevent from weird situation described at
11712 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11713 * frame.el (make-frame): Set x-display-name after call to
11714 window system initialization function, not before.
11715 * term/x-win.el (x-initialize-window-system): Add optional
11716 display argument and use it.
11717 * term/w32-win.el (w32-initialize-window-system):
11718 * term/ns-win.el (ns-initialize-window-system):
11719 * term/pc-win.el (msdos-initialize-window-system):
11720 Add compatible optional display argument.
11722 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11724 * files.el (normal-backup-enable-predicate): On MS-Windows and
11725 MS-DOS compare truenames of temporary-file-directory and of the
11726 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11727 don't fail comparison by compare-strings. Also, compare file
11728 names case-insensitively on MS-Windows and MS-DOS.
11730 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11732 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11733 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11735 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11737 * whitespace.el (whitespace-color-on, whitespace-color-off):
11738 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11740 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11742 * ispell.el (ispell-set-spellchecker-params):
11743 Really set `ispell-args' for all equivs.
11745 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11747 * ido.el (ido-completions): Use extra elements of ido-decorations
11749 (ido-decorations): Update docstring.
11751 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11753 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11754 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11755 nil during initialization, in order not to miss changes since the
11756 file was opened. (Bug#14140)
11758 2013-04-05 Leo Liu <sdl.web@gmail.com>
11760 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11762 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11764 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11766 2013-04-04 Glenn Morris <rgm@gnu.org>
11768 * electric.el (electric-pair-inhibit-predicate): Add :version.
11770 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11772 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11773 when a package is required several times (bug#14082).
11775 2013-04-04 Roland Winkler <winkler@gnu.org>
11777 * faces.el (read-face-name): Behave as promised by the docstring.
11778 Assume that arg default is a list of faces.
11779 (describe-face): Call read-face-name with list of default faces.
11781 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11783 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11784 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11785 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11787 (bookmark-exit-hook-internal): Save even if list is empty.
11789 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11791 * emacs-lisp/package.el (package-pinned-packages): New var.
11792 (package--add-to-archive-contents): Obey it (bug#14118).
11794 2013-04-03 Alan Mackenzie <acm@muc.de>
11796 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11797 Also adapt to the new values of element 7 of a parse state.
11799 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11800 parameter `not-in-delimiter'. Handle being inside comment opener.
11801 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11802 character in case we're typing a '*' after a '/'.
11803 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11804 instead by passing the parameter to c-state-pp-to-literal.
11806 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11807 for elt. 7 of a parse state.
11809 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11811 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11812 * international/latin1-disp.el, international/mule-util.el:
11813 * language/cyril-util.el, language/european.el, language/ind-util.el:
11814 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11815 * language/tibetan.el, language/viet-util.el:
11816 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11818 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11820 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11821 (electric-pair-post-self-insert-function): Use it.
11822 (electric-pair-default-inhibit): New function, extracted from
11823 electric-pair-post-self-insert-function.
11825 2013-03-31 Roland Winkler <winkler@gnu.org>
11827 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11829 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11831 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11833 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11835 Un-indent after "pass" and "return" statements (Bug#13888)
11836 * progmodes/python.el (python-indent-block-enders): New var.
11837 (python-indent-calculate-indentation): Use it.
11839 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11841 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11842 defun. Defining it as defalias could introduce too eager
11843 byte-compiler optimization. (Bug#14030)
11845 2013-03-30 Chong Yidong <cyd@gnu.org>
11847 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11849 2013-03-30 Leo Liu <sdl.web@gmail.com>
11851 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11852 (kmacro-execute-from-register): Pass the keyboard macro to
11853 kmacro-call-macro or repeating won't work correctly.
11855 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11857 * progmodes/subword.el: Back to using `forward-symbol'.
11859 * subr.el (forward-whitespace, forward-symbol)
11860 (forward-same-syntax): Move from thingatpt.el.
11862 2013-03-29 Leo Liu <sdl.web@gmail.com>
11864 * kmacro.el (kmacro-to-register): New command.
11865 (kmacro-execute-from-register): New function.
11866 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11868 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11870 * mpc.el: Use defvar-local and setq-local.
11871 (mpc--proc-connect): Connection failures are not bugs.
11872 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11873 (mpc-volume-map): Bind to the up-events.
11875 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11877 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11878 instead of `forward-symbol'.
11880 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11882 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11883 (edebug--recursive-edit): Use it.
11884 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11885 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11887 2013-03-28 Leo Liu <sdl.web@gmail.com>
11889 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11891 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11893 * facemenu.el (list-colors-callback): New defvar.
11894 (list-colors-redisplay): New function.
11895 (list-colors-display): Install list-colors-redisplay as the
11896 revert-buffer-function. (Bug#14063)
11898 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11900 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11901 and suffixes don't overlap (bug#14061).
11903 * case-table.el: Use lexical-binding.
11904 (case-table-get-table): New function.
11905 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11907 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11909 * progmodes/subword.el: Add `superword-mode' to do word motion
11910 over symbol_words (parallels and leverages `subword-mode' which
11911 does word motion inside MixedCaseWords).
11913 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11915 * eshell/em-unix.el: Move su and sudo to...
11916 * eshell/em-tramp.el: ...Eshell tramp module.
11918 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11920 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11921 Change return value to be a sexp. Delay `get-buffer' to after
11922 restoring the desktop (bug#13951).
11924 2013-03-26 Leo Liu <sdl.web@gmail.com>
11926 * register.el: Move semantic tag handling back to
11927 cedet/semantic/senator.el. (Bug#14052)
11929 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11931 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11932 into the prompt either (bug#13963).
11934 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11936 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11937 part of "(error-foo)".
11939 2013-03-24 Juri Linkov <juri@jurta.org>
11941 * replace.el (list-matching-lines-prefix-face): New defcustom.
11942 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11943 `occur-engine' if `face-differs-from-default-p' returns t.
11944 (occur-engine): Add `,' inside backquote construct to evaluate
11945 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11946 Pass `prefix-face' to the functions `occur-context-lines' and
11947 `occur-engine-add-prefix'.
11948 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11949 `prefix-face' and propertize the prefix with `prefix-face'.
11952 2013-03-24 Leo Liu <sdl.web@gmail.com>
11954 * nxml/rng-valid.el (rng-validate-while-idle)
11955 (rng-validate-quick-while-idle): Guard against deleted buffer.
11958 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11959 is the last entry in kill-buffer-hook.
11961 * files.el (kill-buffer-hook): Doc fix.
11963 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11965 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11966 Make it safe-local.
11968 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11970 2013-03-23 Leo Liu <sdl.web@gmail.com>
11972 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11975 * nxml/rng-valid.el (rng-validate-mode)
11976 (rng-after-change-function, rng-do-some-validation):
11977 * nxml/rng-maint.el (rng-validate-buffer):
11978 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11979 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11980 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11981 (nxml-extend-after-change-region): Use with-silent-modifications.
11983 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11986 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11987 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11988 timer-idle-list. (Bug#13999)
11990 2013-03-23 Juri Linkov <juri@jurta.org>
11992 * info.el (info-index-match): New face.
11993 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11994 main pattern and add text properties with the new face to matches
11995 in index entries relative to the beginning of the index entry.
11998 2013-03-21 Eric Ludlam <zappo@gnu.org>
12000 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
12001 Inhibit read only while inserting objects.
12003 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12005 * progmodes/cfengine.el: Update docs to mention
12006 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12007 symbol motion. Remove "_" from the word syntax.
12009 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12011 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12012 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12014 2013-03-20 Juri Linkov <juri@jurta.org>
12016 * info.el (Info-next-reference-or-link)
12017 (Info-prev-reference-or-link): New functions.
12018 (Info-next-reference, Info-prev-reference): Use them.
12019 (Info-try-follow-nearest-node): Handle footnote navigation.
12020 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12022 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12024 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12025 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12027 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12029 Suppress unnecessary non-ASCII chatter during build process.
12030 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12031 (batch-skkdic-convert): Suppress most of the chatter.
12032 It's not needed so much now that machines are faster,
12033 and its non-ASCII component was confusing; see Dmitry Gutov in
12034 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12036 2013-03-20 Leo Liu <sdl.web@gmail.com>
12038 * ido.el (ido-chop): Fix bug#10994.
12040 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12042 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12044 (whitespace-color-on, whitespace-color-off):
12045 Use `font-lock-fontify-buffer' (Bug#13817).
12047 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12049 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12050 remapping in mode-line.
12051 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12053 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12055 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12056 value for `whitespace-line' face (Bug#13875).
12057 (whitespace-font-lock-keywords): Change description.
12058 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12059 the constructed keywords instead.
12060 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12062 2013-03-19 Leo Liu <sdl.web@gmail.com>
12064 * progmodes/compile.el (compilation-display-error): New command.
12065 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12068 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12070 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12072 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12074 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12076 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12078 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12080 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12081 * net/tramp-gvfs.el (top):
12082 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12083 (tramp-handle-shell-command): Use it.
12084 (tramp-dissect-file-name): Raise an error when hostname is a
12085 method name, and neither method nor user is specified.
12087 * net/trampver.el: Update release number.
12089 2013-03-18 Leo Liu <sdl.web@gmail.com>
12091 Make sure eldoc can be turned off properly.
12092 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12094 (eldoc-display-message-p): Revert last change.
12095 (eldoc-display-message-no-interference-p)
12096 (eldoc-print-current-symbol-info): Tweak.
12098 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12100 * doc-view.el (doc-view-new-window-function): Check the new window
12101 overlay's display property instead the char property of the
12102 buffer's first char. Use `with-selected-window' instead of
12103 `save-window-excursion' with `select-window'.
12104 (doc-view-document->bitmap): Check the current doc-view overlay's
12105 display property instead the char property of the buffer's first char.
12107 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12109 Automate the build of ja-dic.el (Bug#13984).
12110 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12111 from the input, rather than assume that it's been done for us by the
12112 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12113 the current date into a ja-dic.el comment, as that complicates
12114 regression testing.
12116 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12118 * whitespace.el: Fix double evaluation.
12119 (whitespace-space, whitespace-hspace, whitespace-tab)
12120 (whitespace-newline, whitespace-trailing, whitespace-line)
12121 (whitespace-space-before-tab, whitespace-indentation)
12122 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12124 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12125 (whitespace-color-on): Use a single font-lock-add-keywords call.
12126 Fix double-evaluation of face variables.
12128 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12130 * net/tramp-adb.el (tramp-adb-parse-device-names):
12131 Use `start-process' instead of `call-process'. Otherwise, the
12132 function might be blocked under MS Windows. (Bug#13299)
12134 2013-03-17 Leo Liu <sdl.web@gmail.com>
12136 Extend eldoc to display info in the mode-line. (Bug#13978)
12137 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12138 (eldoc-mode-line-string): New variable.
12139 (eldoc-minibuffer-message): New function.
12140 (eldoc-message-function): New variable.
12141 (eldoc-message): Use it.
12142 (eldoc-display-message-p)
12143 (eldoc-display-message-no-interference-p):
12144 Support eldoc-post-insert-mode.
12146 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12147 (eval-expression): Run it.
12149 2013-03-17 Roland Winkler <winkler@gnu.org>
12151 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12152 strings in the list of return values.
12154 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12156 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12157 radix before checking for HMS forms.
12159 2013-03-16 Leo Liu <sdl.web@gmail.com>
12161 * progmodes/scheme.el: Add indentation and font-locking for λ.
12164 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12166 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12167 token before point (bug#13942).
12169 2013-03-16 Leo Liu <sdl.web@gmail.com>
12171 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12173 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12175 * startup.el (command-line-normalize-file-name): Fix handling of
12176 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12177 <xfq.free@gmail.com> in
12178 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12180 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12182 Sync with Tramp 2.2.7.
12184 * net/trampver.el: Update release number.
12186 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12188 * doc-view.el: Fix bug#13887.
12189 (doc-view-insert-image): Don't modify overlay associated to
12190 non-live windows, and implement horizontal centering of image in
12191 case it's smaller than the window.
12192 (doc-view-new-window-function): Force redisplay of new windows on
12195 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12197 * saveplace.el (save-place-alist-to-file): Don't sort
12198 `save-place-alist', just pretty-print it (bug#13882).
12200 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12202 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12203 Check whether `default-file-name-coding-system' is bound.
12204 It isn't in XEmacs.
12206 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12208 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12209 backquotes for `obsolete' (bug#13929).
12211 * international/mule.el (find-auto-coding): Include file name in
12212 obsolescence warning (bug#13922).
12214 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12216 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12217 for CFEngine 3-specific indentation.
12218 (cfengine3-indent-line): Use it. Fix up category regex.
12219 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12221 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12223 * type-break.el (type-break-file-name):
12224 * textmodes/remember.el (remember-data-file):
12225 * strokes.el (strokes-file):
12226 * shadowfile.el (shadow-initialize):
12227 * saveplace.el (save-place-file):
12228 * ps-bdf.el (bdf-cache-file):
12229 * progmodes/idlwave.el (idlwave-config-directory):
12230 * net/quickurl.el (quickurl-url-file):
12231 * international/kkc.el (kkc-init-file-name):
12232 * ido.el (ido-save-directory-list-file):
12233 * emulation/viper.el (viper-custom-file-name):
12234 * emulation/vip.el (vip-startup-file):
12235 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12236 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12238 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12240 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12241 * language/thai-word.el: Switch to UTF-8.
12243 See ChangeLog.16 for earlier changes.
12245 ;; Local Variables:
12249 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12251 This file is part of GNU Emacs.
12253 GNU Emacs is free software: you can redistribute it and/or modify
12254 it under the terms of the GNU General Public License as published by
12255 the Free Software Foundation, either version 3 of the License, or
12256 (at your option) any later version.
12258 GNU Emacs is distributed in the hope that it will be useful,
12259 but WITHOUT ANY WARRANTY; without even the implied warranty of
12260 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12261 GNU General Public License for more details.
12263 You should have received a copy of the GNU General Public License
12264 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.