1 2014-01-08 David Engster <deng@randomsample.de>
3 * help-fns.el (help-fns-describe-function-functions): New
4 variable to call functions for augmenting help buffers.
5 (describe-function-1): Remove explicit calls to
6 `help-fns--compiler-macro', `help-fns--parent-mode' and
7 `help-fns--obsolete'. Put them in above new variable instead, and
8 call them through `run-hook-with-args'.
9 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
10 `eieio-describe-class'. Not meant for interactive use anymore,
11 but to augment existing help buffers. Remove optional second
12 argument. Create proper button for file location. Rewrite
13 function to use `insert' instead of `princ' and `prin1' where
15 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
16 (eieio-method-def, eieio-class-def): Move further up.
17 (describe-method, describe-generic, eieio-describe-method): Remove
19 (eieio-help-constructor, eieio-help-generic): Rename from
20 `eieio-describe-constructor' and `eieio-describe-generic', resp.
21 Rewrite to use `insert' in the current buffer and use proper help
23 (eieio-help-find-method-definition)
24 (eieio-help-find-class-definition): Also accept symbols as
26 (eieio-help-mode-augmentation-maybee): Remove.
27 (eieio-describe-class-sb): Use `describe-function'.
28 * emacs-lisp/eieio.el (help-fns-describe-function-functions): Add
29 `eieio-help-generic' and `eieio-help-constructor'.
31 2014-01-07 Martin Rudalics <rudalics@gmx.at>
33 * window.el (balance-windows-2): While rounding don't give a
34 window more than the remainder. Bug#16351, Bug#16383.
36 2014-01-07 Glenn Morris <rgm@gnu.org>
38 * menu-bar.el (menu-bar-help-extra-packages): Remove.
39 (menu-bar-help-menu): Use view-external-packages instead.
41 2014-01-07 Bastien Guerry <bzg@gnu.org>
43 * emacs-lisp/package.el (package-delete): Also delete the package
44 name from `package-alist', not its description only.
46 2014-01-07 Glenn Morris <rgm@gnu.org>
48 * help.el (view-external-packages):
49 * menu-bar.el (menu-bar-help-extra-packages):
50 Visit efaq.info rather than etc/MORE.STUFF.
52 2014-01-07 Juri Linkov <juri@jurta.org>
54 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
55 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
57 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
58 that shadows RET. (Bug#16342)
60 2014-01-07 Chong Yidong <cyd@gnu.org>
62 * isearch.el (isearch-yank-char, isearch-yank-word)
63 (isearch-yank-line): Doc fix.
65 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
67 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
68 * emacs-lisp/elint.el (elint-find-builtins):
69 * emacs-lisp/eldoc.el (eldoc-symbol-function):
70 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
71 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
72 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
73 * apropos.el (apropos-safe-documentation):
74 * subr.el (symbol-file): Remove redundant fboundp.
75 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
77 2014-01-06 Bastien Guerry <bzg@gnu.org>
79 * hl-line.el (global-hl-line-overlay): Make a local variable.
80 (global-hl-line-overlays): New variable to store all overlays.
81 (global-hl-line-mode): Don't delete overlays from the current
82 buffer when `global-hl-line-sticky-flag' is non-nil.
83 (global-hl-line-highlight): Add new overlays to
84 `global-hl-line-overlays'.
85 (global-hl-line-unhighlight-all): New function to delete all
86 overlays when turning off `global-hl-line-mode'.
89 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
91 * subr.el (set-transient-map): Fix nested case and docstring.
93 2014-01-06 Tassilo Horn <tsdh@gnu.org>
95 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
98 2014-01-06 Daniel Colascione <dancol@dancol.org>
100 Fix defun navigation in vc log view.
102 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
103 like `beginning-of-defun'.
104 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
105 log-view-end-of-defun to log-view-end-of-defun-1. Replace
106 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
107 (log-view-extract-comment): Call `log-view-current-entry' directly
108 instead of relying on broken `log-view-beginning-of-defun' behavior.
110 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
113 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
114 * emacs-lisp/debug.el (cancel-debug-on-entry):
115 * epg.el (epg-error-to-string):
116 * files.el (recover-file):
117 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
118 * mail/emacsbug.el (report-emacs-bug-hook):
119 * mail/sendmail.el (mail-recover):
120 * ses.el (ses-yank-resize):
121 * term/ns-win.el (ns-print-buffer):
122 Spelling fixes in diagnostics, mostly for "canceled" with one L.
123 * epg.el (epg-key-capability-alist): Rename from misspelled version.
125 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
127 2014-01-06 Leo Liu <sdl.web@gmail.com>
129 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
130 to avoid shadowning global key. (Bug#16354)
132 2014-01-06 Daniel Colascione <dancol@dancol.org>
134 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
137 2014-01-05 Martin Rudalics <rudalics@gmx.at>
139 * window.el (balance-windows): Add mising t to fix Bug#16351.
141 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
143 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
145 (shr-insert): If we have a word that's longer than `shr-width',
146 break after it anyway. Otherwise we'll do no breaking once we get
149 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
151 * net/eww.el (eww): Support single/double quote for search.
152 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
153 (eww-history-quit): Delete and use quit-window.
154 (eww-history-kill): Delete, because it doesn't work well and
156 (eww-history-mode-map): Delete some keys and add easy-menu.
158 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
160 Fix misspelling of 'chinese' in rx (Bug#16237).
161 * emacs-lisp/rx.el (rx-categories): Correct spelling of
164 Change subword regexps back to vars (Bug#16296).
165 * progmodes/subword.el (subword-forward-regexp)
166 (subword-backward-regexp): Change these back to variables.
168 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
170 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
171 syntax-begin-function (bug#16247).
173 2014-01-03 Chong Yidong <cyd@gnu.org>
175 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
176 (advice--docstring): Delete variable.
177 (advice--make-1): Leave the docstring empty.
178 (advice-add): Use function-documentation for advised docstring.
180 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
181 Ignore function-documentation property when getting documentation.
182 (ad-activate-advised-definition): Use function-documentation
183 generate the docstring.
184 (ad-make-advised-definition): Don't call
185 ad-make-advised-definition-docstring.
186 (ad-make-advised-definition-docstring, ad-advised-definition-p):
189 * progmodes/sql.el (sql-help): Use function-documentation instead
190 of dynamic-docstring-function property. No need to autoload now.
191 (sql--help-docstring): New variable.
192 (sql--make-help-docstring): Use it.
194 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
196 * ielm.el (ielm-tab): Retarget.
197 (ielm-map): Use ielm-tab for tab.
198 (ielm-complete-filename): Use comint-filename-completion.
199 (ielm-complete-symbol): Remove.
200 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
201 remove ielm-tab from completion-at-point-functions (bug#16224).
203 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
204 Beware signals raised by predicates (bug#16201).
206 2014-01-02 Richard Stallman <rms@gnu.org>
208 * dired-aux.el (dired-do-print): Handle printer-name.
210 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
211 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
212 (rmail-epa-decrypt): Turn off mime processing.
214 * mail/rmail.el (rmail-make-in-reply-to-field):
215 Add parens in message-id.
217 * mail/rmail.el (rmail-get-coding-function): Variable.
218 (rmail-get-coding-system): Use it.
220 2013-12-31 Eli Zaretskii <eliz@gnu.org>
222 * international/mule-conf.el: Unify the charset indian-is13194.
223 (indian-is13194): Specify unify-map.
225 2013-12-31 Leo Liu <sdl.web@gmail.com>
227 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
229 2013-12-30 Daniel Colascione <dancol@dancol.org>
231 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
232 of printing a useless when we resume from sleep.
234 * progmodes/sh-script.el
235 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
236 in indentation code. (Bug#16233)
238 2013-12-28 João Távora <joaotavora@gmail.com>
240 * elec-pair.el (electric-pair-post-self-insert-function):
241 Don't open extra newlines at beginning of buffer. (Bug#16272)
243 2013-12-28 Eli Zaretskii <eliz@gnu.org>
245 * frame.el (window-system-for-display): Don't allow to create a
246 GUI frame from a -nw session on MS-Windows. (Bug#14739)
248 2013-12-28 Glenn Morris <rgm@gnu.org>
250 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
253 * apropos.el (apropos-match-face):
254 * calculator.el (calculator-displayer):
255 * dabbrev.el (dabbrev-search-these-buffers-only):
256 * face-remap.el (buffer-face-mode-face):
257 * simple.el (yank-handled-properties):
258 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
259 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
260 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
261 (hashcash-double-spend-database):
262 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
263 (ruby-deep-indent-paren-style):
264 * textmodes/flyspell.el (flyspell-auto-correct-binding):
265 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
266 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
267 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
268 Specify custom types.
270 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
271 * bookmark.el (bookmark-bmenu-use-header-line):
272 * doc-view.el (doc-view-scale-internally):
273 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
274 * register.el (register-preview-delay):
275 * net/shr.el (shr-bullet):
276 * progmodes/cfengine.el (cfengine-cf-promises)
277 (cfengine-parameters-indent):
278 * progmodes/octave.el (inferior-octave-error-regexp-alist):
279 * textmodes/reftex-vars.el (reftex-label-regexps):
280 * vc/log-edit.el (log-edit-setup-add-author): Add version.
282 * net/tls.el (tls-certtool-program): Fix default value.
284 * desktop.el (desktop-restore-in-current-display):
285 * newcomment.el (comment-empty-lines):
286 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
287 (idlwave-pad-keyword):
288 * progmodes/tcl.el (tcl-tab-always-indent):
289 * textmodes/reftex-vars.el (reftex-index-default-tag):
290 * elec-pair.el (electric-pair-skip-whitespace):
291 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
293 * emacs-lisp/authors.el (authors-ignored-files)
294 (authors-valid-file-names, authors-renamed-files-alist): Additions.
296 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
298 * shell.el (shell-dynamic-complete-command): Doc fix.
299 (shell--command-completion-data): Shell completion now matches
300 executable filenames from the current buffer's directory, on
301 systems in which this behavior is the default (windows-nt, ms-dos).
303 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
305 * net/shr.el (shr-insert): Don't infloop if the width is zero.
307 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
309 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
312 * electric.el: Move all electric-pair-* to elec-pair.el.
313 * elec-pair.el: New file, split from electric.el.
315 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
317 * net/shr.el (shr-find-fill-point): Don't try to fill if the
318 indentation level is larger than the width, because that will
320 (shr-insert): Fill repeatedly long texts, so that Japanese is
321 formatted correctly (bug#16263).
322 (shr-find-fill-point): Off by one error in comparison with the
325 2013-12-26 João Távora <joaotavora@gmail.com>
327 * electric.el (electric-pair-mode): More flexible engine for skip-
328 and inhibit predicates, new options for pairing-related functionality.
329 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
330 if that keeps or improves their balance in buffers.
331 (electric-pair-delete-adjacent-pairs): Delete the pair when
332 backspacing over adjacent matched delimiters.
333 (electric-pair-open-extra-newline): Open extra newline when
334 inserting newlines between adjacent matched delimiters.
335 (electric--sort-post-self-insertion-hook):
336 Sort post-self-insert-hook according to priority values when
337 minor-modes are activated.
338 * simple.el (newline-and-indent): Call newline with interactive
340 (blink-paren-post-self-insert-function): Set priority to 100.
341 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
342 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
343 comments. Locally set electric-pair-skip-whitespace to 'chomp and
344 electric-pair-open-newline-between-pairs to nil.
346 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
348 * progmodes/python.el: Use lexical-binding.
349 (python-nav-beginning-of-defun): Stop searching ASAP.
351 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
353 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
354 Fix interactive spec. Doc fix. (Bug#15754)
356 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
358 * emacs-lisp/byte-run.el (eval-when-compile):
359 * progmodes/cc-defs.el (cc-eval-when-compile):
360 Fix edebug spec (bug#16184).
362 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
364 * net/shr.el (shr-visit-file): Remove debugging function.
365 (shr-insert): Don't infloop if we can't find a good place to break
366 the line (bug#16256).
368 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
370 * progmodes/python.el:
371 (python-nav--lisp-forward-sexp): New function.
372 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
373 python-nav-lisp-forward-sexp-safe.
374 (python-nav--forward-sexp): New argument SAFE allows switching
375 forward sexp movement behavior for parens.
376 (python-nav-forward-sexp): Throw errors on unterminated parens
378 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
379 (python-nav-backward-sexp-safe): New functions.
380 (python-shell-buffer-substring):
381 Use `python-nav-forward-sexp-safe'.
383 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
385 * net/shr.el (shr-find-fill-point): Don't break lines before a
387 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
388 (shr-find-fill-point): Remove the special checks for the quotation
389 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
391 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
393 * net/eww.el (eww-form-textarea): Use a different face for
394 textareas than text input since they have different keymaps
397 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
399 * progmodes/python.el (python-nav-beginning-of-statement):
400 Speed up (Bug#15295).
402 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
404 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
405 the window configuration.
407 2013-12-24 Eli Zaretskii <eliz@gnu.org>
409 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
410 we run on MS-Windows or MS-DOS.
412 2013-12-24 Martin Rudalics <rudalics@gmx.at>
414 * window.el (balance-windows-area): Call window-size instead of
415 window-height and window-width. Bug#16241.
417 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
419 * net/eww.el (eww-bookmark-quit): Remove.
420 (eww-bookmark-browse): Restore the window configuration when you
421 choose a bookmark (bug#16144).
423 2013-12-24 Daniel Colascione <dancol@dancol.org>
425 * icomplete.el: Remove redundant :group arguments to `defcustom'
427 (icomplete-show-matches-on-no-input): New customizable variable.
428 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
429 we have something to show.
430 (icomplete-exhibit): Compute completions even if we have no user input.
432 2013-12-23 Daniel Colascione <dancol@dancol.org>
434 * icomplete.el: Move `provide' to end of file.
436 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
438 * net/gnutls.el (gnutls-verify-error): Add version tag.
440 2013-12-23 Chong Yidong <cyd@gnu.org>
442 * subr.el (set-transient-map): Rename from
443 set-temporary-overlay-map. Doc fix.
445 * face-remap.el (text-scale-adjust):
446 * indent.el (indent-rigidly):
447 * kmacro.el (kmacro-call-macro):
448 * minibuffer.el (minibuffer-force-complete):
449 * repeat.el (repeat):
450 * simple.el (universal-argument--mode):
451 * calendar/todo-mode.el (todo-insert-item--next-param):
452 * progmodes/f90.el (f90-abbrev-start): Callers changed.
454 * indent.el (indent-rigidly): Use substitute-command-keys.
456 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
458 * net/eww.el (eww-tag-select): Add text-property to jump to next
460 (eww): Add non-supported ftp error.
462 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
464 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
465 comments. Handle electric indent after typing `?' and `!'.
467 2013-12-22 Chong Yidong <cyd@gnu.org>
469 * faces.el (face-spec-recalc): If the theme specs are not
470 applicable to a frame, fall back on the defface spec.
471 This prevents themes from obliterating faces on low-color terminals.
473 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
475 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
476 after `{'. We need it after block openers, and it doesn't seem
477 to hurt after hash openers.
479 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
481 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
482 extracted from `ruby-smie-rules'.
483 (ruby--electric-indent-chars): New variable.
484 (ruby--electric-indent-p): New function.
485 (ruby-mode): Use `electric-indent-functions' instead of
486 `electric-indent-chars'.
488 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
490 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
492 (ruby-smie-rules): Indent plus one level after `=>'.
494 2013-12-21 Richard Stallman <rms@gnu.org>
496 * simple.el (newline): Doc fix.
498 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
500 * net/eww.el (eww-list-histories, eww-list-histories)
501 (eww-history-browse, eww-history-quit, eww-history-kill)
502 (eww-history-mode-map, eww-history-mode): New command and
503 functions to list browser histories.
504 (eww-form-text): Support text form with disabled
505 and readonly attributes.
506 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
508 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
510 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
511 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
512 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
513 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
515 (eww-bookmark-mode-map): Add menu.
516 (eww-render, eww-mode): Use `setq-local'.
517 (eww-tool-bar-map): New variable.
518 (eww-mode): Set `tool-bar-map'.
519 (eww-view-source): Check for `html-mode' with `fboundp'.
521 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
523 * net/shr.el (shr--extract-best-source): Don't bug out on audio
524 elements with text inside. Also remove debugging.
526 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
528 * cus-start.el (all): Add ns-use-srgb-colorspace.
530 2013-12-21 Chong Yidong <cyd@gnu.org>
532 * custom.el (custom-theme-recalc-face): Do nothing if the face is
533 undefined. Thus, theme settings for undefined faces do not take
534 effect until the faces are defined with defface, the same as with
537 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
538 (face-spec-reset-face): Don't assign extra properties in temacs.
539 (face-spec-recalc): Apply X resources too.
541 2013-12-21 Chong Yidong <cyd@gnu.org>
543 * faces.el (face-spec-set):
544 * cus-face.el (custom-theme-set-faces, custom-set-faces):
545 * custom.el (defface): Doc fixes (Bug#16203).
547 * indent.el (indent-rigidly-map): Add docstring, and move commands
548 into named functions.
549 (indent-rigidly-left, indent-rigidly-right)
550 (indent-rigidly-left-to-tab-stop)
551 (indent-rigidly-right-to-tab-stop): New functions. Decide on
552 indentation direction based on bidi direction, and accumulate
553 sequential commands in a single undo boundary.
554 (indent-rigidly--pop-undo): New utility function.
556 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
558 * faces.el (read-face-name): Require crm.el when using crm-separator.
560 2013-12-20 Daniel Colascione <dancol@dancol.org>
562 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
563 so that we don't reflow comments into the shebang line.
565 2013-12-20 Juri Linkov <juri@jurta.org>
567 * saveplace.el (save-place-to-alist): Add `dired-filename' as
568 a position when `dired-directory' is non-nil. Check integer
569 positions with `integerp'.
570 (toggle-save-place, save-places-to-alist): Add check for
572 (save-place-find-file-hook): Check integer positions with
574 (save-place-dired-hook): Use `dired-goto-file' when
575 `dired-filename' is found in the assoc list. Check integer
576 positions with `integerp'.
577 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
579 * dired.el (dired-initial-position-hook): Rename back from
580 `dired-initial-point-hook'.
581 (dired-initial-position): Rename `dired-initial-point-hook' to
582 `dired-initial-position-hook'.
583 (dired-file-name-at-point): Doc fix. (Bug#15329)
585 2013-12-20 Juri Linkov <juri@jurta.org>
587 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
588 (read-regexp-suggestions): New function.
589 (read-regexp): Use `read-regexp-defaults-function' to get default values.
590 Use `read-regexp-suggestions'. Add non-empty default to history
592 (occur-read-regexp-defaults-function): Remove function.
593 (occur-read-primary-args): Use `regexp-history-last' instead of
594 `occur-read-regexp-defaults-function'.
596 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
597 (hi-lock-line-face-buffer, hi-lock-face-buffer)
598 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
599 `hi-lock-read-regexp-defaults-function'. Doc fix.
600 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
601 with `find-tag-default-as-symbol-regexp'. Doc fix.
602 (hi-lock-read-regexp-defaults): Remove function.
603 (hi-lock-regexp-okay): Add check for null.
605 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
606 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
608 * subr.el (find-tag-default-as-symbol-regexp): New function.
609 (find-tag-default-as-regexp): Move symbol regexp formatting to
610 `find-tag-default-as-symbol-regexp'.
612 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
614 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
617 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
619 * calendar/todo-mode.el: New implementation of item insertion
620 commands and key bindings.
621 (todo-key-prompt): New face.
622 (todo-insert-item): New command.
623 (todo-insert-item--parameters): New defconst, replacing defvar
624 todo-insertion-commands-args-genlist.
625 (todo-insert-item--param-key-alist): New defconst, replacing
626 defvar todo-insertion-commands-arg-key-list.
627 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
628 (todo-insert-item--argsleft, todo-insert-item--apply-args)
629 (todo-insert-item--next-param): New functions.
630 (todo-insert-item--args, todo-insert-item--argleft)
631 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
633 (todo-key-bindings-t): Change binding of "i" from
634 todo-insertion-map to todo-insert-item.
635 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
636 (todo-insertion-command-name, todo-insertion-commands-names)
637 (todo-define-insertion-command, todo-insertion-commands)
638 (todo-insertion-key-bindings, todo-insertion-map): Remove.
640 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
642 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
643 (todo-toggle-item-highlighting): Use eval-and-compile instead of
645 (todo-move-category): Allow choosing a non-existing todo file to
646 move the category to, and create that file.
647 (todo-default-priority): New user option.
648 (todo-set-item-priority): Use it.
649 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
650 (desktop-restore-file-buffer): Declare.
651 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
652 (todo-modes-set-2): Locally set desktop-save-buffer to
653 todo-desktop-save-buffer.
654 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
655 (auto-mode-alist): Add autoload cookie.
657 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
659 * emacs-lisp/subr-x.el: Renamed from helpers.el.
660 helpers.el was a poor choice of name.
661 (string-remove-prefix): New function.
662 (string-remove-suffix): New function.
664 2013-12-20 Martin Rudalics <rudalics@gmx.at>
666 Fix assignment for new window total sizes.
667 * window.el (window--pixel-to-size): Remove function.
668 (window--pixel-to-total-1, window--pixel-to-total):
669 Fix calculation of new total sizes.
671 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
673 * comint.el (comint-output-filter): Fix rear-nonsticky property
674 placement (Bug#16010).
676 2013-12-20 Chong Yidong <cyd@gnu.org>
678 * faces.el (read-color): Minor fix for completion function.
680 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
682 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
683 New option. (Bug#16182)
684 (ruby-smie--indent-to-stmt-p): Use it.
685 (ruby-smie-rules): Revert the logic in the handling of `when'.
686 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
687 (ruby-deep-arglist, ruby-deep-indent-paren)
688 (ruby-deep-indent-paren-style): Update docstrings to note that the
689 vars don't have any effect with SMIE.
691 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
693 * calc/calc.el (calc-enter, calc-pop): Use the variable
694 `calc-context-sensitive-enter'.
696 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
698 * net/shr.el (shr-insert): Protect against infloops in degenerate
701 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
703 * progmodes/octave.el (octave): Add link to manual and octave
705 (octave-mode-menu): Link to octave-mode manual.
707 2013-12-20 Leo Liu <sdl.web@gmail.com>
709 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
710 insertion using skeleton-end-newline. (Bug#16138)
712 2013-12-20 Juri Linkov <juri@jurta.org>
714 * replace.el (occur-engine): Use `add-face-text-property'
715 to add the face property to matches and titles. (Bug#14645)
717 * hi-lock.el (hi-green): Use lighter color "light green" closer to
718 the palette of other hi-lock colors.
719 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
721 2013-12-19 Juri Linkov <juri@jurta.org>
723 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
724 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
725 (minibuffer-history-symbol): Move variable declaration closer to
728 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
731 2013-12-19 Juri Linkov <juri@jurta.org>
733 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
735 (log-edit-hook): Add it to :options. (Bug#16170)
737 2013-12-19 Juri Linkov <juri@jurta.org>
739 * simple.el (eval-expression-print-format): Don't check for
740 command names and the last command. Always display additional
741 formats of the integer result in the echo area, and insert them
742 to the current buffer only with a zero prefix arg.
743 Display character when char-displayable-p is non-nil.
744 (eval-expression): With a zero prefix arg, set `print-length' and
745 `print-level' to nil, and insert the integer values from
746 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
748 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
749 `eval-last-sexp-arg-internal'. Doc fix.
750 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
751 `eval-last-sexp-print-value'. Doc fix.
752 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
753 Set `print-length' and `print-level' to nil when arg is zero.
754 (eval-last-sexp): Doc fix.
755 (eval-defun-2): Print the integer values from
756 `eval-expression-print-format' at the end.
758 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
759 values from `eval-expression-print-format' at the end.
761 * ielm.el (ielm-eval-input): Print the integer
762 values from `eval-expression-print-format' at the end.
764 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
766 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
767 2013-12-11T19:01:44Z!tzz@lifelogs.com.
769 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
771 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
772 (hl-line-highlight, global-hl-line-highlight): Use it.
773 (hl-line-overlay): Use defvar-local.
775 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
777 * term/ns-win.el: Require dnd.
778 (global-map): Remove drag items.
779 (ns-insert-text, ns-set-foreground-at-mouse)
780 (ns-set-background-at-mouse):
781 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
782 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
785 2013-12-19 Glenn Morris <rgm@gnu.org>
787 * emacs-lisp/ert.el (ert-select-tests):
788 Fix string/symbol mixup. (Bug#16121)
790 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
792 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
793 keywords to their parent.
795 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
797 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
798 first arg to be a string (fixed dead code), or an operator symbol.
799 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
801 (ruby-smie-rules): Remove parent token check in the `.' clause, it
802 did nothing. Don't respond to `(:after ".")', it will be called
803 with :before anyway. Remove the ` @ ' rule, it didn't seem to
804 change anything. Only return indentation for binary operators
805 when they are hanging. De-dent opening paren when its parent is
806 `.', otherwise it looks bad when the dot is not at bol or eol
809 2013-12-19 Juri Linkov <juri@jurta.org>
811 * replace.el (query-replace-read-args): Split a non-negative arg
812 and a negative arg into separate elements.
813 (query-replace, query-replace-regexp, replace-string)
814 (replace-regexp): Add arg `backward'. Doc fix.
815 (replace-match-maybe-edit): When new arg `backward' is non-nil,
816 move point to the beginning of the match.
817 (replace-search, replace-highlight): Use new arg `backward'
818 to set the value of `isearch-forward'.
819 (perform-replace): Add arg `backward' and use it to perform
820 replacement backward. (Bug#14979)
822 * isearch.el (isearch-query-replace): Use a negative prefix arg
823 to call `perform-replace' with a non-nil arg `backward'.
825 2013-12-18 Juri Linkov <juri@jurta.org>
827 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
828 to the default list. Move `log-edit-show-files' to the end.
829 Add more available functions to options.
830 (log-edit): Move default specific settings to
831 `log-edit-insert-message-template'. Don't move point.
832 (log-edit-insert-message-template): New function.
833 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
836 2013-12-18 Juri Linkov <juri@jurta.org>
838 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
839 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
841 2013-12-18 Leo Liu <sdl.web@gmail.com>
843 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
846 2013-12-18 Eli Zaretskii <eliz@gnu.org>
848 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
849 formats for displaying file sizes when the -s switch is given.
850 Instead, compute a separate format for displaying the size in
851 blocks, which is displayed in addition to the "regular" size.
852 When -h is given in addition to -s, produce size in blocks in
853 human-readable form as well. (Bug#16179)
855 2013-12-18 Tassilo Horn <tsdh@gnu.org>
857 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
858 Reference tables with ~\ref{...} instead of only \ref{...}.
860 2013-12-18 Chong Yidong <cyd@gnu.org>
862 * cus-edit.el (custom-magic-alist): Fix "themed" description
865 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
866 is non-nil, do not create a new entry in the symbol's theme-value
867 or theme-face property; update theme-settings only (Bug#14664).
868 (custom-available-themes): Doc fix.
870 * cus-theme.el (custom-new-theme-mode-map): Add bindings
873 * replace.el (occur-engine): Avoid infloop (Bug#7593).
875 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
877 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
880 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
882 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
884 2013-12-18 Glenn Morris <rgm@gnu.org>
886 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
887 * cus-start.el (load-prefer-newer): New option.
889 2013-12-18 Le Wang <l26wang@gmail.com>
891 * comint.el (comint-previous-matching-input-from-input):
892 Retain point (Bug#13404).
894 2013-12-18 Chong Yidong <cyd@gnu.org>
896 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
898 2013-12-18 Glenn Morris <rgm@gnu.org>
900 * mail/emacsbug.el (report-emacs-bug):
901 Only mention enable-multibyte-characters if non-standard.
903 2013-12-17 Juri Linkov <juri@jurta.org>
905 * arc-mode.el (archive-extract-by-file): Check if directory exists
906 before deletion to not show irrelevant errors if it doesn't exist.
908 2013-12-17 Juri Linkov <juri@jurta.org>
910 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
913 * net/eww.el (browse-web): Add alias to `eww'.
914 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
915 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
917 * net/browse-url.el (browse-url-browser-function): Move `eww'
918 closer to similar functions.
920 * startup.el (fancy-startup-screen, fancy-about-screen):
921 Set browse-url-browser-function to eww-browse-url locally.
924 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
926 * window.el (window--pixel-to-total): Remove unused `mini' var.
927 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
928 (split-window): Remove unused `new' var.
929 (window--display-buffer): Remove unused `frame' and `delta' vars.
930 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
933 2013-12-17 Martin Rudalics <rudalics@gmx.at>
935 * dired.el (dired-mark-pop-up):
936 * register.el (register-preview): Don't bind
937 split-height-threshold here since it's now done in
938 display-buffer-below-selected.
940 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
942 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
943 xterm-rgb-convert-to-16bit.
944 (rxvt-register-default-colors): Standardize with
945 xterm-register-default-colors (Bug#14078).
947 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
949 * simple.el (kill-region): Pass mark first, then point, so that
950 kill-append works right (Bug#12819).
951 (copy-region-as-kill, kill-ring-save): Likewise.
953 2013-12-17 Leo Liu <sdl.web@gmail.com>
955 * net/rcirc.el (rcirc-add-face):
956 * eshell/em-prompt.el (eshell-emit-prompt):
957 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
960 2013-12-17 Chong Yidong <cyd@gnu.org>
962 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
963 Suggested by Xue Fuqiao.
965 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
967 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
969 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
971 * net/shr.el (shr-insert-document): Remove unused var
972 `shr-preliminary-table-render'.
973 (shr-rescale-image): Remove unused arg `force'.
974 (shr-put-image): Update calls accordingly.
975 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
977 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
979 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
980 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
981 :close-all, to see which indentation method to use (Bug#16116).
982 (smie-rules-function): Document the method :close-all.
984 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
986 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
988 * net/eww.el (eww-display-html): If we can't find the anchor we're
989 looking for, then go to point-min.
991 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
993 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
994 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
995 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
996 Expand dir too, in case it's relative.
998 2013-12-16 Juri Linkov <juri@jurta.org>
1000 * desktop.el (desktop-auto-save-timeout): Change default to
1001 `auto-save-timeout'. Doc fix.
1002 (desktop-save): Skip the timestamp in desktop-saved-frameset
1003 when checking for auto-save changes.
1004 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1005 `desktop-auto-save' is called repeatedly by the idle timer.
1006 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1007 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1010 2013-12-16 Juri Linkov <juri@jurta.org>
1012 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1014 (isearch-pre-command-hook): Check `this-command' for symbolp.
1016 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1018 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1020 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1022 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1023 (cfengine3--current-function): Bring in the current-function
1024 functionality from `cfengine3--current-word'.
1025 (cfengine3-completion-function): Bring in the
1026 bounds-of-current-word functionality from
1027 `cfengine3--current-word'.
1029 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1031 * window.el (display-buffer-below-selected):
1032 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1034 2013-12-16 Leo Liu <sdl.web@gmail.com>
1036 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1037 Remove NOMSG arg and all uses changed.
1039 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1041 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1042 (cua--deactivate-rectangle): Don't deactivate the mark.
1043 (cua-set-rectangle-mark): Don't set mark-active since
1044 cua--activate-rectangle already does it for us.
1045 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1046 non-rectangular region.
1048 * emulation/cua-base.el (cua-repeat-replace-region):
1049 Use with-current-buffer.
1051 * net/gnutls.el: Use cl-lib.
1052 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1054 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1056 * emacs-lisp/package.el (package-built-in-p): Support both
1057 built-in and the package.el converted package descriptions.
1058 (package-show-package-list): Allow keywords.
1059 (package-keyword-button-action): Use it instead of
1060 `finder-list-matches'.
1061 (package-menu-filter-interactive): Interactive filtering (by
1063 (package-menu--generate): Support keywords and change keymappings
1064 and headers when they are given.
1065 (package--has-keyword-p): Helper function.
1066 (package-menu--refresh): Use it.
1067 (package--mapc): Helper function.
1068 (package-all-keywords): Use it.
1069 (package-menu-mode-map): Set up menu items and keybindings to
1070 provide a filtering UI.
1072 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1074 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1075 the behavior when a certificate fails validation. Defaults to
1076 old behavior: never abort, just warn.
1077 (gnutls-negotiate): Use it.
1079 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1081 * window.el (display-buffer-below-selected): Never split window
1082 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1084 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1086 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1087 (package-buffer-info): Use it (bug#15108).
1089 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1091 * icomplete.el (icomplete-completions): Make sure the prefix is already
1092 displayed elsewhere before hiding it (bug#16219).
1094 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1096 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1097 open-paren tokens when preceded by a open-paren, too.
1098 (ruby-smie-rules): Handle virtual indentation after open-paren
1099 tokens specially. If there is code between it and eol, return the
1100 column where is starts (Bug#16118).
1102 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1104 * progmodes/cfengine.el: Fix `add-hook' doc.
1105 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1106 (cfengine3--current-word): Fix parameters.
1107 (cfengine3-make-syntax-cache): Simplify further.
1108 (cfengine3-completion-function, cfengine3--current-function):
1109 Use `assq' for symbols.
1110 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1112 2013-12-13 Glenn Morris <rgm@gnu.org>
1114 * loadup.el (load-path): Warn if site-load or site-init changes it.
1115 No more need to reset it when bootstrapping.
1117 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1119 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1120 locations for cf-promises.
1121 (cfengine-mode-syntax-functions-regex): New caching variable.
1122 (cfengine3-fallback-syntax): Fallback syntax for cases where
1123 cf-promises doesn't run.
1124 (cfengine3--current-word): Reimplement using
1125 `cfengine-mode-syntax-functions-regex'.
1126 (cfengine3-completion-function, cfengine3--current-function):
1127 Use `cfengine3-make-syntax-cache' directly.
1128 (cfengine3-clear-syntax-cache): New function.
1129 (cfengine3-make-syntax-cache): Simplify and create
1130 `cfengine-mode-syntax-functions-regex' on demand.
1131 (cfengine3-format-function-docstring): Don't call
1132 `cfengine3-make-syntax-cache' explicitly.
1134 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1136 Fix windmove-find-other-window broken after pixelwise resizing
1138 * windmove.el (windmove-other-window-loc): Revert change from
1140 (windmove-find-other-window): Call window-in-direction.
1141 * window.el (window-in-direction): New arguments SIGN, WRAP and
1142 MINI to emulate original windmove-find-other-window behavior.
1144 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1146 * simple.el (blink-matching--overlay): New variable.
1147 (blink-matching-open): Instead of moving point, highlight the
1148 matching paren with an overlay
1149 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1151 * faces.el (paren-showing-faces, show-paren-match)
1152 (show-paren-mismatch): Move from paren.el.
1154 2013-12-13 Leo Liu <sdl.web@gmail.com>
1156 * indent.el (indent-region): Disable progress reporter in
1157 minibuffer. (Bug#16108)
1159 * bindings.el (visual-order-cursor-movement): Fix version.
1161 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1163 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1164 Also match after beginning of line.
1165 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1166 files. Thanks to Russell Sim. (Bug#15378)
1168 2013-12-13 Juri Linkov <juri@jurta.org>
1170 * simple.el <Keypad support>: Remove key bindings duplicated
1171 with bindings.el. (Bug#14397)
1173 2013-12-13 Juri Linkov <juri@jurta.org>
1175 * comint.el (comint-mode-map): Replace `delete-char' with
1176 `delete-forward-char'. (Bug#16109)
1178 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1180 * progmodes/python.el (python-indent-calculate-indentation):
1181 Fix de-denters cornercase. (Bug#15731)
1183 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1185 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1186 (advice--make): Pay attention to `depth'.
1187 (advice--make-1): Don't autoload commands eagerly.
1188 * emacs-lisp/elp.el (elp-instrument-function):
1189 * emacs-lisp/trace.el (trace-function-internal):
1190 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1192 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1194 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1196 * term/w32-win.el (w32-handle-dropped-file):
1197 * startup.el (normal-top-level):
1198 * net/browse-url.el (browse-url-file-url):
1199 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1200 decode file names using 'utf-8' rather than
1201 file-name-coding-system.
1203 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1205 * progmodes/python.el (python-indent-context)
1206 (python-indent-calculate-indentation): Fix auto-identation
1207 behavior for comment blocks. (Bug#15916)
1209 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1211 * progmodes/python.el (python-indent-calculate-indentation):
1212 When determining indentation, don't treat "return", "pass", etc., as
1213 operators when they are just string constituents. (Bug#15812)
1215 2013-12-12 Juri Linkov <juri@jurta.org>
1217 * uniquify.el (uniquify-buffer-name-style): Change default to
1218 `post-forward-angle-brackets'.
1220 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1221 `uniquify'. Change default to `post-forward-angle-brackets'.
1223 2013-12-11 Glenn Morris <rgm@gnu.org>
1225 * emacs-lisp/package.el (finder-list-matches):
1226 Autoload rather than falsely declaring.
1228 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1230 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1231 (eww-mode-map): Use them.
1233 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1235 * window.el (display-buffer-in-side-window): Fix doc-string
1238 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1240 * vc/vc-git.el: Silence byte-compiler warnings.
1241 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1242 (log-edit-set-header): Declare.
1244 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1246 * Makefile.in (custom-deps, finder-data): Run output file names
1247 through unmsys--file-name. (Bug#16099)
1249 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1251 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1252 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1254 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1255 instead of deleting the selection "by hand" (bug#16098).
1256 Rely on insert-for-yank to yank rectangles.
1257 (cua-highlight-region-shift-only): Mark obsolete.
1258 (cua-mode): Don't enable/disable transient-mark-mode,
1259 shift-select-mode (cua-mode works both with and without them), and
1260 pc-selection-mode (obsolete).
1261 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1262 (cua--deactivate-rectangle): Deactivate it.
1264 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1265 (delete-selection-helper): Make sure yank starts at the top of the
1267 (minibuffer-keyboard-quit): Use region-active-p.
1269 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1271 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1272 to `delete' (bug#16109).
1274 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1276 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1277 info manual and show keybindings and set `:group' keyword.
1279 2013-12-11 Juri Linkov <juri@jurta.org>
1281 * delsel.el (delete-active-region): Let-bind `this-command'
1282 to prevent `kill-region' from changing its original value.
1283 (delete-selection-helper): Handle `overwrite-mode' for the type
1284 `kill' exactly the same way as for the type `t'.
1285 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1286 Support more commands. (Bug#13312)
1288 2013-12-11 Juri Linkov <juri@jurta.org>
1290 * bindings.el: Map kp keys to non-kp keys systematically
1291 with basic modifiers control, meta and shift. (Bug#14397)
1293 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1295 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1296 "Close browser" menu items. Fix wrong function of "List
1299 2013-12-11 Juri Linkov <juri@jurta.org>
1301 * misearch.el (multi-isearch-buffers): Set the value of
1302 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1303 arg of isearch-forward to t.
1304 (multi-isearch-buffers-regexp): Set the value of
1305 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1306 arg of isearch-forward-regexp to t.
1307 (multi-isearch-files): Set the value of
1308 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1309 arg of isearch-forward to t.
1310 (multi-isearch-files-regexp): Set the value of
1311 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1312 arg of isearch-forward-regexp to t. (Bug#16035)
1314 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1315 arg of isearch-forward to t.
1316 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1317 arg of isearch-forward-regexp to t.
1318 (dired-isearch-filter-filenames): Remove unnecessary check for
1319 `dired-isearch-filenames'.
1321 * comint.el (comint-history-isearch-backward):
1322 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1323 (comint-history-isearch-backward-regexp):
1324 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1326 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1328 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1329 unmsys--file-name. (Bug#16099)
1331 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1333 * emacs-lisp/package.el (package-keyword-button-action):
1334 Remove finder.el require dependency.
1336 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1338 * emacs-lisp/package.el: Require finder.el.
1339 (describe-package-1): Add keyword buttons.
1340 (package-make-button): New convenience function.
1341 (package-keyword-button-action): Keyword button action using
1342 `finder-list-matches'.
1344 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1346 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1349 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1351 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1354 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1356 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1357 after the end of a percent literal.
1359 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1361 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1362 Handle caret-delimited strings (Bug#16079).
1364 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1366 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1367 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1368 `ruby-parse-partial' (Bug#16078).
1370 2013-12-09 Leo Liu <sdl.web@gmail.com>
1372 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1374 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1376 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1377 (js-switch-indent-offset): New option.
1378 (js--proper-indentation): Use it. And handle the case when
1379 "default" is actually a key in an object literal.
1380 (js--same-line): New function.
1381 (js--multi-line-declaration-indentation): Use it.
1382 (js--indent-in-array-comp, js--array-comp-indentation):
1384 (js--proper-indentation): Use them, to handle array comprehension
1387 2013-12-08 Leo Liu <sdl.web@gmail.com>
1389 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1390 (flymake-make-overlay): Remove arg MOUSE-FACE.
1391 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1393 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1395 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1397 (redisplay-highlight-region-function): Use it.
1399 * emulation/cua-base.el (cua--explicit-region-start)
1400 (cua--last-region-shifted): Remove.
1401 (cua--deactivate): Use deactivate-mark.
1402 (cua--pre-command-handler-1): Don't handle shift-selection.
1403 (cua--post-command-handler-1): Don't change transient-mark-mode.
1404 (cua--select-keymaps): Use region-active-p rather than
1405 cua--explicit-region-start or cua--last-region-shifted.
1406 (cua-mode): Enable shift-select-mode.
1408 2013-12-08 Leo Liu <sdl.web@gmail.com>
1410 * progmodes/flymake.el (flymake-popup-current-error-menu):
1411 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1412 (flymake-posn-at-point-as-event, flymake-popup-menu)
1413 (flymake-make-emacs-menu): Remove. (Bug#16077)
1415 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1417 * rect.el (rectangle-mark-mode): Activate mark even if
1418 transient-mark-mode is off (bug#16066).
1419 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1420 is > mark and at bolp.
1422 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1423 (region-extract-function): Use it.
1424 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1425 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1427 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1428 kill-ring-save, kill-region, delete-char, delete-forward-char.
1429 Ignore self-insert-iso.
1431 * emulation/cua-gmrk.el (cua--init-global-mark):
1432 Ignore `self-insert-iso'.
1434 * emulation/cua-base.el (cua--prefix-copy-handler)
1435 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1436 checking cua--rectangle.
1437 (cua-delete-region): Use region-extract-function.
1438 (cua-replace-region): Delete function.
1439 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1440 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1441 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1442 (cua--init-keymaps): Don't remap delete-selection commands.
1443 (cua-mode): Use delete-selection-mode instead of rolling our own
1446 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1447 Obey region-extract-function.
1449 Make registers and delete-selection-mode work on rectangles.
1450 * register.el (describe-register-1): Don't modify the register's value.
1451 (copy-to-register): Obey region-extract-function.
1452 * delsel.el (delete-active-region): Obey region-extract-function.
1454 2013-12-08 Leo Liu <sdl.web@gmail.com>
1456 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1457 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1458 (flymake-compilation-prevents-syntax-check)
1459 (flymake-start-syntax-check-on-newline)
1460 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1461 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1462 (flymake-xml-program, flymake-master-file-dirs)
1463 (flymake-master-file-count-limit)
1464 (flymake-allowed-file-name-masks): Relocate.
1465 (flymake-makehash, flymake-float-time)
1466 (flymake-replace-regexp-in-string, flymake-split-string)
1467 (flymake-get-temp-dir): Remove.
1468 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1469 (flymake-current-row, flymake-selected-frame)
1470 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1471 related functions. (Bug#16077)
1473 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1475 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1477 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1479 * help-fns.el (describe-function-1): Use new advice-* functions
1480 rather than old ad-* functions. Fix function type description and
1481 source links for advised functions and subrs.
1483 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1485 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1487 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1489 * progmodes/compile.el (compilation-start):
1490 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1492 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1493 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1495 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1497 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1498 Touch up the last change.
1500 2013-12-06 Leo Liu <sdl.web@gmail.com>
1502 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1503 (inferior-octave-startup): Always use "octave> " for prompt.
1504 (octave-goto-function-definition)
1505 (octave-sync-function-file-names)
1506 (octave-find-definition-default-filename): Remove redundant backquotes.
1508 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1510 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1512 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1513 where appropriate already.
1514 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1515 end of method names (Bug#15874).
1517 2013-12-06 Juri Linkov <juri@jurta.org>
1519 * isearch.el (isearch--saved-overriding-local-map):
1520 New internal variable.
1521 (isearch-mode): Set it to the initial value of
1522 `overriding-terminal-local-map'.
1523 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1524 with `isearch--saved-overriding-local-map'. (Bug#16035)
1526 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1528 * progmodes/octave.el (inferior-octave-completion-table):
1529 Turn back into function, use `completion-table-with-cache'
1530 (Bug#11906). Update all references.
1532 * minibuffer.el (completion-table-with-cache): New function.
1534 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1536 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1538 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1540 * net/eww.el (eww-current-source): New variable to store page
1542 (eww-display-html, eww-mode, eww-save-history)
1543 (eww-restore-history): Use it.
1544 (eww-view-source): New command to view page source.
1545 Opportunistically uses `html-mode' to highlight the buffer.
1546 (eww-mode-map): Install it.
1548 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1550 * net/dbus.el (dbus-unregister-service)
1551 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1553 (dbus-unregister-service): Skip :serial entries in
1554 `dbus-registered-objects-table'.
1555 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1557 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1559 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1560 around keywords with extra `split-string' argument.
1562 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1564 * windmove.el (windmove-other-window-loc): Handle navigation
1565 between windows (excluding the minibuffer window - Bug#16017).
1567 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1569 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1570 in D-Bus type syntax.
1571 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1572 preserve unibyte strings. (Bug#16048)
1574 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1576 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1577 Call force-mode-line-update is the proper buffer (bug#16042).
1579 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1581 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1582 `log-edit-remember-comment', make argument optional. Adjust all
1584 (log-edit-mode): Add `log-edit-remember-comment' to
1585 `kill-buffer-hook' locally.
1586 (log-edit-kill-buffer): Don't remember comment explicitly since
1587 the buffer is killed anyway.
1589 2013-12-04 Juri Linkov <juri@jurta.org>
1591 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1592 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1594 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1596 * notifications.el (notifications-close-notification): Call the
1597 D-Bus method with ID being a `:uint32'. (Bug#16030)
1599 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1601 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1603 2013-12-03 Juri Linkov <juri@jurta.org>
1605 * progmodes/compile.el (compilation-start): Rename window alist
1606 entry `no-display-ok' to `allow-no-window'.
1608 * simple.el (shell-command): Add window alist entry
1609 `allow-no-window' to `display-buffer'.
1610 (async-shell-command): Doc fix.
1612 * window.el (display-buffer-no-window): New action function.
1613 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1615 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1617 * vc/log-edit.el (log-edit-set-header): Extract from
1618 `log-edit-toggle-header'.
1619 (log-edit-extract-headers): Separate the summary, when extracted
1620 from header, from the rest of the message with an empty line.
1622 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1623 line, if present, to the Summary header.
1625 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1627 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1628 in current-buffer (bug#16029).
1630 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1632 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1633 (debugger-mode-map): Bind it.
1634 (debugger--backtrace-base): New function.
1635 (debugger-eval-expression): Use it.
1636 (debugger-frame-number): Skip local vars when present.
1637 (debugger--locals-visible-p, debugger--insert-locals)
1638 (debugger--show-locals, debugger--hide-locals): New functions.
1640 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1642 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1644 (tramp-get-remote-locale): New defun.
1645 (tramp-open-connection-setup-interactive-shell): Use it.
1647 2013-12-02 Leo Liu <sdl.web@gmail.com>
1649 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1651 * progmodes/sh-script.el (sh-shell-process):
1652 * progmodes/octave.el (inferior-octave-process-live-p):
1653 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1654 (gdb-inferior-io-sentinel):
1655 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1657 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1659 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1660 `save-selected-window' to `log-edit-hide-buf'. This makes
1661 `log-edit-show-files' idempotent.
1662 (log-edit-show-files): Mark the new window as dedicated.
1664 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1666 * vc/log-edit.el (log-edit-mode-map): Add binding for
1667 `log-edit-kill-biffer'.
1668 (log-edit-hide-buf): Add a FIXME comment.
1669 (log-edit-add-new-comment): New function, extracted from
1671 (log-edit-done, log-edit-add-to-changelog): Use it.
1672 (log-edit-kill-buffer): New command.
1674 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1676 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1677 instead of killing the buffer.
1679 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1681 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1683 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1685 * net/eww.el (eww-form-checkbox-selected-symbol)
1686 (eww-form-checkbox-symbol): New customizable variable.
1687 (eww-form-checkbox, eww-toggle-checkbox):
1688 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1690 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1691 (shr--get-media-pref, shr--extract-best-source): New function.
1692 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1693 no :src tag was specified.
1695 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1696 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1697 Use \\` to match beginning of string instead of ^.
1698 (eww-browse-with-external-browser): Provide optional URL parameter.
1699 (eww-render): Set `eww-current-title' back to "".
1701 * net/shr.el (shr-tag-video): Display content for video if no
1702 poster is available.
1703 (shr-tag-audio): Add support for <audio> tag.
1705 * net/eww.el (eww-text-input-types): New const.
1706 (eww-process-text-input): Treat input types in
1707 `eww-text-input-types' as text.
1709 * net/shr.el (shr-tag-table): Fix comment typo.
1711 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1713 * net/eww.el (eww-follow-link): New command to avoid reloading
1714 pages when we follow #target links (bug#15243).
1715 (eww-quit): Special mode buffers shouldn't query before exiting.
1717 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1719 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1722 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1724 * net/eww.el (eww-restore-history): Update the window title after
1725 moving in the history.
1726 (eww-current-dom): New variable used to save the current DOM.
1728 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1730 * vc/log-edit.el (log-edit-mode-map): Add binding for
1731 `log-edit-beginning-of-line'.
1732 (log-edit-setup-add-author): New user option.
1733 (log-edit-beginning-of-line): New command.
1734 (log-edit): Move major mode call above the contents setup so that
1735 the local variable values are already applied.
1736 (log-edit): Only insert "Author: " when
1737 `log-edit-setup-add-author' is non-nil.
1738 (log-edit): When SETUP is non-nil, position point after ": "
1739 instead of point-min.
1741 2013-12-01 Glenn Morris <rgm@gnu.org>
1743 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1745 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1747 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1748 redisplay to make sure the initial frame gets a chance to become
1749 visible. (Bug#16014)
1751 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1753 Support resizing frames and windows pixelwise.
1754 * cus-start.el (frame-resize-pixelwise)
1755 (window-resize-pixelwise): New entries.
1756 * emacs-lisp/debug.el (debug): Use window-total-height instead
1757 of window-total-size.
1758 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1759 * help.el (describe-bindings-internal): Call help-buffer
1760 (temp-buffer-max-width): New option.
1761 (resize-temp-buffer-window, help-window-setup)
1762 (with-help-window): Rewrite.
1763 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1765 * window.el (frame-char-size, window-min-pixel-height)
1766 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1767 (window-min-pixel-width, window-safe-min-pixel-size)
1768 (window-combination-p, window-safe-min-size)
1769 (window-resizable-p, window--size-to-pixel)
1770 (window--pixel-to-size, window--resize-apply-p): New functions.
1771 (window-safe-min-height): Fix doc-string.
1772 (window-size, window-min-size, window--min-size-1)
1773 (window-sizable, window-sizable-p, window--min-delta-1)
1774 (window-min-delta, window--max-delta-1, window-max-delta)
1775 (window--resizable, window--resizable-p, window-resizable)
1776 (window-full-height-p, window-full-width-p, window-at-side-p)
1777 (window--in-direction-2, window-in-direction)
1778 (window--resize-reset-1, window--resize-mini-window)
1779 (window-resize, window-resize-no-error)
1780 (window--resize-child-windows-normal)
1781 (window--resize-child-windows, window--resize-siblings)
1782 (window--resize-this-window, window--resize-root-window)
1783 (window--resize-root-window-vertically)
1784 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1785 (maximize-window, minimize-window, delete-window)
1786 (quit-restore-window, window-split-min-size, split-window)
1787 (balance-windows-2, balance-windows)
1788 (balance-windows-area-adjust, balance-windows-area)
1789 (window--state-get-1, window-state-get, window--state-put-1)
1790 (window--state-put-2, window-state-put)
1791 (display-buffer-record-window, window--display-buffer):
1792 Make functions handle pixelwise sizing of windows.
1793 (display-buffer--action-function-custom-type)
1794 (display-buffer-fallback-action):
1795 Add display-buffer-in-previous-window.
1796 (display-buffer-use-some-window): Resize window to height it had
1798 (fit-window-to-buffer-horizontally): New option.
1799 (fit-frame-to-buffer): Describe new values.
1800 (fit-frame-to-buffer-bottom-margin): Replace with
1801 fit-frame-to-buffer-margins.
1802 (window--sanitize-margin): New function.
1803 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1804 using window-text-pixel-size.
1806 2013-11-30 Glenn Morris <rgm@gnu.org>
1808 * emacs-lisp/bytecomp.el (byte-compile-form):
1809 Make the `interactive-only' warning like the `obsolete' one.
1810 * comint.el (comint-run):
1811 * files.el (insert-file-literally, insert-file):
1812 * replace.el (replace-string, replace-regexp):
1813 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1814 (goto-line, insert-buffer, next-line, previous-line):
1815 Tweak `interactive-only' spec.
1817 Stop keeping (most) generated cedet grammar files in the repository.
1818 * Makefile.in (semantic): New.
1819 (compile-main): Depend on semantic.
1821 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1823 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1824 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1826 * uniquify.el (uniquify-buffer-name-style): Change default.
1828 * loadup.el: Preload "uniquify".
1830 * time.el (display-time-update): Update all mode lines (bug#15999).
1832 * electric.el (electric-indent-mode): Enable by default.
1833 * loadup.el: Preload "electric".
1835 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1837 * emacs-lisp/helpers.el (string-empty-p): New function.
1838 (string-blank-p): New function.
1840 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1842 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1845 2013-11-29 Andreas Politz <politza@fh-trier.de>
1846 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1847 allow non-lambda lists as functions.
1848 (imenu--in-alist): Don't recurse into non-subalists.
1849 (imenu): Don't pass function itself as an argument (Bug#14029).
1851 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1853 * progmodes/python.el (python-mode-map): Remove binding for ":".
1854 (python-indent-electric-colon): Remove command.
1855 (python-indent-post-self-insert-function): Integrate the previous code
1856 of python-indent-electric-colon. Make it conditional on
1857 electric-indent-mode.
1858 (python-mode): Add ?: to electric-indent-chars.
1859 Move python-indent-post-self-insert-function to the end of
1860 post-self-insert-hook.
1862 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1864 * doc-view.el (doc-view-goto-page): Update mode-line.
1866 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1868 2013-11-27 Glenn Morris <rgm@gnu.org>
1870 * international/charprop.el, international/uni-bidi.el:
1871 * international/uni-category.el, international/uni-combining.el:
1872 * international/uni-comment.el, international/uni-decimal.el:
1873 * international/uni-decomposition.el, international/uni-digit.el:
1874 * international/uni-lowercase.el, international/uni-mirrored.el:
1875 * international/uni-name.el, international/uni-numeric.el:
1876 * international/uni-old-name.el, international/uni-titlecase.el:
1877 * international/uni-uppercase.el:
1878 Remove generated files from VCS repository.
1880 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1882 * filenotify.el (file-notify-add-watch): Don't special-case
1883 w32notify when computing the directory to watch.
1885 2013-11-27 Glenn Morris <rgm@gnu.org>
1887 Make bootstrap without generated uni-*.el files possible again.
1888 * loadup.el: Update command-line-args checking for unidata-gen.
1889 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1890 * composite.el, international/characters.el:
1891 Handle unicode tables being undefined.
1893 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1894 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1895 (compile-main): Depend on leim rule.
1897 * loadup.el: Move leim-list.el to leim/ subdirectory.
1898 * startup.el (normal-top-level): No more leim directory.
1899 * international/ja-dic-cnv.el (skkdic-convert):
1900 Disable version-control and autoloads in output files.
1901 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1902 Disable version-control and autoloads in output files.
1903 * leim/quail: Move here from ../leim.
1904 * leim/quail/hangul.el (hangul-input-method-activate):
1905 Add autoload cookie.
1906 (generated-autoload-load-name): Set file-local value.
1907 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1908 (generated-autoload-load-name): Set file-local value.
1910 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
1912 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1913 (eww-add-bookmark): Ask confirmation when add to bookmarks.
1914 (eww-quit): Ask confirmation before quitting eww.
1916 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1918 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1919 reading output from Diff on MS-Windows and MS-DOS.
1921 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1923 * emacs-lisp/helpers.el (string-reverse): New function.
1925 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1927 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1928 names on MS Windows, like "/[::1]:".
1930 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1933 2013-11-26 Glenn Morris <rgm@gnu.org>
1935 * progmodes/python.el (python-indent-guess-indent-offset):
1936 Avoid corner-case error. (Bug#15975)
1938 Preload leim-list.el. (Bug#4789)
1939 * loadup.el: Load leim-list.el when found.
1940 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1942 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1944 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1946 * emacs-lisp/helpers.el (string-join): New function.
1948 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1950 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1951 Mark as obsolete and replace it with a symbol property.
1952 (byte-compile-form): Use new 'interactive-only property.
1953 * comint.el, files.el, replace.el, simple.el:
1954 Apply new 'interactive-only properly.
1956 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1958 * window.el (display-buffer-at-bottom): Make sure that
1959 split-window-sensibly creates the new window on bottom
1962 2013-11-23 David Kastrup <dak@gnu.org>
1964 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1965 on the conflict markers when available.
1966 (smerge--get-marker): New function.
1967 (smerge-end-re, smerge-base-re): Add subgroup.
1969 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1971 * frame.el (handle-focus-in, handle-focus-out): Add missing
1974 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1976 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1977 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1979 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1981 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1982 (gomoku--last-pos): New var.
1983 (gomoku--intangible-chars): New const.
1984 (gomoku--intangible): New function.
1985 (gomoku-mode): Use it. Derive from special-mode.
1986 (gomoku-move-up): Adjust line count.
1987 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1988 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1989 Simplify accordingly.
1991 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1992 Remove blink-cursor code.
1993 (blink-cursor-timer-function, blink-cursor-suspend):
1994 Don't special-case GUIs.
1995 (blink-cursor-mode): Use focus-in/out-hook.
1997 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1999 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2000 work when annotation is invisible (Bug#13886).
2002 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2004 * json.el (json-alist-p): Only return non-nil if the alist has
2005 simple keys (Bug#13518).
2007 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2009 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2010 when control-statement is the first statement in a buffer (Bug#15956).
2012 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2014 * imenu.el (imenu-generic-skip-comments-and-strings):
2015 New option (Bug#15560).
2016 (imenu--generic-function): Use it.
2018 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2020 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2023 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2025 * emacs-lisp/helpers.el: Add some string helpers.
2026 (string-trim-left): Removes leading whitespace.
2027 (string-trim-right): Removes trailing whitespace.
2028 (string-trim): Removes leading and trailing whitespace.
2030 * subr.el (string-suffix-p): New function.
2032 2013-11-23 Glenn Morris <rgm@gnu.org>
2034 * progmodes/python.el (python-shell-send-file):
2035 Add option to delete file when done. (Bug#15647)
2036 (python-shell-send-string, python-shell-send-region): Use it.
2038 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2040 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2041 to set buffer-read-only to t, never to nil. (Bug#15938)
2043 * textmodes/tex-mode.el (latex-noindent-environments):
2044 Add safe-local-variable property. (Bug#15936)
2046 2013-11-23 Glenn Morris <rgm@gnu.org>
2048 * textmodes/enriched.el (enriched-mode): Doc fix.
2049 * emacs-lisp/authors.el (authors-renamed-files-alist):
2050 Add enriched.doc -> enriched.txt.
2052 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2054 2013-11-22 Leo Liu <sdl.web@gmail.com>
2056 * progmodes/octave.el (inferior-octave-startup): Spit out error
2059 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2061 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2064 (ruby-encoding-magic-comment-style): Add :version.
2066 2013-11-22 Leo Liu <sdl.web@gmail.com>
2068 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2070 (octave-help-mode): Adapt to change to help-mode-finish to use
2071 derived-mode-p on 2013-09-17.
2072 (inferior-octave-prompt): Also match octave-gui.
2073 (octave-kill-process): Don't ask twice. (Bug#10564)
2075 2013-11-22 Leo Liu <sdl.web@gmail.com>
2077 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2078 (inferior-octave-startup, inferior-octave-check-process)
2079 (inferior-octave-track-window-width-change)
2080 (octave-completion-at-point, octave-eldoc-function): Use it.
2081 (octave-kill-process): Provide confirmation. (Bug#10564)
2083 2013-11-21 Leo Liu <sdl.web@gmail.com>
2085 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2086 Fix obsolete variable comment-use-global-state.
2088 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2090 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2091 Add `octave-source-file'.
2092 (octave-source-file): New function. (Bug#15935)
2094 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2096 * net/eww.el (eww-local-regex): New variable.
2097 (eww): Use it to detect localhost and similar.
2099 2013-11-21 Leo Liu <sdl.web@gmail.com>
2101 Add completion for command `ag'.
2102 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2103 (pcomplete/ag): New function.
2104 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2106 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2108 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2110 (make-obsolete): Remove interactive spec.
2112 2013-11-21 Glenn Morris <rgm@gnu.org>
2114 * startup.el (command-line-1): Use path-separator with -L.
2116 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2118 * emacs-lisp/package.el (describe-package-1): Add package archive
2121 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2123 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2124 Change default to "# encoding: %s" to differentiate it from the
2125 default Ruby encoding comment template.
2127 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2129 * ses.el (ses-mode): Doc fix. (Bug#14748)
2131 2013-11-20 Leo Liu <sdl.web@gmail.com>
2133 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2135 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2137 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2138 when rebase or bisect are in progress.
2140 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2142 * filenotify.el (file-notify-add-watch): Doc fix.
2144 2013-11-19 Leo Liu <sdl.web@gmail.com>
2146 * obsolete/rcompile.el: Mark obsolete.
2148 * progmodes/compile.el (compilation-start)
2149 (compilation-goto-locus, compilation-find-file):
2150 Pass no-display-ok and handle nil value from display-buffer.
2153 * window.el (display-buffer-alist, display-buffer): Document the
2154 new parameter no-display-ok. Return either a window or nil
2155 but never a non-window value.
2157 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2159 * electric.el (electric-indent-mode-map): Remove.
2160 (electric-indent-mode): Change the global-map instead (bug#15915).
2162 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2165 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2167 * emacs-lisp/nadvice.el (remove-function): Align with
2168 add-function's behavior.
2170 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2171 (gdb--string-regexp): New constant.
2172 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2173 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2174 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2176 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2177 Adjust use accordingly.
2178 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2180 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2182 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2183 interpolation curlies (Bug#15914).
2185 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2187 * calc/calc.el (calc-context-sensitive-enter): New variable.
2188 (calc-enter): Use `calc-context-sensitive-enter'.
2190 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2192 * progmodes/cfengine.el: Version bump.
2193 (cfengine-cf-promises): New defcustom to locate cf-promises.
2194 (cfengine3-vartypes): Add new "data" type.
2195 (cfengine3--current-word): New function to get current name-like
2197 (cfengine3--current-function): New function to look up a CFEngine
2198 function's definition.
2199 (cfengine3-format-function-docstring): New function.
2200 (cfengine3-make-syntax-cache): New function.
2201 (cfengine3-documentation-function): New function: ElDoc glue.
2202 (cfengine3-completion-function): New function: completion glue.
2203 (cfengine3-mode): Set `compile-command',
2204 `eldoc-documentation-function', and add to
2205 `completion-at-point-functions'.
2207 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2209 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2210 `tramp-current-connection'.
2212 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2214 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2215 nil/self/true/false with "end of symbol".
2217 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2219 * subr.el (version-regexp-alist): Fix a typo.
2221 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2223 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2224 "en_US.utf8" and "LC_CTYPE" to "".
2225 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2226 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2228 2013-11-15 Leo Liu <sdl.web@gmail.com>
2230 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2232 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2234 * progmodes/gud.el (ctl-x-map):
2235 Remove C-x SPC binding. (Bug#12342)
2236 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2238 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2240 * subr.el (version-regexp-alist):
2241 Recognize hg, svn and darcs versions as snapshot versions.
2243 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2244 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2245 (ruby--encoding-comment-required-p): Extract from
2246 `ruby-mode-set-encoding'.
2247 (ruby-mode-set-encoding): Add the ability to always insert an
2248 utf-8 encoding comment. Fix and simplify coding comment update
2251 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2253 * net/tramp-gvfs.el (top): Run init code only when
2254 `tramp-gvfs-enabled' is not nil.
2255 (tramp-gvfs-enabled): Check also :system bus.
2257 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2259 Sync with upstream verilog-mode revision 78e66ba.
2260 * progmodes/verilog-mode.el (verilog-end-of-defun)
2261 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2262 (verilog-get-end-of-defun): Remove unused argument.
2263 (verilog-comment-depth): Remove unused local `e'.
2264 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2265 Don't pass arg to verilog-get-end-of-defun.
2267 2013-11-14 Glenn Morris <rgm@gnu.org>
2269 * obsolete/assoc.el (aget): Prefix dynamic variable.
2271 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2273 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2275 * widget.el, hfy-cmap.el: Remove bogus package version number.
2277 2013-11-13 Glenn Morris <rgm@gnu.org>
2279 * replace.el (replace-eval-replacement):
2280 Try to give more helpful error message. (Bug#15836)
2282 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2283 (archive-7z-update): Avoid custom type mismatches.
2285 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2287 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2289 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2290 address can be empty.
2292 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2293 Accept nil SWITCHES.
2294 (tramp-gvfs-handle-write-region): Implement APPEND.
2296 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2298 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2299 binary "|" operator and closing block args delimiter.
2300 Remove FIXME comment referring to Ruby 1.8-only syntax.
2301 (ruby-smie--implicit-semi-p): Not after "|" operator.
2302 (ruby-smie--closing-pipe-p): New function.
2303 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2304 (ruby-smie-rules): Indent after "|".
2306 2013-11-12 Glenn Morris <rgm@gnu.org>
2308 * ps-print.el (ps-face-attribute-list):
2309 Handle anonymous faces. (Bug#15827)
2311 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2313 * window.el (display-buffer-other-frame): Fix doc-string.
2316 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2318 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2320 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2322 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2323 (tramp-sh-handle-file-local-copy): Don't write a message when
2324 saving temporary files.
2326 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2327 both directories are remote.
2328 (tramp-smb-handle-directory-files): Do not return double entries.
2329 Do not expand full file names.
2330 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2331 (tramp-smb-handle-write-region): Implement APPEND.
2332 (tramp-smb-get-stat-capability): Fix a stupid bug.
2334 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2336 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2338 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2340 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2341 throwing error over malformed let/let* (bug#15814).
2343 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2345 * iswitchb.el (iswitchb-mode): Mark obsolete.
2347 2013-11-11 Glenn Morris <rgm@gnu.org>
2349 * international/uni-bidi.el, international/uni-category.el:
2350 * international/uni-name.el, international/uni-numeric.el:
2351 Regenerate for Unicode 6.3.0.
2353 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2355 * net/tramp.el (tramp-methods):
2356 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2357 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2359 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2361 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2362 Force highlighting text after Summary keyword in doc face for rpm.
2364 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2366 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2367 available and the word has no wildcards, append one to the grep pattern.
2368 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2369 (ispell-complete-word): Call `ispell-lookup-words' with the value
2370 independent of `ispell-look-p'.
2372 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2374 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2376 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2379 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2381 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2382 (ruby-font-lock-keywords): Use backquote.
2384 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2386 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2387 (ruby-smie--backward-token): Only consider full-string matches.
2389 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2391 * faces.el (describe-face): Add distant-foreground.
2393 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2395 * progmodes/ruby-mode.el: Improve encoding comment handling.
2396 (ruby-encoding-magic-comment-style): New option.
2397 (ruby-custom-encoding-magic-comment-template): New option.
2398 (ruby--insert-coding-comment, ruby--detect-encoding):
2399 New functions extracted from `ruby-mode-set-encoding'.
2400 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2401 to control the style of the auto-inserted encoding comment.
2403 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2405 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2406 Use `smie-backward-sexp' with token argument.
2408 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2410 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2411 Remove instrumentation code.
2413 2013-11-08 Glenn Morris <rgm@gnu.org>
2415 * progmodes/autoconf.el (autoconf-mode):
2416 Tweak comment-start-skip. (Bug#15822)
2418 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2420 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2421 at bobp (bug#15826).
2422 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2424 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2426 * man.el (Man-start-calling): New macro, extracted from
2427 Man-getpage-in-background.
2428 (Man-getpage-in-background): Use it.
2429 (Man-update-manpage): New command.
2430 (Man-mode-map): Bind it.
2432 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2434 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2435 of "and", "or", "&&" and "||".
2436 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2437 argument. Prohibit opening curly brace because it could only be a
2438 block opener in that position.
2439 (ruby-smie--forward-token, ruby-smie--backward-token):
2440 Separate "|" from "&" or "*" going after it. That can happen in block
2442 (ruby-smie--indent-to-stmt): New function, seeks the end of
2443 previous statement or beginning of buffer.
2444 (ruby-smie-rules): Use it.
2445 (ruby-smie-rules): Check if there's a ":" before a curly block
2446 opener candidate; if there is, it's a hash.
2448 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2450 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2451 (cl--block-wrapper): Fix last accidental change.
2453 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2455 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2456 Instrument, in order to hunt failure on hydra.
2458 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2460 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2461 malformed bindings form (bug#15814).
2463 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2465 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2466 "." compared to " @ ". This incidentally fixes some indentation
2468 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2469 (ruby-smie-grammar): New tokens: "and" and "or".
2470 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2471 Exclude "and" and "or". Remove "do" in order to work around token
2473 (ruby-smie-rules): Add all infix tokens. Handle the case of
2474 beginning-of-buffer.
2476 2013-11-06 Glenn Morris <rgm@gnu.org>
2478 * Makefile.in (setwins_almost, setwins_for_subdirs):
2479 Avoid accidental matches.
2481 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2483 * menu-bar.el (popup-menu): Use key-binding.
2485 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2487 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2488 menus, support also the menus produced by minor modes.
2491 2013-11-06 Leo Liu <sdl.web@gmail.com>
2493 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2494 DISTANCE to bound the search. All uses changed. (Bug#15808)
2496 2013-11-06 Glenn Morris <rgm@gnu.org>
2498 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2499 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2500 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2502 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2504 * electric.el (electric-indent-just-newline): New command.
2505 (electric-indent-mode-map): New keymap.
2506 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2507 Re-add :group which weren't redundant.
2509 * electric.el (electric-indent-local-mode): New minor mode.
2510 (electric-indent-functions-without-reindent): New var.
2511 (electric-indent-post-self-insert-function): Use it.
2512 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2514 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2516 * international/quail.el (quail-help): Be more explicit about the
2517 meaning of the labels shown on the keys. (Bug#15800)
2519 * startup.el (normal-top-level): Load the subdirs.el files before
2520 setting the locale environment. (Bug#15805)
2522 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2524 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2525 via arguments so as to get the right ones (bug#15418).
2527 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2529 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2531 Fix problems found while writing a test suite.
2533 * net/tramp-compat.el (tramp-compat-load): New defun.
2534 * net/tramp.el (tramp-handle-load): Use it.
2536 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2537 "(numberp ok-if-already-exists)" correctly.
2539 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2541 * international/characters.el (glyphless-char-display-control):
2544 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2546 * progmodes/python.el (python-mode):
2547 * progmodes/scheme.el (scheme-mode):
2548 * progmodes/prolog.el (prolog-mode):
2549 * progmodes/ruby-mode.el (ruby-mode):
2550 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2551 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2553 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2555 * rect.el (rectangle--highlight-for-redisplay):
2556 * emacs-lisp/smie.el (smie--next-indent-change):
2557 Use buffer-chars-modified-tick.
2559 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2561 * electric.el (electric-indent-post-self-insert-function):
2562 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2564 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2566 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2568 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2570 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2573 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2575 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2577 * progmodes/python.el: Fix up last change.
2578 (python-shell--save-temp-file): New function.
2579 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2580 `string' comes from the current buffer.
2581 (python-shell-send-string-no-output): Remove `msg' arg.
2582 (python--use-fake-loc): New var.
2583 (python-shell-buffer-substring): Obey it. Try to compensate for the
2584 extra coding line added by python-shell--save-temp-file.
2585 (python-shell-send-region): Use python-shell--save-temp-file and
2586 python-shell-send-file directly. Add `nomain' argument.
2587 (python-shell-send-buffer): Use python-shell-send-region.
2588 (python-electric-pair-string-delimiter): New function.
2589 (python-mode): Use it.
2591 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2593 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2594 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2595 environment and decoding all of the default-directory's to here
2597 (command-line): Decode also argv[0].
2599 * loadup.el: Error out if default-directory is a multibyte string
2600 when we are dumping.
2602 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2604 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2606 * emacs-lisp/package.el (package-menu-mode)
2607 (package-menu--print-info, package-menu--archive-predicate):
2608 Add Archive column to package list.
2610 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2612 Fix problems found while writing a test suite.
2614 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2615 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2616 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2617 to nil when running original file name handler. Otherwise,
2618 there are problems with constructs like "$$FOO".
2620 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2623 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2625 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2627 * subr.el (version<, version<=, version=):
2628 Update docstrings with information for snapshot versions.
2630 * helpers.el: New library for misc helper functions.
2631 (hash-table-keys): New function returning a list of hash keys.
2632 (hash-table-values): New function returning a list of hash values.
2634 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2636 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2637 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2639 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2641 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2642 checking whether point is after a 1-letter word.
2644 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2646 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2647 Don't infloop when expanding region over `multiline' syntax-type that
2648 begins a line (bug#15778).
2650 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2652 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2653 Make it into a proper minor mode.
2654 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2655 (rectangle-mark-mode-map): New keymap.
2656 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2658 2013-11-04 Glenn Morris <rgm@gnu.org>
2660 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2662 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2664 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2665 (ruby-smie-rules): Use smie-rule-parent instead.
2667 * emacs-lisp/smie.el (smie-rule-parent): Always call
2668 smie-indent-virtual rather than only for hanging tokens.
2669 (smie--next-indent-change): New helper command.
2671 2013-11-03 Glenn Morris <rgm@gnu.org>
2673 * Makefile.in (abs_srcdir): Remove.
2674 (emacs): Unset EMACSLOADPATH.
2676 2013-11-02 Glenn Morris <rgm@gnu.org>
2678 * Makefile.in (EMACS): Use a relative filename.
2679 (abs_top_builddir): Remove.
2680 (custom-deps, finder-data, autoloads): Use --chdir.
2682 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2684 Use relative filenames in TAGS files.
2685 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2686 (lisptagsfiles4, TAGS): Use relative file names.
2687 (TAGS-LISP): Remove.
2688 (maintainer-clean): No more TAGS-LISP file.
2690 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2691 (lisptagsfiles4): Use absolute filenames again.
2692 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2693 Remove all *loaddefs files, not just the first. Remove esh-groups.
2694 (maintainer-clean): Delete TAGS, TAGS-LISP.
2696 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2698 * emacs-lisp/package.el (package-version-join):
2699 Recognize snapshot versions.
2701 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2703 * subr.el (version-regexp-alist): Add support for snapshot versions.
2705 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2707 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2708 New function, replacement for `smie-rule-parent' for when we want to
2709 skip over our direct parent if it's an assignment token..
2710 (ruby-smie-rules): Use it.
2712 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2714 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2715 unconditionally. Remove now unnecessary forward declarations.
2716 Remove XEmacs-specific setup.
2717 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2718 (ruby-font-lock-syntactic-keywords)
2719 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2720 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2721 (ruby-here-doc-end-syntax): Remove.
2722 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2723 defined as function.
2725 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2727 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2729 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2731 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2732 table and abbrev table, `define-derived-mode' does that for us
2735 2013-11-01 Glenn Morris <rgm@gnu.org>
2737 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2738 files is atomic for some time, so no parallel compilation issues).
2740 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2742 * faces.el (face-x-resources): Add :distant-foreground.
2743 (region): Use :distant-foreground for gtk and ns.
2745 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2747 Allow multiple bibliographies when BibLaTeX is used rather than
2749 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2750 (reftex-locate-bibliography-files): Us it.
2752 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2754 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2755 allow comments in pbm files.
2757 * term/w32-win.el (dynamic-library-alist): Support newer versions
2758 of libjpeg starting with v7: look only for the DLL from the
2759 version against which Emacs was built.
2760 Support versions of libpng beyond 1.4.x.
2761 Support libtiff v4.x.
2763 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2765 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2766 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2768 (ruby-deep-arglist): Add property :type.
2770 2013-10-31 Glenn Morris <rgm@gnu.org>
2772 * Makefile.in (custom-deps, finder-data): No need to setq the target
2773 variables, we are in the right directory and the defaults work fine.
2775 2013-10-30 Glenn Morris <rgm@gnu.org>
2777 * Makefile.in (autoloads): Do not use abs_lisp.
2779 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2780 `newline' does not respect `standard-output', so use `princ'.
2782 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2784 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2785 * buff-menu.el (Buffer-menu--unmark): New function.
2786 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2788 2013-10-30 Glenn Morris <rgm@gnu.org>
2790 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2792 * emacs-lisp/package.el (lm-homepage): Declare.
2794 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2797 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2799 * Makefile.in (finder-data, autoloads, update-subdirs)
2800 (compile-main, compile-clean, compile-always, bootstrap-clean):
2801 Check return value of cd.
2802 (compile-calc): Remove.
2804 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2806 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2808 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2809 (byte-compile-and-folded): New function.
2810 (=, <, >, <=, >=): Use it.
2812 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2813 (path-separator, null-device, buffer-file-coding-system)
2814 (lpr-headers-switches): Check system-type before modifying them.
2815 (find-buffer-file-type-coding-system): Mark obsolete.
2816 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2817 find-file-not-found-set-buffer-file-coding-system.
2818 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2819 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2820 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2821 (w32-direct-print-region-helper, w32-direct-print-region-function)
2822 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2823 * startup.el (normal-top-level-add-subdirs-to-load-path):
2824 * ps-print.el (ps-print-region-function):
2825 * lpr.el (print-region-function): Use new name.
2827 * subr.el (custom-declare-variable-early): Remove function.
2828 (custom-declare-variable-list): Remove var.
2829 (error, user-error): Remove `while' loop.
2830 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2831 (user-emacs-directory-warning, locate-user-emacs-file):
2833 * simple.el (read-quoted-char-radix, read-quoted-char):
2834 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2836 * custom.el (custom-declare-variable-list): Don't process
2837 custom-declare-variable-list.
2839 * progmodes/python.el (python-shell-get-buffer): New function.
2840 (python-shell-get-process): Use it.
2841 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2842 Python which encoding was used. Don't split-string since we only care
2843 about the first line. Return the temp-file, if applicable.
2844 (python-shell-send-region): Tell compile.el how to turn locations in
2845 the temp-file into locations in the source buffer.
2847 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2849 * subr.el (undefined): Add missing behavior from the C code for
2852 * rect.el: Use lexical-binding. Add new rectangular region support.
2853 (rectangle-mark): New command.
2854 (rectangle--region): New var.
2855 (deactivate-mark-hook): Reset rectangle--region.
2856 (rectangle--extract-region, rectangle--insert-for-yank)
2857 (rectangle--highlight-for-redisplay)
2858 (rectangle--unhighlight-for-redisplay): New functions.
2859 (region-extract-function, redisplay-unhighlight-region-function)
2860 (redisplay-highlight-region-function): Use them to handle
2862 * simple.el (region-extract-function): New var.
2863 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2864 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2865 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2866 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2867 (redisplay-unhighlight-region-function)
2868 (redisplay-highlight-region-function): New vars.
2869 (redisplay--update-region-highlight): New function.
2870 (pre-redisplay-function): Use it.
2871 (exchange-point-and-mark): Don't deactivate the mark before
2872 reactivate-it anyway.
2873 * comint.el (comint-kill-region): Remove yank-handler argument.
2874 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2875 (delete-char): Remove property, since it's now part of their
2877 (self-insert-iso): Remove property since this command doesn't exist.
2879 * emacs-lisp/package.el (package--download-one-archive)
2880 (describe-package-1): Don't query the user about final newline.
2882 2013-10-29 Daniel Colascione <dancol@dancol.org>
2884 * net/tramp.el (tramp-methods): Document new functionality.
2885 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2886 tramp-hostname-checker if method provides one instead of scanning
2887 argument list for "%h" to decide hostname acceptability.
2889 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2891 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2892 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2893 Handle COPY-CONTENTS. (Bug#15737)
2895 2013-10-28 Daiki Ueno <ueno@gnu.org>
2898 (epa-file-cache-passphrase-for-symmetric-encryption):
2899 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2901 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2903 * image.el (defimage):
2904 (image-load-path): Doc fixes.
2906 2013-10-27 Alan Mackenzie <acm@muc.de>
2908 Indent statements in macros following "##" correctly.
2909 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2910 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2912 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2914 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2916 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2918 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2919 after `=' is probably a new expression.
2921 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2923 * man.el (man-imenu-title): New option.
2924 (Man-mode-map): Add menu. (Bug#15722)
2925 (Man-mode): Add imenu to menu.
2927 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2929 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2930 specific in what the first arg can be: a non-keyword word,
2931 string/regexp/percent literal opener, opening paren, or unary
2932 operator followed directly by word.
2934 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2936 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2937 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2938 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2939 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2940 Remove vars, they do not apply any more.
2941 (prolog-mode-abbrev-table): Remove redundant declaration.
2942 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2943 (prolog-use-smie): Remove.
2944 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2945 supported by prolog-electric-if-then-else-flag.
2946 (prolog-mode-variables, prolog-menu): Use setq-local.
2947 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2948 Remove binding to `Backspace' since this key doesn't exist anyway.
2949 Remove bindings for electric self-inserting keys.
2950 (prog-mode): Assume it's defined.
2951 (prolog-post-self-insert): New function.
2952 (prolog-mode): Use it.
2953 (prolog-indent-line, prolog-indent-level)
2954 (prolog-find-indent-of-matching-paren)
2955 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2956 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2957 (prolog-goto-next-paren, prolog-in-string-or-comment)
2958 (prolog-tokenize, prolog-inside-mline-comment)
2959 (prolog-find-start-of-mline-comment): Remove functions.
2960 (prolog-find-unmatched-paren, prolog-clause-end)
2961 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2962 (prolog-electric--if-then-else): Rename from
2963 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2964 (prolog-tokenize-searchkey): Remove const.
2965 (prolog-clause-info): Use forward-sexp.
2966 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2967 (prolog-electric-if-then-else): Remove commands.
2968 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2969 for use in post-self-insert-hook.
2970 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2971 for use in post-self-insert-hook.
2972 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2973 for use in post-self-insert-hook.
2974 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2975 adapt it for use in post-self-insert-hook.
2977 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2979 * emacs-lisp/ert.el (ert-run-tests-interactively):
2980 Use `completing-read'. (Bug#9756)
2982 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2984 * simple.el (line-move): Call line-move-1 instead of
2985 line-move-visual when the current window hscroll is zero, but
2986 temporary-goal-column indicates we will need to hscroll as result
2987 of the movement. (Bug#15712)
2989 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2991 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2992 capitalization. Use :visible instead of :active.
2993 Fix `ruby-indent-exp' reference. Add menu items for the generic
2994 commands that are used with SMIE.
2995 (ruby-do-end-to-brace): Insert space after `{'.
2997 2013-10-25 John Anthony <john@jo.hnanthony.com>
2999 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3001 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3003 2013-10-25 Glenn Morris <rgm@gnu.org>
3005 * vc/vc.el (vc-print-log): Don't use a working revision unless
3006 one was explicitly specified. (Bug#15322)
3008 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3010 * subr.el (add-to-list): Preserve return value in compiler-macro
3013 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3015 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3016 result. Ask user to retry using '-all' flag. (Bug#15701)
3018 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3020 * emacs-lisp/smie.el: New smie-config system.
3021 (smie-config): New defcustom.
3022 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3023 (smie-config-guess, smie-config-save): New commands.
3024 (smie-config--mode-local, smie-config--buffer-local)
3025 (smie-config--trace, smie-config--modefuns): New vars.
3026 (smie-config--advice, smie-config--mode-hook)
3027 (smie-config--setter, smie-config-local, smie-config--get-trace)
3028 (smie-config--guess-value, smie-config--guess): New functions.
3029 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3030 text properties. Treat "string fence" syntax like string syntax.
3032 * progmodes/sh-script.el (sh-use-smie): Change default.
3033 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3034 (sh-var-value): Simplify by CSE.
3035 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3036 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3038 (sh-guess-basic-offset): Use cl-incf.
3039 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3041 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3043 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3046 2013-10-24 Glenn Morris <rgm@gnu.org>
3048 * Makefile.in (abs_top_srcdir): Remove.
3049 (update-subdirs): Use relative path to update-subdirs.
3051 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3053 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3054 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3055 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3056 Call unmsys--file-name before expand-file-name, not after it.
3058 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3060 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3061 (ert-test-skipped): New error.
3062 (ert-skip, ert-stats-skipped): New defuns.
3063 (ert--skip-unless): New macro.
3064 (ert-test-skipped): New struct.
3065 (ert--run-test-debugger, ert-test-result-type-p)
3066 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3067 (ert--stats-set-test-and-result, ert-char-for-test-result)
3068 (ert-string-for-test-result, ert-run-tests-batch)
3069 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3070 Handle skipped tests. (Bug#9803)
3072 2013-10-24 Glenn Morris <rgm@gnu.org>
3074 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3076 * Makefile.in (abs_top_srcdir): New, set by configure.
3077 (update-subdirs): Correct build-aux location.
3079 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3081 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3082 value, whether we could auto-deduce `backend', or not.
3084 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3085 with parameters" example. Simplify the "is it block or is it
3086 hash" check, but also make it more thorough.
3088 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3090 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3092 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3094 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3097 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3100 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3102 * progmodes/compile.el (compilation-directory-matcher)
3103 (compilation-page-delimiter):
3104 Support GNU Make-4.0 directory quoting. (Bug#15678)
3106 2013-10-23 Leo Liu <sdl.web@gmail.com>
3108 * ido.el (ido-tidy): Handle read-only text.
3110 2013-10-23 Glenn Morris <rgm@gnu.org>
3112 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3113 (emacs, compile, compile-always):
3114 Quote entities that might contain whitespace.
3115 (custom-deps, finder-data, autoloads): Use abs_lisp.
3116 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3117 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3118 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3120 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3122 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3123 Use `following-char'.
3125 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3127 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3128 * progmodes/ruby-mode.el (ruby-smie-rules):
3129 Remove corresponding workaround. Fix indentation rule of ";" so it
3130 also applies when ";" is the parent.
3132 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3134 * frame.el (display-screens, display-pixel-height)
3135 (display-pixel-width, display-mm-width, display-backing-store)
3136 (display-save-under, display-planes, display-color-cells)
3137 (display-visual-class, display-monitor-attributes-list):
3138 Mention the optional ‘display’ argument in doc strings.
3140 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3142 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3143 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3145 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3147 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3148 TODO. Add "." after " @ ".
3149 (ruby-smie--at-dot-call): New function. Checks if point at method
3150 call with explicit target.
3151 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3152 to the method name tokens when it precedes them.
3153 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3154 (ruby-smie-rules): Add rule for indentation before and after "."
3157 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3159 * textmodes/remember.el (remember-diary-extract-entries):
3162 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3165 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3167 * progmodes/ruby-mode.el (ruby-smie-grammar):
3168 Add (almost) all infix operators.
3169 (ruby-smie--implicit-semi-p): Add new operator chars.
3171 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3173 (ruby-smie--args-separator-p): Check that there's no newline
3174 between method call and its arguments.
3176 2013-10-20 Alan Mackenzie <acm@muc.de>
3178 Allow comma separated lists after Java "implements".
3180 * progmodes/cc-engine.el (c-backward-over-enum-header):
3182 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3183 from a "disallowed" list in enum fontification.
3185 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3187 * startup.el (default-frame-background-mode): Remove unused defvar.
3189 * progmodes/verilog-mode.el (verilog-mode): Don't set
3190 comment-indent-function globally.
3192 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3194 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3195 Move Info menu item creation to ns-win.el.
3197 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3200 * menu-bar.el: Move GNUStep specific menus...
3202 * term/ns-win.el (ns-initialize-window-system): ... to here.
3204 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3206 * simple.el (newline): Only run post-self-insert-hook when
3207 called interactively.
3209 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3211 * icomplete.el (icomplete-with-completion-tables): Add :version.
3213 2013-10-19 Alan Mackenzie <acm@muc.de>
3215 Fix fontification bugs with constructors and const.
3217 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3218 CASE 2) Remove the check for the absence of a suffix construct
3219 after a function declaration with only types (no identifiers) in
3220 the parentheses. Also, accept a function declaration with just a
3221 type inside the parentheses, if this type can be positively
3222 recognised as such, or if a prefix keyword like "explicit" nails
3223 down the construct as a declaration.
3225 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3227 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3228 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3229 the problem whereby selecting a menu item that leads to a
3230 minibuffer prompt moves the cursor out of the minibuffer window,
3231 making it hard to type at the prompt. Suggested by Stefan Monnier
3232 <monnier@iro.umontreal.ca>.
3234 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3236 * menu-bar.el: Don't make Services menu.
3238 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3240 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3241 (ffap-alist): Use ffap-c++-mode for c++-mode.
3242 (ffap-c++-path): New variable.
3243 (ffap-c++-mode): New function.
3245 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3247 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3249 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3251 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3252 introduced on 2013-09-08, which results in an infinite loop
3253 requesting a password.
3255 2013-10-18 Glenn Morris <rgm@gnu.org>
3257 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3259 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3261 Sync with upstream verilog-mode revision 1a6ecec7.
3262 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3263 (verilog-mode-release-date): Remove.
3264 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3265 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3266 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3267 (verilog-auto-tieoff-ignore-regexp)
3268 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3269 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3270 (verilog-signals-with, verilog-dir-cache-preserving)
3271 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3273 (verilog-case-fold): New option, to control case folding in
3274 regexp searches, bug597.
3275 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3276 (verilog-string-match-fold, verilog-in-paren-count)
3277 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3278 (verilog-at-close-struct-p): New functions.
3279 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3280 (verilog-forward-sexp, verilog-set-auto-endcomments):
3281 (verilog-leap-to-case-head): Handle "unique0" case.
3282 (verilog-in-constraint-re): New constant.
3283 (verilog-keywords, verilog-type-font-keywords):
3284 Add some SystemVerilog 1800-2012 keywords.
3285 (verilog-label-be): Remove unimplemented argument, bug669.
3286 (verilog-batch-execute-func): When batch expanding clear
3287 create-lockfiles to prevent spurious user locks when a file ends
3289 (verilog-calculate-indent, verilog-calc-1)
3290 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3291 (verilog-do-indent): Fix indentation of nested constraints
3293 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3294 (verilog-auto-inst-param): Use verilog-string-match-fold.
3295 (verilog-read-inst-module-matcher):
3296 Fix AUTOINST on gate primitives with #1.
3297 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3298 Reads all user-defined typed variables.
3299 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3300 (verilog-signals-matching-regexp)
3301 (verilog-signals-not-matching-regexp, verilog-auto):
3302 Respect verilog-case-fold.
3303 (verilog-diff-report): Fix line count.
3304 (verilog-auto-assign-modport): Remove unused local `modi'.
3305 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3306 better handle multidimensional arrays.
3307 Fix packed array ports misadding bit index in AUTOINST, bug637.
3308 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3309 to not double-declare existing outputs and inputs, respectively.
3310 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3311 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3312 (verilog-sk-uvm-component): New skeleton.
3313 (verilog-submit-bug-report): Add verilog-case-fold,
3314 remove verilog-mode-release-date.
3316 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3318 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3321 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3323 * textmodes/remember.el (remember): Set buffer-offer-save in
3324 remember buffers (bug#13566).
3326 2013-10-18 Daniel Colascione <dancol@dancol.org>
3328 When evaluating forms in ielm, direct standard output to ielm
3329 buffer. Add new ielm-return-for-effect command. Remove trailing
3330 whitespace throughout.
3332 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3333 (ielm-return-for-effect): New command.
3334 (ielm-send-input): Accept optional `for-effect' parameter.
3335 (ielm-eval-input): Accept optional `for-effect' parameter.
3336 Bind `standard-output' to stream we create using
3337 `ielm-standard-output-impl'. Suppress printing result when
3339 (ielm-standard-output-impl): New function.
3340 (inferior-emacs-lisp-mode): Explain new features in documentation.
3342 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3346 * net/tramp.el (tramp-debug-message): Do not check for connection
3348 (tramp-message): Use "vector" connection property.
3350 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3351 (tramp-equal-remote, tramp-eshell-directory-change)
3352 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3353 (tramp-adb-handle-rename-file)
3354 * net/tramp-cmds.el (tramp-list-remote-buffers)
3355 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3356 * net/tramp-compat.el (tramp-compat-process-running-p)
3357 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3358 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3359 (tramp-gvfs-handle-rename-file)
3360 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3361 (tramp-set-file-uid-gid)
3362 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3363 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3366 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3367 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3368 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3369 (tramp-gw-open-network-stream): Suppress unrelated traces.
3371 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3372 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3373 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3374 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3375 connection property.
3377 * net/tramp-cache.el (top): Suppress traces when reading
3380 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3381 Refactor common code. Improve debug message.
3382 (tramp-maybe-open-connection)
3383 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3384 connection buffer too early.
3386 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3387 from `tramp-smb-actions-with-acl'.
3388 (tramp-smb-actions-set-acl): New defconst.
3389 (tramp-smb-handle-copy-directory)
3390 (tramp-smb-action-get-acl): New defun, renamed from
3391 `tramp-smb-action-with-acl'.
3392 (tramp-smb-action-set-acl): New defun.
3393 (tramp-smb-handle-set-file-acl): Rewrite.
3395 2013-10-17 Glenn Morris <rgm@gnu.org>
3397 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3399 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3401 * skeleton.el (skeleton-newline): Remove.
3402 (skeleton-internal-1): Use (insert "\n") instead.
3404 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3407 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3408 forward-sexp-function while we redo its job (bug#15613).
3410 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3412 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3413 represented by lists.
3415 2013-10-16 Glenn Morris <rgm@gnu.org>
3417 * tmm.el (tmm--history): New dynamic variable.
3418 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3420 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3422 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3423 (tramp-smb-errors): Add error messages.
3424 (tramp-smb-actions-with-acl): New defconst.
3425 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3426 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3427 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3428 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3429 (tramp-smb-get-stat-capability): Fix tests.
3431 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3433 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3436 2013-10-16 Glenn Morris <rgm@gnu.org>
3438 * ansi-color.el (ansi-color-drop-regexp):
3439 Add 1J, 1K, 2K. (Bug#15617)
3441 * files.el (hack-local-variables--warned-lexical): New.
3442 (hack-local-variables):
3443 Warn about misplaced lexical-binding. (Bug#15616)
3445 * net/eww.el (eww-render): Always set eww-current-url,
3446 and update header line. (Bug#15622)
3447 (eww-display-html): ... Rather than just doing it here.
3449 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3451 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3452 menu navigations commands.
3454 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3456 * progmodes/subword.el (subword-capitalize): Be careful when
3457 the search for [[:alpha:]] fails (bug#15580).
3459 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3461 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3462 to commands that scroll the menu.
3464 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3466 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3467 Handle methods ending with `?' and `!'.
3469 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3471 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3472 `japanese-cp932' to `cp932' to fix the problem where saving a
3473 source file written in Shift_JIS twice would end up having
3474 `coding: japanese-cp932' which Ruby could not recognize.
3475 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3476 in `ruby-encoding-map'.
3477 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3478 doesn't need to be explicitly declared in magic comment.
3479 (ruby-encoding-map): Add type declaration for better customize UI.
3481 2013-10-13 Glenn Morris <rgm@gnu.org>
3483 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3484 Occur buffers are read-only. http://bugs.debian.org/720775
3486 * emacs-lisp/authors.el (authors-fixed-entries):
3487 Comment out old alpha stuff.
3489 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3491 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3492 to `after-save-hook' instead of `before-save-hook'.
3493 (ruby-mode-set-encoding): Use the value of coding system used to
3494 write the file. Call `basic-save-buffer-1' after modifying the
3497 2013-10-13 Alan Mackenzie <acm@muc.de>
3499 Fix indentation/fontification of Java enum with
3500 "implements"/generic.
3502 * progmodes/cc-engine.el (c-backward-over-enum-header):
3503 Extracted from the three other places and enhanced to handle generics.
3504 (c-inside-bracelist-p): Uses new function above.
3505 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3507 (c-font-lock-enum-tail): Uses new function above.
3509 2013-10-13 Kenichi Handa <handa@gnu.org>
3511 * international/mule-cmds.el (select-safe-coding-system): Remove a
3512 superfluous condition in chekcing whether a coding system is safe
3515 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3517 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3519 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3521 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3523 2013-10-13 Glenn Morris <rgm@gnu.org>
3525 * menu-bar.el (menu-bar-update-buffers):
3526 Unify Buffers menu prompt string. (Bug#15576)
3528 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3530 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3532 (authors-fixed-entries): Use accented form of name.
3534 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3536 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3537 method calls (bug#15594).
3538 (ruby-smie--args-separator-p): New function.
3539 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3540 recognize paren-free method calls.
3542 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3543 internals of universal-argument.
3545 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3547 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3548 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3549 dropped menu on second mouse click on the menu bar.
3551 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3553 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3554 (explicit-shell-file-name): Declare.
3555 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3556 (sh-completion-at-point-function): New function.
3558 (sh-smie--keyword-p): Remove unused argument.
3559 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3561 (sh-set-shell): Always setup SMIE, even if we use the
3562 old indentation code.
3564 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3566 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3568 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3569 predicate would return nil are almost non-existent.
3570 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3572 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3573 cache also after commands that modify the buffer but don't move
3576 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3578 * env.el (substitute-env-in-file-name): New function.
3579 (substitute-env-vars): Extend the meaning of the optional arg.
3581 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3583 * term/w32-win.el (dynamic-library-alist): Define separate lists
3584 of GIF DLLs for versions before and after 5.0.0 of giflib.
3587 2013-10-10 João Távora <joaotavora@gmail.com>
3589 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3590 not locked, use last revision and current source as
3591 defaults. (Bug#15569)
3593 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3595 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3598 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3600 * window.el (pop-to-buffer-same-window): Fix doc-string.
3603 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3605 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3607 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3609 * calendar/icalendar.el (icalendar-import-file):
3610 Fix interactive spec. (Bug#15482)
3612 2013-10-10 Glenn Morris <rgm@gnu.org>
3614 * desktop.el (desktop-save): Default to saving in .emacs.d,
3615 since PWD is no longer in desktop-path by default. (Bug#15319)
3617 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3618 now that text mode has a menu with the same entry.
3619 (menu-bar-text-mode-auto-fill): Remove now unused func.
3620 * textmodes/text-mode.el (text-mode-map):
3621 Use auto-fill help text from menu-bar.el.
3623 2013-10-10 John Anthony <john@jo.hnanthony.com>
3625 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3627 2013-10-09 Juri Linkov <juri@jurta.org>
3629 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3630 instead of this-command-keys. Add universal-argument-more and
3631 universal-argument-minus to the list of prefix commands. (Bug#15568)
3633 2013-10-09 Glenn Morris <rgm@gnu.org>
3635 * vc/vc-svn.el (vc-svn-create-repo):
3636 Expand paths in file://... url. (Bug#15446)
3638 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3640 (authors): Remove unused local variables.
3642 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3644 * profiler.el: Create a more coherent calltree from partial backtraces.
3645 (profiler-format): Hide the tail with `invisible' so that C-s can still
3646 find the hidden elements.
3647 (profiler-calltree-depth): Don't recurse so enthusiastically.
3648 (profiler-function-equal): New hash-table-test.
3649 (profiler-calltree-build-unified): New function.
3650 (profiler-calltree-build): Use it.
3651 (profiler-report-make-name-part): Indent the calltree less.
3652 (profiler-report-mode): Add visibility specs for profiler-format.
3653 (profiler-report-expand-entry, profiler-report-toggle-entry):
3654 Expand the whole subtree when provided with a prefix arg.
3656 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3658 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3660 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3661 hanging iuwu-mod token.
3662 (ruby-smie--forward-token): Do not include a dot after a token in
3664 (ruby-smie--backward-token): Likewise.
3666 2013-10-08 Juri Linkov <juri@jurta.org>
3668 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3669 to isearch-other-control-char.
3670 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3671 and isearch-post-command-hook to post-command-hook.
3672 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3673 and isearch-post-command-hook from post-command-hook.
3674 (isearch-unread-key-sequence)
3675 (isearch-reread-key-sequence-naturally)
3676 (isearch-lookup-scroll-key, isearch-other-control-char)
3677 (isearch-other-meta-char): Remove functions.
3678 (isearch-pre-command-hook, isearch-post-command-hook):
3679 New functions based on isearch-other-meta-char rewritten
3680 relying on the new behavior of overriding-terminal-local-map
3681 that does not replace the local keymaps any more. (Bug#15200)
3683 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3685 Support menus on text-mode terminals.
3686 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3689 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3691 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3692 Move here from mouse.el.
3693 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3695 (tty-menu-navigation-map): New map for TTY menu navigation.
3697 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3699 * frame.el (display-mouse-p): Report text-mode mouse as available
3701 (display-popup-menus-p): Report availability if mouse is
3702 available; don't condition on window-system.
3704 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3705 (tty-menu-selected-face): New faces.
3707 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3709 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3710 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3711 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3712 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3714 (lisp-mode-variables): New `elisp' argument.
3715 (emacs-lisp-mode): Use it.
3716 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3717 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3719 * indent.el: Use lexical-binding.
3720 (indent-region): Add progress reporter.
3721 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3723 (indent--next-tab-stop): New function to implement this behavior.
3724 (tab-to-tab-stop, move-to-tab-stop): Use it.
3726 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3728 * indent.el (indent-rigidly--current-indentation): New function.
3729 (indent-rigidly-map): New var.
3730 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3732 2013-10-08 Bastien Guerry <bzg@gnu.org>
3734 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3736 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3738 * progmodes/perl-mode.el: Use lexical-binding.
3739 Remove redundant :group args.
3740 (perl-nochange): Change default to be closer to other major modes's
3742 (perl-indent-line): Don't consider text on current line as a
3743 valid beginning of function from which to indent.
3745 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3746 with more than one argument (bug#15538).
3748 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3750 * vc/pcvs.el: Use lexical-binding.
3751 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3752 environment of `eval'.
3753 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3754 than a list of expressions. Adjust callers.
3755 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3757 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3759 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3760 case of the dot in a chained method call being on the following line.
3762 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3764 * electric.el (electric-indent-inhibit): New var.
3765 (electric-indent-post-self-insert-function): Use it.
3766 * progmodes/python.el (python-mode): Set it.
3768 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3771 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3773 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3774 (css-mode): Use electric-indent-chars.
3776 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3777 (font-lock-beg, font-lock-end): Move before first use.
3778 (nxml-mode): Use syntax-propertize-function.
3779 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3780 (nxml-extend-after-change-region): Remove.
3781 * nxml/xmltok.el: Use lexical-binding.
3782 (xmltok-save): Use `declare'.
3783 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3784 * nxml/nxml-util.el: Use lexical-binding.
3785 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3787 * nxml/nxml-ns.el: Use lexical-binding.
3788 (nxml-ns-save): Use `declare'.
3789 (nxml-ns-prefixes-for): Avoid add-to-list.
3790 * nxml/rng-match.el: Use lexical-binding.
3791 (rng--ipattern): Use cl-defstruct.
3792 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3793 (rng-cons-group-after, rng-subst-group-after)
3794 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3795 Use closures instead of `(lambda...).
3797 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3799 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3802 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3803 Use `tramp-handle-insert-file-contents'.
3804 (tramp-gvfs-handle-insert-file-contents): Remove function.
3806 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3807 Use `save-restriction' in order to keep markers.
3809 * net/trampver.el: Update release number.
3811 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3813 * progmodes/compile.el (compilation-parse-errors):
3814 Use compilation--put-prop.
3815 (compilation--ensure-parse): Check compilation-multiline.
3817 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3819 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3822 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3824 * progmodes/ruby-mode.el: Fix recently added tests.
3825 (ruby-smie-grammar): Add - and +.
3826 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3827 (ruby-smie--backward-id): New functions.
3828 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3829 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3832 2013-10-07 Leo Liu <sdl.web@gmail.com>
3834 * register.el (register-preview-delay)
3835 (register-preview-functions): New variables.
3836 (register-read-with-preview, register-preview)
3837 (register-describe-oneline): New functions.
3838 (point-to-register, window-configuration-to-register)
3839 (frame-configuration-to-register, jump-to-register)
3840 (number-to-register, view-register, insert-register)
3841 (copy-to-register, append-to-register, prepend-to-register)
3842 (copy-rectangle-to-register): Use register-read-with-preview to
3843 read register. (Bug#15525)
3845 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3847 * net/network-stream.el (network-stream-open-starttls): Don't add
3848 --insecure if it's already present, because that gnutls-cli
3849 rejects getting that parameter twice.
3851 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3853 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3856 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3858 * newcomment.el (comment-use-global-state): Change default value
3859 to t, mark obsolete (Bug#15251).
3860 (comment-beginning): In addition to `comment-to-syntax', check the
3861 value of `comment-use-global-state'.
3863 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3865 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3866 (ruby-comment-column): Follow the global default, by default.
3867 (ruby-smie-grammar): Add assignment syntax.
3868 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3869 open-paren, a comma, or a \.
3870 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3871 and line continuations.
3872 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3873 followed by implicit semi-colons. Add rule for string concatenation
3874 and for indentation at BOB.
3875 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3877 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3878 calling next-sexp, since next-token may have skipped chars which
3879 next-sexp doesn't know should be skipped!
3881 2013-10-05 Leo Liu <sdl.web@gmail.com>
3883 * progmodes/octave.el (octave-send-region):
3884 Call compilation-forget-errors.
3886 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3888 * vc/vc-svn.el (vc-svn-find-admin-dir):
3889 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3890 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3891 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3892 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3894 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3896 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3898 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3900 * subr.el (read-passwd): Hide chars even when called within a context
3901 where after-change-functions is disabled (bug#15501).
3902 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3903 until we removed ourself from overriding-terminal-local-map.
3905 2013-10-04 Leo Liu <sdl.web@gmail.com>
3907 * progmodes/octave.el (inferior-octave-mode):
3908 Call compilation-forget-errors.
3910 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3912 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3914 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3916 * net/secrets.el (secrets-create-collection): Add optional
3917 argument ALIAS. Use proper Label keyword. Append ALIAS as
3918 dbus-call-method argument. (Bug#15516)
3920 2013-10-04 Leo Liu <sdl.web@gmail.com>
3922 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3923 (inferior-octave-compilation-font-lock-keywords): New variables.
3924 (compilation-error-regexp-alist)
3925 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3926 (inferior-octave-mode): Use compilation-shell-minor-mode.
3928 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3930 * minibuffer.el (completion--replace): Be careful that `end' might be
3933 2013-10-03 Daiki Ueno <ueno@gnu.org>
3935 Add support for package signature checking.
3936 * emacs-lisp/package.el (url-http-file-exists-p)
3937 (epg-make-context, epg-context-set-home-directory)
3938 (epg-verify-string, epg-context-result-for)
3939 (epg-signature-status, epg-signature-to-string)
3940 (epg-check-configuration, epg-configuration)
3941 (epg-import-keys-from-file): Declare.
3942 (package-check-signature): New user option.
3943 (package-unsigned-archives): New user option.
3944 (package-desc): Add `signed' field.
3945 (package-load-descriptor): Set `signed' field if .signed file exists.
3946 (package--archive-file-exists-p): New function.
3947 (package--check-signature): New function.
3948 (package-install-from-archive): Check package signature.
3949 (package--download-one-archive): Check archive signature.
3950 (package-delete): Remove .signed file.
3951 (package-import-keyring): New command.
3952 (package-refresh-contents): Import default keyring.
3953 (package-desc-status): Add "unsigned" status.
3954 (describe-package-1, package-menu--print-info)
3955 (package-menu-mark-delete, package-menu--find-upgrades)
3956 (package-menu--status-predicate): Support "unsigned" status.
3958 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3960 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3961 the new compilation scheme using the new byte-codes.
3963 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3964 (byte-pophandler): New byte codes.
3965 (byte-goto-ops): Adjust accordingly.
3966 (byte-compile--use-old-handlers): New var.
3967 (byte-compile-catch): Use new byte codes depending on
3968 byte-compile--use-old-handlers.
3969 (byte-compile-condition-case--old): Rename from
3970 byte-compile-condition-case.
3971 (byte-compile-condition-case--new): New function.
3972 (byte-compile-condition-case): New function that dispatches depending
3973 on byte-compile--use-old-handlers.
3974 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3977 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3978 Optimize under `condition-case' and `catch' if
3979 byte-compile--use-old-handlers is nil.
3980 (disassemble-offset): Handle new bytecodes.
3982 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3984 * subr.el (error): Use `declare'.
3985 (decode-char, encode-char): Use advertised-calling-convention instead
3986 of the docstring to discourage use of the `restriction' arg.
3988 2013-10-03 Daiki Ueno <ueno@gnu.org>
3990 * epg.el (epg-verify-file): Add a comment saying that it does not
3991 notify verification error as a return value nor a signal.
3992 (epg-verify-string): Ditto.
3994 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3996 * progmodes/compile.el (compilation-start): Try globbing the arg to
3999 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4001 Sync with Tramp 2.2.8.
4003 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4004 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4005 * net/trampver.el: Update release number.
4007 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4009 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4010 and default-process-coding-system for darwin only.
4012 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4014 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4016 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4018 * vc/vc-git.el (vc-git-grep): Disable pager.
4020 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4022 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4023 Use :url instead of :homepage, as per
4024 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4026 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4027 non-nil, use `syntax-ppss' (Bug#15251).
4029 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4031 * progmodes/octave.el (inferior-octave-startup-file):
4032 Prefer ~/.emacs.d/init_octave.m.
4034 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4036 * emacs-lisp/package.el (package-desc-from-define):
4037 Accept additional arguments as plist, convert them to an alist and store
4038 them in the `extras' slot.
4039 (package-generate-description-file): Convert extras alist back to
4040 plist and append to the `define-package' form arguments.
4041 (package--alist-to-plist): New function.
4042 (package--ac-desc): Add `extras' slot.
4043 (package--add-to-archive-contents): Check if the archive-contents
4044 vector is long enough, and if it is, pass its `extras' slot value
4045 to `package-desc-create'.
4046 (package-buffer-info): Call `lm-homepage', pass the returned value
4047 to `package-desc-from-define'.
4048 (describe-package-1): Render the homepage button (Bug#13291).
4050 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4051 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4053 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4055 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4056 and default-process-coding-system to utf-8-unix (Bug#15402).
4058 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4060 * subr.el (looking-back): Do not recommend using looking-back.
4062 2013-09-28 Alan Mackenzie <acm@muc.de>
4064 Fix indentation/fontification of Java enum with "implements".
4066 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4067 regexp which matches "implements", etc., in Java.
4068 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4069 specifier clauses coming after "enum".
4070 * progmodes/cc-fonts.el (c-font-lock-declarations)
4071 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4074 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4076 * faces.el (region): Change ns_selection_color to
4077 ns_selection_fg_color, add ns_selection_bg_color.
4079 2013-09-28 Leo Liu <sdl.web@gmail.com>
4081 * progmodes/octave.el (inferior-octave-completion-table)
4082 (inferior-octave-completion-at-point): Minor tweaks.
4084 * textmodes/ispell.el (ispell-lookup-words): Rename from
4085 lookup-words. (Bug#15460)
4086 (lookup-words): Obsolete.
4087 (ispell-complete-word, ispell-command-loop): All uses changed.
4089 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4091 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4092 (octave-mode-menu): Add octave-send-buffer.
4093 (octave-send-buffer): New function.
4095 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4097 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
4099 (octave-mode-menu): Add octave-lookfor.
4100 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4102 (octave-lookfor): New function.
4104 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4106 * emacs-lisp/cl-macs.el:
4107 (cl--loop-destr-temps): Remove.
4108 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4110 (cl--loop-set-iterator-function): New function.
4111 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4112 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4113 Bind `it' with `let' instead of substituting it with `cl-subst'.
4114 (cl--unused-var-p): New function.
4115 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4116 Eliminate some unused variable warnings (bug#15326).
4118 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4120 * doc-view.el (doc-view-scale-reset): Rename from
4121 `doc-view-reset-zoom-level'.
4122 (doc-view-scale-adjust): New command.
4123 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4124 `doc-view-scale-adjust'.
4126 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4128 * doc-view.el (doc-view-reset-zoom-level): New command.
4129 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4130 zoom commands (bug#15466).
4132 2013-09-26 Kenichi Handa <handa@gnu.org>
4134 * international/quail.el (quail-help): Make it not a command.
4136 2013-09-26 Leo Liu <sdl.web@gmail.com>
4138 * minibuffer.el (completion-all-sorted-completions): Make args
4139 optional as they are.
4141 2013-09-25 Daniel Colascione <dancol@dancol.org>
4143 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4144 specs are and that they're not evaluated.
4146 2013-09-24 Sam Steingold <sds@gnu.org>
4148 * midnight.el (clean-buffer-list-kill-regexps)
4149 (clean-buffer-list-kill-buffer-names): Update for the new Man
4150 buffer naming which includes the object name.
4152 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4154 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4155 (eshell-parse-command, eshell-parse-pipeline): Use it since
4156 eshell-separate-commands requires a dynamic scoped var.
4157 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4159 2013-09-23 Leo Liu <sdl.web@gmail.com>
4161 * autoinsert.el (auto-insert-alist): Make the value of
4162 lexical-binding match its file setting.
4164 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4166 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4168 * autoarg.el (autoarg-kp-digit-argument):
4169 * electric.el (Electric-command-loop):
4170 * kmacro.el (kmacro-step-edit-insert):
4171 Do not set universal-argument-num-events.
4173 2013-09-22 Leo Liu <sdl.web@gmail.com>
4175 * files.el (interpreter-mode-alist): Add octave.
4177 2013-09-21 Alan Mackenzie <acm@muc.de>
4179 C++: fontify identifier in declaration following "public:" correctly.
4180 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4181 to match "public", etc.
4182 (c-decl-prefix-re): Add ":" into the C++ value.
4183 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4184 bit. Add a check for a ":" preceded by "public", etc.
4186 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4188 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4189 recognized by GDB 7.5 and later.
4191 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4193 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4195 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4197 * subr.el (internal--call-interactively): New const.
4198 (called-interactively-p): Use it (bug#3984).
4200 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4202 * vc/pcvs.el (cvs-mode-ignore):
4203 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4204 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4206 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4208 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4209 (eshell-ls-orig-insert-directory): Remove.
4210 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4211 (eshell-ls-use-in-dired): Use advice-add/remove.
4212 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4213 Add `orig-fun' arg for use in :around advice.
4214 Make it check (redundantly) eshell-ls-use-in-dired.
4216 2013-09-19 Glenn Morris <rgm@gnu.org>
4218 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4220 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4222 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4224 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4226 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4227 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4228 (tramp-get-remote-python): New defuns.
4229 (tramp-get-remote-uid-with-perl)
4230 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4231 contributed by yary <not.com@gmail.com> (tiny change).
4232 (tramp-get-remote-uid-with-python)
4233 (tramp-get-remote-gid-with-python): New defuns. Python code
4234 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4235 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4237 2013-09-19 Glenn Morris <rgm@gnu.org>
4239 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4241 * eshell/em-unix.el (eshell-remove-entries):
4242 Rename argument to avoid name-clash with global `top-level'.
4244 * eshell/esh-proc.el (eshell-kill-process-function):
4245 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4246 (eshell-reset-after-proc): Remove unused arg `proc'.
4248 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4249 (directory-files-and-attributes): Mark unused arg.
4251 * eshell/em-unix.el (eshell-remove-entries):
4252 Remove unused arg `path'. Update callers.
4254 * eshell/em-hist.el (eshell-hist-parse-arguments):
4255 Remove unused arg `silent'. Update callers.
4257 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4258 Fix (f)boundp mix-up.
4260 * eshell/em-smart.el (eshell-smart-scroll-window)
4261 (eshell-disable-after-change):
4262 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4264 2013-09-18 Alan Mackenzie <acm@muc.de>
4266 Fix fontification of type when followed by "const".
4267 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4268 "known" types from fontification.
4270 2013-09-18 Glenn Morris <rgm@gnu.org>
4272 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4273 (chart-face-list): Drop Emacsen without display-color-p.
4275 * net/eww.el (libxml-parse-html-region): Declare.
4276 (eww-display-html): Explicit error if no libxml2 support.
4278 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4280 * image.el (image-type-from-buffer, image-multi-frame-p):
4281 Remove --without-x warning/error.
4283 * mouse.el (mouse-yank-primary):
4284 * term.el (term-mouse-paste):
4285 Reorder to silence --without-x compilation.
4287 * mpc.el (doc-view-mode): Silence --without-x compilation.
4289 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4290 Silence --without-x compilation.
4292 * progmodes/gud.el (gud-find-file, gud-mode):
4293 Silence --without-x compilation.
4294 (tooltip-mode): Declare.
4296 * wdired.el (dired-backup-overwrite): Remove declaration.
4297 (wdired-mode-map): Add doc string.
4299 * custom.el (x-get-resource): Declare.
4301 * eshell/em-glob.el (ange-cache):
4302 * eshell/em-unix.el (ange-cache): Declare.
4304 * faces.el (x-display-list, x-open-connection, x-get-resource):
4307 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4308 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4311 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4313 * net/gnutls.el (gnutls-log-level): Declare.
4315 * net/shr.el (image-size, image-animate): Declare.
4317 * simple.el (font-info): Declare.
4319 * subr.el (x-popup-dialog): Declare.
4321 * term/common-win.el (x-select-enable-primary)
4322 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4325 * term/ns-win.el (x-handle-args): Declare.
4327 * term/x-win.el (x-select-enable-clipboard): Declare.
4329 * term/w32-win.el (create-default-fontset): Declare.
4331 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4334 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4335 (fit-frame-to-buffer): Explicit error if --without-x.
4336 (mouse-autoselect-window-select): Silence compiler.
4338 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4340 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4341 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4342 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4343 * eshell/esh-util.el (eshell-sublist):
4344 Remove unused local variables.
4346 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4348 * textmodes/two-column.el: Make 2C-split work for --without-x.
4349 (scroll-bar-columns): Autoload.
4350 (top-level): Require fringe when compiling.
4352 2013-09-18 Leo Liu <sdl.web@gmail.com>
4354 * subr.el (add-hook): Robustify to handle closure as well.
4356 2013-09-17 Glenn Morris <rgm@gnu.org>
4358 * simple.el (messages-buffer-mode-map): Unbind "g".
4360 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4362 * help-mode.el (help-mode-finish): Use derived-mode-p.
4363 Remove obsolete highlighting.
4365 * play/life.el (life-mode): Use define-derived-mode. Derive from
4367 (life): Let-bind inhibit-read-only.
4368 (life-setup): Avoid `setq'. Use `life-mode'.
4370 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4371 which should not be needed any more.
4372 (package-menu-refresh, package-menu-describe-package): Use user-error.
4374 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4375 (eshell-post-rewrite-command-hook): Make obsolete.
4376 (eshell-parse-command): Simplify.
4377 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4378 (eshell--cmd): Declare.
4379 (eshell-parse-pipeline): Remove unused var `final-p'.
4380 Pass a dynvar to eshell-post-rewrite-command-hook.
4381 Implement the new eshell-post-rewrite-command-function.
4382 (eshell-invoke-directly): Remove unused arg `input'.
4383 * eshell/esh-io.el (eshell-io-initialize):
4384 Use eshell-post-rewrite-command-function (bug#15399).
4385 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4386 adjust to new calling convention.
4387 (eshell-create-handles): Rename args to avoid clashing with dynvar
4390 2013-09-17 Glenn Morris <rgm@gnu.org>
4392 * simple.el (messages-buffer-mode): New major mode.
4393 (messages-buffer): New function.
4394 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4395 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4396 (ert-run-test): Use `messages-buffer' function.
4397 (ert--force-message-log-buffer-truncation): Ignore read-only.
4398 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4399 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4401 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4403 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4405 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4407 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4409 * icomplete.el (icomplete-in-buffer): New var.
4410 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4411 vars and replace them with functions.
4412 (icomplete-minibuffer-setup): Adjust accordingly.
4413 (icomplete--completion-table, icomplete--completion-predicate)
4414 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4416 (icomplete-forward-completions, icomplete-backward-completions)
4417 (icomplete-simple-completing-p, icomplete-exhibit)
4418 (icomplete-completions): Use them.
4419 (icomplete--in-region-buffer): New var.
4420 (icomplete--in-region-setup): New function.
4421 (icomplete-mode): Use it.
4423 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4425 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4426 return args and options.
4427 (eshell-eval-using-options): Use the new return value of
4428 eshell--do-opts to set the options's vars in their scope.
4429 (eshell--set-option): Rename from eshell-set-option.
4431 (eshell--process-option): Rename from eshell-process-option.
4433 (eshell--process-args): Use an `opt-vals' alist to store the options's
4434 values during their processing and return them additionally to the
4437 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4439 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4440 continuation character an operator, as far as indentation is
4441 concerned (Bug#15369).
4443 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4445 * window.el (window--state-put-2): Don't process buffer state
4446 when buffer doesn't exist any more (Bug#15382).
4448 2013-09-15 Glenn Morris <rgm@gnu.org>
4450 * eshell/em-unix.el (eshell/rm):
4451 Make -f ignore missing files. (Bug#15373)
4453 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4454 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4455 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4457 2013-09-14 Glenn Morris <rgm@gnu.org>
4459 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4461 2013-09-13 Glenn Morris <rgm@gnu.org>
4463 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4464 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4466 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4468 * frame.el (x-focus-frame): Mark as declared in frame.c.
4470 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4472 * ls-lisp.el: Use advice-add.
4473 (original-insert-directory): Remove.
4474 (ls-lisp--insert-directory): Rename from insert-directory; add
4475 `orig-fun' argument.
4476 (insert-directory): Advise.
4478 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4480 * term.el (term-emulate-terminal): Decode the command string
4481 before passing it to term-command-hook. (Bug#15337)
4483 2013-09-13 Glenn Morris <rgm@gnu.org>
4485 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4487 * eshell/esh-ext.el (eshell-search-path): Declare.
4489 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4490 Otherwise an error occurs if eshell-dirs module not loaded.
4492 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4494 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4496 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4497 `tramp-check-proper-host'. Check for a valid method name.
4499 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4500 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4501 * net/tramp-sh.el (tramp-maybe-open-connection):
4502 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4504 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4505 also for hash values.
4507 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4509 * term/ns-win.el (parameters): Don't declare as dynamic.
4510 (before-make-frame-hook): Don't add ineffective function.
4512 * eshell/*.el: Use lexical-binding (bug#15231).
4514 2013-09-12 Kenichi Handa <handa@gnu.org>
4516 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4518 2013-09-12 Glenn Morris <rgm@gnu.org>
4520 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4521 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4523 * subr.el (do-after-load-evaluation): Also give compiler warnings
4524 when obsolete files are used (except by obsolete files).
4526 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4527 in the status output, assume `filename' is the first. (Bug#15322)
4529 * vc/vc.el (vc-deduce-fileset): Doc fix.
4531 * calc/calc-help.el (Info-goto-node):
4532 * progmodes/cperl-mode.el (Info-find-node):
4533 * vc/ediff.el (Info-goto-node): Update declarations.
4535 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4537 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4538 (vc-bzr-pull): Require vc-dispatcher.
4539 * vc/vc-git.el (vc-compilation-mode): Declare.
4540 (vc-git-pull): Require vc-dispatcher.
4542 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4544 * progmodes/octave.el (help-button-action): Declare.
4546 * shell.el (shell-directory-tracker): Output error as a message
4547 rather than just returning it as a string.
4548 (shell-process-pushd): Remove useless use of message.
4550 * dframe.el (dframe-timer-fn):
4551 * files.el (dir-locals-read-from-file):
4552 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4554 * reveal.el (reveal-post-command):
4555 * saveplace.el (load-save-place-alist-from-file):
4556 * shell.el (shell-resync-dirs):
4557 * w32-common-fns.el (x-get-selection-value):
4558 * emacs-lisp/copyright.el (copyright-find-copyright):
4559 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4560 * emulation/tpu-edt.el (tpu-copy-keyfile):
4561 * play/bubbles.el (bubbles--mark-neighbourhood):
4562 * progmodes/executable.el
4563 (executable-make-buffer-file-executable-if-script-p):
4564 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4566 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4568 Cleanup Eshell to rely less on dynamic scoping.
4569 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4570 last-value, and ext-command here. Bind `args' closer to `body'.
4571 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4572 (eshell--args): Declare new dynamic var.
4573 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4574 last-value, and ext-command. Pass `args' to `body'.
4575 (eshell-process-args): Bind eshell--args.
4576 (eshell-set-option): Use eshell--args.
4577 * eshell/eshell.el (eshell): Use derived-mode-p.
4578 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4579 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4580 (eshell-glob-function): Declare.
4581 * eshell/esh-util.el: Require cl-lib.
4582 (eshell-read-hosts-file): Avoid add-to-list.
4583 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4585 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4587 (eshell/diff): Remove unused var `err'.
4588 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4590 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4591 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4593 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4594 Move declaration before first use.
4595 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4596 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4599 2013-09-12 Glenn Morris <rgm@gnu.org>
4601 * term/ns-win.el (global-map): Remove binding for ispell-next,
4602 deleted 1999-05-29. (Bug#15357)
4604 2013-09-11 Glenn Morris <rgm@gnu.org>
4606 * echistory.el (electric-command-history): Remove call to deleted func.
4608 * play/landmark.el (landmark-mode): Fix typos.
4610 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4611 Check cvs-sort-ignore-file is bound.
4613 * savehist.el: No need for cl when compiling on Emacs.
4615 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4617 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4619 (eshell-self-insert-command, eshell-send-invisible):
4620 Remove unused argument.
4621 (eshell-handle-control-codes): Remove unused var `orig'.
4622 Avoid delete-backward-char.
4624 * files.el (set-auto-mode): Simplify a bit further.
4626 2013-09-11 Glenn Morris <rgm@gnu.org>
4628 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4629 (set-auto-mode): Don't regexp-quote elements.
4630 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4631 * progmodes/cc-mode.el (interpreter-mode-alist):
4632 * progmodes/ruby-mode.el (interpreter-mode-alist):
4633 Revert previous change.
4635 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4637 * play/snake.el (snake-mode):
4638 * play/mpuz.el (mpuz-mode):
4639 * play/landmark.el (lm-mode):
4640 * play/blackbox.el (blackbox-mode):
4641 * play/5x5.el (5x5-mode):
4642 * obsolete/options.el (Edit-options-mode):
4643 * net/quickurl.el (quickurl-list-mode):
4644 * net/newst-treeview.el (newsticker-treeview-mode):
4645 * mail/rmailsum.el (rmail-summary-mode):
4646 * mail/mspools.el (mspools-mode):
4647 * locate.el (locate-mode):
4648 * ibuffer.el (ibuffer-mode):
4649 * emulation/ws-mode.el (wordstar-mode):
4650 * emacs-lisp/debug.el (debugger-mode):
4651 * array.el (array-mode):
4652 * net/eudc.el (eudc-mode): Use define-derived-mode.
4653 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4654 Move initialization into declaration.
4655 (mairix-searches-mode): Use define-derived-mode.
4656 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4657 (eudc-edit-hotlist): Use dolist.
4658 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4659 (Man-mode): Use define-derived-mode.
4660 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4661 (Info-edit-mode): Use define-derived-mode.
4662 (Info-cease-edit): Use Info-mode.
4663 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4665 (eshell-mode): Use define-derived-mode.
4666 * chistory.el (command-history-mode-map): Rename from
4667 command-history-map.
4668 (command-history-mode): Use define-derived-mode.
4669 (Command-history-setup): Remove function.
4670 * calc/calc.el (calc-trail-mode-map): New var.
4671 (calc-trail-mode): Use define-derived-mode.
4672 (calc-trail-buffer): Set calc-main-buffer manually.
4673 * bookmark.el (bookmark-insert-annotation): New function.
4674 (bookmark-edit-annotation): Use it.
4675 (bookmark-edit-annotation-mode): Make it a proper major mode.
4676 (bookmark-send-edited-annotation): Use derived-mode-p.
4677 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4678 closer to its ideal place. Use \' to match EOS.
4680 * profiler.el (profiler-calltree-find): Use function-equal.
4682 2013-09-10 Glenn Morris <rgm@gnu.org>
4684 * files.el (interpreter-mode-alist): Convert to regexps.
4685 (set-auto-mode): Adapt for this. (Bug#15306)
4686 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4687 Comment out unused variable.
4688 * progmodes/cc-mode.el (interpreter-mode-alist):
4689 * progmodes/python.el (interpreter-mode-alist):
4690 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4691 * progmodes/sh-script.el (sh-set-shell):
4692 No longer use interpreter-mode-alist to get list of shells.
4694 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4696 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4698 * simple.el: Use set-temporary-overlay-map for universal-argument.
4699 (universal-argument-map): Don't use default-bindings (bug#15317).
4700 Bind switch-frame explicitly. Replace universal-argument-minus with
4701 a conditional binding.
4702 (universal-argument-num-events, saved-overriding-map): Remove.
4703 (restore-overriding-map): Remove.
4704 (universal-argument--mode): Rename from save&set-overriding-map,
4706 (universal-argument, universal-argument-more, negative-argument)
4707 (digit-argument): Adjust accordingly.
4708 (universal-argument-minus): Remove.
4709 (universal-argument-other-key): Remove.
4711 * subr.el (with-demoted-errors): Add `format' argument.
4713 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4715 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4716 `tramp-cleanup-connection'.
4718 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4719 parameters KEEP-DEBUG and KEEP-PASSWORD.
4721 * net/tramp.el (tramp-file-name-handler):
4722 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4723 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4724 (tramp-maybe-open-connection):
4725 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4726 Use `tramp-cleanup-connection'.
4728 * net/tramp-sh.el (tramp-maybe-open-connection):
4729 Catch 'uname-changed inside the progress reporter.
4731 2013-09-10 Glenn Morris <rgm@gnu.org>
4733 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4735 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4736 returns "alternate access method" in mode (eg "-rw-r--r--.").
4738 2013-09-08 Glenn Morris <rgm@gnu.org>
4740 * saveplace.el (load-save-place-alist-from-file):
4741 Demote errors. (Bug#15305)
4743 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4745 Improve compatibility with older Emacsen, and XEmacs.
4747 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4748 only if it is bound. It isn't for XEmacs.
4749 (with-tramp-progress-reporter): Do not let-bind `result'.
4750 This yields to scoping errors in XEmacs.
4751 (tramp-handle-make-auto-save-file-name): New function, moved from
4754 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4755 for `make-auto-save-file-name'.
4756 (tramp-adb--gnu-switches-to-ash):
4757 Use `tramp-compat-replace-regexp-in-string'.
4759 * net/tramp-cache.el (tramp-cache-print): Call
4760 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4762 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4763 bound. It isn't for XEmacs.
4765 * net/tramp-compat.el (tramp-compat-copy-file):
4766 Catch `wrong-number-of-arguments' error.
4767 (tramp-compat-replace-regexp-in-string): New defun.
4769 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4770 for `make-auto-save-file-name'.
4771 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4773 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4774 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4775 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4777 * net/tramp-gw.el (tramp-gw-open-network-stream):
4778 Use `tramp-compat-replace-regexp-in-string'.
4780 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4781 Call `tramp-handle-make-auto-save-file-name'.
4782 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4783 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4784 (tramp-sh-file-inotifywait-process-filter):
4785 Use `tramp-compat-replace-regexp-in-string'.
4786 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4788 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4789 for `make-auto-save-file-name'.
4790 (tramp-smb-handle-copy-directory):
4791 Call `tramp-compat-replace-regexp-in-string'.
4792 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4793 (tramp-smb-handle-copy-file): Improve error message.
4794 (tramp-smb-handle-rename-file): Rename directly only in case
4795 `newname' does not exist yet. This is a restriction of smbclient.
4796 (tramp-smb-maybe-open-connection): Rerun the function only when
4797 `auth-sources' is non-nil.
4799 2013-09-08 Kenichi Handa <handa@gnu.org>
4801 * international/characters.el: Set category "^" (Combining) for
4804 2013-09-07 Alan Mackenzie <acm@muc.de>
4806 Correctly fontify Java class constructors.
4807 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4809 (c-recognize-typeless-decls): Set the Java value to t.
4810 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4811 While handling a "(", add a check for, effectively, Java, and handle a
4812 "typeless" declaration there.
4814 2013-09-07 Roland Winkler <winkler@gnu.org>
4816 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4817 field subtitle for entry type book.
4819 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4821 * minibuffer.el: Make minibuffer-complete call completion-in-region
4822 rather than other way around.
4823 (completion--some, completion-pcm--find-all-completions):
4824 Don't delay signals when debugging.
4825 (minibuffer-completion-contents): Beware fields within the
4826 minibuffer contents.
4827 (completion-all-sorted-completions): Use defvar-local.
4828 (completion--do-completion, completion--cache-all-sorted-completions)
4829 (completion-all-sorted-completions, minibuffer-force-complete):
4830 Add args `beg' and `end'.
4831 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4832 (minibuffer-complete): Use completion-in-region.
4833 (completion-complete-and-exit): New fun, extracted from
4834 minibuffer-complete-and-exit.
4835 (minibuffer-complete-and-exit): Use it.
4836 (completion--complete-and-exit): Rename from
4837 minibuffer--complete-and-exit.
4838 (completion-in-region--single-word): New function, extracted from
4839 minibuffer-complete-word.
4840 (minibuffer-complete-word): Use it.
4841 (display-completion-list): Make `common-substring' argument obsolete.
4842 (completion--in-region): Call completion--in-region-1 instead of
4843 minibuffer-complete.
4844 (completion-help-at-point): Pass boundaries to
4845 minibuffer-completion-help as args rather than via an overlay.
4846 (completion-pcm--string->pattern): Use `any-delim'.
4847 (completion-pcm--optimize-pattern): New function.
4848 (completion-pcm--pattern->regex): Handle `any-delim'.
4849 * icomplete.el (icomplete-forward-completions)
4850 (icomplete-backward-completions, icomplete-completions):
4851 Adjust calls to completion-all-sorted-completions and
4852 completion--cache-all-sorted-completions.
4853 (icomplete-with-completion-tables): Default to t.
4854 * emacs-lisp/crm.el (crm--current-element): Rename from
4855 crm--select-current-element. Don't put an overlay but return the
4857 (crm--completion-command): Take two new args to bind to the boundaries.
4858 (crm-completion-help): Adjust accordingly.
4859 (crm-complete): Use completion-in-region.
4860 (crm-complete-word): Use completion-in-region--single-word.
4861 (crm-complete-and-exit): Use completion-complete-and-exit.
4863 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4865 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4868 2013-09-06 Juri Linkov <juri@jurta.org>
4870 * info.el (Info-display-images-node): When image file doesn't exist
4871 display text version of the image if it's provided in the Info file.
4872 Otherwise, display the location of missing image from SRC attribute.
4873 Add help-echo text property from ALT attribute. (Bug#15279)
4875 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4877 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4878 (edit-abbrevs-mode): Use define-derived-mode.
4880 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4881 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4883 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4884 Use define-derived-mode.
4886 * epg.el (epg-start-encrypt): Minor CSE simplification.
4888 2013-09-06 William Xu <william.xwl@gmail.com>
4890 * arc-mode.el: Add support for 7za (bug#15264).
4891 (archive-7z-program): New var.
4892 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4893 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4894 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4896 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4900 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4901 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4902 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4903 (tramp-postfix-host-format, tramp-file-name-regexp)
4904 (tramp-completion-file-name-regexp)
4905 (tramp-completion-dissect-file-name)
4906 (tramp-handle-substitute-in-file-name): Remove 'url case.
4907 (tramp-file-name-regexp-url)
4908 (tramp-completion-file-name-regexp-url): Remove constants.
4910 2013-09-06 Glenn Morris <rgm@gnu.org>
4912 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4914 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4916 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4917 keywords" below "here-doc beginnings" (Bug#15270).
4919 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4921 * subr.el (pop): Use `car-safe'.
4922 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4923 to detect unused `pop' return value.
4925 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4927 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4928 (python-fill-string): Remove unused var `marker'.
4929 (python-skeleton-add-menu-items): Remove unused var `items'.
4931 * international/mule-cmds.el: Require CL.
4932 (find-coding-systems-for-charsets): Avoid add-to-list.
4933 (sanitize-coding-system-list): New function, extracted from
4934 select-safe-coding-system-interactively.
4935 (select-safe-coding-system-interactively): Use it.
4936 (read-input-method-name): Accept symbols for `default'.
4938 * emacs-lisp/advice.el (defadvice): Add indent rule.
4940 2013-09-05 Daniel Hackney <dan@haxney.org>
4944 * net/browse-url.el:
4947 * net/eudcb-ldap.el:
4960 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4961 byte compiler. Remove some unused let-bound variables.
4963 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4965 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4966 a "ref-cell", since it gets better optimized (bug#14883).
4968 2013-09-05 Glenn Morris <rgm@gnu.org>
4970 * progmodes/cc-awk.el (c-forward-sws): Declare.
4972 2013-09-04 Glenn Morris <rgm@gnu.org>
4974 * generic-x.el [rul-generic-mode]: Require cc-mode.
4975 (c++-mode-syntax-table): Declare.
4976 (rul-generic-mode-syntax-table): Init in the defvar.
4978 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4980 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4981 (vc-do-command, vc-set-async-update):
4982 * vc/vc-mtn.el (vc-mtn-dir-status):
4983 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4984 (vc-hg-pull, vc-hg-merge-branch):
4985 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4986 (vc-git-merge-branch):
4987 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4988 (vc-cvs-dir-status-files):
4989 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4990 (vc-bzr-dir-status-files):
4991 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4992 * vc/vc-annotate.el: Use lexical-binding.
4993 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4994 (vc-sentinel-movepoint): Declare.
4995 (vc-annotate): Don't use `goto-line'.
4996 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4997 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4998 (vc-sentinel-movepoint): Declare.
4999 * vc/vc-svn.el: Use lexical-binding.
5000 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5002 * vc/vc-rcs.el: Use lexical-binding.
5004 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5005 `deleted'. Don't drop errors silently.
5007 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5009 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5011 * vc/vc.el (vc-ignore): Rewrite.
5012 (vc-default-ignore): New function.
5013 (vc-default-ignore-completion-table): Use find-ignore-file.
5015 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5016 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5017 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5018 Remove. Most code moved to vc.el.
5020 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5022 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5023 * net/tramp-smb.el (tramp-smb-get-file-entries):
5024 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5025 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5027 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5029 (eww-change-select): Remove unused var `properties'.
5030 (eww-make-unique-file-name): Remove unused var `base'.
5032 * finder.el (finder-compile-keywords): Don't mess with windows.
5034 * calculator.el (calculator-funcall): Fix typo in last change.
5036 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5038 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5039 <pkg>-autoloads.el file stop us.
5041 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5042 warnings, and factor out common code.
5044 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5046 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5047 two-character operators and whether the character preceding them
5048 changes their meaning (Bug#15208).
5050 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5052 Format code sent to Python shell for robustness.
5053 * progmodes/python.el (python-shell-buffer-substring):
5055 (python-shell-send-region, python-shell-send-buffer): Use it.
5057 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5059 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5060 * net/tramp.el (tramp-user-error): ... here.
5061 (tramp-find-method, tramp-check-proper-host)
5062 (tramp-dissect-file-name, tramp-debug-message)
5063 (tramp-handle-shell-command):
5064 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5065 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5067 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5069 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5071 * avoid.el (mouse-avoidance-point-position)
5072 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5075 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5077 * progmodes/python.el (python-shell-completion-get-completions):
5078 Drop use of deleted `comint-last-prompt-overlay'.
5079 (python-nav-if-name-main): New command.
5081 2013-09-01 Glenn Morris <rgm@gnu.org>
5083 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5084 Avoid leading space in $wins. Otherwise the sed command used by
5085 eg compile-main ends up containing "/*.el". (Bug#15170)
5087 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5089 2013-08-30 Glenn Morris <rgm@gnu.org>
5091 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5092 Fix is-this-a-directory logic. (Bug#15220)
5094 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5096 * textmodes/css-mode.el: Use SMIE.
5097 (css-smie-grammar): New var.
5098 (css-smie--forward-token, css-smie--backward-token)
5099 (css-smie-rules): New functions.
5100 (css-mode): Use them.
5101 (css-navigation-syntax-table): Remove var.
5102 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5103 (css-indent-calculate, css-indent-line): Remove functions.
5105 Misc changes to reduce use of `(lambda...); and other cleanups.
5106 * cus-edit.el: Use lexical-binding.
5107 (customize-push-and-save, customize-apropos)
5108 (custom-buffer-create-internal): Use closures.
5109 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5110 * progmodes/ada-xref.el: Use setq.
5111 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5112 * dframe.el: Use lexical-binding.
5113 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5114 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5115 * descr-text.el: Use lexical-binding.
5116 (describe-text-widget, describe-text-sexp, describe-property-list):
5118 * comint.el (comint-history-isearch-push-state): Use a closure.
5119 * calculator.el: Use lexical-binding.
5120 (calculator-number-to-string): Make it work with lexical-binding.
5121 (calculator-funcall): Same and use cl-letf.
5123 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5124 (lisp--company-doc-string, lisp--company-location): New functions.
5125 (lisp-completion-at-point): Use them to improve Company support.
5127 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5128 params of lambda expressions.
5129 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5130 (ruby-smie--opening-pipe-p): New function.
5131 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5132 symbols and matched |...| for formal params.
5133 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5134 from being treated as hanging. Handle "rescue".
5136 2013-08-29 Glenn Morris <rgm@gnu.org>
5138 * progmodes/cc-engine.el (c-pull-open-brace):
5139 Move definition before use.
5141 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5143 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5144 are immutable. Don't use `unsafe' any more.
5145 (cl--defsubst-expand): Don't substitute at the same time as keeping
5146 a residual unused let-binding. Don't use `unsafe' any more.
5148 2013-08-29 Glenn Morris <rgm@gnu.org>
5150 * calendar/cal-china.el (calendar-chinese-year-cache):
5153 * nxml/nxml-util.el (nxml-debug-clear-inside):
5154 Use cl-loop rather than loop.
5156 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5158 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5160 2013-08-28 Glenn Morris <rgm@gnu.org>
5162 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5164 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5166 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5168 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5170 * simple.el (repeat-complex-command--called-interactively-skip):
5172 (repeat-complex-command): Use it (bug#14136).
5174 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5175 (c-define-abbrev-table): Add `doc' argument.
5176 (c-mode-abbrev-table, c++-mode-abbrev-table)
5177 (objc-mode-abbrev-table, java-mode-abbrev-table)
5178 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5179 (awk-mode-abbrev-table): Use it.
5180 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5181 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5182 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5183 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5184 Move initialization into the declaration; and remove any
5187 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5188 and dynamic let binding.
5190 * vc/smerge-mode.el: Remove redundant :group args.
5192 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5195 2013-08-28 Juri Linkov <juri@jurta.org>
5197 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5198 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5199 (isearch-other-meta-char): Handle an undefined shifted printing
5200 character by downshifting it. (Bug#15200)
5202 2013-08-28 Juri Linkov <juri@jurta.org>
5204 * isearch.el (isearch-search): Change regexp error message for
5205 non-regexp searches. (Bug#15166)
5207 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5209 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5210 for portability to hosts where /bin/sh has problems.
5212 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5214 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5216 2013-08-27 Juri Linkov <juri@jurta.org>
5218 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5219 in the keyboard macro. (Bug#15126)
5221 2013-08-27 Juri Linkov <juri@jurta.org>
5223 * isearch.el (isearch-quote-char): Comment out converting unibyte
5224 to multibyte, thus syncing with its `quoted-insert' counterpart.
5227 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5229 * window.el (display-buffer-use-some-window): Add missing
5230 argument in call of get-largest-window (Bug#15185).
5231 Reported by Stephen Leake.
5233 2013-08-27 Glenn Morris <rgm@gnu.org>
5235 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5237 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5239 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5240 from a matcher-function unless there's no more matches (bug#15161).
5242 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5244 * minibuffer.el: Revert change from 2013-08-20.
5246 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5247 with text property `tramp-default', if appropriate.
5248 (tramp-check-proper-host): New defun.
5249 (tramp-dissect-file-name): Do not check hostname. Revert change
5251 (tramp-backtrace): Make VEC-OR-PROC optional.
5253 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5254 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5255 * net/tramp-sh.el (tramp-maybe-open-connection):
5256 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5257 Apply `tramp-check-proper-host'.
5259 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5261 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5262 lambda expression in order to have `describe-variable' display it.
5264 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5266 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5267 BUF can be optional. (Bug#15186)
5269 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5271 * progmodes/flymake.el (flymake-get-real-file-name-function):
5272 Fix broken customization. (Bug#15184)
5274 2013-08-25 Alan Mackenzie <acm@muc.de>
5276 Improve indentation of bracelists defined by macros (without "=").
5278 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5279 expansion begins with "{", regard it as bracelist when it doesn't
5282 Parse C++ inher-intro when there's a template split over 2 lines.
5284 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5285 rigorously the search for "class" etc. followed by ":".
5287 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5288 random languages a regexp which never matches rather than nil.
5290 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5292 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5293 (c-awk-regexp-one-line-possibly-open-char-list-re)
5294 (c-awk-one-line-possibly-open-regexp-re)
5295 (c-awk-one-line-non-syn-ws*-re): Remove.
5296 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5297 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5298 (c-awk-space*-unclosed-regexp-/-re): New constants.
5299 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5300 aren't regexp delimiters.
5302 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5303 handling for a rare situation in AWK Mode involving unterminated
5306 2013-08-23 Glenn Morris <rgm@gnu.org>
5308 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5310 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5312 * files.el (create-file-buffer): If the result would begin with
5313 spaces, prepend a "|" instead of removing them. (Bug#15162)
5315 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5317 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5318 text-properties (bug#15155).
5320 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5322 (calc-keypad-redraw): Remove unused var `pad'.
5323 (calc-keypad-press): Remove unused var `menu'.
5325 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5327 * window.el (display-buffer-pop-up-frame):
5328 Call pop-up-frame-function with BUFFER current so `make-frame' will
5329 use it as the new frame's buffer (Bug#15133).
5331 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5333 * calendar/timeclock.el: Minor cleanups.
5334 (timeclock-ask-before-exiting, timeclock-use-display-time):
5336 (timeclock-modeline-display): Define as alias before the
5338 (timeclock-mode-line-display): Use define-minor-mode.
5339 (timeclock-day-list-template): Make it a function, add an argument.
5340 (timeclock-day-list-required, timeclock-day-list-length)
5341 (timeclock-day-list-debt, timeclock-day-list-span)
5342 (timeclock-day-list-break): Adjust calls accordingly.
5344 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5346 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5347 Use read--expression so that completion works again.
5349 2013-08-21 Sam Steingold <sds@gnu.org>
5351 Add rudimentary inferior shell interaction
5352 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5353 (sh-set-shell): Reset it.
5354 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5355 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5357 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5359 * align.el: Use lexical-binding.
5360 (align-region): Simplify accordingly.
5362 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5364 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5366 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5369 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5373 * net/tramp-cmds.el:
5375 * net/tramp-gvfs.el:
5377 * net/tramp-sh.el: Don't wrap external variable declarations by
5378 `eval-when-compile'.
5380 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5382 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5383 now that Emacs supports ImageMagick animations.
5385 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5387 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5388 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5390 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5392 * window.el (mouse-autoselect-window-select): Do autoselect when
5393 mouse pointer is on margin.
5395 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5397 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5399 2013-08-16 Glenn Morris <rgm@gnu.org>
5401 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5402 Handle "Remote Directory" response of some clients. (Bug#15058)
5404 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5405 Tweak warning. (Bug#14926)
5407 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5408 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5410 * image-mode.el (image-mode-map): Add menu items to reverse,
5411 increase, decrease, reset animation speed.
5412 (image--set-speed, image-increase-speed, image-decrease-speed)
5413 (image-reverse-speed, image-reset-speed): New functions.
5414 (image-mode-map): Add bindings for speed commands.
5416 * image.el (image-animate-get-speed, image-animate-set-speed):
5418 (image-animate-timeout): Respect image :speed property.
5420 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5422 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5423 previous line (bug#15101).
5424 (debugger-eval-expression, debugger-record-expression):
5425 Use read--expression (bug#15102).
5427 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5429 Remove byte compiler warnings, visible when compiling with
5430 `byte-compile-force-lexical-warnings' set to t.
5432 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5433 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5434 (tramp-handle-unhandled-file-name-directory)
5435 (tramp-handle-file-notify-add-watch, tramp-action-login)
5436 (tramp-action-succeed, tramp-action-permission-denied)
5437 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5440 * net/tramp-adb.el (tramp-adb-parse-device-names)
5441 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5442 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5443 (tramp-adb-handle-file-truename): Remove unused arguments.
5445 * net/tramp-cache.el (tramp-flush-directory-property)
5446 (tramp-flush-connection-property, tramp-list-connections)
5447 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5449 * net/tramp-compat.el (tramp-compat-make-temp-file):
5450 Rename FILENAME to F.
5452 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5453 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5454 (tramp-zeroconf-parse-workstation-device-names)
5455 (tramp-zeroconf-parse-webdav-device-names)
5456 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5458 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5459 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5461 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5463 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5464 (tramp-sh-handle-insert-file-contents-literally)
5465 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5467 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5468 Remove unused variables.
5470 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5471 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5472 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5474 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5475 Make them a defconst.
5476 (tramp-uuencode-region): Remove unused variable.
5478 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5480 * frameset.el (frameset--prop-setter): New function.
5481 (frameset-prop): Add gv-setter declaration.
5482 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5483 parameter was already set in FILTERED. Doc fix.
5484 (frameset--record-minibuffer-relationships): Allow saving a
5485 minibufferless frame without its corresponding minibuffer frame.
5486 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5487 frame, if the frame id matches.
5488 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5489 frames before orphaned ones.
5490 (frameset-restore): Warn about orphaned windows, instead of error out.
5492 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5494 * window.el (window-make-atom): Don't overwrite parameter
5496 (display-buffer-in-atom-window): Handle special case where we
5497 split an already atomic window.
5498 (window--major-non-side-window, display-buffer-in-side-window)
5499 (window--side-check): Ignore minibuffer window when walking
5501 (window-deletable-p): Return 'frame only if no other frame uses
5502 our minibuffer window.
5503 (record-window-buffer): Run buffer-list-update-hook.
5504 (split-window): Make sure window--check-frame won't destroy an
5505 existing atomic window in case the new window gets nested
5507 (display-buffer-at-bottom): Ignore minibuffer window when
5508 walking window tree. Don't split a side window.
5509 (pop-to-buffer): Don't set-buffer here, the select-window call
5511 (mouse-autoselect-window-select): Autoselect only if we are in the
5512 text portion of the window.
5514 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5516 * net/shr.el (shr-parse-image-data): New function to grab both the
5517 data itself and the Content-Type.
5518 (shr-put-image): Use it.
5520 * net/eww.el (eww-display-image): Ditto.
5522 * image.el (image-content-type-suffixes): New variable.
5524 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5526 * progmodes/python.el (python-imenu--build-tree)
5527 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5529 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5531 * simple.el (backward-word): Mention the optional argument.
5533 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5535 * frameset.el (frameset--make): Rename constructor from make-frameset.
5536 (frameset-p, frameset-valid-p): Don't autoload.
5537 (frameset-valid-p): Use normal accessors.
5539 2013-08-13 Glenn Morris <rgm@gnu.org>
5541 * progmodes/compile.el (compile-command): Tweak example in doc.
5542 * obsolete/scribe.el (scribe-mode):
5543 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5545 * mail/feedmail.el (feedmail-confirm-outgoing)
5546 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5548 * cus-start.el (truncate-partial-width-windows): Fix type.
5550 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5552 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5554 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5556 * emacs-lisp/timer.el (timer--time-setter): New function.
5557 (timer--time): Use it as gv-setter.
5559 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5560 setter is not a symbol.
5562 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5564 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5565 if sending fails. This makes debugging easier.
5567 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5569 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5570 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5571 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5573 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5575 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5577 2013-08-12 Glenn Morris <rgm@gnu.org>
5579 * format.el (format-annotate-function):
5580 Handle read-only text properties in the source. (Bug#14887)
5582 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5584 * net/eww.el (eww-display-html): Ignore coding system errors.
5585 One web site uses "utf-8lias" as the coding system.
5587 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5589 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5591 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5593 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5594 (tutorial--detailed-help): Remove unused local variables.
5595 (tutorial--save-tutorial-to): Use ignore-errors.
5596 (help-with-tutorial): Use looking-at-p.
5598 * view.el (view-buffer-other-window, view-buffer-other-frame):
5599 Mark unused arguments.
5601 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5602 (woman-select-symbol-fonts, woman, woman-find-file)
5603 (woman-insert-file-contents, woman-non-underline-faces):
5605 (woman1-unquote): Move declaration.
5607 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5608 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5609 argument. Remove unused local variable.
5610 (xml-parse-elem-type): Use string-match-p.
5611 (xml-substitute-numeric-entities): Use ignore-errors.
5613 * calculator.el (calculator): Mark unused argument.
5614 (calculator-paste, calculator-quit, calculator-integer-p):
5616 (calculator-string-to-number, calculator-decimal, calculator-exp)
5617 (calculator-op-or-exp): Use string-match-p.
5619 * dired.el (dired-buffer-more-recently-used-p): Declare.
5620 (dired-insert-set-properties, dired-insert-old-subdirs):
5623 * dired-aux.el (dired-compress): Use ignore-errors.
5624 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5625 (dired-do-async-shell-command, dired-do-shell-command)
5626 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5627 (dired-insert-subdir-validate): Use string-match-p.
5628 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5629 (dired-add-entry): Use string-match-p, looking-at-p.
5630 (dired-insert-subdir-newpos): Remove unused local variable.
5632 * filenotify.el (file-notify-callback): Remove unused local variable.
5634 * filesets.el (filesets-error): Mark unused argument.
5635 (filesets-which-command-p, filesets-filter-dir-names)
5636 (filesets-directory-files, filesets-get-external-viewer)
5637 (filesets-ingroup-get-data): Use string-match-p.
5639 * find-file.el (ff-other-file-name, ff-other-file-name)
5640 (ff-find-the-other-file, ff-cc-hh-converter):
5641 Remove unused local variables.
5642 (ff-get-file-name): Use string-match-p.
5643 (ff-all-dirs-under): Use ignore-errors.
5645 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5646 (follow-select-if-visible): Remove unused local variable.
5648 * forms.el (read-file-filter): Move declaration.
5649 (forms--make-format, forms--make-parser, forms-insert-record):
5650 Quote function with #'.
5651 (forms--update): Use string-match-p. Quote function with #'.
5653 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5654 (help-make-xrefs): Use looking-at-p.
5655 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5657 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5658 (ibuffer-confirm-operation-on): Use string-match-p.
5660 * msb.el (msb-item-handler, msb-dired-item-handler):
5661 Mark unused arguments.
5663 * ses.el (ses-decode-cell-symbol)
5664 (ses-kill-override): Remove unused local variable.
5665 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5666 (ses-load): Use ignore-errors, looking-at-p.
5667 (ses-jump-safe): Use ignore-errors.
5668 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5670 * tabify.el (untabify, tabify): Mark unused arguments.
5672 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5673 Mark unused argument.
5674 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5675 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5677 * emacs-lisp/timer.el (timer--time): Define setter with
5678 gv-define-setter to avoid deprecation warning.
5680 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5681 (*record-cmpl-statistics-p*): Remove (was commented out).
5682 (cmpl-statistics-block): Remove (body was commented out).
5683 All callers changed.
5684 (add-completions-from-buffer, load-completions-from-file):
5685 Remove unused variables.
5687 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5689 * filecache.el (file-cache-delete-file-list):
5690 Print message only when told so.
5691 (file-cache-files-matching): Use #' in mapconcat argument.
5693 * ffap.el (ffap-url-at-point): Fix reference to variable
5694 thing-at-point-default-mail-uri-scheme.
5696 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5698 * subr.el (define-error): New function.
5699 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5700 error-file-not-found and define with define-error.
5701 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5702 and define with define-error.
5703 * userlock.el (file-locked, file-supersession):
5704 * simple.el (mark-inactive):
5705 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5706 * progmodes/ada-mode.el (ada-mode-errors):
5707 * play/life.el (life-extinct):
5708 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5709 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5710 * nxml/rng-util.el (rng-error):
5711 * nxml/rng-uri.el (rng-uri-error):
5712 * nxml/rng-match.el (rng-compile-error):
5713 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5714 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5715 * nxml/nxml-rap.el (nxml-scan-error):
5716 * nxml/nxml-outln.el (nxml-outline-error):
5717 * net/soap-client.el (soap-error):
5718 * net/gnutls.el (gnutls-error):
5719 * net/ange-ftp.el (ftp-error):
5720 * mpc.el (mpc-proc-error):
5721 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5722 (json-number-format, json-string-escape, json-string-format)
5723 (json-key-format, json-object-format):
5724 * jka-compr.el (compression-error):
5725 * international/quail.el (quail-error):
5726 * international/kkc.el (kkc-error):
5727 * emacs-lisp/ert.el (ert-test-failed):
5728 * calc/calc.el (calc-error, inexact-result, math-overflow)
5730 * bookmark.el (bookmark-error-no-filename):
5731 * epg.el (epg-error): Define with define-error.
5733 * time.el (display-time-event-handler)
5734 (display-time-next-load-average): Don't call sit-for since it seems
5735 unnecessary (bug#15045).
5737 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5738 Use #' instead of ' to quote functions.
5739 (checkdoc-output-mode): Use setq-local.
5740 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5741 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5742 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5743 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5744 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5745 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5746 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5747 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5749 * ido.el (ido-completion-help): Fix up compiler warning.
5751 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5753 * frameset.el (frameset-p): Add autoload cookie.
5754 (frameset--jump-to-register): New function, based on code moved from
5756 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5758 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5759 (frameset-restore, frameset-save, frameset-session-filter-alist):
5760 Remove declarations.
5761 (register-alist): Doc fix.
5762 (frameset-to-register): Move to frameset.el.
5763 (jump-to-register, describe-register-1): Remove frameset-specific code.
5765 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5767 * allout-widgets.el (allout-widgets-pre-command-business)
5768 (allout-widgets-post-command-business)
5769 (allout-widgets-after-change-handler)
5770 (allout-decorate-item-and-context, allout-set-boundary-marker)
5771 (allout-body-modification-handler)
5772 (allout-graphics-modification-handler): Mark ignored arguments.
5773 (allout-widgets-post-command-business)
5774 (allout-widgets-exposure-change-processor)
5775 (allout-widgets-exposure-undo-processor)
5776 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5777 (allout-parse-item-at-point, allout-decorate-item-guides)
5778 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5779 * allout.el (epa-passphrase-callback-function): Declare.
5780 (allout-overlay-insert-in-front-handler)
5781 (allout-overlay-interior-modification-handler)
5782 (allout-isearch-end-handler, allout-chart-siblings)
5783 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5784 (allout-yank-processing, allout-process-exposed)
5785 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5786 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5787 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5788 (lisp-indent-defform): Mark ignored arguments.
5789 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5790 (calculate-lisp-indent): Remove unused variables.
5791 * international/characters.el (indian-2-column, arabic-2-column)
5792 (tibetan): Mark ignored arguments.
5793 (use-cjk-char-width-table): Mark ignored arguments.
5794 Remove unused variables.
5795 * international/fontset.el (build-default-fontset-data)
5796 (x-compose-font-name, create-fontset-from-fontset-spec):
5797 Mark ignored arguments.
5798 (fontset-plain-name): Remove unused variables.
5799 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5800 (keyboard-coding-system): Mark ignored arguments.
5801 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5802 * help.el (resize-temp-buffer-window):
5803 * window.el (display-buffer-in-major-side-window)
5804 (display-buffer-in-side-window, display-buffer-in-previous-window):
5805 Remove unused variables.
5806 * isearch.el (isearch-forward-symbol):
5807 * version.el (emacs-bzr-version-bzr):
5808 * international/mule-cmds.el (current-language-environment):
5809 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5811 * term/pc-win.el (x-list-fonts, x-display-planes)
5812 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5813 (x-server-version, x-display-screens, x-display-mm-height)
5814 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5815 (x-selection-owner-p, x-own-selection-internal)
5816 (x-disown-selection-internal, x-get-selection-internal)
5817 (msdos-initialize-window-system):
5818 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5819 * term/x-win.el (x-handle-no-bitmap-icon):
5820 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5821 (vc-default-find-file-hook, vc-default-extra-menu):
5822 Mark ignored arguments.
5824 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5826 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5827 break-condition in the context of the debugged code (bug#12685).
5829 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5832 Do not use an overlay to highlight the last prompt. (Bug#14744)
5833 (comint-mode): Make comint-last-prompt buffer local.
5834 (comint-last-prompt): New variable.
5835 (comint-last-prompt-overlay): Remove. Superseded by
5837 (comint-snapshot-last-prompt, comint-output-filter):
5838 Use comint-last-prompt.
5840 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5842 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5843 (frameset-save): Check validity of the resulting frameset.
5845 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5847 * ido.el (ido-record-command): Add doc string.
5849 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5851 * frameset.el (frameset): Do not disable creation of the default
5852 frameset-p predicate. Doc fix.
5853 (frameset-valid-p): New function, copied from the old predicate-p.
5854 Add additional checks.
5855 (frameset-restore): Check with frameset-valid-p.
5856 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5857 (frameset-name, frameset-description, frameset-properties)
5858 (frameset-states): Add docstring.
5859 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5860 (frameset-filter-alist): Doc fixes.
5862 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5864 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5866 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5868 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5869 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5870 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5871 (byte-compile-normal-call): Remove obsolescence check.
5873 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5875 * frameset.el (frameset-restore): Doc fix.
5877 * register.el (frameset-frame-id, frameset-frame-with-id)
5878 (frameset-p, frameset-restore, frameset-save): Declare.
5879 (register-alist): Document framesets.
5880 (frameset-session-filter-alist): Declare.
5881 (frameset-to-register): New function.
5882 (jump-to-register): Implement jumping to framesets. Doc fix.
5883 (describe-register-1): Describe framesets.
5885 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5887 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5889 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5890 Use lexical-binding.
5892 * frameset.el (frameset): Use type vector, not list (incompatible
5893 change). Do not declare a new constructor, use the default one.
5894 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5895 `name' and `description', respectively, and add read-only slot
5896 `timestamp'. Doc fixes.
5897 (frameset-copy, frameset-persistent-filter-alist)
5898 (frameset-filter-alist, frameset-switch-to-gui-p)
5899 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5900 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5901 (frameset-filter-iconified, frameset-keep-original-display-p):
5903 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5904 Rename from frameset-filter-(save|restore)-param. All callers changed.
5906 (frameset-p): Adapt to change to vector and be more thorough.
5907 Change arg name to OBJECT. Doc fix.
5908 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5909 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5910 All callers changed.
5911 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5912 All callers changed.
5913 (frameset--record-minibuffer-relationships): Rename from
5914 frameset--process-minibuffer-frames. All callers changed.
5915 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5916 Use new default constructor (again). Doc fix.
5917 (frameset--find-frame-if): Rename from `frameset--find-frame.
5918 All callers changed.
5919 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5920 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5922 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5923 PARAMETERS and WINDOW-STATE, respectively.
5924 (frameset-restore): Add new keyword argument PREDICATE.
5925 Reset frameset--target-display to nil. Doc fix.
5927 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5929 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5931 (bat-mode-syntax-table): Mark \n as end-of-comment.
5932 (bat-font-lock-keywords): Remove comment rule.
5934 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5935 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5937 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5938 (byte-compile-callargs-warn): Use `push'.
5939 (byte-compile-arglist-warn): Ignore higher-order "calls".
5940 (byte-compile-file-form-autoload): Use `pcase'.
5941 (byte-compile-function-form): If quoting a symbol, check that it exists.
5943 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5945 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5946 and add a few popular commands found in batch files.
5947 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5948 (dos-mode): Doc fixes.
5950 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5952 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5953 (dos-mode): Use setq-local. Add space after "rem".
5954 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5955 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5957 2013-08-07 Arni Magnusson <arnima@hafro.is>
5959 * progmodes/dos.el: New file.
5960 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5963 2013-08-06 Glenn Morris <rgm@gnu.org>
5965 * calendar/calendar.el: Add new faces, and day-header-array.
5966 (calendar-weekday-header, calendar-weekend-header)
5967 (calendar-month-header): New faces.
5968 (calendar-day-header-construct): New function.
5969 (calendar-day-header-width): Also :set calendar-day-header-array.
5970 (calendar-american-month-header, calendar-european-month-header)
5971 (calendar-iso-month-header): Use calendar- faces.
5972 (calendar-generate-month):
5973 Use calendar-day-header-array for day headers; apply faces to them.
5974 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5975 (calendar-abbrev-construct): Add optional maxlen argument.
5976 (calendar-day-name-array): Doc fix.
5977 (calendar-day-name-array, calendar-abbrev-length)
5978 (calendar-day-abbrev-array):
5979 Also :set calendar-day-header-array, and maybe redraw.
5980 (calendar-day-header-array): New option. (Bug#15007)
5981 (calendar-font-lock-keywords): Set to nil and make obsolete.
5982 (calendar-day-name): Add option to use header array.
5984 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5986 * net/shr.el (shr-render-td): Remove debugging.
5987 (shr-render-td): Make width computation consistent by defaulting
5988 all zero-width columns to 10 characters. This may not be optimal,
5989 but it's at least consistent.
5990 (shr-make-table-1): Redo last change to fix the real problem in
5993 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5995 * files.el (cache-long-line-scans):
5996 Make obsolete alias to `cache-long-scans'.
5998 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6000 * frameset.el (frameset, frameset-filter-alist)
6001 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6002 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6003 (frameset-compute-pos): Rename from frameset--compute-pos,
6005 (frameset-move-onscreen): Use frameset-compute-pos.
6006 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6008 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6009 Fix typos in docstrings.
6011 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6013 * frame.el (get-other-frame): Tiny cleanup.
6015 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6017 * vc/vc.el (vc-default-ignore-completion-table):
6018 Silence byte-compiler warning.
6020 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6021 slot , which can indeed be nil.
6022 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6023 Move entry for `left' from persistent to live filter alist.
6024 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6026 (frameset-filter-params): When restoring a frame, copy items added to
6027 `filtered', to avoid unwittingly modifying the original parameters.
6028 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6029 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6031 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6032 to use looking-at-p instead of looking-at. (Bug#15028)
6034 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6036 Revert introduction of isearch-filter-predicates (bug#14714).
6037 Rely on add-function instead.
6038 * isearch.el (isearch-filter-predicates): Rename it back to
6039 isearch-filter-predicate.
6040 (isearch-message-prefix): Use advice-function-mapc and advice
6041 properties to get the isearch-message-prefix.
6042 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6043 instead of run-hook-with-args-until-failure.
6044 (isearch-filter-visible): Not obsolete any more.
6045 * loadup.el: Preload nadvice.
6046 * replace.el (perform-replace): Revert to funcall
6047 instead of run-hook-with-args-until-failure.
6048 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6049 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6050 dired-isearch-filenames-toggle; make it into a proper minor mode.
6051 Use add/remove-function.
6052 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6053 Call the minor-mode rather than add/remove-hook.
6054 (dired-isearch-filter-filenames):
6055 Remove isearch-message-prefix property.
6056 * info.el (Info--search-loop): New function, extracted from Info-search.
6057 Funcall isearch-filter-predicate instead of
6058 run-hook-with-args-until-failure isearch-filter-predicates.
6059 (Info-search): Use it.
6060 (Info-mode): Use isearch-filter-predicate instead of
6061 isearch-filter-predicates.
6063 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6065 Do not call to `selected-window' where it is assumed by default.
6066 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6067 `window-hscroll', `window-width', `window-height', `window-buffer',
6068 `window-frame', `window-start', `window-point', `next-window'
6069 and `window-display-table'.
6070 * abbrev.el (abbrev--default-expand):
6071 * bs.el (bs--show-with-configuration):
6072 * buff-menu.el (Buffer-menu-mouse-select):
6073 * calc/calc.el (calc):
6074 * calendar/calendar.el (calendar-generate-window):
6075 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6077 * comint.el (send-invisible, comint-dynamic-complete-filename)
6078 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6079 * completion.el (complete):
6080 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6081 * disp-table.el (describe-current-display-table):
6082 * doc-view.el (doc-view-insert-image):
6083 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6084 * ehelp.el (with-electric-help):
6085 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6086 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6087 * emacs-lisp/helper.el (Helper-help-scroller):
6088 * emulation/cua-base.el (cua--post-command-handler-1):
6089 * eshell/esh-mode.el (eshell-output-filter):
6090 * ffap.el (ffap-gnus-wrapper):
6091 * help-macro.el (make-help-screen):
6092 * hilit-chg.el (highlight-compare-buffers):
6093 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6094 * hl-line.el (global-hl-line-highlight):
6095 * icomplete.el (icomplete-simple-completing-p):
6096 * isearch.el (isearch-done):
6097 * jit-lock.el (jit-lock-stealth-fontify):
6098 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6099 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
6100 * mpc.el (mpc-tagbrowser, mpc):
6101 * net/rcirc.el (rcirc-any-buffer):
6102 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6103 * play/landmark.el (landmark-max-width, landmark-max-height):
6104 * play/zone.el (zone):
6105 * progmodes/compile.el (compilation-goto-locus):
6106 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6107 * progmodes/etags.el (find-tag-other-window):
6108 * progmodes/fortran.el (fortran-column-ruler):
6109 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6110 * progmodes/verilog-mode.el (verilog-point-text):
6111 * reposition.el (reposition-window):
6112 * rot13.el (toggle-rot13-mode):
6113 * server.el (server-switch-buffer):
6114 * shell.el (shell-dynamic-complete-command)
6115 (shell-dynamic-complete-environment-variable):
6116 * simple.el (insert-buffer, set-selective-display)
6117 (delete-completion-window):
6118 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6119 (speedbar-recenter):
6120 * startup.el (fancy-splash-head):
6121 * textmodes/ispell.el (ispell-command-loop):
6122 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6123 * tutorial.el (help-with-tutorial):
6124 * vc/add-log.el (add-change-log-entry):
6125 * vc/compare-w.el (compare-windows):
6126 * vc/ediff-help.el (ediff-indent-help-message):
6127 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6128 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6129 (ediff-setup-control-frame):
6130 * vc/emerge.el (emerge-position-region):
6131 * vc/pcvs-util.el (cvs-bury-buffer):
6132 * window.el (walk-windows, mouse-autoselect-window-select):
6133 * winner.el (winner-set-conf, winner-undo): Related users changed.
6135 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6137 * frameset.el (frameset--set-id): Doc fix.
6138 (frameset-frame-id, frameset-frame-id-equal-p)
6139 (frameset-locate-frame-id): New functions.
6140 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6141 (frameset-restore): Use them.
6143 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6145 Do not call to `selected-frame' where it is assumed by default.
6146 Affected functions are `raise-frame', `redraw-frame',
6147 `frame-first-window', `frame-terminal' and `delete-frame'.
6148 * calendar/appt.el (appt-disp-window):
6149 * epg.el (epg-wait-for-completion):
6150 * follow.el (follow-delete-other-windows-and-split)
6151 (follow-avoid-tail-recenter):
6152 * international/mule.el (set-terminal-coding-system):
6153 * mail/rmail.el (rmail-mail-return):
6154 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6155 * progmodes/f90.el (f90-add-imenu-menu):
6156 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6157 * server.el (server-switch-buffer):
6158 * simple.el (delete-completion-window):
6160 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6161 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6162 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6163 * vc/ediff.el (ediff-documentation): Related users changed.
6164 * frame.el (selected-terminal): Remove the leftover.
6166 2013-08-05 Glenn Morris <rgm@gnu.org>
6168 * calendar/calendar.el (calendar-generate-month):
6169 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6170 (calendar-generate-month, calendar-font-lock-keywords):
6171 Fix for calendar-day-header-width > length of any day name.
6173 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6175 * desktop.el (desktop-clear): Use new name of sort predicate.
6177 * frameset.el (frameset): Add docstring. Move :version property to its
6179 (frameset-copy): Rename from copy-frameset.
6180 (frameset-p): Check more thoroughly.
6181 (frameset-prop): Do not check for :version, which is no longer a prop.
6182 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6183 Use new :never value instead of t.
6184 (frameset-filter-alist): Expand and clarify docstring.
6185 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6186 (frameset-filter-minibuffer, frameset-filter-save-param)
6187 (frameset-filter-restore-param, frameset-filter-iconified):
6188 Add pointer to docstring of frameset-filter-alist.
6189 (frameset-filter-params): Rename filter values to be more meaningful:
6190 :never instead of t, and reverse the meanings of :save and :restore.
6191 (frameset--process-minibuffer-frames): Clarify error message.
6192 (frameset-save): Avoid unnecessary and confusing call to framep.
6193 Use new BOA constructor for framesets.
6194 (frameset--reuse-list): Doc fix.
6195 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6196 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6197 (frameset-minibufferless-first-p): Doc fix.
6198 Rename from frameset-sort-frames-for-deletion.
6199 (frameset-restore): Doc fixes. Use new function names.
6200 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6202 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6204 * desktop.el (desktop-restore-forces-onscreen)
6205 (desktop-restore-reuses-frames): Document :keyword constant values.
6206 (desktop-filter-parameters-alist): Remove, now identical to
6207 frameset-filter-alist.
6208 (desktop--filter-tty*): Remove, moved to frameset.el.
6209 (desktop-save-frameset, desktop-restore-frameset):
6210 Do not pass :filters argument.
6212 * frameset.el (frameset-live-filter-alist)
6213 (frameset-persistent-filter-alist): New variables.
6214 (frameset-filter-alist): Use them. Add autoload cookie.
6215 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6216 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6217 `frameset--id' (it's supposed to be internal to frameset.el).
6218 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6219 (frameset--initial-params): New function.
6220 (frameset--get-frame): Use it. Doc fix.
6221 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6222 Accept :all, not 'all.
6223 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6224 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6225 with fbound symbols. Fix frame id matching, and remove matching ids if
6226 the frame being restored is deleted. Obey :delete.
6228 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6230 * subr.el (macrop): New function.
6231 (text-clone--maintaining): New var.
6232 (text-clone--maintain): Rename from text-clone-maintain. Use it
6233 instead of inhibit-modification-hooks.
6235 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6236 a proxy, so as handle autoloads and redefinitions of the target.
6237 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6239 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6240 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6241 (pcase--mutually-exclusive-p): New function.
6242 (pcase--split-consp): Use it.
6243 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6244 mutually exclusive with the current predicate.
6246 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6247 (edebug-macrop): Remove. Use `macrop' instead.
6248 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6250 * eshell/esh-cmd.el (eshell-macrop):
6251 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6253 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6255 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6256 (advice-mapc): New function, using it.
6257 (advice-function-member-p): New function.
6258 (advice--normalize): Store the cdr in advice--saved-rewrite since
6259 that's the part that will be changed.
6260 (advice--symbol-function): New function.
6261 (advice-remove): Handle removal before the function is defined.
6262 Adjust to new advice--saved-rewrite.
6263 (advice-member-p): Use advice-function-member-p and
6264 advice--symbol-function.
6266 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6268 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6269 (frameset-filter-minibuffer): Doc fix.
6270 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6271 (frameset--set-id, frameset--process-minibuffer-frames)
6272 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6273 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6275 * desktop.el (desktop-clear): Only delete frames when called
6276 interactively and desktop-restore-frames is non-nil. Doc fix.
6277 (desktop-read): Set desktop-saved-frameset to nil.
6279 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6281 * vc/vc.el (vc-ignore): Rewrite.
6282 (vc-default-ignore-completion-table):
6284 (vc--add-line, vc--remove-regexp): New functions.
6286 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6287 (vc-svn-ignore-completion-table): New function.
6289 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6290 (vc-hg-ignore-completion-table):
6291 (vc-hg-find-ignore-file): New functions.
6293 * vc/vc-git.el (vc-git-ignore): Rewrite.
6294 (vc-git-ignore-completion-table):
6295 (vc-git-find-ignore-file): New functions.
6297 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6299 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6300 (vc-bzr-ignore-completion-table):
6301 (vc-bzr-find-ignore-file): New functions.
6303 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6305 * frameset.el (frameset-prop): New function and setter.
6306 (frameset-save): Do not modify frame list passed by the caller.
6308 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6310 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6312 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6314 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6315 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6317 * custom.el (custom-initialize-default, custom-initialize-set)
6318 (custom-initialize-reset, custom-initialize-changed): Affect the
6319 toplevel-default-value (bug#6275, bug#14586).
6320 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6323 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6325 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6326 Add cl-def* expressions.
6328 * frameset.el (frameset-filter-params): Fix order of arguments.
6330 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6332 Move code related to saving frames to frameset.el.
6333 * desktop.el: Require frameset.
6334 (desktop-restore-frames): Doc fix.
6335 (desktop-restore-reuses-frames): Rename from
6336 desktop-restoring-reuses-frames.
6337 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6338 (desktop-clear): Clear frames too.
6339 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6340 (desktop--filter-tty*, desktop-save, desktop-read):
6341 Use frameset functions.
6342 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6343 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6344 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6345 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6346 (desktop--process-minibuffer-frames, desktop-save-frames)
6347 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6348 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6349 (desktop--sort-states, desktop-restoring-frames-p)
6350 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6351 (desktop-restoring-frameset-p, desktop-restore-frameset)
6352 (desktop--check-dont-save, desktop-save-frameset): New functions.
6353 (desktop--app-id): New constant.
6354 (desktop-first-buffer, desktop-buffer-ok-count)
6355 (desktop-buffer-fail-count): Move before first use.
6356 * frameset.el: New file.
6358 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6360 * files.el: Use lexical-binding.
6361 (dir-locals-read-from-file): Remove unused `err' variable.
6362 (hack-dir-local-variables--warned-coding): New var.
6363 (hack-dir-local-variables): Use it to avoid repeated warnings.
6364 (make-backup-file-name--default-function): New function.
6365 (make-backup-file-name-function): Use it as default.
6366 (buffer-stale--default-function): New function.
6367 (buffer-stale-function): Use it as default.
6368 (revert-buffer-insert-file-contents--default-function): New function.
6369 (revert-buffer-insert-file-contents-function): Use it as default.
6370 (insert-directory): Avoid add-to-list.
6372 * autorevert.el (auto-revert-handler): Simplify.
6373 Use buffer-stale--default-function.
6375 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6377 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6379 * whitespace.el (whitespace-ensure-local-variables): New function.
6380 (whitespace-cleanup-region): Call it.
6381 (whitespace-turn-on): Call it.
6383 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6385 Complete file name handlers.
6387 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6388 (tramp-handle-verify-visited-file-modtime)
6389 (tramp-handle-file-notify-rm-watch): New functions.
6390 (tramp-call-process): Do not bind `default-directory'.
6392 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6393 Order alphabetically.
6394 [access-file, add-name-to-file, dired-call-process]:
6395 [dired-compress-file, file-acl, file-notify-rm-watch]:
6396 [file-ownership-preserved-p, file-selinux-context]:
6397 [make-directory-internal, make-symbolic-link, set-file-acl]:
6398 [set-file-selinux-context, set-visited-file-modtime]:
6399 [verify-visited-file-modtime]: Add handler.
6400 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6402 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6403 [file-notify-add-watch, file-notify-rm-watch]:
6404 [set-file-times, set-visited-file-modtime]:
6405 [verify-visited-file-modtime]: Add handler.
6406 (with-tramp-gvfs-error-message)
6407 (tramp-gvfs-handle-set-visited-file-modtime)
6408 (tramp-gvfs-fuse-file-name): Remove.
6409 (tramp-gvfs-handle-file-notify-add-watch)
6410 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6411 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6413 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6414 Order alphabetically.
6415 [file-notify-rm-watch ]: Use default Tramp handler.
6416 [executable-find]: Remove private handler.
6417 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6418 `default-directory'.
6419 (tramp-sh-handle-executable-find)
6420 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6421 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6422 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6423 Do not use `format' in `tramp-message'.
6425 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6426 [file-notify-rm-watch, set-visited-file-modtime]:
6427 [verify-visited-file-modtime]: Add handler.
6428 (tramp-smb-call-winexe): Do not bind `default-directory'.
6430 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6432 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6434 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6436 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6438 (log-view-diff-changeset): Same.
6439 (log-view-diff-common): Call backend command `previous-revision'
6440 to find out the previous revision, in both cases. Swap the
6441 variables `to' and `fr', so that `fr' usually refers to the
6442 earlier revision (Bug#14989).
6444 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6446 * ibuf-ext.el (ibuffer-filter-by-filename):
6447 Make it work with dired buffers too.
6449 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6451 * emacs-lisp/re-builder.el (reb-color-display-p):
6452 * files.el (save-buffers-kill-terminal):
6453 * net/browse-url.el (browse-url):
6454 * server.el (server-save-buffers-kill-terminal):
6455 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6456 Prefer nil to selected-frame for the first arg of frame-parameter.
6458 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6460 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6462 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6464 * minibuffer.el (completion--twq-all): Try and preserve each
6465 completion's case choice (bug#14907).
6467 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6469 * net/network-stream.el (open-network-stream): Mention the new
6470 :nogreeting parameter.
6471 (network-stream-open-starttls): Use the :nogreeting parameter
6474 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6476 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6477 more natural than popping.
6479 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6480 (shr-urlify): Highlight under mouse.
6482 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6484 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6486 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6488 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6491 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6492 point-min==1. Fix search string. Fix parentheses missing.
6494 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6495 assume point-min==1. Fix search string. Fix parentheses missing.
6497 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6499 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6502 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6504 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6505 initial frame is minibuffer-less. (Bug#14841)
6507 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6509 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6512 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6513 (tramp-maybe-open-connection): Use it.
6515 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6517 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6518 minimal set of parameters passed when creating a frame, because
6519 the minibuffer status of a frame cannot be changed later.
6521 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6523 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6524 replace-regexp-in-string and inadvertent omissions in previous change.
6525 (todo-filter-items): Ensure only file names are comma-separated in
6526 name of filtered items buffer.
6528 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6530 * desktop.el: Optionally force offscreen frames back onscreen.
6531 (desktop-restoring-reuses-frames): New option.
6532 (desktop--compute-pos, desktop--move-onscreen): New functions.
6533 (desktop--make-frame): Use desktop--move-onscreen.
6535 2013-07-27 Alan Mackenzie <acm@muc.de>
6537 Fontify a Java generic method as a function.
6538 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6541 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6543 * calendar/todo-mode.el: Add command to rename todo files.
6544 (todo-rename-file): New command.
6545 (todo-key-bindings-t): Add key binding for it. Change the
6546 bindings of todo-filter-regexp-items(-multifile) to use `x'
6547 instead of `r', since the latter is better suited to the new
6550 2013-07-27 Alan Mackenzie <acm@muc.de>
6552 Make Java try-with-resources statement parse properly.
6553 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6554 (c-block-stmt-1-2-key): New language constants/variables.
6555 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6556 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6557 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6558 with c-block-stmt-1-2-key.
6560 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6562 * desktop.el (desktop--make-frame): Apply most frame parameters after
6563 creating the frame to force (partially or totally) offscreen frames to
6564 be restored as such.
6566 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6568 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6571 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6573 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6574 `base' arg of backtrace-frame.
6576 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6578 * simple.el (list-processes): Doc fix.
6580 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6582 * desktop.el (desktop--select-frame):
6583 Try harder to reuse existing frames.
6585 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6587 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6588 (edebug-eval): Use backtrace-eval.
6589 (edebug--display, edebug--recursive-edit): Don't let-bind the
6590 edebug-outer-* vars that keep track of variables we locally let-bind.
6591 (edebug-outside-excursion): Don't restore outside values of locally
6593 (edebug--display): Use user-error.
6594 (cl-lexical-debug, cl-debug-env): Remove.
6596 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6598 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6599 are restored to be sure that they are visible before deleting any
6602 2013-07-26 Matthias Meulien <orontee@gmail.com>
6604 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6605 vc-print-root-log. (Bug#14948)
6607 2013-07-26 Richard Stallman <rms@gnu.org>
6609 Add aliases for encrypting mail.
6610 * epa.el (epa-mail-aliases): New option.
6611 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6612 Bind inhibit-read-only so read-only text doesn't ruin everything.
6613 (epa-mail-default-recipients): New subroutine broken out.
6614 Handle epa-mail-aliases.
6616 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6618 Add support for lexical variables to the debugger's `e' command.
6619 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6620 vars, except for debugger-outer-match-data.
6621 (debugger-frame-number): Move check for "on a function call" from
6622 callers into it. Add `skip-base' argument.
6623 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6624 (debugger-env-macro): Only reset the state stored in non-variables,
6625 i.e. current-buffer and match-data.
6626 (debugger-eval-expression): Rewrite using backtrace-eval.
6627 * subr.el (internal--called-interactively-p--get-frame): Remove.
6628 (called-interactively-p):
6629 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6630 `base' arg of backtrace-frame instead.
6632 2013-07-26 Glenn Morris <rgm@gnu.org>
6634 * align.el (align-regexp): Doc fix. (Bug#14857)
6635 (align-region): Explicit error if subexpression missing/does not match.
6637 * simple.el (global-visual-line-mode):
6638 Do not duplicate the mode lighter. (Bug#14858)
6640 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6642 * window.el (display-buffer): In display-buffer bind
6643 split-window-keep-point to t, bug#14829.
6645 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6647 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6648 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6649 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6650 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6652 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6653 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6655 2013-07-25 Glenn Morris <rgm@gnu.org>
6657 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6659 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6661 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6662 parameter to modify-frame-parameters if the value has not changed;
6663 this is a workaround for bug#14949.
6664 (desktop--make-frame): On cl-delete-if call, check parameter name,
6667 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6669 * vc/vc.el (vc-ignore): New function.
6671 * vc/vc-svn.el (vc-svn-ignore): New function.
6673 * vc/vc-hg.el (vc-hg-ignore): New function.
6675 * vc/vc-git.el (vc-git-ignore): New function.
6677 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6678 (vc-dir-ignore): New function.
6680 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6681 (cvs-append-to-ignore): Move here from pcvs.el.
6683 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6685 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6687 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6689 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6690 (desktop-restore-frames): Warn when deleting an existing frame failed.
6692 2013-07-24 Glenn Morris <rgm@gnu.org>
6694 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6696 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6698 * filenotify.el (file-notify-supported-p):
6699 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6702 * autorevert.el (auto-revert-use-notify):
6703 (auto-revert-notify-add-watch):
6704 * net/tramp.el (tramp-file-name-for-operation):
6705 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6706 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6707 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6708 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6709 Remove `file-notify-supported-p' entry.
6711 2013-07-24 Glenn Morris <rgm@gnu.org>
6713 * printing.el: Replace all uses of deleted ps-windows-system,
6714 ps-lp-system, ps-flatten-list with lpr- versions.
6716 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6718 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6719 checked with memq (bug#14935).
6721 * files.el (revert-buffer-function): Use a non-nil default.
6722 (revert-buffer-preserve-modes): Declare var to
6723 provide access to the `preserve-modes' argument.
6724 (revert-buffer): Let-bind it.
6725 (revert-buffer--default): New function, extracted from revert-buffer.
6727 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6729 * lpr.el: Signal print errors more prominently.
6730 (print-region-function): Don't default to nil.
6731 (lpr-print-region): New function, extracted from print-region-1.
6732 Check lpr's return value and signal an error in case of problem.
6733 (print-region-1): Use it.
6734 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6736 (ps-printer-name): Default to nil.
6737 (ps-printer-name-option): Default to lpr-printer-switch.
6738 (ps-print-region-function): Don't default to nil.
6739 (ps-postscript-code-directory): Simplify default.
6740 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6741 (ps-string-list, ps-eval-switch, ps-flatten-list)
6742 (ps-flatten-list-1): Remove.
6743 (ps-multibyte-buffer): Avoid setq.
6744 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6745 (print-region-function, ps-print-region-function): Don't set them here.
6747 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6749 * ido.el (ido-fractionp):
6750 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6751 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6752 (ido-max-directory-size, ido-max-dir-file-cache)
6753 (ido-decorations): Doc fix.
6755 * ansi-color.el: Fix old URL.
6757 2013-07-23 Michael R. Mauger <michael@mauger.com>
6759 * progmodes/sql.el: Version 3.3
6760 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6761 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6762 (sql-interactive-remove-continuation-prompt): Rewrite, use
6763 functions above. Fix continuation prompt and complete output line
6765 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6766 redirected output buffer.
6767 (sql-mode): Restore deleted code (Bug#13591).
6769 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6771 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6773 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6775 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6777 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6778 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6779 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6781 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6783 * desktop.el (desktop-clear): Simplify; remove useless checks
6784 against invalid buffer names.
6785 (desktop-list*): Use cl-list*.
6786 (desktop-buffer-info, desktop-create-buffer): Simplify.
6788 2013-07-23 Leo Liu <sdl.web@gmail.com>
6790 * bookmark.el (bookmark-make-record): Restore NAME as a default
6793 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6795 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6796 extracted from autoload--insert-text.
6797 (autoload--insert-text): Remove.
6798 (autoload--print-cookie-text): New function, extracted from
6799 autoload--insert-cookie-text.
6800 (autoload--insert-cookie-text): Remove.
6801 (autoload-generate-file-autoloads): Adjust calls accordingly.
6803 * winner.el (winner-hook-installed-p): Remove.
6804 (winner-mode): Simplify accordingly.
6806 * subr.el (add-to-list): Fix compiler-macro when `append' is
6807 not constant. Don't use `cl-member' for the base case.
6809 * progmodes/subword.el: Fix boundary case (bug#13758).
6810 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6812 (subword-backward-regexp): Make it a constant.
6813 (subword-forward-internal): Don't treat a trailing capital as the
6814 beginning of a word.
6816 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6818 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6819 global value of tabulated-list-revert-hook (bug#14930).
6821 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6823 * desktop.el: Require 'cl-lib.
6824 (desktop-before-saving-frames-functions): New hook.
6825 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6826 for frames being saved. Rename from desktop--save-minibuffer-frames.
6827 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6828 Do not save frames with non-nil `desktop-dont-save' parameter.
6829 Filter out deleted frames.
6830 (desktop--find-frame): Use cl-find-if.
6831 (desktop--select-frame): Use cl-(first|second|third) to access values
6833 (desktop--make-frame): Use cl-delete-if.
6834 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6835 (desktop-restore-frames): Use cl-(first|second|third) to access values
6836 of desktop-mini. Look for visible frame at the end, not while
6839 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6840 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6841 Use string-match-p, looking-at-p (bug#14927).
6843 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6845 * desktop.el (desktop-saved-frame-states):
6846 Rename from desktop--saved-states; all users changed.
6847 (desktop-save-frames): Rename from desktop--save-frames.
6848 Do not save state to desktop file.
6849 (desktop-save): Save desktop-saved-frame-states to desktop file
6851 (desktop-restoring-frames-p): New function.
6852 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6853 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6854 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6856 * desktop.el: Correctly restore iconified frames.
6857 (desktop--filter-iconified-position): New function.
6858 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6860 2013-07-20 Glenn Morris <rgm@gnu.org>
6862 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6863 Let `message' do the formatting.
6864 (def-gdb-preempt-display-buffer): Add explicit format.
6866 * image-dired.el (image-dired-track-original-file):
6867 Use with-current-buffer.
6868 (image-dired-track-thumbnail): Use with-current-buffer.
6869 Avoid changing point of wrong window.
6871 * image-dired.el (image-dired-track-original-file):
6872 Avoid changing point of wrong window. (Bug#14909)
6874 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6876 * progmodes/gdb-mi.el (gdb-done-or-error):
6877 Guard against "%" in gdb output. (Bug#14127)
6879 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6881 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6884 * international/mule.el (coding-system-iso-2022-flags): Fix last
6887 2013-07-20 Kenichi Handa <handa@gnu.org>
6889 * international/mule.el (coding-system-iso-2022-flags):
6890 Add `8-bit-level-4'. (Bug#8522)
6892 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6894 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6897 * net/eww.el (eww-process-text-input): Allow inputting when the
6898 point is at the start of the line, as the properties aren't
6901 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6904 2013-07-19 Richard Stallman <rms@gnu.org>
6906 * epa.el (epa-popup-info-window): Doc fix.
6908 * subr.el (split-string): New arg TRIM.
6910 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6912 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6913 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6915 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6917 * filenotify.el (file-notify--library): Rename from
6918 `file-notify-support'. Do not autoload. Adapt all uses.
6919 (file-notify-supported-p): New defun.
6921 * autorevert.el (auto-revert-use-notify):
6922 Use `file-notify-supported-p' instead of `file-notify-support'.
6924 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6926 * net/tramp.el (tramp-file-name-for-operation):
6927 Add `file-notify-supported-p'.
6929 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6931 (tramp-sh-file-name-handler-alist): Add it as handler for
6932 `file-notify-supported-p '.
6934 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6935 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6936 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6937 Add `ignore' as handler for `file-notify-*' functions.
6939 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6941 * simple.el (line-move-partial, line-move): Don't start vscroll or
6942 scroll-up if the current line is not taller than the window.
6945 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6947 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6948 highlight question marks in the method names as strings.
6949 (ruby-block-beg-keywords): Inline.
6950 (ruby-font-lock-keyword-beg-re): Extract from
6951 `ruby-font-lock-keywords'.
6953 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6955 * frame.el (blink-cursor-blinks): New defcustom.
6956 (blink-cursor-blinks-done): New defvar.
6957 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6958 (blink-cursor-timer-function): Check if number of blinks has been
6960 (blink-cursor-suspend, blink-cursor-check): New defuns.
6962 2013-07-15 Glenn Morris <rgm@gnu.org>
6964 * edmacro.el (edmacro-format-keys): Fix previous change.
6966 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6968 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6969 The hack didn't work outside English locales anyway.
6971 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6973 * simple.el (define-alternatives): Rename from alternatives-define,
6974 per RMS' suggestion.
6976 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6978 * desktop.el (desktop-restore-frames): Change default to t.
6979 (desktop-restore-in-current-display): Now offer more options.
6980 (desktop-restoring-reuses-frames): New customization option.
6981 (desktop--saved-states): Doc fix.
6982 (desktop-filter-parameters-alist): New variable, renamed and expanded
6983 from desktop--excluded-frame-parameters.
6984 (desktop--target-display): New variable.
6985 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6986 (desktop--filter-tty*, desktop--filter-*-color)
6987 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6988 (desktop--filter-save-desktop-parm)
6989 (desktop-restore-in-original-display-p): New functions.
6990 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6991 (desktop--save-minibuffer-frames): New function, inspired by a similar
6992 function from Martin Rudalics.
6993 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6994 (desktop--restore-in-this-display-p): Remove.
6995 (desktop--find-frame): Rename from desktop--find-frame-in-display
6996 and add predicate argument.
6997 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6998 (desktop--reuse-list): New variable.
6999 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7001 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7003 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7005 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7007 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7009 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7010 Highlight conversion methods on Kernel.
7012 2013-07-13 Alan Mackenzie <acm@muc.de>
7014 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7015 and comment it out. This out-commenting enables certain C++
7016 declarations to be parsed correctly.
7018 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7020 * international/mule.el (define-coding-system): Doc fix.
7022 * simple.el (default-font-height): Don't call font-info if the
7023 frame's default font didn't change since the frame was created.
7026 2013-07-13 Leo Liu <sdl.web@gmail.com>
7028 * ido.el (ido-read-file-name): Guard against non-symbol value.
7030 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7032 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7035 2013-07-13 Leo Liu <sdl.web@gmail.com>
7037 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7038 ido-set-matches call. (Bug#6852)
7040 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7042 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7043 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7045 (ruby-font-lock-keywords): Distinguish calls to functions with
7046 module-like names from module references. Highlight character
7049 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7051 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7052 (gdb-send): Handle continued commands. (Bug#14847)
7054 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7056 * desktop.el (desktop--v2s): Remove unused local variable.
7057 (desktop-save-buffer): Make defvar-local; adjust docstring.
7058 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7059 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7061 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7063 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7065 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7067 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7070 2013-07-12 Glenn Morris <rgm@gnu.org>
7072 * doc-view.el: Require cl-lib at runtime too.
7073 (doc-view-remove-if): Remove.
7074 (doc-view-search-next-match, doc-view-search-previous-match):
7077 * edmacro.el: Require cl-lib at runtime too.
7078 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7079 (edmacro-mismatch, edmacro-subseq): Remove.
7081 * shadowfile.el: Require cl-lib.
7082 (shadow-remove-if): Remove.
7083 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7086 * wid-edit.el: Require cl-lib.
7087 (widget-choose): Use cl-remove-if.
7088 (widget-remove-if): Remove.
7090 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7091 (ebrowse-delete-if-not): Remove.
7092 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7093 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7094 Use cl-delete-if-not.
7096 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7098 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7099 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7101 2013-07-12 Leo Liu <sdl.web@gmail.com>
7103 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7105 2013-07-11 Glenn Morris <rgm@gnu.org>
7107 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7108 (edebug-gensym-index, edebug-gensym):
7109 Remove reimplementation of cl-gensym.
7110 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7112 * thumbs.el: Require cl-lib at run-time too.
7113 (thumbs-gensym-counter, thumbs-gensym):
7114 Remove reimplementation of cl-gensym.
7115 (thumbs-temp-file): Use cl-gensym.
7117 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7118 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7119 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7120 (ert--union, ert--gensym-counter, ert--gensym-counter)
7121 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7122 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7123 (ert-make-test-unbound, ert--expand-should-1)
7124 (ert--expand-should, ert--should-error-handle-error)
7125 (should-error, ert--explain-equal-rec)
7126 (ert--plist-difference-explanation, ert-select-tests)
7127 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7128 Use cl-lib functions rather than reimplementations.
7130 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7132 * net/tramp.el (tramp-methods): Extend docstring.
7133 (tramp-connection-timeout): New defcustom.
7134 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7135 (with-tramp-progress-reporter): Simplify.
7136 (tramp-process-actions): Improve messages.
7138 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7139 * net/tramp-sh.el (tramp-maybe-open-connection):
7140 Use `tramp-connection-timeout'.
7141 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7144 2013-07-11 Leo Liu <sdl.web@gmail.com>
7146 * ido.el (ido-read-file-name): Conform to the requirements of
7147 read-file-name. (Bug#11861)
7148 (ido-read-directory-name): Conform to the requirements of
7149 read-directory-name.
7151 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7153 * subr.el (delay-warning): New function.
7155 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7157 * simple.el (default-line-height): New function.
7158 (line-move-partial, line-move): Use it instead of computing the
7160 (line-move-partial): Always compute ROWH. If the last line is
7161 partially-visible, but its text is completely visible, allow
7162 cursor to enter such a partially-visible line.
7164 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7166 Improve error messages. (Bug#14808)
7168 * net/tramp.el (tramp-current-connection): New defvar, moved from
7170 (tramp-message-show-progress-reporter-message): Remove, not
7172 (tramp-error-with-buffer): Show message in minibuffer.
7173 Discard input before waiting. Reset connection timestamp.
7174 (with-tramp-progress-reporter): Improve messages.
7175 (tramp-process-actions): Use progress reporter. Delete process in
7176 case of error. Improve messages.
7178 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7179 Call `tramp-error-with-buffer' with vector and buffer.
7180 (tramp-current-connection): Remove.
7181 (tramp-maybe-open-connection): The car of
7182 `tramp-current-connection' are the first 3 slots of the vector.
7184 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7186 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7187 inside continued strings.
7189 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7191 Timestamp fixes for undo (Bug#14824).
7192 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7194 2013-07-10 Leo Liu <sdl.web@gmail.com>
7196 * files.el (require-final-newline): Allow safe local value.
7199 2013-07-09 Leo Liu <sdl.web@gmail.com>
7201 * ido.el (ido-read-directory-name): Handle fallback.
7202 (ido-read-file-name): Update DIR to ido-current-directory.
7204 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7206 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7208 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7209 "autoload". Remove "warn lower camel case" section, previously
7210 commented out. Highlight negation char. Do not highlight the
7211 target in singleton method definitions.
7213 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7215 * faces.el (tty-setup-hook): Declare the hook.
7217 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7218 and detect when a guard/pred depends on local vars (bug#14773).
7219 (pcase--u1): Adjust caller.
7221 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7223 * simple.el (line-move-partial, line-move): Account for
7225 (line-move-partial): Avoid setting vscroll when the last
7226 partially-visible line in window is of default height.
7228 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7230 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7233 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7235 * subr.el (read-quoted-char): Remove unused local variable `char'.
7237 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7239 * ediff.el (ediff-version): Version update.
7240 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7241 (ediff-merge-with-ancestor-command, ediff-directories-command)
7242 (ediff-directories3-command, ediff-merge-directories-command)
7243 (ediff-merge-directories-with-ancestor-command): New functions.
7244 All are command-line interfaces to ediff: to facilitate calling
7245 Emacs with the appropriate ediff functions invoked.
7247 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7248 (viper-save-kill-buffer): Check if buffer is modified.
7250 * viper.el (viper-version): Version update.
7251 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7253 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7255 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7256 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7257 (viper-intercept-ESC-key): Simplify.
7258 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7259 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7260 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7261 (viper-setup-ESC-to-escape): New functions.
7262 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7263 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7265 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7267 * simple.el (default-font-height, window-screen-lines):
7269 (line-move, line-move-partial): Use them instead of
7270 frame-char-height and window-text-height. This makes scrolling
7271 text smoother when the buffer's default face uses a font that is
7272 different from the frame's default font.
7274 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7276 * files.el (write-file): Do not display confirm dialog for NS,
7277 it does its own dialog, which can't be canceled (Bug#14578).
7279 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7281 * simple.el (line-move-partial): Adjust the row returned by
7282 posn-at-point for the current window-vscroll. (Bug#14567)
7284 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7286 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7287 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7290 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7292 * window.el (window-state-put-stale-windows): New variable.
7293 (window--state-put-2): Save list of windows without matching buffer.
7294 (window-state-put): Remove "bufferless" windows if possible.
7296 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7298 * simple.el (alternatives-define): Remove leftover :group keyword.
7301 2013-07-06 Leo Liu <sdl.web@gmail.com>
7303 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7304 (ido-enable-virtual-buffers): New variable.
7305 (ido-buffer-internal, ido-toggle-virtual-buffers)
7306 (ido-make-buffer-list): Use it.
7307 (ido-exhibit): Support turning on and off virtual buffers
7310 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7312 * simple.el (alternatives-define): New macro.
7314 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7316 * subr.el (read-quoted-char): Use read-key.
7317 (sit-for): Let read-event decode tty input (bug#14782).
7319 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7321 * calendar/todo-mode.el: Add handling of file deletion, both by
7322 mode command and externally. Fix various related bugs.
7323 Clarify Commentary and improve some documentation strings and code.
7324 (todo-delete-file): New command.
7325 (todo-check-file): New function.
7326 (todo-show): Handle external deletion of the file we're trying to
7327 show (bug#14688). Replace called-interactively-p by an optional
7328 prefix argument to avoid problematic interaction with catch form
7329 when byte compiled (bug#14702).
7330 (todo-quit): Handle external deletion of the archive's todo file.
7331 Make sure the buffer that was visiting the archive file is still
7332 live before trying to bury it.
7333 (todo-category-completions): Handle external deletion of any
7334 category completion files.
7335 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7336 of todo files, in case of external deletion.
7337 (todo-add-file): Replace unnecessary setq by let-binding.
7338 (todo-find-archive): Check whether there are any archives.
7339 Replace unnecessary setq by let-binding.
7340 (todo-archive-done-item): Use find-file-noselect to get the
7341 archive buffer whether or not the archive already exists.
7342 Remove superfluous code. Use file size instead of buffer-file-name to
7343 check if the archive is new; if it is, update list of archives.
7344 (todo-default-todo-file): Allow nil to be a valid value for when
7345 there are no todo files.
7346 (todo-reevaluate-default-file-defcustom): Use corrected definition
7347 of todo-default-todo-file.
7348 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7349 (todo-delete-category, todo-show-categories-table)
7350 (todo-category-number): Clarify comment.
7351 (todo-filter-items): Clarify documentation string.
7352 (todo-show-current-file, todo-display-as-todo-file)
7353 (todo-reset-and-enable-done-separator): Tweak documentation string.
7354 (todo-done-separator): Make separator length window-width, since
7355 bug#2749 is now fixed.
7357 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7359 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7360 Support both "gvfs-monitor-dir" and "inotifywait".
7361 (tramp-sh-file-inotifywait-process-filter): Rename from
7362 `tramp-sh-file-notify-process-filter'.
7363 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7364 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7366 2013-07-05 Leo Liu <sdl.web@gmail.com>
7368 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7370 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7372 * frame.el (display-pixel-height, display-pixel-width)
7373 (display-mm-height, display-mm-width): Mention behavior on
7374 multi-monitor setups in docstrings.
7375 (w32-display-monitor-attributes-list): Declare function.
7376 (display-monitor-attributes-list): Use it.
7378 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7380 * filenotify.el: New package.
7382 * autorevert.el (top): Require filenotify.el.
7383 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7385 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7386 (auto-revert-notify-handler): Use `file-notify-*' functions.
7388 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7390 * net/tramp.el (tramp-file-name-for-operation):
7391 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7393 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7394 for `file-notify-add-watch' and `file-notify-rm-watch'.
7395 (tramp-process-sentinel): Improve trace.
7396 (tramp-sh-handle-file-notify-add-watch)
7397 (tramp-sh-file-notify-process-filter)
7398 (tramp-sh-handle-file-notify-rm-watch)
7399 (tramp-get-remote-inotifywait): New defuns.
7401 2013-07-03 Juri Linkov <juri@jurta.org>
7403 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7404 call of `occur-read-primary-args' to interactive spec.
7406 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7407 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7409 2013-07-03 Matthias Meulien <orontee@gmail.com>
7411 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7412 `Buffer-menu-multi-occur'. Add it to the menu.
7413 (Buffer-menu-mode): Document it in docstring.
7414 (Buffer-menu-multi-occur): New command. (Bug#14673)
7416 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7418 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7419 keywords and built-ins.
7421 2013-07-03 Glenn Morris <rgm@gnu.org>
7423 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7425 Make info-xref checks case-sensitive by default
7426 * info.el (Info-find-node, Info-find-in-tag-table)
7427 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7428 Add option for exact case matching of nodes.
7429 * info-xref.el (info-xref): New custom group.
7430 (info-xref-case-fold): New option.
7431 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7433 2013-07-03 Leo Liu <sdl.web@gmail.com>
7435 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7437 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7439 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7440 middle of block statement initially, lower the depth. Remove
7441 FIXME comment, not longer valid. Remove middle of block statement
7442 detection, no need to do that anymore since we've been using
7443 `ruby-parse-region' here.
7445 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7447 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7449 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7451 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7453 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7455 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7456 (desktop-restore-in-current-display): New customization option.
7457 (desktop--excluded-frame-parameters): Add `font'.
7458 (desktop--save-frames): Rename from desktop--save-windows.
7459 (desktop--restore-in-this-display-p): New function.
7460 (desktop--make-full-frame): Remove unwanted width/height from
7461 full(width|height) frames.
7462 (desktop--restore-frames): Rename from desktop--restore-windows.
7463 Obey desktop-restore-current-display. Do not delete old frames or
7464 select a new frame unless we were able to restore at least one frame.
7466 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7468 * files.el (find-file-noselect): Simplify conditional expression.
7470 * remember.el (remember-append-to-file):
7471 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7473 Add `remember-notes' function to store random notes across Emacs
7475 * remember.el (remember-data-file): Add :set callback to affect
7476 notes buffer (if any).
7477 (remember-notes): New command.
7478 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7479 New defcustoms for the `remember-notes' function.
7480 (remember-notes-save-and-bury-buffer): New command.
7481 (remember-notes-mode-map): New variable.
7482 (remember-mode): New minor mode.
7483 (remember-notes--kill-buffer-query): New function.
7484 * startup.el (initial-buffer-choice): Add notes to custom type.
7486 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7488 * bindings.el (right-char, left-char): Don't call sit-for, this is
7489 no longer needed. Use arithmetic comparison only for numerical
7492 * international/mule-cmds.el (select-safe-coding-system):
7493 Handle the case of FROM being a string correctly. (Bug#14755)
7495 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7497 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7498 progression on degenerate tables.
7499 (shr-rescale-image): ImageMagick animated images currently don't work.
7501 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7503 Some fixes and improvements for desktop frame restoration.
7504 It is still experimental and disabled by default.
7505 * desktop.el (desktop--save-windows): Put the selected frame at
7506 the head of the list.
7507 (desktop--make-full-frame): New function.
7508 (desktop--restore-windows): Try to re-select the frame that was
7509 selected upon saving. Do not abort if some frames fail to restore,
7510 just show an error message and continue. Set up maximized frames
7511 so they have default non-maximized dimensions.
7513 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7515 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7516 Don't start heredoc inside a string or comment.
7518 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7520 * bindings.el (visual-order-cursor-movement): New defcustom.
7521 (right-char, left-char): Provide visual-order cursor motion by
7522 calling move-point-visually. Update the doc strings.
7524 2013-06-28 Kenichi Handa <handa@gnu.org>
7526 * international/mule.el (define-coding-system): New coding system
7527 properties :inhibit-null-byte-detection,
7528 :inhibit-iso-escape-detection, and :prefer-utf-8.
7529 (set-buffer-file-coding-system): If :charset-list property of
7530 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7531 appropriate for setting.
7533 * international/mule-cmds.el (select-safe-coding-system):
7534 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7535 multibyte characters, return utf-8 (or one of its siblings).
7537 * international/mule-conf.el (prefer-utf-8): New coding system.
7538 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7541 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7543 * net/shr.el (shr-render-region): New function.
7545 * net/eww.el: Autoload `eww-browse-url'.
7547 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7549 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7550 Adapt to `package-desc-version' being a list.
7551 Use `package--ac-desc-version' to retrieve version from a package
7554 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7556 New experimental feature to save&restore window and frame setup.
7557 * desktop.el (desktop-save-windows): New defcustom.
7558 (desktop--saved-states): New var.
7559 (desktop--excluded-frame-parameters): New defconst.
7560 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7561 (desktop--restore-windows, desktop--save-windows): New functions.
7562 (desktop-save): Call `desktop--save-windows'.
7563 (desktop-read): Call `desktop--restore-windows'.
7565 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7567 * net/shr.el (add-face-text-property): Remove compat definition.
7569 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7571 * info.el (Info-try-follow-nearest-node): Move search for footnote
7572 above search for node name to prevent missing a footnote (bug#14717).
7574 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7576 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7578 2013-06-27 Leo Liu <sdl.web@gmail.com>
7580 * net/eww.el (eww-read-bookmarks): Check file size.
7582 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7584 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7585 advice--pending if newdef is nil or an autoload (bug#13820).
7586 (advice-mapc): New function.
7588 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7590 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7592 (eww-mode-map): Add a menu bar.
7593 (eww-add-bookmark): New command.
7594 (eww-bookmark-mode): New mode and commands.
7595 (eww-add-bookmark): Remove newlines from the title.
7596 (eww-bookmark-browse): Don't bug out if it's the only window.
7598 2013-06-26 Glenn Morris <rgm@gnu.org>
7600 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7601 (hfy-size): Handle ttys. (Bug#14668)
7603 * info-xref.el: Update for Texinfo 5 change in *note format.
7604 (info-xref-node-re, info-xref-note-re): New constants.
7605 (info-xref-check-buffer): Use info-xref-note-re.
7607 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7609 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7611 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7612 nil terminate the loop (bug#14718).
7614 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7616 * net/eww.el: Rework history traversal. When going forward/back,
7617 put these actions into the history, too, so that they can be
7619 (eww-render): Move the history reset to the correct buffer.
7621 2013-06-25 Juri Linkov <juri@jurta.org>
7623 * files-x.el (modify-dir-local-variable): Change the header comment
7624 in the file with directory local variables. (Bug#14692)
7626 * files-x.el (read-file-local-variable-value): Add `default'.
7629 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7631 * net/eww.el (eww-make-unique-file-name): Create a unique file
7632 name before saving to entering `y' accidentally asynchronously.
7634 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7636 * net/eww.el (eww-download): New command and keystroke.
7638 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7640 * net/eww.el (eww-copy-page-url): Change name of command.
7642 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7643 be more consistent with Info and dired.
7645 * net/eww.el (eww-mode-map): Ditto.
7647 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7649 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7650 packages from archives.
7651 (package-archive-contents): Change format; include obsolete packages.
7652 (package-desc): Use `dir' to mark builtin packages.
7653 (package--from-builtin): Set the `dir' field to `builtin'.
7654 (generated-autoload-file, version-control): Declare.
7655 (package-compute-transaction): Change first arg and return value to be
7656 lists of package-descs. Adjust to new package-archive-contents format.
7657 (package--add-to-archive-contents): Adjust to new
7658 package-archive-contents format.
7659 (package-download-transaction): Arg is now a list of package-descs.
7660 (package-install): If `pkg' is a package name, pass it as
7661 a requirement, so it is subject to the usual (e.g. disabled) checks.
7662 (describe-package): Accept package-desc as well.
7663 (describe-package-1): Describe a specific package-desc. Add links to
7664 other package-descs for the same package name.
7665 (package-menu-describe-package): Pass the actual package-desc.
7666 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7668 (package-desc-status): New function.
7669 (package-menu--refresh): New function, extracted
7670 from package-menu--generate.
7671 (package-menu--generate): Use it.
7672 (package-delete): Update package-alist.
7673 (package-menu-execute): Don't call package-initialize.
7675 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7676 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7677 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7678 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7679 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7680 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7682 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7684 * window.el (window--state-get-1): Workaround for bug#14527.
7685 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7687 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7689 * net/eww.el (eww-back-url): Implement the history by stashing all
7690 the data into a list.
7691 (eww-forward-url): Allow going forward in the history, too.
7693 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7695 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7696 for values and use read--expression for expressions (bug#14710).
7697 (read-file-local-variable): Avoid setq.
7698 (read-file-local-variable-mode): Use minor-mode-list.
7700 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7702 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7705 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7707 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7708 Update imenu-support when dialect changes.
7710 2013-06-25 Leo Liu <sdl.web@gmail.com>
7712 * ido.el (ido-read-internal): Allow forward slash on windows.
7714 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7716 * net/eww.el (eww): Start of strings is \\`, not ^.
7718 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7720 * net/shr.el (shr-browse-url): Fix interactive spec.
7722 * net/eww.el (eww): Add a trailing slash to domain names.
7724 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7726 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7728 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7730 * net/shr.el (shr-browse-url): Use an external browser if given a
7733 * net/eww.el (eww-external-browser): Move to shr.
7735 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7737 * net/eww.el (eww): Work more correctly for file: URLs.
7738 (eww-detect-charset): Allow quoted charsets.
7739 (eww-yank-page-url): New command and keystroke.
7741 2013-06-24 Daiki Ueno <ueno@gnu.org>
7743 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7744 file name of gpg executable.
7745 (epg-context-program): New function.
7746 (epg-context-home-directory): New function.
7747 (epg-context-set-program): New function.
7748 (epg-context-set-home-directory): New function.
7749 (epg--start): Use `epg-context-program' instead of
7751 (epg--list-keys-1): Likewise.
7753 2013-06-24 Leo Liu <sdl.web@gmail.com>
7755 * ido.el (ido-read-internal): Fix bug#14620.
7757 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7759 * faces.el (face-documentation): Simplify.
7760 (read-face-attribute, tty-find-type, x-resolve-font-name):
7761 Use `string-match-p'.
7762 (list-faces-display): Use `string-match-p'. Simplify.
7763 (face-spec-recalc): Check face to avoid face alias loops.
7764 (read-color): Use `string-match-p' and non-capturing parenthesis.
7766 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7768 * net/shr.el (shr-rescale-image): Use the new
7769 :max-width/:max-height functionality.
7771 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7773 * net/eww.el (eww-search-prefix): New variable.
7775 (eww-external-browser): New variable.
7776 (eww-mode-map): New keystroke.
7777 (eww-browse-with-external-browser): New command.
7779 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7781 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7783 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7784 Don't skip aligning the next header field when padding is 0;
7785 otherwise, field width is not respected unless the title is as
7788 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790 * emacs-lisp/package.el (package-el-version): Remove.
7791 (package-process-define-package): Fix inf-loop.
7792 (package-install): Allow symbols as arguments again.
7794 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7796 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7797 add some more keyword-like methods.
7798 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7800 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7802 * bs.el (bs-buffer-show-mark): Make defvar-local.
7803 (bs-mode): Use setq-local.
7805 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7806 (emacs-lock--try-unlocking): Make defvar-local.
7808 2013-06-22 Glenn Morris <rgm@gnu.org>
7810 * play/cookie1.el (cookie-apropos): Minor simplification.
7812 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7814 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7816 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7817 `regexp-opt', it breaks the build during dumping.
7819 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7821 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7822 Highlight keyword-like methods on Kernel and Module with
7823 font-lock-builtin-face.
7824 (auto-mode-alist): Consolidate different entries into one regexp
7825 and add more *file-s.
7827 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7829 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7831 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7832 (diary-entry): Use it in the action of this button type instead of
7835 * calendar/todo-mode.el: New version.
7836 (todo-add-category): Append new category to end of file and give
7837 it the highest number, instead of putting it at the beginning and
7838 giving it 0. Incorporate noninteractive functionality.
7839 (todo-forward-category): Adapt to 1-based category numbering.
7840 Allow skipping over archived categories.
7841 (todo-backward-category): Derive from todo-forward-category.
7842 (todo-backward-item, todo-forward-item): Make noninteractive and
7843 delegate interactive part to new commands. Make sensitive to done items.
7844 (todo-categories): Make value an alist of category names and
7845 vectors of item counts.
7846 (todo-category-beg): Make a defconst.
7847 (todo-category-number): Use 1 instead of 0 as initial value.
7848 (todo-category-select): Make sensitive to overlays, optional item
7849 highlighting and done items.
7850 (todo-delete-item): Make sensitive to overlays and marked and done items.
7851 (todo-edit-item): Make sensitive to overlays and editing of
7852 date/time header optional. Add format checks.
7853 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7854 no-op if point is not on an item. Advertise using todo-edit-quit.
7855 (todo-edit-mode): Make sensitive to new format, font-locking, and
7856 multiple todo files.
7857 (todo-insert-item, todo-insert-item-here): Derive from
7858 todo-basic-insert-item and extend functionality.
7859 (todo-item-end, todo-item-start): Make sensitive to done items.
7860 (todo-item-string): Don't return text properties. Restore point.
7861 (todo-jump-to-category): Make sensitive to multiple todo files and
7862 todo archives. Use extended category completion.
7863 (todo-lower-item, todo-raise-item): Rename to *-priority and
7864 derive from todo-set-item-priority.
7865 (todo-mode): Derive from special-mode. Make sensitive to new
7866 format, font-locking and multiple todo files. Make read-only.
7867 (todo-mode-map): Don't suppress digit keys, so they can supply
7868 prefix arguments. Add many new key bindings.
7869 (todo-prefix): Insert as an overlay instead of file text.
7870 Change semantics from diary date expression to purely visual mark.
7871 (todo-print): Rename to todo-print-buffer. Make buffer display
7872 features printable. Remove option to restrict number of items
7873 printed. Add option to print to file.
7874 (todo-print-function): Rename to todo-print-buffer-function.
7875 (todo-quit): Extend to handle exiting new todo modes.
7876 (todo-remove-item): Make sensitive to overlays.
7877 (todo-save): Extend to buffers of filtered items.
7878 (todo-show): Make sensitive to done items, multiple todo files and
7879 new todo modes. Offer to convert legacy todo file before creating
7880 first new todo file.
7881 (todo-show-priorities): Rename to todo-top-priorities.
7882 Change semantics of value 0.
7883 (todo-top-priorities): Rename to todo-filter-top-priorities,
7884 derive from todo-filter-items and extend functionality.
7885 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7886 and extend functionality to other types of filtered items.
7887 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7888 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7889 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7890 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7891 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7892 (todo-edit-mode-hook, todo-entry-prefix-function)
7893 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7894 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7895 (todo-initials, todo-insert-threshold, todo-item-string-start)
7896 (todo-line-string, todo-menu, todo-mode-hook)
7897 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7898 (todo-print-priorities, todo-remove-separator)
7899 (todo-save-top-priorities-too, todo-string-count-lines)
7900 (todo-string-multiline-p, todo-time-string-format)
7901 (todo-tmp-buffer-name): Remove.
7902 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7903 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7904 (todo-edit-category-diary-inclusion)
7905 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7906 (todo-edit-file, todo-edit-item-date-day)
7907 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7908 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7909 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7910 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7911 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7912 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7913 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7914 (todo-filter-top-priorities-multifile, todo-find-archive)
7915 (todo-find-filtered-items-file, todo-go-to-source-item)
7916 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7917 (todo-jump-to-archive-category, todo-lower-category)
7918 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7919 (todo-move-category, todo-move-item, todo-next-button)
7920 (todo-next-item, todo-padded-string, todo-powerset)
7921 (todo-previous-button, todo-previous-item)
7922 (todo-print-buffer-to-file, todo-raise-category)
7923 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7924 (todo-set-category-number, todo-set-item-priority)
7925 (todo-set-top-priorities-in-category)
7926 (todo-set-top-priorities-in-file, todo-show-categories-table)
7927 (todo-sort-categories-alphabetically-or-numerically)
7928 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7929 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7930 (todo-toggle-item-header, todo-toggle-item-highlighting)
7931 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7932 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7933 (todo-unarchive-items, todo-unmark-category): New commands.
7934 (todo-absolute-file-name, todo-add-to-buffer-list)
7935 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7936 (todo-basic-insert-item, todo-category-completions)
7937 (todo-category-number, todo-category-string-matcher-1)
7938 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7939 (todo-check-format, todo-clear-matches)
7940 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7941 (todo-current-category, todo-date-string-matcher)
7942 (todo-define-insertion-command, todo-diary-expired-matcher)
7943 (todo-diary-goto-entry, todo-diary-item-p)
7944 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7945 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7946 (todo-done-item-section-p, todo-done-separator)
7947 (todo-done-string-matcher, todo-files, todo-filter-items)
7948 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7949 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7950 (todo-insert-category-line, todo-insert-item-from-calendar)
7951 (todo-insert-sort-button, todo-insert-with-overlays)
7952 (todo-insertion-command-name, todo-insertion-key-bindings)
7953 (todo-label-to-key, todo-longest-category-name-length)
7954 (todo-make-categories-list, todo-mode-external-set)
7955 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7956 (todo-modes-set-3, todo-multiple-filter-files)
7957 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7958 (todo-read-category, todo-read-date, todo-read-dayname)
7959 (todo-read-file-name, todo-read-time)
7960 (todo-reevaluate-category-completions-files-defcustom)
7961 (todo-reevaluate-default-file-defcustom)
7962 (todo-reevaluate-filelist-defcustoms)
7963 (todo-reevaluate-filter-files-defcustom)
7964 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7965 (todo-reset-done-separator, todo-reset-done-separator-string)
7966 (todo-reset-done-string, todo-reset-global-current-todo-file)
7967 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7968 (todo-reset-prefix, todo-set-categories)
7969 (todo-set-date-from-calendar, todo-set-show-current-file)
7970 (todo-set-top-priorities, todo-short-file-name)
7971 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7972 (todo-total-item-counts, todo-update-buffer-list)
7973 (todo-update-categories-display, todo-update-categories-sexp)
7974 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7976 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7978 (todo-categories, todo-display, todo-edit, todo-faces)
7979 (todo-filtered): New defgroups.
7980 (todo-archived-only, todo-button, todo-category-string, todo-date)
7981 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7982 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7983 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7984 (todo-add-item-if-new-category, todo-always-add-time-string)
7985 (todo-categories-align, todo-categories-archived-label)
7986 (todo-categories-category-label, todo-categories-diary-label)
7987 (todo-categories-done-label, todo-categories-number-separator)
7988 (todo-categories-todo-label, todo-categories-totals-label)
7989 (todo-category-completions-files, todo-completion-ignore-case)
7990 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7991 (todo-done-separator-string, todo-done-string)
7992 (todo-files-function, todo-filter-done-items, todo-filter-files)
7993 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7994 (todo-initial-category, todo-initial-file, todo-item-mark)
7995 (todo-legacy-date-time-regexp, todo-mode-line-function)
7996 (todo-nondiary-marker, todo-number-prefix)
7997 (todo-print-buffer-function, todo-show-current-file)
7998 (todo-show-done-only, todo-show-first, todo-show-with-done)
7999 (todo-skip-archived-categories, todo-top-priorities-overrides)
8000 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8001 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8003 (todo-category-done, todo-date-pattern, todo-date-string-start)
8004 (todo-diary-items-buffer, todo-done-string-start)
8005 (todo-filtered-items-buffer, todo-item-start)
8006 (todo-month-abbrev-array, todo-month-name-array)
8007 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8008 (todo-top-priorities-buffer): New defconsts.
8009 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8010 (todo-categories-with-marks, todo-category-string-face)
8011 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8012 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8013 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8014 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8015 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8016 (todo-font-lock-keywords, todo-global-current-todo-file)
8017 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8018 (todo-insertion-commands-args)
8019 (todo-insertion-commands-args-genlist)
8020 (todo-insertion-commands-names, todo-insertion-map)
8021 (todo-key-bindings-t, todo-key-bindings-t+a)
8022 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8023 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8024 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8025 (todo-visited): New variables.
8027 2013-06-21 Glenn Morris <rgm@gnu.org>
8029 * play/cookie1.el (cookie-apropos): Add optional display argument.
8030 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8031 (psychoanalyze-pinhead): Use cookie-doctor.
8033 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8035 * emacs-lisp/package.el (tar-get-file-descriptor)
8036 (tar--extract): Declare.
8038 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8040 Extend flymake's warning predicate to be a function (bug#14217).
8041 * progmodes/flymake.el (flymake-warning-predicate): New.
8042 (flymake-parse-line): Use it.
8043 (flymake-warning-re): Make obsolete alias to
8044 `flymake-warning-predicate'.
8046 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8048 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8049 (package-obsolete-list): Remove.
8050 (package-activate): Remove min-version argument. Add `force' argument.
8051 Adjust to new package-alist format.
8052 (package-mark-obsolete): Remove.
8053 (package-unpack): Force reload of the package's autoloads.
8054 (package-installed-p): Check builtins if the installed package is not
8056 (package-initialize): Don't reset package-obsolete-list.
8057 Don't specify which package version to activate.
8058 (package-process-define-package, describe-package-1)
8059 (package-menu--generate): Adjust to new package-alist format.
8061 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8063 * allout-widgets.el (allout-widgets-mode-off)
8064 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8065 (allout-widgets-post-command-business)
8066 (allout-widgets-after-copy-or-kill-function)
8067 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8068 (allout-decorate-item-and-context)
8069 (allout-graphics-modification-handler): Fix typos in docstrings.
8070 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8072 * cmuscheme.el (scheme-start-file): Doc fix.
8073 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8074 (scheme-input-filter): Use `string-match-p'.
8076 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8078 * dired-x.el: Use Dired consistently in docstrings.
8080 * dired.el: Use Dired consistently in docstrings.
8081 (dired-readin, dired-mode): Use `setq-local'.
8082 (dired-switches-alist): Make defvar-local.
8083 (dired-buffers-for-dir): Use `zerop'.
8084 (dired-safe-switches-p, dired-switches-escape-p)
8085 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8086 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8087 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8088 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8089 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8090 (dired-toggle-marks, dired-mark-files-containing-regexp)
8091 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8092 (dired-flag-auto-save-files, dired-flag-backup-files):
8094 (dired-mark-files-regexp, dired-build-subdir-alist):
8095 Use `string-match-p', `looking-at-p'.
8097 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8098 (direct-print-region-helper): Use `string-match-p'.
8100 2013-06-21 Leo Liu <sdl.web@gmail.com>
8102 * comint.el (comint-redirect-results-list-from-process):
8105 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8107 * net/eww.el (eww-update-header-line-format): Quote % characters.
8109 2013-06-21 Glenn Morris <rgm@gnu.org>
8111 * play/cookie1.el (cookie): New custom group.
8112 (cookie-file): New option.
8113 (cookie-check-file): New function.
8114 (cookie): Make it interactive. Make start and end messages optional.
8115 Interactively, display the result. Default to cookie-file.
8116 (cookie-insert): Default to cookie-file.
8117 (cookie-snarf): Make start and end messages optional.
8118 Default to cookie-file. Use with-temp-buffer.
8119 (cookie-read): Rename from read-cookie.
8120 Make start and end messages optional. Default to cookie-file.
8121 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8123 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8124 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8126 2013-06-21 Leo Liu <sdl.web@gmail.com>
8128 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8130 2013-06-21 Glenn Morris <rgm@gnu.org>
8132 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8134 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8135 Daniel Hackney <dan@haxney.org>
8137 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8138 Consolidate the single-file vs tarball code.
8139 (package-desc-suffix): New function.
8140 (package-desc-full-name): Don't bother inlining it.
8141 (package-load-descriptor): Return the new package-desc.
8142 (package-mark-obsolete): Remove unused arg `package'.
8143 (package-unpack): Make it work for single files as well.
8144 Make it update package-alist.
8145 (package--make-autoloads-and-stuff): Rename from
8146 package--make-autoloads-and-compile. Don't compile any more.
8147 (package--compile): New function.
8148 (package-generate-description-file): New function, extracted from
8149 package-unpack-single.
8150 (package-unpack-single): Remove.
8151 (package--with-work-buffer): Add indentation and debugging info.
8152 (package-download-single): Remove.
8153 (package-install-from-archive): Rename from package-download-tar, make
8154 it take a pkg-desc, and make it work for single files as well.
8155 (package-download-transaction): Simplify.
8156 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8157 external tar program.
8158 (package-install-from-buffer): Remove `pkg-desc' argument.
8159 Use package-tar-file-info for tar-mode buffers.
8160 (package-install-file): Simplify accordingly.
8161 (package-archive-base): Change to take a pkg-desc.
8162 * tar-mode.el (tar--check-descriptor): New function, extracted from
8164 (tar-get-descriptor): Use it.
8165 (tar-get-file-descriptor): New function.
8166 (tar--extract): New function, extracted from tar-extract.
8167 (tar--extract): Use it.
8168 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8169 case the summary uses non-ascii. Adjust to new calling convention of
8170 package-tar-file-info.
8172 2013-06-21 Leo Liu <sdl.web@gmail.com>
8174 * comint.el (comint-redirect-results-list-from-process):
8175 Fix random delay. (Bug#14681)
8177 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8179 * profiler.el (profiler-format-number): Use log, not log10.
8181 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8183 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8185 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8187 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8188 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8190 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8191 (AUTOGENEL): ... here.
8192 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8193 (cl--defsubst-expand): Use it.
8195 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8197 * subr.el (log10): Move here from C code, and declare as obsolete.
8198 All uses of (log10 X) replaced with (log X 10).
8200 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8202 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8203 Declare with `defvar-local'.
8204 (tabulated-list-use-header-line, tabulated-list-entries)
8205 (tabulated-list-padding, tabulated-list-printer)
8206 (tabulated-list-sort-key): Declare with `defvar-local'.
8207 (tabulated-list-init-header, tabulated-list-print-fake-header):
8210 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8212 * arc-mode.el (archive-mode): Add `archive-write-file' to
8213 `write-contents-functions' also for remote files. (Bug#14652)
8215 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8217 * cus-edit.el (custom-commands): Fix typos.
8218 (custom-display): Fix tooltip text.
8219 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8220 Fix typos in docstrings.
8221 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8222 (custom-unlispify-menu-entry, custom-magic-value-create)
8223 (custom-add-see-also, custom-group-value-create): Use ?\s.
8224 (custom-guess-type, customize-apropos, editable-field)
8225 (custom-face-value-create): Use `string-match-p'.
8226 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8228 * custom.el (custom-load-symbol): Use `string-match-p'.
8230 * ansi-color.el: Convert to lexical binding.
8231 (ansi-colors): Fix URL.
8232 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8233 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8234 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8236 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8238 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8240 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8242 2013-06-19 Tom Tromey <tromey@redhat.com>
8244 * net/eww.el (eww-top-url): Remove.
8245 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8246 (eww-render): Set new variables. Don't set eww-top-url.
8247 (eww-handle-link): Handle "prev", "home", and "contents".
8248 Downcase the rel text.
8249 (eww-top-url): Choose best top URL.
8251 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8253 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8254 relying in widget.el. Using widget.el leads to too many
8255 user interface inconsistencies.
8256 (eww-self-insert): Implement entering commands in text fields.
8257 (eww-process-text-input): New function to make text input field editing
8259 (eww-submit): Rewrite to use the new-style form methods.
8260 (eww-select-display): Display the correct selected item.
8261 (eww-change-select): Implement changing the select value.
8262 (eww-toggle-checkbox): Implement radio/checkboxes.
8263 (eww-update-field): Fix compilation error.
8264 (eww-tag-textarea): Implement <textarea>.
8266 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8267 we don't shadow mode-specific bindings.
8269 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8272 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8274 2013-06-19 Glenn Morris <rgm@gnu.org>
8276 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8278 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8280 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8283 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8285 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8287 * net/browse-url.el (browse-url-browser-function):
8288 `eww-browse-url' has the right calling signature, `eww' does not.
8290 2013-06-19 Glenn Morris <rgm@gnu.org>
8292 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8293 Only eval autoloaded macros.
8294 (byte-compile-autoload): Only give the macro warning for macros.
8296 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8297 (ps-underlined-faces): Declare.
8299 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8300 (speedbar-add-supported-extension): Declare.
8302 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8303 Don't include a date stamp in the header of the generated file;
8304 it leads to needless differences between output files.
8306 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8308 * net/secrets.el (secrets-struct-secret-content-type):
8309 Replace check of introspection data by a test call of "CreateItem".
8310 Some servers do not offer introspection.
8312 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8314 * electric.el (electric-pair-mode): Improve interaction with
8315 electric-layout-mode.
8316 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8317 (electric-pair-syntax): Use text-mode-syntax-table in comments
8319 (electric-pair--insert): New function.
8320 (electric-pair-post-self-insert-function): Use it and
8321 electric--after-char-pos.
8323 2013-06-19 Leo Liu <sdl.web@gmail.com>
8325 * progmodes/octave.el (octave-help): Fix regexp.
8327 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8329 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8330 (shr-table-horizontal-line): Allow nil as a value, and change the
8332 (shr-insert-table-ruler): Respect the nil value.
8334 2013-06-18 Tom Tromey <tromey@barimba>
8336 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8338 (eww-open-file): New defun.
8339 (eww-render): Initialize new variables.
8340 (eww-display-html): Handle "link" and "a".
8341 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8342 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8343 (eww-back-url): Rename from eww-previous-url.
8344 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8347 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8349 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8350 Distinguish ternary operator tokens from slash symbol and slash
8353 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8355 Convert symbol prettification into minor mode and global minor mode.
8357 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8358 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8359 (prettify-symbols--keywords): Rename from
8360 `prog-prettify-symbols-alist' and make a local defvar.
8361 (prettify-symbols--compose-symbol): Rename from
8362 `prog--prettify-font-lock-compose-symbol'.
8363 (prettify-symbols--make-keywords): Rename from
8364 `prog-prettify-font-lock-symbols-keywords' and simplify.
8365 (prog-prettify-install): Remove.
8366 (prettify-symbols-mode): New minor mode, based on
8367 `prog-prettify-install'.
8368 (turn-on-prettify-symbols-mode): New function.
8369 (global-prettify-symbols-mode): New globalized minor mode.
8371 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8372 * progmodes/cfengine.el (cfengine3-mode):
8373 * progmodes/perl-mode.el (perl-mode): Don't call
8374 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8376 2013-06-18 Juri Linkov <juri@jurta.org>
8378 * files-x.el (modify-file-local-variable-message): New function.
8379 (modify-file-local-variable)
8380 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8381 and call `modify-file-local-variable-message' when it's non-nil.
8382 (add-file-local-variable, delete-file-local-variable)
8383 (add-file-local-variable-prop-line)
8384 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8385 and use it. (Bug#9820)
8387 2013-06-18 Juri Linkov <juri@jurta.org>
8389 * emulation/vi.el (vi-shell-op):
8390 * emulation/vip.el (vip-execute-com, ex-command):
8391 * emulation/viper-cmd.el (viper-exec-bang):
8392 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8393 the call of `shell-command-on-region'. (Bug#14637)
8395 * simple.el (shell-command-on-region): Doc fix.
8397 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8399 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8402 2013-06-18 Glenn Morris <rgm@gnu.org>
8404 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8406 * newcomment.el (comment-search-forward, comment-search-backward):
8407 Doc fix. (Bug#14376)
8409 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8411 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8412 (buffer-face-mode-invoke): Doc fix.
8414 2013-06-18 Matthias Meulien <orontee@gmail.com>
8416 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8417 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8419 2013-06-18 Glenn Morris <rgm@gnu.org>
8421 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8422 Replace obsolete function generic-make-keywords with its expansion.
8424 * progmodes/python.el (ffap-alist): Declare.
8426 * textmodes/reftex.el (bibtex-mode-map): Declare.
8428 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8430 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8431 (package-unpack, package-unpack-single): Return the pkg-dir.
8432 (package-download-transaction): Use it to update package-alist.
8434 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8436 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8439 2013-06-17 Juri Linkov <juri@jurta.org>
8441 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8443 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8445 * emacs-lisp/package.el (package-load-descriptor):
8446 Remove `with-syntax-table' call, `read' doesn't need it.
8447 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8449 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8451 * startup.el (command-line): Expand package name returned by
8452 `package--description-file' (bug#14639).
8454 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8456 * emacs-lisp/package.el (package-load-descriptor): Do not call
8457 `emacs-lisp-mode', just use its syntax table.
8459 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8461 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8462 `font-lock-extra-managed-props' if any prettifying keyword is added.
8463 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8464 (prog-mode): Use `setq-local'.
8466 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8468 * international/characters.el (standard-case-table): Set syntax of ?»
8469 and ?« to punctuation.
8471 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8473 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8474 Save relevant match data before calling `syntax-ppss' (bug#14595).
8476 2013-06-15 Juri Linkov <juri@jurta.org>
8478 * files-x.el (modify-file-local-variable-prop-line): Add local
8479 variables to the end of the existing comment on the first line.
8480 Use `file-auto-mode-skip' to skip interpreter magic line,
8481 and also skip XML declaration.
8483 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8485 * startup.el (package--builtin-versions): New var.
8486 (package-subdirectory-regexp): Remove.
8487 (package--description-file): Hard code its value instead.
8489 * emacs-lisp/package.el: Don't activate packages older than builtin.
8490 (package-obsolete-list): Rename from package-obsolete-alist, and make
8491 it into a simple list of package-desc.
8492 (package-strip-version): Remove.
8493 (package-built-in-p): Use package--builtin-versions.
8494 (package-mark-obsolete): Simplify.
8495 (package-process-define-package): Mark it obsolete if older than the
8497 (package-handle-response): Use line-end-position.
8498 (package-read-archive-contents, package--download-one-archive):
8500 (package--add-to-archive-contents): Skip if older than the builtin or
8502 (package-menu-describe-package): Fix last change.
8503 (package-list-unversioned): New var.
8504 (package-menu--generate): Use it.
8506 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8507 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8508 (autoload-builtin-package-versions): New variable.
8509 (autoload-generate-file-autoloads): Use them.
8510 Remove the list of autoloaded functions/macros from the
8511 (autoload...) comments.
8513 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8515 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8517 * simple.el (line-move-partial): Don't jump to the next screen
8518 line as soon as it becomes visible. Instead, continue enlarging
8519 the vscroll until the portion of a tall screen line that's left on
8520 display is about the height of the frame's default font.
8523 2013-06-15 Glenn Morris <rgm@gnu.org>
8525 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8526 compilation-error-regexp-alist void, or local while let-bound.
8528 * progmodes/make-mode.el (makefile-mode-syntax-table):
8529 Treat "=" as punctuation. (Bug#14614)
8531 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8533 * help-fns.el (describe-variable):
8534 Add extra line for permanent-local variables.
8536 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8538 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8539 Add export, import, library. (Bug#9164)
8540 (library): Set indent function.
8542 2013-06-14 Glenn Morris <rgm@gnu.org>
8544 * term/xterm.el (xterm--query):
8545 Stop after first matching handler. (Bug#14615)
8547 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8549 Add support for dired in saveplace.
8550 * dired.el (dired-initial-position-hook): New variable.
8551 (dired-initial-position): Call hook to place cursor position.
8552 * saveplace.el (save-place-to-alist): Add dired position.
8553 (save-place-dired-hook): New function.
8555 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8557 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8558 through a symbol rather than letrec.
8560 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8561 (package-desc): Add `dir' field.
8562 (package-desc-full-name): New function.
8563 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8564 (package-maybe-load-descriptor): Remove.
8565 (package-load-all-descriptors): Just call package-load-descriptor.
8566 (package--disabled-p): New function.
8567 (package-desc-vers, package-desc-doc): Remove aliases.
8568 (package--dir): Remove function.
8569 (package-activate): Check if a package is disabled.
8570 (package-process-define-package): New function, extracted from
8572 (define-package): Turn into a place holder.
8573 (package-unpack-single, package-tar-file-info):
8574 Use package--description-file.
8575 (package-compute-transaction): Use package--disabled-p.
8576 (package-download-transaction): Don't call
8577 package-maybe-load-descriptor since they're all loaded anyway.
8578 (package-install): Change argument to be a pkg-desc.
8579 (package-delete): Use a single pkg-desc argument.
8580 (describe-package-1): Use package-desc-dir instead of package--dir.
8581 Use package-desc property instead of package-symbol.
8582 (package-install-button-action): Adjust accordingly.
8583 (package--push): Rewrite.
8584 (package-menu--print-info): Adjust accordingly. Change the ID format
8586 (package-menu-describe-package, package-menu-get-status)
8587 (package-menu--find-upgrades, package-menu-mark-upgrades)
8588 (package-menu-execute, package-menu--name-predicate):
8590 * startup.el (package--description-file): New function.
8591 (command-line): Use it.
8592 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8593 Use package-desc-version.
8595 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8596 (byte-compile-preprocess): Use it.
8597 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8598 can't quite recognize.
8599 (byte-compile-add-to-list): Remove.
8600 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8601 (cconv-closure-convert): Add assertion.
8603 * emacs-lisp/map-ynp.el: Use lexical-binding.
8604 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8605 Factor out some repeated code.
8607 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8609 * subr.el (with-eval-after-load): New macro.
8610 (eval-after-load): Allow form to be a function.
8611 take advantage of lexical-binding.
8612 (do-after-load-evaluation): Use dolist and adjust to new format.
8613 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8615 2013-06-13 Juri Linkov <juri@jurta.org>
8617 * replace.el (perform-replace): Display "symbol " and other search
8618 modes from `isearch-message-prefix' in the *Help* buffer.
8620 * isearch.el (isearch-query-replace): Add " symbol" and other
8621 possible search modes from `isearch-message-prefix' to the prompt.
8622 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8623 when reading a regexp to collect.
8625 2013-06-13 Juri Linkov <juri@jurta.org>
8627 * isearch.el (word-search-regexp): Match whitespace if the search
8628 string begins or ends in whitespace. The LAX arg is applied to
8629 both ends of the search string. Use `regexp-quote' and explicit
8630 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8631 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8632 boundaries are replaced with symbol boundaries, and characters
8633 between symbols match non-word non-symbol syntax. (Bug#14602)
8635 2013-06-13 Juri Linkov <juri@jurta.org>
8637 * isearch.el (isearch-del-char): Don't exceed the length of
8638 `isearch-string' by the prefix arg. (Bug#14563)
8640 2013-06-13 Juri Linkov <juri@jurta.org>
8642 * isearch.el (isearch-yank-word, isearch-yank-line)
8643 (isearch-char-by-name, isearch-quote-char)
8644 (isearch-printing-char, isearch-process-search-char):
8645 Add optional count prefix arg. (Bug#14563)
8647 * international/isearch-x.el
8648 (isearch-process-search-multibyte-characters):
8649 Add optional count prefix arg.
8651 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8653 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8654 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8657 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8659 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8661 2013-06-13 Glenn Morris <rgm@gnu.org>
8663 * startup.el (tty-handle-args):
8664 Don't just discard "--" and anything after. (Bug#14608)
8666 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8668 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8670 Implement changes in Secret Service API. Make it backward compatible.
8671 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8672 (secrets-create-item): Use it. Prefix properties with interface.
8674 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8676 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8677 (term-emulate-terminal): Respect term-suppress-hard-newline.
8679 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8681 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8682 Only remove a `thumb-file' overlay. (Bug#14548)
8684 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8686 * mail/reporter.el (reporter-submit-bug-report):
8687 Handle missing package-name. (Bug#14600)
8689 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8691 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8692 (reftex-citation-prompt, reftex-default-bibliography)
8693 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8694 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8695 (reftex-bib-sort-author, reftex-bib-sort-year)
8696 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8697 (reftex-extract-bib-entries-from-thebibliography)
8698 (reftex-get-bibkey-default, reftex-get-bib-names)
8699 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8700 (reftex-format-bib-entry, reftex-parse-bibitem)
8701 (reftex-format-bibitem, reftex-do-citation)
8702 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8703 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8704 (reftex-insert-bib-matches, reftex-format-citation)
8705 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8706 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8707 existing comments into docstrings.
8709 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8711 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8713 2013-06-12 Andreas Schwab <schwab@suse.de>
8715 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8716 for auto-save files.
8718 2013-06-12 Glenn Morris <rgm@gnu.org>
8720 * ido.el (ido-delete-ignored-files): Remove.
8721 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8722 Go back to calling ido-ignore-item-p directly.
8724 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8726 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8728 * ido.el (ido-delete-ignored-files): New function,
8729 split from ido-make-file-list-1.
8730 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8731 (ido-make-file-list-1): Use ido-delete-ignored-files.
8733 2013-06-12 Leo Liu <sdl.web@gmail.com>
8735 * progmodes/octave.el (inferior-octave-startup)
8736 (inferior-octave-completion-table)
8737 (inferior-octave-track-window-width-change)
8738 (octave-eldoc-function-signatures, octave-help)
8739 (octave-find-definition): Use single quoted strings.
8740 (inferior-octave-startup-args): Change default value.
8741 (inferior-octave-startup): Do not hard code "-i" and
8742 "--no-line-editing".
8743 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8744 (inferior-octave-directory-tracker): Use it.
8745 (octave-goto-function-definition): Robustify.
8746 (octave-help): Support highlighting operators in 'See also'.
8747 (octave-find-definition): Find subfunctions only in Octave mode.
8749 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8751 * help-fns.el (help-fns--compiler-macro): If the handler function is
8752 named, then put a link to it.
8753 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8754 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8756 (cl-eval-when): Simplify debug spec.
8757 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8758 compiler-macro function instead of setting `compiler-macro-file'.
8760 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8762 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8763 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8765 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8766 Daniel Hackney <dan@haxney.org>
8768 First part of Daniel Hackney's patch to package.el.
8769 * emacs-lisp/package.el: Use defstruct.
8770 (package-desc): New, main struct.
8771 (package--bi-desc, package--ac-desc): New structs, used to describe the
8772 format in external files.
8773 (package-desc-vers): Replace with package-desc-version accessor.
8774 (package-desc-doc): Replace with package-desc-summary accessor.
8775 (package-activate-1): Remove `package' arg since the pkg-vec now
8777 (define-package): Use package-desc-from-define.
8778 (package-unpack-single): Change file-name arg to be a symbol.
8779 (package--add-to-archive-contents): Use package-desc-create and new
8780 accessor functions to package--ac-desc.
8781 (package-buffer-info, package-tar-file-info): Return a package-desc.
8782 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8783 arg to be a package-desc.
8784 (package-install-file): Adjust accordingly. Use \' to match EOS.
8785 (package--from-builtin): New function.
8786 (describe-package-1, package-menu--generate): Use it.
8787 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8788 (package-generate-autoloads): Idem and return the name of the file.
8789 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8790 Change pkg-info arg to be a package-desc.
8791 Use package-make-ac-desc.
8792 (package-upload-file): Use \' to match EOS.
8793 * finder.el (finder-compile-keywords): Use package-make-builtin.
8795 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8797 * vc/vc.el (vc-deduce-fileset): Change error message.
8798 (vc-read-backend): New function.
8799 (vc-next-action): Use it.
8801 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8803 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8804 (prolog-font-lock-keywords): Use regexp-opt instead.
8805 Don't manually highlight strings.
8806 (prolog-mode-variables): Simplify comment-start-skip.
8807 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8809 * emacs-lisp/generic.el (generic--normalise-comments)
8810 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8811 (generic-mode-set-comments): Use them.
8812 (generic-bracket-support): Use setq-local.
8813 (generic-make-keywords-list): Declare obsolete.
8815 2013-06-11 Glenn Morris <rgm@gnu.org>
8817 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8818 Prettify after setting font-lock-defaults. (Bug#14574)
8820 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8822 * replace.el (query-replace, occur-read-regexp-defaults-function)
8824 * subr.el (declare-function, number-sequence, local-set-key)
8825 (substitute-key-definition, locate-user-emacs-file)
8826 (with-silent-modifications, split-string, eval-after-load):
8827 Fix typos, remove unneeded backslashes and reflow some docstrings.
8829 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8831 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8832 default for Elisp files.
8834 2013-06-11 Glenn Morris <rgm@gnu.org>
8836 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8837 although define-derived-mode was doing this anyway. (Bug#14583)
8839 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8841 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8842 Fix make-variable-buffer-local call to refer to the correct variable.
8844 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8846 * eshell/em-term.el (eshell-visual-commands)
8847 (eshell-visual-subcommands, eshell-visual-options):
8848 Add summary line to docstrings. Add cross-references.
8850 2013-06-10 Glenn Morris <rgm@gnu.org>
8852 * epa.el (epa-read-file-name): New function. (Bug#14510)
8853 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8855 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8857 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8858 output redirection to be ignored with visual commands.
8860 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8862 * eshell/em-term.el (eshell-visual-command-p): New function.
8863 (eshell-term-initialize): Move long lambda to separate function
8864 eshell-visual-command-p.
8865 * eshell/em-dirs.el (eshell-dirs-initialise):
8866 * eshell/em-script.el (eshell-script-initialize):
8867 Add missing #' to lambda.
8869 2013-06-08 Leo Liu <sdl.web@gmail.com>
8871 * progmodes/octave.el (octave-add-log-current-defun): New function.
8872 (octave-mode): Set add-log-current-defun-function.
8873 (octave-goto-function-definition): Do not move point if not found.
8874 (octave-find-definition): Enhance to try subfunctions first.
8876 2013-06-08 Glenn Morris <rgm@gnu.org>
8878 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8879 (byte-compile-backward-char, byte-compile-backward-word):
8880 Improve previous change, to handle non-explicit nil.
8882 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8884 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8885 (smie--opener/closer-at-point): New function.
8886 (smie--matching-block-data): Use it. Don't match from right after an
8887 opener or right before a closer. Obey smie-blink-matching-inners.
8888 Don't signal a mismatch for repeated inners like "switch..case..case".
8890 2013-06-07 Leo Liu <sdl.web@gmail.com>
8892 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8894 (octave-function-header-regexp): Fix. (Bug#14570)
8895 (octave-help-mode-finish-hook, octave-help-mode-finish):
8896 Remove. Just use temp-buffer-show-hook.
8898 * newcomment.el (comment-search-backward): Revert last change.
8901 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8903 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8905 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8906 through xargs, to avoid failure due to MS-Windows limitations on
8907 command-line length.
8909 2013-06-06 Glenn Morris <rgm@gnu.org>
8911 * font-lock.el (lisp-font-lock-keywords-2):
8912 Treat user-error like error.
8914 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8915 (byte-compile-backward-char, byte-compile-backward-word):
8916 Handle explicit nil arguments. (Bug#14565)
8918 2013-06-05 Alan Mackenzie <acm@muc.de>
8920 * isearch.el (isearch-allow-prefix): New user option.
8921 (isearch-other-meta-char): Don't exit isearch when a prefix
8922 argument is typed whilst `isearch-allow-prefix' is non-nil.
8925 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8927 * autorevert.el (auto-revert-notify-handler): Use memq.
8928 Hide assertion failure.
8930 * skeleton.el: Use cl-lib.
8931 (skeleton-further-elements): Use defvar-local.
8932 (skeleton-insert): Use cl-progv.
8934 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8936 * progmodes/prog-mode.el (prog-prettify-symbols)
8937 (prog-prettify-install): Update docstrings.
8939 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8941 * simple.el: Move all the prog-mode code to prog-mode.el.
8942 * progmodes/prog-mode.el: New file.
8943 * loadup.el: Add prog-mode.el.
8945 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8947 * simple.el (prog-prettify-symbols): Add version.
8948 (prog-prettify-install): Add convenience function to prettify symbols.
8950 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8951 (perl--augmented-font-lock-keywords-1)
8952 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8953 variables and use it.
8955 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8956 (cfengine3-mode): Remove unneeded variable and use it.
8958 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8959 (lisp--augmented-font-lock-keywords-1)
8960 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8961 Remove unneeded variables and use it.
8963 2013-06-05 João Távora <joaotavora@gmail.com>
8965 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8966 to point when opening the connection. (Bug#14380)
8968 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8970 * subr.el (load-history-regexp, load-history-filename-element)
8971 (eval-after-load, after-load-functions, do-after-load-evaluation)
8972 (eval-next-after-load, display-delayed-warnings)
8973 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8974 definition of save-match-data.
8975 (overriding-local-map): Remove accidental obsolescence declaration.
8977 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8979 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8981 Generalize symbol prettify support to prog-mode and implement it
8982 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8983 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8984 (prog--prettify-font-lock-compose-symbol)
8985 (prog-prettify-font-lock-symbols-keywords): New variables and
8986 functions to support symbol prettification.
8987 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8988 (lisp--augmented-font-lock-keywords-1)
8989 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8990 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8991 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8992 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8993 Implement prettify of -> => :: strings.
8994 * progmodes/perl-mode.el (perl-prettify-symbols)
8995 (perl--font-lock-compose-symbol)
8996 (perl--font-lock-symbols-keywords): Move to prog-mode.
8997 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8998 (perl-font-lock-keywords-1)
8999 (perl-font-lock-keywords-2): Remove explicit prettify support.
9000 (perl--augmented-font-lock-keywords)
9001 (perl--augmented-font-lock-keywords-1)
9002 (perl--augmented-font-lock-keywords-2, perl-mode):
9003 Implement prettify support.
9005 2013-06-05 Leo Liu <sdl.web@gmail.com>
9007 Re-implement smie matching block highlight using
9008 show-paren-data-function. (Bug#14395)
9009 * emacs-lisp/smie.el (smie-matching-block-highlight)
9010 (smie--highlight-matching-block-overlay)
9011 (smie--highlight-matching-block-lastpos)
9012 (smie-highlight-matching-block)
9013 (smie-highlight-matching-block-mode): Remove.
9014 (smie--matching-block-data-cache): New variable.
9015 (smie--matching-block-data): New function.
9016 (smie-setup): Use smie--matching-block-data for
9017 show-paren-data-function.
9019 * progmodes/octave.el (octave-mode-menu): Fix.
9020 (octave-find-definition): Skip garbage lines.
9022 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9024 Fix compilation error with simultaneous dynamic+lexical scoping.
9025 Add warning when a defvar appears after the first let-binding.
9026 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9027 (byte-compile-close-variables): Initialize it.
9028 (byte-compile--declare-var): New function.
9029 (byte-compile-file-form-defvar)
9030 (byte-compile-file-form-define-abbrev-table)
9031 (byte-compile-file-form-custom-declare-variable): Use it.
9032 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9033 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9034 (byte-compile-bind): Handle dynamic bindings that shadow
9036 (byte-compile-unbind): Make arg non-optional.
9037 (byte-compile-let): Simplify.
9038 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9039 (cconv--analyse-function, cconv-analyse-form): Populate it.
9040 Protect byte-compile-bound-variables to limit the scope of defvars.
9041 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9042 Remove unneeded rule for `declare'.
9044 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9045 so as to avoid depending on cl-adjoin at run-time.
9046 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9048 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9049 (macroexp--warn-and-return): Use it.
9051 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9053 * lisp/subr.el: Convert to lexical binding.
9054 (overriding-local-map): Make obsolete.
9055 (add-to-list): Doc fix. Add compiler macro.
9056 (read-key): Swap values of local maps.
9058 2013-06-05 Leo Liu <sdl.web@gmail.com>
9060 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9062 2013-06-04 Leo Liu <sdl.web@gmail.com>
9064 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9065 (compilation-auto-jump): Suppress the "Mark set" message to give
9066 way to exit message.
9068 2013-06-04 Alan Mackenzie <acm@muc.de>
9070 Remove faulty optimisation from indentation calculation.
9071 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9072 search limit based on 2000 characters back from indent-point.
9074 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9076 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9078 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9080 * emacs-lisp/lisp.el: Use lexical-binding.
9081 (lisp--local-variables-1, lisp--local-variables): New functions.
9082 (lisp--local-variables-completion-table): New var.
9083 (lisp-completion-at-point): Use it complete let-bound vars.
9085 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9086 eagerly (bug#14422).
9088 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9090 * autorevert.el (auto-revert-notify-enabled)
9091 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9092 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9093 (auto-revert-notify-handler): Handle also gfilenotify.
9095 * subr.el (file-notify-handle-event): New defun. Replacing ...
9096 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9099 2013-06-03 Juri Linkov <juri@jurta.org>
9101 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9102 `M-s h .'. (Bug#14427)
9104 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9105 command `hi-lock-face-symbol-at-point'.
9106 (hi-lock-face-symbol-at-point): New command.
9107 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9108 (hi-lock-menu): Add `highlight-symbol-at-point'.
9109 (hi-lock-mode): Doc fix.
9111 * isearch.el (isearch-forward-symbol-at-point): New command.
9112 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9113 (isearch-highlight-regexp): Add a regexp which matches
9114 words/symbols for word/symbol mode.
9116 * subr.el (find-tag-default-bounds): New function with the body
9117 mostly moved from `find-tag-default'.
9118 (find-tag-default): Move most code to `find-tag-default-bounds',
9119 call it and apply `buffer-substring-no-properties' afterwards.
9121 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9123 * eshell/em-term.el (eshell-term-initialize):
9124 Use `cl-intersection' rather than `intersection'.
9126 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9128 * vc/log-view.el: Doc fix.
9129 (log-view-mode-map): Copy keymap from `special-mode-map'.
9131 2013-06-02 Eric Ludlam <zappo@gnu.org>
9133 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9134 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9135 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9136 (eieio-unbound, eieio-default-superclass)
9137 (eieio--define-field-accessors, method-static, method-before)
9138 (method-primary, method-after, method-num-lists)
9139 (method-generic-before, method-generic-primary)
9140 (method-generic-after, method-num-slots)
9141 (eieio-specialized-key-to-generic-key)
9142 (eieio--check-type, class-v, class-p)
9143 (eieio-class-name, define-obsolete-function-alias)
9144 (eieio-class-parents-fast, eieio-class-children-fast)
9145 (same-class-fast-p, class-constructor, generic-p)
9146 (generic-primary-only-p, generic-primary-only-one-p)
9147 (class-option-assoc, class-option, eieio-object-p)
9148 (class-abstract-p, class-method-invocation-order)
9149 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9150 (eieio-class-un-autoload, eieio-defclass)
9151 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9152 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9153 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9154 (eieio-defgeneric-reset-generic-form)
9155 (eieio-defgeneric-form-primary-only)
9156 (eieio-defgeneric-reset-generic-form-primary-only)
9157 (eieio-defgeneric-form-primary-only-one)
9158 (eieio-defgeneric-reset-generic-form-primary-only-one)
9159 (eieio-unbind-method-implementations)
9160 (eieio--defmethod, eieio--typep)
9161 (eieio-perform-slot-validation, eieio-validate-slot-value)
9162 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9163 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9164 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9165 (eieio-slot-name-index, eieio-class-slot-name-index)
9166 (eieio-set-defaults, eieio-initarg-to-attribute)
9167 (eieio-attribute-to-initarg, eieio-c3-candidate)
9168 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9169 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9170 (eieio-class-precedence-list, eieio-generic-call-methodname)
9171 (eieio-generic-call-arglst, eieio-generic-call-key)
9172 (eieio-generic-call-next-method-list)
9173 (eieio-pre-method-execution-functions, eieio-generic-call)
9174 (eieio-generic-call-primary-only, eieiomt-method-list)
9175 (eieiomt-optimizing-obarray, eieiomt-install)
9176 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9177 (eieio-generic-form, eieio-defmethod, make-obsolete)
9178 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9179 (defclass): Remove `eval-and-compile' from macro.
9180 (call-next-method, shared-initialize): Instead of using
9181 `scoped-class' variable, use new eieio--scoped-class, and
9182 eieio--with-scoped-class.
9183 (initialize-instance): Rename local variable 'scoped-class' to
9184 'this-class' to remove ambiguitity from old global.
9186 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9188 (eieio--scoped-class-stack): New variable.
9189 (eieio--scoped-class): New fcn.
9190 (eieio--with-scoped-class): New scoping macro.
9191 (eieio-defclass): Use pushnew instead of add-to-list.
9192 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9193 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9194 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9195 `scoped-class' variable, use new eieio--scoped-class, and
9196 eieio--with-scoped-class.
9198 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9200 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9202 * eshell/esh-ext.el (eshell-external-command): Pass args to
9203 `eshell-find-interpreter'.
9204 (eshell-find-interpreter): Add new second parameter ARGS.
9206 * eshell/em-script.el (eshell-script-initialize): Add second arg
9207 to the function added as MATCH to `eshell-interpreter-alist'.
9209 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9210 the function added as MATCH to `eshell-interpreter-alist'.
9212 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9213 (eshell-visual-options): New defcustom.
9214 (eshell-escape-control-x): Adapt docstring.
9215 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9216 `eshell-visual-options' in addition to `eshell-visual-commands'.
9217 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9219 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9221 * progmodes/python.el (python-indent-block-enders): Add break,
9222 continue and raise keywords.
9224 2013-06-01 Glenn Morris <rgm@gnu.org>
9226 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9228 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9229 * progmodes/cc-cmds.el (delete-forward-p):
9230 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9231 * progmodes/cc-engine.el (buffer-syntactic-context):
9232 * progmodes/cc-fonts.el (face-property-instance):
9233 * progmodes/cc-mode.el (set-keymap-parents):
9234 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9235 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9236 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9237 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9238 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9240 * progmodes/cc-vars.el (other): Emacs has this widget since
9241 at least 21.1, so don't (re)define it.
9243 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9244 Replace the obsolete alias pcomplete-arg-quote-list.
9246 2013-06-01 Leo Liu <sdl.web@gmail.com>
9248 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9250 (inferior-octave-minimal-columns)
9251 (inferior-octave-last-column-width): New variables.
9252 (inferior-octave-track-window-width-change): New function.
9253 (inferior-octave-mode): Adjust column width so that Octave output,
9254 for example from 'ls', can fit into the window nicely.
9256 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9258 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9259 Highlight expansions inside regexp literals.
9261 2013-05-31 Glenn Morris <rgm@gnu.org>
9263 * obsolete/sym-comp.el (symbol-complete):
9264 Replace obsolete completion-annotate-function.
9266 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9268 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9270 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9271 New function, checks if point is inside a literal that allows
9272 expression expansion.
9273 (ruby-syntax-propertize-expansion): Use it.
9274 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9277 2013-05-30 Juri Linkov <juri@jurta.org>
9279 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9281 (isearch-invisible): New variable.
9282 (isearch-forward): Doc fix.
9283 (isearch-mode): Set `isearch-invisible'
9284 to the value of `search-invisible'.
9285 (isearch-toggle-case-fold): Doc fix.
9286 (isearch-toggle-invisible): New command.
9287 (isearch-query-replace): Let-bind `search-invisible'
9288 to the value of `isearch-invisible'.
9289 (isearch-search): Use `isearch-invisible' instead of
9290 `search-invisible'. Let-bind `search-invisible'
9291 to the value of `isearch-invisible'. (Bug#11378)
9293 2013-05-30 Juri Linkov <juri@jurta.org>
9295 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9296 call when `query-flag' is nil and `search-invisible' is non-nil.
9299 2013-05-30 Glenn Morris <rgm@gnu.org>
9301 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9303 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9304 (cc-require): Suppress spurious "noruntime" warnings.
9305 (cc-require-when-compile): Use fboundp, for sake of compiler.
9307 * progmodes/cc-mode.el: Move load of cc-vars before that of
9308 cc-langs (which in turn loads cc-vars), to quieten compiler.
9310 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9312 * paren.el: Simplify the code.
9313 (show-paren-mode): Always start the timer.
9314 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9315 (show-paren--overlay, show-paren--overlay-1): Rename from
9316 show-paren-overlay and show-paren-overlay-1, and initialize to an
9317 overlay rather than to nil.
9318 (show-paren-function): Misc cleanup and simplifications.
9320 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9322 * paren.el (show-paren-data-function): New hook.
9323 (show-paren--default): New function, extracted from show-paren-function.
9324 (show-paren-function): Use show-paren-data-function.
9326 2013-05-30 Glenn Morris <rgm@gnu.org>
9328 * ielm.el (ielm-map, ielm-complete-symbol):
9329 Use completion-at-point rather than obsolete functions.
9330 (inferior-emacs-lisp-mode): Doc fix.
9331 Set completion-at-point-functions, rather than
9332 comint-dynamic-complete-functions.
9334 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9335 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9336 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9338 * image.el (image-animated-p): Tweak definition.
9340 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9341 (rlogin-process-connection-type): Tweak default. Add set-after.
9342 (rlogin-host): Doc fix.
9343 (rlogin): Tweak prompt.
9344 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9346 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9347 * progmodes/tcl.el (inferior-tcl-mode-map):
9348 Use completion-at-point rather than obsolete alias.
9350 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9352 * minibuffer.el (read-file-name-completion-ignore-case):
9353 Move before completion--in-region, for eager macro expansion.
9355 2013-05-29 Juri Linkov <juri@jurta.org>
9357 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9358 for total count of matching lines. Add `global-matches' for total
9359 count of matches. Rename `matches' to `lines' for count of
9360 matching lines. Add `matches' for count of matches.
9361 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9362 to `prev-line' for line number of prev match endpt.
9363 Increment `matches' for every match. Print the number of
9364 matching lines in the header.
9365 (occur-context-lines): Rename `lines' to `curr-line'.
9366 Rename `prev-lines' to `prev-line'. (Bug#14017)
9368 2013-05-29 Juri Linkov <juri@jurta.org>
9370 * replace.el (perform-replace): Add `skip-read-only-count',
9371 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9372 Increment them for corresponding conditions and report the number
9373 of skipped occurrences in the final message. (Bug#11746)
9374 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9375 (replace-string, replace-regexp): Doc fix.
9377 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9379 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9381 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9382 prog-mode-map (bug#14504).
9384 2013-05-29 Leo Liu <sdl.web@gmail.com>
9386 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9387 (octave-help): Small simplification.
9389 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9390 off the highlight first.
9392 2013-05-29 Glenn Morris <rgm@gnu.org>
9394 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9395 Handle idlwave-last-system-routine-info-cons-cell being nil.
9397 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9398 (idlwave-write-paths): Simplify via with-temp-buffer.
9400 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9401 * emulation/cua-rect.el: Also load cua-base at run time.
9403 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9404 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9405 (cperl-imenu-on-info): Require imenu.
9407 2013-05-28 Alan Mackenzie <acm@muc.de>
9409 Handle "capitalised keywords" correctly.
9410 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9412 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9414 * eshell/em-unix.el: Add -r option to cp.
9416 2013-05-28 Glenn Morris <rgm@gnu.org>
9418 * vc/vc-arch.el (vc-exec-after): Declare.
9419 (vc-switches): Autoload.
9420 * vc/vc-bzr.el: No need to require vc when compiling.
9421 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9422 (vc-resynch-buffer, vc-dir-refresh): Declare.
9423 (vc-setup-buffer, vc-switches): Autoload.
9424 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9425 (vc-resynch-buffer): Declare.
9426 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9427 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9428 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9429 (grep-read-regexp, grep-read-files, grep-expand-template)
9430 (vc-dir-refresh): Declare.
9431 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9432 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9433 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9434 * vc/vc-mtn.el (vc-exec-after): Declare.
9435 (vc-switches): Autoload.
9436 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9437 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9438 (vc-file-tree-walk): Declare.
9439 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9440 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9441 (vc-tag-precondition, vc-rename-master): Autoload.
9442 * vc/vc-svn.el (vc-exec-after): Declare.
9443 (vc-switches, vc-setup-buffer): Autoload.
9444 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9446 (vc-resynch-buffer): Declare.
9448 * obsolete/fast-lock.el (byte-compile-warnings):
9449 Don't warn about obsolete features in this obsolete file.
9451 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9452 Move definition before use.
9454 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9455 (dun-unix-verbs): Remove dun-zippy.
9456 (dun-zippy): Remove function.
9458 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9460 2013-05-27 Juri Linkov <juri@jurta.org>
9462 * replace.el (replace-search): New function with code moved out
9463 from `perform-replace'.
9464 (replace-highlight, replace-dehighlight): Move function definitions
9465 up closer to `replace-search'. (Bug#11746)
9467 2013-05-27 Juri Linkov <juri@jurta.org>
9469 * replace.el (perform-replace): Ignore invisible matches.
9470 In addition to checking `query-replace-skip-read-only', also
9471 filter out matches by calling `run-hook-with-args-until-failure'
9472 on `isearch-filter-predicates', and also check `search-invisible'
9473 for t or call `isearch-range-invisible'.
9474 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9476 2013-05-27 Juri Linkov <juri@jurta.org>
9478 * isearch.el (isearch-filter-predicates): Rename from
9479 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9480 (isearch-message-prefix): Display text from the property
9481 `isearch-message-prefix' of the currently active filters.
9482 (isearch-search): Don't compare `isearch-filter-predicate' with
9483 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9484 on `isearch-filter-predicates'. Also check `search-invisible' for t
9485 or call `isearch-range-invisible'.
9486 (isearch-filter-visible): Make obsolete.
9487 (isearch-lazy-highlight-search):
9488 Call `run-hook-with-args-until-failure' on
9489 `isearch-filter-predicates' and use `isearch-range-invisible'.
9491 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9492 `isearch-filter-predicates' instead of `funcall'ing
9493 `isearch-filter-predicate'.
9494 (Info-mode): Set `Info-isearch-filter' to
9495 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9497 * dired-aux.el (dired-isearch-filter-predicate-orig):
9499 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9500 (dired-isearch-filenames-end): Add and remove
9501 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9502 instead of changing the value of `isearch-filter-predicate'.
9503 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9504 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9505 Put property `isearch-message-prefix' to "filename " on
9506 `dired-isearch-filter-filenames'.
9508 * wdired.el (wdired-change-to-wdired-mode):
9509 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9510 locally instead of changing `isearch-filter-predicate'.
9511 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9513 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9515 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9516 return the commit hash (Bug#14459). Also set the
9517 `vc-git-detached' property.
9518 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9519 (vc-git-mode-line-string): Use the same help-echo format whether
9520 in detached mode or not, because we know the actual revision now.
9521 When in detached mode, shorten the revision to 7 chars.
9523 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9525 * emacs-lisp/easy-mmode.el (define-minor-mode):
9526 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9527 mode hook and provide a docstring.
9529 2013-05-27 Alan Mackenzie <acm@muc.de>
9531 Remove spurious syntax-table text properties inserted by C-y.
9532 * progmodes/cc-mode.el (c-after-change): Also clear hard
9533 syntax-table property with value nil.
9535 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9537 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9538 when reading the events; the buffer layout shall not be changed.
9540 2013-05-27 Leo Liu <sdl.web@gmail.com>
9542 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9544 (inferior-octave-directory-tracker): Automatically re-sync
9546 (octave-help): Improve handling of 'See also'.
9548 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9550 * doc-view.el: Minor naming convention tweaks.
9551 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9553 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9554 even if there's no `display' property yet (bug#14435).
9556 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9558 * subr.el (unmsys--file-name): Rename from reveal-filename.
9560 * Makefile.in (custom-deps, finder-data, autoloads)
9561 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9562 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9563 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9565 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9567 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9568 error-completion on the first 2 args of condition-case (bug#14446).
9571 2013-05-25 Leo Liu <sdl.web@gmail.com>
9573 * comint.el (comint-previous-matching-input): Do not flood the
9574 *Messages* buffer with trivial messages.
9576 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9578 * progmodes/flymake.el (flymake-nop): Don't return a string.
9579 (flymake-set-at): Fix typo.
9581 * simple.el (read--expression): New function, extracted from
9582 eval-expression. Set completion-at-point-functions (bug#14465).
9583 (eval-expression, eval-minibuffer): Use it.
9585 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9587 * progmodes/flymake.el (flymake-save-buffer-in-file)
9588 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9589 (flymake-selected-frame, flymake-log, flymake-ins-after)
9590 (flymake-set-at, flymake-get-buildfile-from-cache)
9591 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9592 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9593 Refine the doc string.
9594 (flymake-get-file-name-mode-and-masks): Reformat.
9595 (flymake-get-real-file-name-function): Fix a minor bug.
9597 2013-05-24 Juri Linkov <juri@jurta.org>
9599 * progmodes/grep.el (grep-mode-font-lock-keywords):
9600 Support =linenumber= format used by git-grep for lines with
9601 function names. (Bug#13549)
9603 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9605 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9606 0 after a semi-colon; it works better for smie-auto-fill.
9607 (octave--indent-new-comment-line): New function.
9608 (octave-indent-new-comment-line): Use it (indirectly).
9609 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9610 modify comment-line-break-function.
9612 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9613 (smie-setup): Use add-function to set it.
9615 2013-05-24 Sam Steingold <sds@gnu.org>
9617 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9618 argument (before the `interactive' argument).
9620 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9622 * image-mode.el (image-mode-winprops): Add winprops to
9623 image-mode-winprops-alist before running
9624 image-mode-new-window-functions.
9625 * doc-view.el (doc-view-new-window-function): Don't delay
9626 doc-view-goto-page via timers (bug#14435).
9628 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9630 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9631 (doc-view-desktop-save-buffer): New function.
9632 (doc-view-restore-desktop-buffer): New function.
9633 (desktop-buffer-mode-handlers):
9634 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9636 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9637 `desktop-save-buffer' function.
9639 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9641 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9642 (tramp-gvfs-file-name-handler): Raise a user error when
9643 `tramp-gvfs-enabled' is nil.
9644 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9645 Do not raise a user error when loading package. (Bug#14447)
9647 * net/xesam.el: Move to obsolete/.
9649 2013-05-24 Glenn Morris <rgm@gnu.org>
9651 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9653 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9655 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9656 (Info-find-node, Man-getpage-in-background): Declare.
9658 * mail/unrmail.el (unrmail):
9659 Replace obsolete detect-coding-with-priority.
9661 * net/socks.el (socks-split-string): Use this rather than split-string.
9662 (socks-nslookup-host): Update for above change.
9663 (dynamic-choice, s5-dynamic-choice-match)
9664 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9665 Comment out unused code.
9667 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9668 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9669 (gud-tooltip-echo-area): Make obsolete.
9670 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9672 * progmodes/js.el (js--optimize-arglist): Declare.
9674 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9676 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9677 (ediff-window-C): Declare.
9679 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9680 Tweak requires to silence compiler.
9682 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9683 (he-search-string, he-tried-table, he-expand-list)
9684 (he-init-string, he-string-member, he-substitute-string)
9685 (he-reset-string): Declare.
9687 * obsolete/options.el (list-options): Use custom-variable-p,
9688 rather than obsolete alias.
9690 2013-05-23 Sam Steingold <sds@gnu.org>
9692 * simple.el (shell-command-on-region): Pass the `replace' argument
9693 down to `call-process-region' to comply with the doc as reported on
9694 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9696 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9698 * emacs-lisp/smie.el (smie-indent-forward-token)
9699 (smie-indent-backward-token): Handle string tokens (bug#14381).
9701 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9703 * ielm.el (ielm-menu): New menu.
9704 (inferior-emacs-lisp-mode): Set comment-start.
9706 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9708 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9709 Fix deactivate action.
9711 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9712 Add cleveref macros.
9714 * lisp/textmodes/reftex-parse.el
9715 (reftex-locate-bibliography-files): Accept options for
9716 bibliography commands.
9717 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9718 Add addbibresource. Basic Biblatex support.
9720 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9722 * net/tramp-gvfs.el (top):
9723 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9724 when loading package. (Bug#14447)
9726 2013-05-23 Glenn Morris <rgm@gnu.org>
9728 * progmodes/js.el: No need to load comint when compiling.
9729 (ring-insert, comint-send-string, comint-send-input)
9730 (comint-last-input-end, ido-chop): Declare.
9732 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9733 * vc/ediff-mult.el: Adjust requires.
9734 (ediff-directories-internal, ediff-directory-revisions-internal)
9735 (ediff-patch-file-internal): Declare.
9736 * vc/ediff-ptch.el: Adjust requires.
9737 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9738 (ediff-find-file): Autoload.
9739 * vc/ediff-util.el: No need to load ediff when compiling.
9740 (ediff-regions-internal): Declare.
9741 * vc/ediff-wind.el: Adjust requires.
9742 (ediff-compute-toolbar-width): Define when compiling.
9743 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9744 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9745 (dired-get-filename, dired-get-marked-files)
9746 (ediff-last-dir-patch, ediff-patch-default-directory)
9747 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9748 (ediff-patch-buffer-internal): Declare.
9750 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9751 (ispell-process, ispell-buffer-local-words, lm-summary)
9752 (lm-section-start, lm-section-end): Declare.
9753 (checkdoc-ispell-init): Simplify.
9755 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9756 (he-string-member, he-reset-string, he-substitute-string): Declare.
9758 * eshell/em-ls.el: Adjust requires.
9759 (eshell-glob-regexp): Declare.
9760 * eshell/em-tramp.el: Adjust requires.
9761 (eshell-parse-command): Autoload.
9762 * eshell/em-xtra.el: Adjust requires.
9763 (eshell-parse-command): Autoload.
9764 * eshell/esh-ext.el: Adjust requires.
9765 (eshell-parse-command, eshell-close-handles): Autoload.
9766 * eshell/esh-io.el: Adjust requires.
9767 (eshell-output-filter): Autoload.
9768 * eshell/esh-util.el: No need to load tramp when compiling.
9769 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9771 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9772 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9773 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9774 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9775 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9776 * eshell/esh-opt.el, eshell/esh-proc.el:
9777 * eshell/esh-var.el: Adjust requires.
9778 * eshell/eshell.el: Do not require esh-util twice.
9779 (eshell-add-input-to-history): Declare.
9780 (eshell-command): Check history module is active before using it.
9782 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9784 2013-05-22 Leo Liu <sdl.web@gmail.com>
9786 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9788 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9790 * autorevert.el (auto-revert-notify-add-watch)
9791 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9792 it indicates changes in file modification time.
9794 2013-05-22 Glenn Morris <rgm@gnu.org>
9796 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9797 Always delete the autoloaded function from the noruntime and
9798 unresolved functions lists.
9800 * allout.el: No need to load epa, epg, overlay when compiling.
9801 (epg-context-set-passphrase-callback, epg-list-keys)
9802 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9803 (epg-key-user-id-list): Declare.
9805 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9806 (viper-set-parsing-style-toggling-macro)
9807 (viper-set-emacs-state-searchstyle-macros):
9808 Use called-interactively-p on Emacs.
9809 (viper-looking-back): Make it an obsolete alias. Update callers.
9810 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9811 Use looking-back rather than viper-looking-back.
9812 (viper-tmp-insert-at-eob, viper-enlarge-region)
9813 (viper-read-string-with-history, viper-register-to-point)
9814 (viper-append-to-register, viper-change-state-to-vi)
9815 (viper-backward-char-carefully, viper-forward-char-carefully)
9816 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9817 (viper-change-state-to-emacs): Declare.
9818 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9819 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9820 * emulation/viper-mous.el: Do not load viper-cmd.
9821 (viper-backward-char-carefully, viper-forward-char-carefully)
9822 (viper-forward-word, viper-adjust-window): Declare.
9824 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9826 * progmodes/idlw-help.el (idlwave-help-fontify):
9827 Use called-interactively-p.
9829 * term/w32console.el (w32-get-console-codepage)
9830 (w32-get-console-output-codepage): Declare.
9832 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9833 Remove unnecessary declarations.
9834 (dframe-message): Doc fix.
9836 * info.el (dframe-select-attached-frame, dframe-current-frame):
9839 * speedbar.el (speedbar-message): Make it an obsolete alias.
9841 (speedbar-with-attached-buffer)
9842 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9843 (speedbar-with-writable): Use backquote.
9844 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9845 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9846 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9847 rather than speedbar- aliases.
9848 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9849 (speedbar-make-specialized-keymap, speedbar-insert-button)
9850 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9851 (speedbar-do-function-pointer): Declare.
9852 (rmail-speedbar-button, rmail-speedbar-find-file)
9853 (rmail-speedbar-move-message):
9854 Use dframe-with-attached-buffer rather than speedbar- alias.
9855 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9856 (dframe-message, speedbar-make-specialized-keymap)
9857 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9858 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9859 (speedbar-insert-button, dframe-select-attached-frame)
9860 (dframe-maybee-jump-to-attached-frame)
9861 (speedbar-change-initial-expansion-list)
9862 (speedbar-previously-used-expansion-list-name): Declare.
9863 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9864 Use dframe-message, dframe-with-attached-buffer rather than
9866 (gud-sentinel): Silence compiler.
9867 * progmodes/vhdl-mode.el (speedbar-refresh)
9868 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9869 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9870 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9871 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9872 (speedbar-file-lists, speedbar-make-tag-line)
9873 (speedbar-line-directory, speedbar-goto-this-file)
9874 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9875 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9876 (speedbar-make-button, speedbar-reset-scanners)
9877 (speedbar-files-item-info, speedbar-line-text)
9878 (speedbar-find-file-in-frame, speedbar-set-timer)
9879 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9880 (speedbar-with-writable): Do not (re)define it.
9881 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9882 rather than speedbar- alias.
9884 2013-05-21 Leo Liu <sdl.web@gmail.com>
9886 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9888 (octave-mode): Tweak fill-nobreak-predicate.
9889 (inferior-octave-startup): Check process to avoid infinite loop.
9890 (inferior-octave): Pop to buffer first to show abornmal process
9893 2013-05-21 Glenn Morris <rgm@gnu.org>
9895 * printing.el (pr-menu-bar): Define when compiling.
9897 2013-05-21 Leo Liu <sdl.web@gmail.com>
9899 * progmodes/octave.el (octave-auto-fill): Remove.
9900 (octave-indent-new-comment-line): Improve.
9901 (octave-mode): Use auto fill mode through
9902 comment-line-break-function and fill-nobreak-predicate.
9903 (octave-goto-function-definition): Support DEFUN_DLD.
9904 (octave-beginning-of-defun): Small tweak.
9905 (octave-help): Show parent directory.
9907 2013-05-21 Glenn Morris <rgm@gnu.org>
9909 * files.el (dired-unmark):
9910 * progmodes/gud.el (gdb-input): Update declarations.
9912 * calculator.el (electric, ehelp): No need to load when compiling.
9913 (Electric-command-loop, electric-describe-mode): Declare.
9915 * doc-view.el (doc-view-current-converter-processes): Move before use.
9917 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9918 Move MODE-set-explicitly definition before use.
9920 * international/mule-diag.el (mule-diag):
9921 Don't use obsolete window-system-version.
9923 * mail/feedmail.el (smtpmail): No need to load when compiling.
9924 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9926 * mail/mail-utils.el (rfc822): No need to load when compiling.
9927 (rfc822-addresses): Autoload it.
9928 (mail-strip-quoted-names): Trivial simplification.
9930 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9931 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9933 * net/snmp-mode.el (tempo): Don't duplicate requires.
9935 * progmodes/prolog.el (info): No need to load when compiling.
9936 (comint): Require before shell requires it.
9937 (Info-goto-node): Autoload it.
9938 (Info-follow-nearest-node): Declare.
9939 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9941 * textmodes/artist.el (picture-mode-exit): Declare.
9943 * textmodes/reftex-parse.el (reftex-parse-from-file):
9944 Trivial rewrite so the compiler can parse it better.
9946 2013-05-20 Leo Liu <sdl.web@gmail.com>
9948 * progmodes/octave.el (octave-help-mode-map)
9949 (octave-help-mode-finish-hook): New variables.
9950 (octave-help-mode, octave-help-mode-finish): New functions.
9951 (octave-help): Use octave-help-mode.
9953 2013-05-20 Glenn Morris <rgm@gnu.org>
9955 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9957 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9959 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9960 start at point, so that expansion starting right after opening
9961 slash in a regexp is recognized.
9962 (ruby-syntax-before-regexp-re): New defvar, extracted from
9963 ruby-syntax-propertize-function. Since the value of this regexp
9964 is looked up at runtime now, we should be able to turn
9965 `ruby-syntax-methods-before-regexp' into a defcustom later.
9966 (ruby-syntax-propertize-function): Split regexp matching into two
9967 parts, for opening and closing slashes. That allows us to skip
9968 over string interpolations and support multiline regexps.
9969 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9970 for them, which calls `ruby-syntax-propertize-expansion'.
9971 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9972 call to `ruby-syntax-propertize-function'.
9973 (ruby-syntax-propertize-expansion): Extracted from
9974 `ruby-syntax-propertize-expansions'. Handles one expansion.
9975 (ruby-syntax-propertize-percent-literal): Leave point right after
9976 the percent symbol, so that the expression expansion rule can
9977 propertize the contents.
9978 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9980 (ruby-syntax-propertize-expansions): Remove.
9982 2013-05-18 Juri Linkov <juri@jurta.org>
9984 * man.el (Man-default-man-entry): Remove `-' from the end
9985 of the default value. (Bug#14400)
9987 2013-05-18 Glenn Morris <rgm@gnu.org>
9989 * comint.el (comint-password-prompt-regexp):
9990 Allow "password for XXX" where XXX contains colons (eg https://...).
9992 2013-05-18 Leo Liu <sdl.web@gmail.com>
9994 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9995 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9996 (octave-source-directories): Don't check process.
9997 (octave-source-directories, octave-find-definition): Doc fix.
9999 2013-05-18 Glenn Morris <rgm@gnu.org>
10001 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10002 Remove backspace/delete bindings. (Bug#14392)
10004 * cus-dep.el (custom-make-dependencies): Sort the output.
10005 (custom-versions-load-alist): Convert comment to doc.
10007 2013-05-17 Leo Liu <sdl.web@gmail.com>
10009 * newcomment.el (comment-search-backward): Stricter in finding
10010 comment start. (Bug#14303)
10012 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10013 (octave-comment-start-skip): Properly anchored.
10015 2013-05-17 Leo Liu <sdl.web@gmail.com>
10017 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10018 Clean up when turned off. (Bug#14395)
10019 (smie--highlight-matching-block-overlay): No longer buffer-local.
10020 (smie-highlight-matching-block): Adjust.
10022 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10024 Doc string fix for "nanoseconds" (Bug#14406).
10025 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10026 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10028 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10030 * calc/calc-units.el (math-extract-units): Preserve powers
10033 2013-05-17 Leo Liu <sdl.web@gmail.com>
10035 * subr.el (delete-consecutive-dups): New function.
10036 * ido.el (ido-set-matches-1): Use it.
10037 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10038 * ido.el (ido-remove-consecutive-dups): Remove.
10040 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10042 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10043 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10044 regexp-opt's `words'.
10046 2013-05-16 Leo Liu <sdl.web@gmail.com>
10048 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10049 (smie--highlight-matching-block-overlay)
10050 (smie--highlight-matching-block-lastpos)
10051 (smie--highlight-matching-block-timer): New variables.
10052 (smie-highlight-matching-block): New function.
10053 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10054 (smie-setup): Conditionally enable smie-blink-matching-open.
10056 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10058 Sync with upstream verilog-mode r840.
10059 * progmodes/verilog-mode.el (verilog-mode-version)
10060 (verilog-mode-release-date): Update.
10061 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10062 (verilog-sig-tieoff): Fix string error on
10063 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10064 (verilog-read-decls): Fix parameters confusing
10065 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10067 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10069 * subr.el (reveal-filename): New function.
10071 * loadup.el: Compute Emacs executable versions on MS-Windows,
10072 where executables have the .exe extension. Add a hard link
10073 emacs-XX.YY.ZZ.exe on MS-Windows.
10075 * Makefile.in (XARGS_LIMIT): New variable.
10076 (custom-deps, finder-data, autoloads)
10077 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10078 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10079 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10080 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10082 2013-05-16 Leo Liu <sdl.web@gmail.com>
10084 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10085 (octave-mode-menu, octave-mode-map): Remove its uses.
10087 2013-05-16 Reto Zimmermann <reto@gnu.org>
10089 Sync with upstream vhdl mode v3.34.2.
10090 * progmodes/vhdl-mode.el: Use `push' throughout.
10091 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10092 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10093 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10094 (vhdl-actual-generic-name): New option to derive actual generic name.
10095 (vhdl-port-paste-signals): Replace formal by actual generics.
10096 (vhdl-beautify): New name for old group vhdl-align. Update users.
10097 (vhdl-beautify-options): New option.
10098 (vhdl-last-input-event): New compat alias. Use throughout.
10099 (vhdl-goto-line): Replace user level function `goto-line'.
10100 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10101 vhdl-fix-statement-buffer.
10102 (vhdl-create-mode-menu): Add some entries.
10103 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10104 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10105 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10106 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10107 to force statements on one line.
10108 (vhdl-remove-trailing-spaces-region):
10109 New, split from vhdl-remove-trailing-spaces.
10110 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10111 Respect vhdl-beautify-options.
10112 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10113 (vhdl-update-sensitivity-list): Not add with index if exists without.
10114 Not include array index with signal. Ignore keywords in comments.
10115 (vhdl-get-visible-signals): Regexp tweaks.
10116 (vhdl-template-component-inst): Handle empty library.
10117 (vhdl-template-type): Add template for 'enum' type.
10118 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10119 Use vhdl-replace-string.
10120 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10121 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10122 (vhdl-speedbar-initialize): Update for above name change.
10123 (vhdl-compose-wire-components): Fix in handling of constants.
10124 (vhdl-error-regexp-emacs-alist): New variable.
10125 (vhdl-error-regexp-add-emacs): New function;
10126 adds support for new compile.el (Emacs 22+)
10127 (vhdl-generate-makefile-1): Change target order for single lib. units.
10128 Allow use of absolute file names.
10130 2013-05-16 Leo Liu <sdl.web@gmail.com>
10132 * simple.el (prog-indent-sexp): Indent enclosing defun.
10134 2013-05-15 Glenn Morris <rgm@gnu.org>
10136 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10137 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10138 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10139 (whitespace-highlight): Move to whitespace group.
10141 * comint.el (comint-source):
10142 * pcmpl-linux.el (pcmpl-linux):
10143 * shell.el (shell-faces):
10144 * eshell/esh-opt.el (eshell-opt):
10145 * international/ccl.el (ccl): Remove empty custom groups.
10147 * completion.el (dynamic-completion-mode):
10148 * jit-lock.el (jit-lock-debug-mode):
10149 * minibuffer.el (completion-in-region-mode):
10150 * type-break.el (type-break-mode-line-message-mode)
10151 (type-break-query-mode):
10152 * emulation/tpu-edt.el (tpu-edt-mode):
10153 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10154 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10155 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10157 * term/xterm.el (xterm): Change parent group to terminals.
10159 * master.el (master): Remove empty custom group.
10160 (master-mode): Remove unused :group argument.
10161 * textmodes/refill.el (refill): Remove empty custom group.
10162 (refill-mode): Remove unused :group argument.
10164 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10166 * cus-dep.el: Provide a feature.
10167 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10168 Don't mistakenly ignore files whose basenames match a basename
10169 from preloaded-file-list (eg cedet/ede/simple.el).
10170 Add a fallback method for getting :group.
10172 2013-05-15 Juri Linkov <juri@jurta.org>
10174 * isearch.el (isearch-char-by-name): Rename from
10175 `isearch-insert-char-by-name'. Doc fix.
10176 (isearch-forward): Mention `isearch-char-by-name' in
10177 the docstring. (Bug#13348)
10179 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10180 `exit-minibuffer' instead of
10181 `isearch-nonincremental-exit-minibuffer'.
10182 (isearch-edit-string): Remove mention of
10183 `isearch-nonincremental-exit-minibuffer' from docstring.
10184 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10185 (isearch-forward-exit-minibuffer)
10186 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10188 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10190 * loadup.el: Just use unversioned DOC.
10192 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10193 literals as extending to EOB.
10194 (nxml-last-fontify-end): Remove unused variable.
10195 (nxml-after-change1): Use with-silent-modifications.
10196 (nxml-extend-after-change-region): Simplify.
10197 (nxml-extend-after-change-region1): Remove function.
10198 (nxml-after-change1): Don't adjust for dependent regions.
10199 (nxml-fontify-matcher): Simplify.
10200 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10201 (xmltok-add-dependent): Remove function.
10202 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10203 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10204 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10205 unclosed <[[, <?, comment, and other literals as extending to EOB.
10206 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10207 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10209 (rng-do-some-validation-1): Don't mark dependent regions.
10210 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10211 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10212 (nxml-clear-dependent-regions): Remove functions.
10213 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10214 (nxml-ensure-scan-up-to-date):
10215 Don't clear&mark dependent regions.
10217 2013-05-15 Leo Liu <sdl.web@gmail.com>
10219 * progmodes/octave.el (octave-goto-function-definition):
10220 Improve and fix callers.
10222 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10224 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10225 the setter (bug#14387).
10227 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10228 surrounding group (bug#14402).
10230 2013-05-14 Juri Linkov <juri@jurta.org>
10232 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10235 2013-05-14 Glenn Morris <rgm@gnu.org>
10237 * progmodes/f90.el (f90-imenu-generic-expression):
10238 Fix typo in 2013-05-08 change. (Bug#14402)
10240 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10242 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10243 Remove signals for which replies are never received.
10245 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10247 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10248 (gdb-handler-alist, gdb-handler-number): Remove variables.
10249 (gdb-handler-list): New variable.
10250 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10251 (gdb-pending-handler-p, gdb-handle-reply)
10252 (gdb-remove-all-pending-triggers): New functions.
10253 (gdb-discard-unordered-replies): New defcustom.
10254 (gdb-handler): New defstruct.
10255 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10256 instead of gdb-pending-triggers. Update docstring.
10257 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10258 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10259 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10260 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10261 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10262 (gdb-frame-handler): Pending triggers are now automatically managed.
10263 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10265 (gdb-input): Automatically handles pending triggers. Update docstring.
10266 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10267 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10269 (gdb-done-or-error): Now use gdb-handle-reply.
10271 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10273 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10276 2013-05-14 Glenn Morris <rgm@gnu.org>
10278 * subr.el (user-emacs-directory-warning): New option.
10279 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10281 2013-05-14 Leo Liu <sdl.web@gmail.com>
10283 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10285 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10286 (octave-font-lock-texinfo-comment): Fix invalid search bound
10287 error: wrong side of point.
10289 2013-05-14 Glenn Morris <rgm@gnu.org>
10291 * progmodes/flymake.el (flymake-xml-program): New option.
10292 (flymake-xml-init): Use it.
10294 * term/xterm.el: Provide a feature.
10296 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10298 2013-05-13 Glenn Morris <rgm@gnu.org>
10300 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10301 Add compat aliases as a hack workaround. (Bug#14384)
10303 2013-05-13 Leo Liu <sdl.web@gmail.com>
10305 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10307 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10309 (octave-comment-start-skip): Include %!.
10310 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10312 2013-05-12 Leo Liu <sdl.web@gmail.com>
10314 * progmodes/octave.el (inferior-octave-startup): Store the value
10315 of __octave_srcdir__ for octave-source-directories.
10316 (inferior-octave-check-process): New function refactored out of
10317 inferior-octave-send-list-and-digest.
10318 (octave-source-directories)
10319 (octave-find-definition-filename-function): New variables.
10320 (octave-source-directories)
10321 (octave-find-definition-default-filename): New functions.
10322 (octave-find-definition): Improve to find functions implemented in C++.
10324 2013-05-12 Glenn Morris <rgm@gnu.org>
10326 * calendar/diary-lib.el (diary-outlook-format-1):
10327 Don't include dayname in the output. (Bug#14349)
10329 2013-05-11 Glenn Morris <rgm@gnu.org>
10331 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10333 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10334 Treat cc-provide like provide.
10336 2013-05-11 Kevin Ryde <user42@zip.com.au>
10338 * cus-dep.el (custom-make-dependencies):
10339 Use generated-autoload-load-name for the sake of files such
10340 such cedet/semantic/bovine/c.el, where the base file name
10341 is not in load-path. (Bug#5277)
10343 2013-05-11 Glenn Morris <rgm@gnu.org>
10345 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10348 2013-05-11 Leo Liu <sdl.web@gmail.com>
10350 * progmodes/octave.el (octave-indent-comment): Improve.
10351 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10352 (octave-eldoc-function-signatures, octave-eldoc-function):
10354 (octave-mode, inferior-octave-mode): Add eldoc support.
10356 2013-05-11 Richard Stallman <rms@gnu.org>
10358 * epa.el (epa-decrypt-file): Take output file name as argument
10359 and read it using `interactive'.
10361 2013-05-11 Leo Liu <sdl.web@gmail.com>
10363 * progmodes/octave.el (octave-beginning-of-line)
10364 (octave-end-of-line): Check before using up-list because it jumps
10365 out of more syntactic contructs since moving to smie.
10366 (octave-indent-comment): New function.
10367 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10368 (octave-begin-keywords, octave-end-keywords)
10369 (octave-reserved-words, octave-smie-bnf-table)
10370 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10372 2013-05-11 Glenn Morris <rgm@gnu.org>
10374 * faces.el (internal-face-x-get-resource):
10375 * frame.el (ns-display-monitor-attributes-list):
10376 * calc/calc-aent.el (math-to-radians-2):
10377 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10380 * calc/calc-menu.el: Make it loadable in isolation.
10382 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10383 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10384 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10385 (eudc-bbdb-query-internal): Require 'bbdb.
10387 * lpr.el (lpr-headers-switches):
10388 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10390 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10392 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10394 * term.el (term-set-escape-char): Make it idempotent.
10396 2013-05-10 Leo Liu <sdl.web@gmail.com>
10398 * progmodes/octave.el (inferior-octave-completion-table):
10399 No longer a function and all uses changed. Use cache to speed up
10400 completion due to bug#11906.
10401 (octave-beginning-of-defun): Re-write to be more general.
10403 2013-05-10 Glenn Morris <rgm@gnu.org>
10405 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10407 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10409 * comint.el (comint-redirect-send-command-to-process): Use :around
10410 rather than :override for comint-redirect-filter.
10411 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10412 Call it instead of comint-redirect-original-filter-function (which
10413 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10415 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10417 * frame.el (display-monitor-attributes-list): Add NS case.
10418 (ns-display-monitor-attributes-list): Declare.
10420 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10422 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10424 2013-05-09 Glenn Morris <rgm@gnu.org>
10426 * international/fontset.el (vertical-centering-font-regexp):
10427 Set standard-value.
10429 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10431 * bookmark.el (bookmark-search-delay):
10432 * cus-start.el (vertical-centering-font-regexp):
10433 * ps-mule.el (ps-mule-font-info-database-default):
10434 * ps-print.el (ps-default-fg, ps-default-bg):
10435 * type-break.el (type-break-good-break-interval):
10436 * whitespace.el (whitespace-indentation-regexp)
10437 (whitespace-space-after-tab-regexp):
10438 * emacs-lisp/testcover.el (testcover-1value-functions)
10439 (testcover-noreturn-functions, testcover-progn-functions)
10440 (testcover-prog1-functions):
10441 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10442 * eshell/em-glob.el (eshell-glob-translate-alist):
10443 * play/tetris.el (tetris-tty-colors):
10444 * progmodes/cpp.el (cpp-face-default-list):
10445 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10446 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10447 (idlwave-help-browser-generic-args):
10448 * progmodes/make-mode.el (makefile-special-targets-list):
10449 * progmodes/python.el (python-shell-virtualenv-path):
10450 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10451 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10452 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10453 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10454 * textmodes/reftex-vars.el (reftex-format-label-function):
10455 * textmodes/remember.el (remember-diary-file): Fix custom types.
10457 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10460 2013-05-09 Leo Liu <sdl.web@gmail.com>
10462 * progmodes/octave.el (inferior-octave-completion-at-point):
10463 Restore file completion. (Bug#14300)
10464 (inferior-octave-startup): Fix incorrect highlighting for the
10467 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10469 * progmodes/ruby-mode.el: First cut at SMIE support.
10470 (ruby-use-smie): New var.
10471 (ruby-smie-grammar): New constant.
10472 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10473 (ruby-smie--forward-token, ruby-smie--backward-token)
10474 (ruby-smie-rules): New functions.
10475 (ruby-mode-variables): Setup SMIE if applicable.
10477 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10479 * simple.el (line-move-visual): Signal beginning/end of buffer
10480 only if vertical-motion moved less than it was requested. Avoids
10481 silly incorrect error messages when there are display strings with
10482 multiple newlines at EOL.
10484 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10486 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10487 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10488 (prolog-char-quote-workaround):
10489 * progmodes/cperl-mode.el (cperl-under-as-char):
10490 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10492 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10494 (vhdl-mode-syntax-table-init): Remove.
10496 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10499 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10501 (ld-script-font-lock-keywords):
10502 Change regexps to use things like \_< and \_>.
10504 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10505 Change all regexps to use things like \_< and \_>.
10507 * progmodes/autoconf.el (autoconf-definition-regexp)
10508 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10509 Handle a _ with symbol syntax.
10510 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10512 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10513 Consolidate declaration.
10514 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10516 (ada-create-syntax-table): Remove.
10517 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10518 already has the right syntax nowadays.
10519 (ada-goto-next-word): Don't change the syntax of "_".
10521 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10524 2013-05-08 Sam Steingold <sds@gnu.org>
10526 * thingatpt.el (thing-at-point): Accept optional second argument
10527 NO-PROPERTIES to strip the text properties from the return value.
10528 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10529 to `thing-at-point' instead of stripping the properties ourselves.
10530 Also, when `thing-at-point' fails to find a url, prepend "http://"
10531 to the filename at point on the assumption that the user is
10532 pointing at something like gnu.org/gnu.
10534 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10536 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10537 * faces.el (crm-separator):
10538 Silence byte-compiler.
10540 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10541 (tool-bar-map): Remove unneeded defvars.
10543 2013-05-08 Leo Liu <sdl.web@gmail.com>
10545 Re-work a fix for bug#10994 based on Le Wang's patch.
10546 * ido.el (ido-remove-consecutive-dups): New helper.
10547 (ido-completing-read): Use it.
10548 (ido-chop): Revert fix for bug#10994.
10550 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10552 * cus-edit.el (custom-save-variables):
10553 Pretty-print long values. (Bug#14187)
10555 2013-05-08 Glenn Morris <rgm@gnu.org>
10557 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10558 (m4-mode-syntax-table): Init in the defvar.
10559 (m4-mode-abbrev-table): Let define-derived-mode define it.
10561 2013-05-08 Tom Tromey <tromey@redhat.com>
10563 * progmodes/m4-mode.el (m4-mode-syntax-table):
10564 Do not treat "_" as word constituent. (Bug#14167)
10566 2013-05-07 Glenn Morris <rgm@gnu.org>
10568 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10569 Remove explicit eshell-isearch-cancel-map.
10571 * progmodes/f90.el (f90-smart-end-names): New option.
10572 (f90-smart-end): Doc fix.
10573 (f90-end-block-optional-name): New constant.
10574 (f90-block-match): Respect f90-smart-end-names.
10576 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10578 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10579 about implicit semi-colons (bug#14218).
10581 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10583 * frame.el (display-monitor-attributes-list)
10584 (frame-monitor-attributes): New functions.
10586 2013-05-06 Leo Liu <sdl.web@gmail.com>
10588 * progmodes/octave.el (octave-syntax-propertize-function): Change
10589 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10590 (octave-font-lock-keywords): Use octave-operator-regexp.
10591 (octave-completion-at-point): Rename from
10592 octave-completion-at-point-function.
10593 (inferior-octave-directory-tracker): Robustify.
10594 (octave-text-functions): Remove and fix its uses. No such things
10597 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10599 * emacs-lisp/trace.el (trace--display-buffer): New function.
10600 (trace-make-advice): Use it.
10602 2013-05-06 Juri Linkov <juri@jurta.org>
10604 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10605 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10607 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10608 in the help string. (Bug#12985)
10610 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10612 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10614 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10616 * progmodes/perl-mode.el: Add support for here documents.
10617 (perl-syntax-propertize-function): Match here-doc markers.
10618 (perl-syntax-propertize-special-constructs): Find their end.
10619 (perl-imenu-generic-expression): Use [:alnum:].
10621 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10622 (advice--add-function): Refresh the advice if already present
10625 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10627 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10629 2013-05-06 Glenn Morris <rgm@gnu.org>
10631 * w32-fns.el (w32-charset-info-alist): Declare.
10633 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10634 of its defcustom properties.
10635 (eshell-cmpl-initialize): No need to load pcomplete.
10637 * generic-x.el: No need to require comint when compiling.
10639 * net/eudc-export.el: Make it loadable without bbdb.
10640 (top-level): Use require rather than load-library.
10641 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10642 (eudc-batch-export-records-to-bbdb)
10643 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10646 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10648 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10649 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10650 some tweaks, instead.
10652 2013-05-05 Leo Liu <sdl.web@gmail.com>
10654 * progmodes/octave.el (octave-font-lock-keywords)
10655 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10656 (inferior-octave-send-list-and-digest): Improve error message.
10657 (octave-mode, inferior-octave-mode): Use setq-local.
10658 (octave-help): Set info-lookup-mode.
10660 2013-05-05 Richard Stallman <rms@gnu.org>
10662 * vc/compare-w.el (compare-windows-whitespace):
10663 Treat no-break space as whitespace.
10665 * mail/rmailsum.el (rmail-summary-rmail-update):
10666 Detect empty summary and don't change selected message.
10667 (rmail-summary-goto-msg): Likewise.
10669 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10670 Doc fixes, rename args.
10672 2013-05-05 Alan Mackenzie <acm@muc.de>
10674 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10676 2013-05-05 Juri Linkov <juri@jurta.org>
10678 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10679 to not add the length of the summary segment to the return value.
10682 2013-05-05 Leo Liu <sdl.web@gmail.com>
10684 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10685 (inferior-octave-output-filter): Remove.
10686 (octave-send-region, inferior-octave-startup): Fix callers.
10687 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10688 (octave-binary-file-extensions): New user variable.
10689 (octave-find-definition): Confirm if opening binary files.
10690 (octave-help-file): Use octave-find-definition to get the binary
10692 (octave-help): Adjust for octave-help-file change.
10694 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10696 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10697 Merge the two entries that handle function definitions.
10698 (pascal--syntax-propertize): New const.
10699 (pascal-mode): Use it. Use setq-local.
10701 2013-05-04 Glenn Morris <rgm@gnu.org>
10703 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10704 (diary-from-outlook): Respect diary-from-outlook-function.
10706 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10708 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10709 Move the declaration from C.
10710 (read-minibuffer, eval-minibuffer): Move from C.
10711 (completion-setup-function): Avoid minibuffer-completion-contents.
10713 2013-05-03 Leo Liu <sdl.web@gmail.com>
10715 * progmodes/octave.el (octave-font-lock-keywords): Do not
10716 dehighlight 'end' in comments or strings.
10717 (octave-completing-read, octave-goto-function-definition):
10719 (octave-help-buffer): New user variable.
10720 (octave-help-file, octave-help-function): New button types.
10721 (octave-help): New command and bind it to C-h ;.
10722 (octave-find-definition): New command and bind it to M-.
10723 (user-error): Alias to error if not defined.
10725 2013-05-02 Leo Liu <sdl.web@gmail.com>
10727 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10729 (octave-font-lock-keywords): Include [ and {.
10731 2013-05-02 Leo Liu <sdl.web@gmail.com>
10733 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10734 (inferior-octave): Remove calling comint-mode and return the buffer.
10735 (inferior-octave-startup): Cosmetic changes.
10737 2013-05-02 Leo Liu <sdl.web@gmail.com>
10739 * progmodes/octave.el (octave-syntax-propertize-function):
10740 Include the case when ' is at line beginning. (Bug#14336)
10742 2013-05-02 Glenn Morris <rgm@gnu.org>
10744 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10745 * desktop.el (vc-dir-mode): Just autoload it here.
10747 2013-05-02 Alan Mackenzie <acm@muc.de>
10749 Eliminate variable c-standard-font-lock-fontify-region-function.
10750 * progmodes/cc-mode.el
10751 (c-standard-font-lock-fontify-region-function): Remove.
10752 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10754 2013-05-01 Leo Liu <sdl.web@gmail.com>
10756 * progmodes/octave.el: Compatible with older emacs-24 releases.
10757 (inferior-octave-has-built-in-variables): Remove. Built-in
10758 variables were removed from Octave in 2007.
10759 (inferior-octave-startup): Fix uses.
10760 (comint-line-beginning-position): Remove compatibility code for
10763 2013-05-01 Juri Linkov <juri@jurta.org>
10765 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10767 2013-05-01 Juri Linkov <juri@jurta.org>
10769 * comint.el (comint-previous-matching-input): Don't print message
10770 "History item: %d" when `isearch-mode' is active.
10771 (comint-history-isearch-message): Print message "History item: %d"
10772 when `comint-input-ring-index' is not empty and this function is
10773 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10775 2013-05-01 Leo Liu <sdl.web@gmail.com>
10777 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10778 definitions. Use completion-at-point to insert keywords.
10779 (octave-abbrev-start): Remove.
10780 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10782 2013-04-30 Leo Liu <sdl.web@gmail.com>
10784 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10787 2013-04-30 Alan Mackenzie <acm@muc.de>
10789 Handle arbitrarily long C++ member initialisation lists.
10790 * progmodes/cc-engine.el (c-back-over-member-initializers):
10792 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10793 (most) member init lists.
10795 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10797 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10800 2013-04-30 Leo Liu <sdl.web@gmail.com>
10802 * progmodes/octave.el (octave-variables): Remove. No builtin
10803 variables any more. All converted to functions.
10804 (octave-font-lock-keywords, octave-completion-at-point-function):
10806 (octave-font-lock-texinfo-comment): New user variable.
10807 (octave-texinfo-font-lock-keywords): New variable for texinfo
10809 (octave-function-comment-block): New face.
10810 (octave-font-lock-texinfo-comment): New function.
10811 (octave-mode): Font lock texinfo comment block.
10813 2013-04-29 Leo Liu <sdl.web@gmail.com>
10815 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10816 indexing expression.
10817 (octave-continuation-string): Do not use \.
10818 (inferior-octave-complete-impossible): Remove.
10819 (inferior-octave-completion-table)
10820 (inferior-octave-completion-at-point): Remove its uses.
10821 (inferior-octave-startup): completion_matches was introduced to
10822 Octave in 1996 so safe to assume it.
10823 (octave-function-file-comment): Improve to follow how Octave does it.
10824 (octave-update-function-file-comment): Tweak.
10826 2013-04-29 Leo Liu <sdl.web@gmail.com>
10828 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10829 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10830 (octave-function-file-comment): Fix typo.
10831 (octave-sync-function-file-names): Use read-char-choice.
10833 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10835 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10836 to t for the less important warnings.
10838 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10840 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10842 2013-04-27 Glenn Morris <rgm@gnu.org>
10844 * vc/log-view.el (log-view-current-entry):
10845 Treat "---" separator lines as part of the following rev. (Bug#14169)
10847 2013-04-27 Juri Linkov <juri@jurta.org>
10849 * subr.el (read-number): Doc fix about using it by interactive
10850 code letter `n'. (Bug#14254)
10852 2013-04-27 Juri Linkov <juri@jurta.org>
10854 * desktop.el (desktop-auto-save-timeout): New option.
10855 (desktop-file-checksum): New variable.
10856 (desktop-save): Add optional arg `auto-save' and don't auto-save
10857 if nothing changed.
10858 (desktop-auto-save-timer): New variable.
10859 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10860 (after-init-hook): Call `desktop-auto-save-set-timer'.
10861 Suggested by Reuben Thomas <rrt@sc3d.org> in
10862 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10864 2013-04-27 Leo Liu <sdl.web@gmail.com>
10866 * progmodes/octave.el (octave-function-file-p)
10867 (octave-skip-comment-forward, octave-function-file-comment)
10868 (octave-update-function-file-comment): New functions.
10869 (octave-mode-map): Bind C-c ; to
10870 octave-update-function-file-comment.
10871 (octave-mode-menu): Add octave-update-function-file-comment.
10872 (octave-mode, inferior-octave-mode): Fix doc-string.
10873 (octave-insert-defun): Conform to Octave's coding convention.
10876 * files.el (basic-save-buffer): Don't let errors in
10877 before-save-hook prevent saving buffer.
10879 2013-04-20 Roland Winkler <winkler@gnu.org>
10881 * faces.el (read-face-name): Use completing-read if arg multiple
10884 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10886 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10887 displayed, move point to after the totals line.
10888 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10891 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10893 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10894 Add current dir to the load-path.
10895 (package-generate-autoloads): Don't rely on
10896 autoload-ensure-default-file.
10898 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10900 * textmodes/remember.el (remember-store-in-files): Document that
10901 the file name format is passed to `format-time-string'.
10903 2013-04-26 Leo Liu <sdl.web@gmail.com>
10905 * progmodes/octave.el (octave-sync-function-file-names): New function.
10906 (octave-mode): Use it in before-save-hook.
10908 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10910 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10913 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10914 \n and comment, even if it's not an implicit ; (bug#14218).
10916 2013-04-26 Glenn Morris <rgm@gnu.org>
10918 * subr.el (read-number): Once more use `read' rather than
10919 `string-to-number', to trap non-numeric input. (Bug#14254)
10921 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10923 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10924 Use `syntax-multiline' text property consistently instead of
10925 `font-lock-multiline'. (Bug#14237)
10927 2013-04-26 Glenn Morris <rgm@gnu.org>
10929 * emacs-lisp/shadow.el (list-load-path-shadows):
10930 No longer necessary to check for duplicate simple.el, since
10931 2012-07-07 change to init_lread to not include installation lisp
10932 directories in load-path when running uninstalled. (Bug#14270)
10934 2013-04-26 Leo Liu <sdl.web@gmail.com>
10936 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10937 (octave-mode, inferior-octave-mode): Use setq-local.
10938 (octave-not-in-string-or-comment-p): Rename to
10939 octave-in-string-or-comment-p.
10940 (octave-in-comment-p, octave-in-string-p)
10941 (octave-in-string-or-comment-p): Replace defsubst with defun.
10943 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10945 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10947 2013-04-25 Bastien Guerry <bzg@gnu.org>
10949 * textmodes/remember.el (remember-data-directory)
10950 (remember-directory-file-name-format): Fix custom types.
10952 2013-04-25 Leo Liu <sdl.web@gmail.com>
10954 * progmodes/octave.el (octave-completion-at-point-function):
10955 Make use of inferior octave process.
10956 (octave-initialize-completions): Remove.
10957 (inferior-octave-completion-table): New function.
10958 (inferior-octave-completion-at-point): Use it.
10959 (octave-completion-alist): Remove.
10961 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10963 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10964 (opascal-mode-syntax-table): New var.
10965 (opascal-literal-kind, opascal-is-literal-end)
10966 (opascal-literal-token-at): Rewrite.
10967 (opascal--literal-start-re, opascal-font-lock-keywords)
10968 (opascal--syntax-propertize): New constants.
10969 (opascal-font-lock-defaults): Adjust.
10970 (opascal-mode): Use them. Set comment-<foo> variables as well.
10971 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10972 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10973 (delphi-other-face, opascal-other-face): Remove face variables.
10974 (opascal-save-state): Remove macro.
10975 (opascal-fontifying-progress-step): Remove constant.
10976 (opascal--ignore-changes): Remove var.
10977 (opascal-set-token-property, opascal-parse-next-literal)
10978 (opascal-is-stable-literal, opascal-complete-literal)
10979 (opascal-is-literal-start, opascal-face-of)
10980 (opascal-parse-region, opascal-parse-region-until-stable)
10981 (opascal-fontify-region, opascal-after-change)
10982 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10983 (opascal-debug-parse-region, opascal-debug-parse-window)
10984 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10985 (opascal-debug-fontify-buffer): Remove.
10986 (opascal-debug-mode-map): Adjust accordingly.
10988 2013-04-25 Leo Liu <sdl.web@gmail.com>
10990 Merge octave-mod.el and octave-inf.el into octave.el with some
10992 * progmodes/octave.el: New file renamed from octave-mod.el.
10993 * progmodes/octave-inf.el: Merged into octave.el.
10994 * progmodes/octave-mod.el: Renamed to octave.el.
10996 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10998 * textmodes/reftex-vars.el
10999 (reftex-label-ignored-macros-and-environments): New defcustom.
11001 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11003 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11005 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11006 (smie-indent-keyword): Improve the check to ensure that the next
11007 comment is really on the same line.
11008 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11010 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11011 semi-colons if the line is not otherwise empty (bug#14218).
11013 2013-04-25 Glenn Morris <rgm@gnu.org>
11015 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11017 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11019 * progmodes/opascal.el (opascal-set-token-property): Rename from
11020 opascal-set-text-properties and only set `token' (bug#14134).
11021 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11022 (opascal-literal-text-properties): Remove.
11023 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11026 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11028 * textmodes/remember.el (remember-handler-functions): Add an
11029 option for a new handler `remember-store-in-files'.
11030 (remember-data-directory, remember-directory-file-name-format):
11032 (remember-store-in-files): New function to store remember notes
11033 as separate files within a directory.
11035 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11037 * progmodes/compile.el (compilation-next-error-function):
11038 Pass "formats" to compilation-find-file (bug#11777).
11040 2013-04-24 Glenn Morris <rgm@gnu.org>
11042 * vc/vc-bzr.el (vc-bzr-print-log):
11043 * vc/vc-hg.el (vc-hg-print-log):
11044 * vc/vc-svn.el (vc-svn-print-log):
11045 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11047 * vc/vc-bzr.el (vc-bzr-print-log):
11048 * vc/vc-cvs.el (vc-cvs-print-log):
11049 * vc/vc-git.el (vc-git-print-log):
11050 * vc/vc-hg.el (vc-hg-print-log):
11051 * vc/vc-mtn.el (vc-mtn-print-log):
11052 * vc/vc-rcs.el (vc-rcs-print-log):
11053 * vc/vc-sccs.el (vc-sccs-print-log):
11054 * vc/vc-svn.el (vc-svn-print-log):
11055 * vc/vc.el (vc-print-log-internal): Doc fixes.
11057 2013-04-23 Glenn Morris <rgm@gnu.org>
11059 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11060 Remove venerable code attempting to avoid substitute-command-keys.
11062 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11064 * textmodes/reftex-vars.el (reftex-label-regexps):
11065 Call `reftex-compile-variables' after changes to this variable.
11067 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11069 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11070 Use lexical-binding.
11071 (jit-lock-force-redisplay): Use markers, check buffer's continued
11072 existence and beware narrowed buffers.
11073 (jit-lock-fontify-now): Adjust call accordingly.
11075 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11077 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11078 to avoid misleading the user.
11080 2013-04-22 Leo Liu <sdl.web@gmail.com>
11082 * info-look.el: Prefer latex2e.info. (Bug#14240)
11084 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11086 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11088 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11089 * net/tramp.el (tramp-call-process): ... here.
11090 (tramp-set-completion-function, tramp-parse-putty):
11091 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11092 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11093 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11094 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11095 (tramp-call-local-coding-command): Use `tramp-call-process'
11096 instead of `tramp-compat-call-process'.
11098 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11099 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11100 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11101 (tramp-find-inline-compress): Improve traces.
11102 (tramp-maybe-send-script): Check for Perl binary.
11103 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11105 2013-04-22 Daiki Ueno <ueno@gnu.org>
11107 * epg.el (epg-context-pinentry-mode): New function.
11108 (epg-context-set-pinentry-mode): New function.
11109 (epg--start): Pass --pinentry-mode option to gpg command.
11111 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11113 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11114 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11115 `completion-at-point'. (Bug#13774)
11117 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11118 default key binding for `describe-distribution' has been moved to
11119 `C-h C-o'. (Bug#13970)
11121 2013-04-21 Glenn Morris <rgm@gnu.org>
11123 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11125 (vc-print-log): Clarify interactive prompt.
11127 2013-04-20 Glenn Morris <rgm@gnu.org>
11129 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11130 No longer include timestamp etc information.
11132 2013-04-20 Roland Winkler <winkler@gnu.org>
11134 * faces.el (read-face-name): Bug fix, return just one face if arg
11135 multiple is nil. (Bug#14209)
11137 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11139 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11140 (remove-function): Autoload.
11142 * comint.el (comint-redirect-original-filter-function): Remove.
11143 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11144 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11145 (vc-cvs-annotate-command):
11146 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11147 * progmodes/prolog.el (prolog-consult-compile):
11148 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11149 Use add/remove-function instead.
11150 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11151 (gud-tooltip-process-output, gud-tooltip-tips):
11152 Use add/remove-function instead.
11153 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11154 (scheme-interaction-mode, exit-scheme-interaction-mode):
11155 Use add/remove-function instead.
11157 * vc/vc-dispatcher.el: Use lexical-binding.
11158 (vc--process-sentinel): Rename from vc-process-sentinel.
11159 Change last arg to be the code to run. Don't use vc-previous-sentinel
11160 and vc-sentinel-commands any more.
11161 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11162 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11164 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11166 * progmodes/sh-script.el (sh-imenu-generic-expression):
11167 Handle function names with a single character. (Bug#14111)
11169 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11171 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11172 for subroutines defined in an eval (bug#14182).
11174 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11176 * bookmark.el (bookmark-completing-read): Improve handling of empty
11177 string (bug#14176).
11179 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11181 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11183 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11185 New faster Imenu implementation (bug#14058).
11186 * progmodes/python.el:
11187 (python-imenu-prev-index-position):
11188 (python-imenu-format-item-label-function)
11189 (python-imenu-format-parent-item-label-function)
11190 (python-imenu-format-parent-item-jump-label-function):
11192 (python-imenu-format-item-label)
11193 (python-imenu-format-parent-item-label)
11194 (python-imenu-format-parent-item-jump-label)
11195 (python-imenu--put-parent, python-imenu--build-tree)
11196 (python-imenu-create-index, python-imenu-create-flat-index)
11197 (python-util-popn): New functions.
11198 (python-mode): Set imenu-create-index-function to
11199 python-imenu-create-index.
11201 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11203 * winner.el (winner-active-region): Use region-active-p, activate-mark
11204 and deactivate-mark (bug#14225).
11206 * simple.el (deactivate-mark): Don't inline it.
11208 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11210 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11212 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11214 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11215 file extensions from the archive-mode entry in order to prefer
11216 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11218 2013-04-18 Leo Liu <sdl.web@gmail.com>
11220 * bindings.el (help-event-list): Add ?\?.
11222 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11224 * subr.el (with-wrapper-hook): Declare obsolete.
11225 * simple.el (filter-buffer-substring-function): New hook.
11226 (filter-buffer-substring): Use it.
11227 (filter-buffer-substring-functions): Mark obsolete.
11228 * minibuffer.el (completion-in-region-function): New hook.
11229 (completion-in-region): Use it.
11230 (completion-in-region-functions): Mark obsolete.
11231 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11232 * abbrev.el (abbrev-expand-function): New hook.
11233 (expand-abbrev): Use it.
11234 (abbrev-expand-functions): Mark obsolete.
11235 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11236 and :filter-return.
11238 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11240 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11241 and do not care about match data.
11243 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11245 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11246 completion tables when completing error conditions and
11247 `declare' arguments.
11248 (lisp-complete-symbol, field-complete): Mark as obsolete.
11249 (check-parens): Unmatched parens are user errors.
11250 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11252 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11254 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11255 command changed buffer (ie. `flyspell-pre-buffer' is not current
11256 buffer), which prevents making decisions based on invalid value of
11257 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11258 cause an error when `flyspell-pre-point' was nil after switching
11260 (flyspell-post-command-hook): No longer needs to change buffers when
11261 checking pre-word. While at it remove unnecessary progn.
11263 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11265 * textmodes/ispell.el (ispell-add-per-file-word-list):
11266 Fix `flyspell-correct-word-before-point' error when accepting
11267 words and `coment-padding' is an integer by using
11268 `comment-normalize-vars' (Bug #14214).
11270 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11272 New defun movement commands.
11273 * progmodes/python.el (python-nav--syntactically)
11274 (python-nav--forward-defun, python-nav-backward-defun)
11275 (python-nav-forward-defun): New functions.
11277 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11279 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11280 (python-syntax-context): Use named compiler-macro for backwards
11281 compatibility with Emacs 24.x.
11283 2013-04-17 Leo Liu <sdl.web@gmail.com>
11285 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11286 octave-hide-process-buffer.
11288 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11290 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11293 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11295 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11296 Fix adjustment of offset when receiving incomplete responses from GDB
11299 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11301 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11302 python-mode-abbrev-table.
11303 (python-skeleton-define): Adjust accordingly.
11304 (python-mode-abbrev-table): New table that inherits from it so that
11305 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11307 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11308 (abbrev-symbol): Use it.
11309 (abbrev--before-point): Use it since we already handle inheritance.
11311 2013-04-16 Leo Liu <sdl.web@gmail.com>
11313 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11314 binding to info-lookup-symbol.
11316 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11318 * minibuffer.el (completion--twq-all):
11319 * term/ns-win.el (ns-initialize-window-system):
11320 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11322 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11324 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11327 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11329 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11331 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11332 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11334 (ruby-end-of-defun): Remove the unused arg, change the docstring
11335 to reflect that this function is only used as the value of
11336 `end-of-defun-function'.
11337 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11338 to reflect an earlier change that beginning/end-of-defun functions
11339 jump between methods in a class definition, as well as top-level
11342 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11344 * minibuffer.el (minibuffer-complete): Don't just scroll
11345 a *Completions* that's been iconified.
11346 (minibuffer-force-complete): Make sure repetitions do cycle when going
11347 through completion-in-region -> minibuffer-complete.
11349 2013-04-15 Alan Mackenzie <acm@muc.de>
11351 Correct the placement of c-cpp-delimiters when there're #s not at
11354 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11355 place a submatch around the #.
11356 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11357 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11360 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11362 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11363 (advice--member-p): New arg `name'.
11364 (advice--add-function, advice-member-p): Use it (bug#14202).
11366 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11368 Reformulate java imenu-generic-expression.
11369 The old expression contained ill formed regexps.
11371 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11372 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11373 (cc-imenu-java-method-arg-regexp): New defconsts.
11374 (cc-imenu-java-build-type-args-regex): New defun.
11375 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11376 handling of spaces in the regexp.
11378 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11380 * textmodes/ispell.el (ispell-command-loop): Remove
11381 flyspell highlight of a word when ispell accepts it (bug #14178).
11383 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11385 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11386 uses code from the previous `ange-ftp-run-real-handler'.
11387 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11388 only in case that function exist. This is needed for proper
11389 unloading of Tramp.
11391 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11393 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11395 * textmodes/reftex.el (reftex-compile-variables): Use it.
11397 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11399 * files.el (normal-mode): Only use default major-mode if no other mode
11402 * emacs-lisp/trace.el (trace-values): New function.
11404 * files.el: Allow : in local variables (bug#14089).
11405 (hack-local-variable-regexp): New var.
11406 (hack-local-variables-prop-line, hack-local-variables): Use it.
11408 2013-04-13 Roland Winkler <winkler@gnu.org>
11410 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11411 data before it gets modified by bibtex-beginning-of-entry.
11413 2013-04-13 Roland Winkler <winkler@gnu.org>
11415 * textmodes/bibtex.el (bibtex-url): Doc fix.
11417 2013-04-13 Roland Winkler <winkler@gnu.org>
11419 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11420 does not visit a BibTeX file, exclude it from the list of buffers
11421 returned by bibtex-initialize.
11423 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11425 * window.el (split-window): Remove interactive form, since as a
11426 command this function is a special case of split-window-below.
11427 Correct doc string.
11429 2013-04-12 Roland Winkler <winkler@gnu.org>
11431 * faces.el (read-face-name): Do not override value of arg default.
11432 Allow single faces and strings as default values. Remove those
11433 elements from return value that are not faces.
11434 (describe-face): Simplify.
11435 (face-at-point): New optional args thing and multiple so that this
11436 function can provide the same functionality previously provided by
11438 (make-face-bold, make-face-unbold, make-face-italic)
11439 (make-face-unitalic, make-face-bold-italic, invert-face)
11440 (modify-face, read-face-and-attribute): Use face-at-point.
11442 * cus-edit.el (customize-face, customize-face-other-window)
11443 * cus-theme.el (custom-theme-add-face)
11444 * face-remap.el (buffer-face-set)
11445 * facemenu.el (facemenu-set-face): Use face-at-point.
11447 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11449 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11451 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11453 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11454 off leading { and trailing } from field values.
11456 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11458 * emacs-lisp/timer.el (timer--check): New function.
11459 (timer--time, timer-set-function, timer-event-handler): Use it.
11460 (timer-set-idle-time): Simplify.
11461 (timer--activate): CSE.
11462 (timer-event-handler): Give more info in error message.
11463 (internal-timer-start-idle): New function, moved from C.
11465 * mpc.el (mpc-proc): Add `restart' argument.
11466 (mpc-proc-cmd): Use it.
11467 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11468 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11471 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11473 * progmodes/sh-script.el: Implement `sh-mode' own
11474 `add-log-current-defun-function' (bug#14112).
11475 (sh-current-defun-name): New function.
11476 (sh-mode): Use the function.
11478 2013-04-09 Bastien Guerry <bzg@gnu.org>
11480 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11482 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11484 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11486 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11489 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11491 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11494 2013-04-07 Leo Liu <sdl.web@gmail.com>
11496 * pcmpl-x.el: New file.
11498 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11500 Do not set x-display-name until X connection is established.
11501 This is needed to prevent from weird situation described at
11502 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11503 * frame.el (make-frame): Set x-display-name after call to
11504 window system initialization function, not before.
11505 * term/x-win.el (x-initialize-window-system): Add optional
11506 display argument and use it.
11507 * term/w32-win.el (w32-initialize-window-system):
11508 * term/ns-win.el (ns-initialize-window-system):
11509 * term/pc-win.el (msdos-initialize-window-system):
11510 Add compatible optional display argument.
11512 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11514 * files.el (normal-backup-enable-predicate): On MS-Windows and
11515 MS-DOS compare truenames of temporary-file-directory and of the
11516 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11517 don't fail comparison by compare-strings. Also, compare file
11518 names case-insensitively on MS-Windows and MS-DOS.
11520 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11522 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11523 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11525 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11527 * whitespace.el (whitespace-color-on, whitespace-color-off):
11528 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11530 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11532 * ispell.el (ispell-set-spellchecker-params):
11533 Really set `ispell-args' for all equivs.
11535 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11537 * ido.el (ido-completions): Use extra elements of ido-decorations
11539 (ido-decorations): Update docstring.
11541 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11543 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11544 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11545 nil during initialization, in order not to miss changes since the
11546 file was opened. (Bug#14140)
11548 2013-04-05 Leo Liu <sdl.web@gmail.com>
11550 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11552 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11554 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11556 2013-04-04 Glenn Morris <rgm@gnu.org>
11558 * electric.el (electric-pair-inhibit-predicate): Add :version.
11560 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11562 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11563 when a package is required several times (bug#14082).
11565 2013-04-04 Roland Winkler <winkler@gnu.org>
11567 * faces.el (read-face-name): Behave as promised by the docstring.
11568 Assume that arg default is a list of faces.
11569 (describe-face): Call read-face-name with list of default faces.
11571 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11573 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11574 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11575 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11577 (bookmark-exit-hook-internal): Save even if list is empty.
11579 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11581 * emacs-lisp/package.el (package-pinned-packages): New var.
11582 (package--add-to-archive-contents): Obey it (bug#14118).
11584 2013-04-03 Alan Mackenzie <acm@muc.de>
11586 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11587 Also adapt to the new values of element 7 of a parse state.
11589 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11590 parameter `not-in-delimiter'. Handle being inside comment opener.
11591 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11592 character in case we're typing a '*' after a '/'.
11593 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11594 instead by passing the parameter to c-state-pp-to-literal.
11596 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11597 for elt. 7 of a parse state.
11599 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11601 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11602 * international/latin1-disp.el, international/mule-util.el:
11603 * language/cyril-util.el, language/european.el, language/ind-util.el:
11604 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11605 * language/tibetan.el, language/viet-util.el:
11606 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11608 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11610 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11611 (electric-pair-post-self-insert-function): Use it.
11612 (electric-pair-default-inhibit): New function, extracted from
11613 electric-pair-post-self-insert-function.
11615 2013-03-31 Roland Winkler <winkler@gnu.org>
11617 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11619 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11621 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11623 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11625 Un-indent after "pass" and "return" statements (Bug#13888)
11626 * progmodes/python.el (python-indent-block-enders): New var.
11627 (python-indent-calculate-indentation): Use it.
11629 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11631 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11632 defun. Defining it as defalias could introduce too eager
11633 byte-compiler optimization. (Bug#14030)
11635 2013-03-30 Chong Yidong <cyd@gnu.org>
11637 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11639 2013-03-30 Leo Liu <sdl.web@gmail.com>
11641 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11642 (kmacro-execute-from-register): Pass the keyboard macro to
11643 kmacro-call-macro or repeating won't work correctly.
11645 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11647 * progmodes/subword.el: Back to using `forward-symbol'.
11649 * subr.el (forward-whitespace, forward-symbol)
11650 (forward-same-syntax): Move from thingatpt.el.
11652 2013-03-29 Leo Liu <sdl.web@gmail.com>
11654 * kmacro.el (kmacro-to-register): New command.
11655 (kmacro-execute-from-register): New function.
11656 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11658 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11660 * mpc.el: Use defvar-local and setq-local.
11661 (mpc--proc-connect): Connection failures are not bugs.
11662 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11663 (mpc-volume-map): Bind to the up-events.
11665 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11667 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11668 instead of `forward-symbol'.
11670 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11672 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11673 (edebug--recursive-edit): Use it.
11674 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11675 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11677 2013-03-28 Leo Liu <sdl.web@gmail.com>
11679 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11681 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11683 * facemenu.el (list-colors-callback): New defvar.
11684 (list-colors-redisplay): New function.
11685 (list-colors-display): Install list-colors-redisplay as the
11686 revert-buffer-function. (Bug#14063)
11688 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11690 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11691 and suffixes don't overlap (bug#14061).
11693 * case-table.el: Use lexical-binding.
11694 (case-table-get-table): New function.
11695 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11697 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11699 * progmodes/subword.el: Add `superword-mode' to do word motion
11700 over symbol_words (parallels and leverages `subword-mode' which
11701 does word motion inside MixedCaseWords).
11703 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11705 * eshell/em-unix.el: Move su and sudo to...
11706 * eshell/em-tramp.el: ...Eshell tramp module.
11708 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11710 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11711 Change return value to be a sexp. Delay `get-buffer' to after
11712 restoring the desktop (bug#13951).
11714 2013-03-26 Leo Liu <sdl.web@gmail.com>
11716 * register.el: Move semantic tag handling back to
11717 cedet/semantic/senator.el. (Bug#14052)
11719 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11721 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11722 into the prompt either (bug#13963).
11724 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11726 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11727 part of "(error-foo)".
11729 2013-03-24 Juri Linkov <juri@jurta.org>
11731 * replace.el (list-matching-lines-prefix-face): New defcustom.
11732 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11733 `occur-engine' if `face-differs-from-default-p' returns t.
11734 (occur-engine): Add `,' inside backquote construct to evaluate
11735 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11736 Pass `prefix-face' to the functions `occur-context-lines' and
11737 `occur-engine-add-prefix'.
11738 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11739 `prefix-face' and propertize the prefix with `prefix-face'.
11742 2013-03-24 Leo Liu <sdl.web@gmail.com>
11744 * nxml/rng-valid.el (rng-validate-while-idle)
11745 (rng-validate-quick-while-idle): Guard against deleted buffer.
11748 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11749 is the last entry in kill-buffer-hook.
11751 * files.el (kill-buffer-hook): Doc fix.
11753 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11755 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11756 Make it safe-local.
11758 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11760 2013-03-23 Leo Liu <sdl.web@gmail.com>
11762 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11765 * nxml/rng-valid.el (rng-validate-mode)
11766 (rng-after-change-function, rng-do-some-validation):
11767 * nxml/rng-maint.el (rng-validate-buffer):
11768 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11769 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11770 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11771 (nxml-extend-after-change-region): Use with-silent-modifications.
11773 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11776 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11777 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11778 timer-idle-list. (Bug#13999)
11780 2013-03-23 Juri Linkov <juri@jurta.org>
11782 * info.el (info-index-match): New face.
11783 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11784 main pattern and add text properties with the new face to matches
11785 in index entries relative to the beginning of the index entry.
11788 2013-03-21 Eric Ludlam <zappo@gnu.org>
11790 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11791 Inhibit read only while inserting objects.
11793 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11795 * progmodes/cfengine.el: Update docs to mention
11796 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11797 symbol motion. Remove "_" from the word syntax.
11799 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11801 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11802 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11804 2013-03-20 Juri Linkov <juri@jurta.org>
11806 * info.el (Info-next-reference-or-link)
11807 (Info-prev-reference-or-link): New functions.
11808 (Info-next-reference, Info-prev-reference): Use them.
11809 (Info-try-follow-nearest-node): Handle footnote navigation.
11810 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11812 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11814 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11815 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11817 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11819 Suppress unnecessary non-ASCII chatter during build process.
11820 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11821 (batch-skkdic-convert): Suppress most of the chatter.
11822 It's not needed so much now that machines are faster,
11823 and its non-ASCII component was confusing; see Dmitry Gutov in
11824 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11826 2013-03-20 Leo Liu <sdl.web@gmail.com>
11828 * ido.el (ido-chop): Fix bug#10994.
11830 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11832 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11834 (whitespace-color-on, whitespace-color-off):
11835 Use `font-lock-fontify-buffer' (Bug#13817).
11837 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11839 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11840 remapping in mode-line.
11841 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11843 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11845 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11846 value for `whitespace-line' face (Bug#13875).
11847 (whitespace-font-lock-keywords): Change description.
11848 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11849 the constructed keywords instead.
11850 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11852 2013-03-19 Leo Liu <sdl.web@gmail.com>
11854 * progmodes/compile.el (compilation-display-error): New command.
11855 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11858 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11860 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11862 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11864 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11866 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11868 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11870 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11871 * net/tramp-gvfs.el (top):
11872 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11873 (tramp-handle-shell-command): Use it.
11874 (tramp-dissect-file-name): Raise an error when hostname is a
11875 method name, and neither method nor user is specified.
11877 * net/trampver.el: Update release number.
11879 2013-03-18 Leo Liu <sdl.web@gmail.com>
11881 Make sure eldoc can be turned off properly.
11882 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11884 (eldoc-display-message-p): Revert last change.
11885 (eldoc-display-message-no-interference-p)
11886 (eldoc-print-current-symbol-info): Tweak.
11888 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11890 * doc-view.el (doc-view-new-window-function): Check the new window
11891 overlay's display property instead the char property of the
11892 buffer's first char. Use `with-selected-window' instead of
11893 `save-window-excursion' with `select-window'.
11894 (doc-view-document->bitmap): Check the current doc-view overlay's
11895 display property instead the char property of the buffer's first char.
11897 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11899 Automate the build of ja-dic.el (Bug#13984).
11900 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11901 from the input, rather than assume that it's been done for us by the
11902 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11903 the current date into a ja-dic.el comment, as that complicates
11904 regression testing.
11906 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11908 * whitespace.el: Fix double evaluation.
11909 (whitespace-space, whitespace-hspace, whitespace-tab)
11910 (whitespace-newline, whitespace-trailing, whitespace-line)
11911 (whitespace-space-before-tab, whitespace-indentation)
11912 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11914 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11915 (whitespace-color-on): Use a single font-lock-add-keywords call.
11916 Fix double-evaluation of face variables.
11918 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11920 * net/tramp-adb.el (tramp-adb-parse-device-names):
11921 Use `start-process' instead of `call-process'. Otherwise, the
11922 function might be blocked under MS Windows. (Bug#13299)
11924 2013-03-17 Leo Liu <sdl.web@gmail.com>
11926 Extend eldoc to display info in the mode-line. (Bug#13978)
11927 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11928 (eldoc-mode-line-string): New variable.
11929 (eldoc-minibuffer-message): New function.
11930 (eldoc-message-function): New variable.
11931 (eldoc-message): Use it.
11932 (eldoc-display-message-p)
11933 (eldoc-display-message-no-interference-p):
11934 Support eldoc-post-insert-mode.
11936 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11937 (eval-expression): Run it.
11939 2013-03-17 Roland Winkler <winkler@gnu.org>
11941 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11942 strings in the list of return values.
11944 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11946 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11947 radix before checking for HMS forms.
11949 2013-03-16 Leo Liu <sdl.web@gmail.com>
11951 * progmodes/scheme.el: Add indentation and font-locking for λ.
11954 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11956 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11957 token before point (bug#13942).
11959 2013-03-16 Leo Liu <sdl.web@gmail.com>
11961 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11963 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11965 * startup.el (command-line-normalize-file-name): Fix handling of
11966 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11967 <xfq.free@gmail.com> in
11968 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11970 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11972 Sync with Tramp 2.2.7.
11974 * net/trampver.el: Update release number.
11976 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11978 * doc-view.el: Fix bug#13887.
11979 (doc-view-insert-image): Don't modify overlay associated to
11980 non-live windows, and implement horizontal centering of image in
11981 case it's smaller than the window.
11982 (doc-view-new-window-function): Force redisplay of new windows on
11985 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11987 * saveplace.el (save-place-alist-to-file): Don't sort
11988 `save-place-alist', just pretty-print it (bug#13882).
11990 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11992 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11993 Check whether `default-file-name-coding-system' is bound.
11994 It isn't in XEmacs.
11996 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11998 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11999 backquotes for `obsolete' (bug#13929).
12001 * international/mule.el (find-auto-coding): Include file name in
12002 obsolescence warning (bug#13922).
12004 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12006 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12007 for CFEngine 3-specific indentation.
12008 (cfengine3-indent-line): Use it. Fix up category regex.
12009 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12011 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12013 * type-break.el (type-break-file-name):
12014 * textmodes/remember.el (remember-data-file):
12015 * strokes.el (strokes-file):
12016 * shadowfile.el (shadow-initialize):
12017 * saveplace.el (save-place-file):
12018 * ps-bdf.el (bdf-cache-file):
12019 * progmodes/idlwave.el (idlwave-config-directory):
12020 * net/quickurl.el (quickurl-url-file):
12021 * international/kkc.el (kkc-init-file-name):
12022 * ido.el (ido-save-directory-list-file):
12023 * emulation/viper.el (viper-custom-file-name):
12024 * emulation/vip.el (vip-startup-file):
12025 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12026 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12028 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12030 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12031 * language/thai-word.el: Switch to UTF-8.
12033 See ChangeLog.16 for earlier changes.
12035 ;; Local Variables:
12039 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12041 This file is part of GNU Emacs.
12043 GNU Emacs is free software: you can redistribute it and/or modify
12044 it under the terms of the GNU General Public License as published by
12045 the Free Software Foundation, either version 3 of the License, or
12046 (at your option) any later version.
12048 GNU Emacs is distributed in the hope that it will be useful,
12049 but WITHOUT ANY WARRANTY; without even the implied warranty of
12050 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12051 GNU General Public License for more details.
12053 You should have received a copy of the GNU General Public License
12054 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.