1 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3 * net/eww.el (eww-form-textarea): Use a different face for
4 textareas than text input since they have different keymaps
7 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
9 * progmodes/python.el (python-nav-beginning-of-statement): Speed
12 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
15 the window configuration.
17 2013-12-24 Eli Zaretskii <eliz@gnu.org>
19 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
20 we run on MS-Windows or MS-DOS.
22 2013-12-24 Martin Rudalics <rudalics@gmx.at>
24 * window.el (balance-windows-area): Call window-size instead of
25 window-height and window-width. Bug#16241.
27 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
29 * net/eww.el (eww-bookmark-quit): Remove.
30 (eww-bookmark-browse): Restore the window configuration when you
31 choose a bookmark (bug#16144).
33 2013-12-24 Daniel Colascione <dancol@dancol.org>
35 * icomplete.el: Remove redundant :group arguments to `defcustom'
37 (icomplete-show-matches-on-no-input): New customizable variable.
38 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
39 we have something to show.
40 (icomplete-exhibit): Compute completions even if we have no user
43 2013-12-23 Daniel Colascione <dancol@dancol.org>
45 * icomplete.el: Move `provide' to end of file.
47 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
49 * net/gnutls.el (gnutls-verify-error): Add version tag.
51 2013-12-23 Chong Yidong <cyd@gnu.org>
53 * subr.el (set-transient-map): Rename from
54 set-temporary-overlay-map. Doc fix.
56 * face-remap.el (text-scale-adjust):
57 * indent.el (indent-rigidly):
58 * kmacro.el (kmacro-call-macro):
59 * minibuffer.el (minibuffer-force-complete):
61 * simple.el (universal-argument--mode):
62 * calendar/todo-mode.el (todo-insert-item--next-param):
63 * progmodes/f90.el (f90-abbrev-start): Callers changed.
65 * indent.el (indent-rigidly): Use substitute-command-keys.
67 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
69 * net/eww.el (eww-tag-select): Add text-property to jump to next
71 (eww) : Add non-supported ftp error.
73 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
75 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
76 comments. Handle electric indent after typing `?' and `!'.
78 2013-12-22 Chong Yidong <cyd@gnu.org>
80 * faces.el (face-spec-recalc): If the theme specs are not
81 applicable to a frame, fall back on the defface spec. This
82 prevents themes from obliterating faces on low-color terminals.
84 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
86 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
87 after `{'. We need it after block openers, and it doesn't seem
88 to hurt after hash openers.
90 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
92 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
93 extracted from `ruby-smie-rules'.
94 (ruby--electric-indent-chars): New variable.
95 (ruby--electric-indent-p): New function.
96 (ruby-mode): Use `electric-indent-functions' instead of
97 `electric-indent-chars'.
99 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
101 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
103 (ruby-smie-rules): Indent plus one level after `=>'.
105 2013-12-21 Richard Stallman <rms@gnu.org>
107 * simple.el (newline): Doc fix.
109 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
111 * net/eww.el (eww-list-histories, eww-list-histories)
112 (eww-history-browse, eww-history-quit, eww-history-kill)
113 (eww-history-mode-map, eww-history-mode): New command and
114 functions to list browser histories.
115 (eww-form-text): Support text form with disabled
116 and readonly attributes.
117 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
119 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
121 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
122 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
123 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
124 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
126 (eww-bookmark-mode-map): Add menu.
127 (eww-render, eww-mode): Use `setq-local'.
128 (eww-tool-bar-map): New variable.
129 (eww-mode): Set `tool-bar-map'.
130 (eww-view-source): Check for `html-mode' with `fboundp'.
132 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
134 * net/shr.el (shr--extract-best-source): Don't bug out on audio
135 elements with text inside. Also remove debugging.
137 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
139 * cus-start.el (all): Add ns-use-srgb-colorspace.
141 2013-12-21 Chong Yidong <cyd@gnu.org>
143 * custom.el (custom-theme-recalc-face): Do nothing if the face is
144 undefined. Thus, theme settings for undefined faces do not take
145 effect until the faces are defined with defface, the same as with
148 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
149 (face-spec-reset-face): Don't assign extra properties in temacs.
150 (face-spec-recalc): Apply X resources too.
152 2013-12-21 Chong Yidong <cyd@gnu.org>
154 * faces.el (face-spec-set):
155 * cus-face.el (custom-theme-set-faces, custom-set-faces):
156 * custom.el (defface): Doc fixes (Bug#16203).
158 * indent.el (indent-rigidly-map): Add docstring, and move commands
159 into named functions.
160 (indent-rigidly-left, indent-rigidly-right)
161 (indent-rigidly-left-to-tab-stop)
162 (indent-rigidly-right-to-tab-stop): New functions. Decide on
163 indentation direction based on bidi direction, and accumulate
164 sequential commands in a single undo boundary.
165 (indent-rigidly--pop-undo): New utility function.
167 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
169 * faces.el (read-face-name): Require crm.el when using crm-separator.
171 2013-12-20 Daniel Colascione <dancol@dancol.org>
173 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
174 so that we don't reflow comments into the shebang line.
176 2013-12-20 Juri Linkov <juri@jurta.org>
178 * saveplace.el (save-place-to-alist): Add `dired-filename' as
179 a position when `dired-directory' is non-nil. Check integer
180 positions with `integerp'.
181 (toggle-save-place, save-places-to-alist): Add check for
183 (save-place-find-file-hook): Check integer positions with
185 (save-place-dired-hook): Use `dired-goto-file' when
186 `dired-filename' is found in the assoc list. Check integer
187 positions with `integerp'.
188 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
190 * dired.el (dired-initial-position-hook): Rename back from
191 `dired-initial-point-hook'.
192 (dired-initial-position): Rename `dired-initial-point-hook' to
193 `dired-initial-position-hook'.
194 (dired-file-name-at-point): Doc fix. (Bug#15329)
196 2013-12-20 Juri Linkov <juri@jurta.org>
198 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
199 (read-regexp-suggestions): New function.
200 (read-regexp): Use `read-regexp-defaults-function' to get default values.
201 Use `read-regexp-suggestions'. Add non-empty default to history
203 (occur-read-regexp-defaults-function): Remove function.
204 (occur-read-primary-args): Use `regexp-history-last' instead of
205 `occur-read-regexp-defaults-function'.
207 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
208 (hi-lock-line-face-buffer, hi-lock-face-buffer)
209 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
210 `hi-lock-read-regexp-defaults-function'. Doc fix.
211 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
212 with `find-tag-default-as-symbol-regexp'. Doc fix.
213 (hi-lock-read-regexp-defaults): Remove function.
214 (hi-lock-regexp-okay): Add check for null.
216 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
217 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
219 * subr.el (find-tag-default-as-symbol-regexp): New function.
220 (find-tag-default-as-regexp): Move symbol regexp formatting to
221 `find-tag-default-as-symbol-regexp'.
223 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
225 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
228 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
230 * calendar/todo-mode.el: New implementation of item insertion
231 commands and key bindings.
232 (todo-key-prompt): New face.
233 (todo-insert-item): New command.
234 (todo-insert-item--parameters): New defconst, replacing defvar
235 todo-insertion-commands-args-genlist.
236 (todo-insert-item--param-key-alist): New defconst, replacing
237 defvar todo-insertion-commands-arg-key-list.
238 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
239 (todo-insert-item--argsleft, todo-insert-item--apply-args)
240 (todo-insert-item--next-param): New functions.
241 (todo-insert-item--args, todo-insert-item--argleft)
242 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
244 (todo-key-bindings-t): Change binding of "i" from
245 todo-insertion-map to todo-insert-item.
246 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
247 (todo-insertion-command-name, todo-insertion-commands-names)
248 (todo-define-insertion-command, todo-insertion-commands)
249 (todo-insertion-key-bindings, todo-insertion-map): Remove.
251 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
253 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
254 (todo-toggle-item-highlighting): Use eval-and-compile instead of
256 (todo-move-category): Allow choosing a non-existing todo file to
257 move the category to, and create that file.
258 (todo-default-priority): New user option.
259 (todo-set-item-priority): Use it.
260 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
261 (desktop-restore-file-buffer): Declare.
262 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
263 (todo-modes-set-2): Locally set desktop-save-buffer to
264 todo-desktop-save-buffer.
265 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
266 (auto-mode-alist): Add autoload cookie.
268 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
270 * emacs-lisp/subr-x.el: Renamed from helpers.el.
271 helpers.el was a poor choice of name.
272 (string-remove-prefix): New function.
273 (string-remove-suffix): New function.
275 2013-12-20 Martin Rudalics <rudalics@gmx.at>
277 Fix assignment for new window total sizes.
278 * window.el (window--pixel-to-size): Remove function.
279 (window--pixel-to-total-1, window--pixel-to-total):
280 Fix calculation of new total sizes.
282 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
284 * comint.el (comint-output-filter): Fix rear-nonsticky property
285 placement (Bug#16010).
287 2013-12-20 Chong Yidong <cyd@gnu.org>
289 * faces.el (read-color): Minor fix for completion function.
291 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
293 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
294 New option. (Bug#16182)
295 (ruby-smie--indent-to-stmt-p): Use it.
296 (ruby-smie-rules): Revert the logic in the handling of `when'.
297 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
298 (ruby-deep-arglist, ruby-deep-indent-paren)
299 (ruby-deep-indent-paren-style): Update docstrings to note that the
300 vars don't have any effect with SMIE.
302 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
304 * calc/calc.el (calc-enter, calc-pop): Use the variable
305 `calc-context-sensitive-enter'.
307 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
309 * net/shr.el (shr-insert): Protect against infloops in degenerate
312 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
314 * progmodes/octave.el (octave): Add link to manual and octave
316 (octave-mode-menu): Link to octave-mode manual.
318 2013-12-20 Leo Liu <sdl.web@gmail.com>
320 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
321 insertion using skeleton-end-newline. (Bug#16138)
323 2013-12-20 Juri Linkov <juri@jurta.org>
325 * replace.el (occur-engine): Use `add-face-text-property'
326 to add the face property to matches and titles. (Bug#14645)
328 * hi-lock.el (hi-green): Use lighter color "light green" closer to
329 the palette of other hi-lock colors.
330 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
332 2013-12-19 Juri Linkov <juri@jurta.org>
334 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
335 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
336 (minibuffer-history-symbol): Move variable declaration closer to
339 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
342 2013-12-19 Juri Linkov <juri@jurta.org>
344 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
346 (log-edit-hook): Add it to :options. (Bug#16170)
348 2013-12-19 Juri Linkov <juri@jurta.org>
350 * simple.el (eval-expression-print-format): Don't check for
351 command names and the last command. Always display additional
352 formats of the integer result in the echo area, and insert them
353 to the current buffer only with a zero prefix arg.
354 Display character when char-displayable-p is non-nil.
355 (eval-expression): With a zero prefix arg, set `print-length' and
356 `print-level' to nil, and insert the integer values from
357 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
359 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
360 `eval-last-sexp-arg-internal'. Doc fix.
361 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
362 `eval-last-sexp-print-value'. Doc fix.
363 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
364 Set `print-length' and `print-level' to nil when arg is zero.
365 (eval-last-sexp): Doc fix.
366 (eval-defun-2): Print the integer values from
367 `eval-expression-print-format' at the end.
369 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
370 values from `eval-expression-print-format' at the end.
372 * ielm.el (ielm-eval-input): Print the integer
373 values from `eval-expression-print-format' at the end.
375 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
377 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
378 2013-12-11T19:01:44Z!tzz@lifelogs.com.
380 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
382 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
383 (hl-line-highlight, global-hl-line-highlight): Use it.
384 (hl-line-overlay): Use defvar-local.
386 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
388 * term/ns-win.el: Require dnd.
389 (global-map): Remove drag items.
390 (ns-insert-text, ns-set-foreground-at-mouse)
391 (ns-set-background-at-mouse):
392 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
393 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
396 2013-12-19 Glenn Morris <rgm@gnu.org>
398 * emacs-lisp/ert.el (ert-select-tests):
399 Fix string/symbol mixup. (Bug#16121)
401 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
403 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
404 keywords to their parent.
406 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
408 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
409 first arg to be a string (fixed dead code), or an operator symbol.
410 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
412 (ruby-smie-rules): Remove parent token check in the `.' clause, it
413 did nothing. Don't respond to `(:after ".")', it will be called
414 with :before anyway. Remove the ` @ ' rule, it didn't seem to
415 change anything. Only return indentation for binary operators
416 when they are hanging. De-dent opening paren when its parent is
417 `.', otherwise it looks bad when the dot is not at bol or eol
420 2013-12-19 Juri Linkov <juri@jurta.org>
422 * replace.el (query-replace-read-args): Split a non-negative arg
423 and a negative arg into separate elements.
424 (query-replace, query-replace-regexp, replace-string)
425 (replace-regexp): Add arg `backward'. Doc fix.
426 (replace-match-maybe-edit): When new arg `backward' is non-nil,
427 move point to the beginning of the match.
428 (replace-search, replace-highlight): Use new arg `backward'
429 to set the value of `isearch-forward'.
430 (perform-replace): Add arg `backward' and use it to perform
431 replacement backward. (Bug#14979)
433 * isearch.el (isearch-query-replace): Use a negative prefix arg
434 to call `perform-replace' with a non-nil arg `backward'.
436 2013-12-18 Juri Linkov <juri@jurta.org>
438 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
439 to the default list. Move `log-edit-show-files' to the end.
440 Add more available functions to options.
441 (log-edit): Move default specific settings to
442 `log-edit-insert-message-template'. Don't move point.
443 (log-edit-insert-message-template): New function.
444 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
447 2013-12-18 Juri Linkov <juri@jurta.org>
449 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
450 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
452 2013-12-18 Leo Liu <sdl.web@gmail.com>
454 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
456 2013-12-18 Eli Zaretskii <eliz@gnu.org>
458 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
459 formats for displaying file sizes when the -s switch is given.
460 Instead, compute a separate format for displaying the size in
461 blocks, which is displayed in addition to the "regular" size.
462 When -h is given in addition to -s, produce size in blocks in
463 human-readable form as well. (Bug#16179)
465 2013-12-18 Tassilo Horn <tsdh@gnu.org>
467 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
468 Reference tables with ~\ref{...} instead of only \ref{...}.
470 2013-12-18 Chong Yidong <cyd@gnu.org>
472 * cus-edit.el (custom-magic-alist): Fix "themed" description
475 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
476 is non-nil, do not create a new entry in the symbol's theme-value
477 or theme-face property; update theme-settings only (Bug#14664).
478 (custom-available-themes): Doc fix.
480 * cus-theme.el (custom-new-theme-mode-map): Add bindings
483 * replace.el (occur-engine): Avoid infloop (Bug#7593).
485 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
487 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
490 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
492 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
494 2013-12-18 Glenn Morris <rgm@gnu.org>
496 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
497 * cus-start.el (load-prefer-newer): New option.
499 2013-12-18 Le Wang <l26wang@gmail.com>
501 * comint.el (comint-previous-matching-input-from-input):
502 Retain point (Bug#13404).
504 2013-12-18 Chong Yidong <cyd@gnu.org>
506 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
508 2013-12-18 Glenn Morris <rgm@gnu.org>
510 * mail/emacsbug.el (report-emacs-bug):
511 Only mention enable-multibyte-characters if non-standard.
513 2013-12-17 Juri Linkov <juri@jurta.org>
515 * arc-mode.el (archive-extract-by-file): Check if directory exists
516 before deletion to not show irrelevant errors if it doesn't exist.
518 2013-12-17 Juri Linkov <juri@jurta.org>
520 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
523 * net/eww.el (browse-web): Add alias to `eww'.
524 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
525 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
527 * net/browse-url.el (browse-url-browser-function): Move `eww'
528 closer to similar functions.
530 * startup.el (fancy-startup-screen, fancy-about-screen):
531 Set browse-url-browser-function to eww-browse-url locally.
534 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
536 * window.el (window--pixel-to-total): Remove unused `mini' var.
537 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
538 (split-window): Remove unused `new' var.
539 (window--display-buffer): Remove unused `frame' and `delta' vars.
540 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
543 2013-12-17 Martin Rudalics <rudalics@gmx.at>
545 * dired.el (dired-mark-pop-up):
546 * register.el (register-preview): Don't bind
547 split-height-threshold here since it's now done in
548 display-buffer-below-selected.
550 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
552 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
553 xterm-rgb-convert-to-16bit.
554 (rxvt-register-default-colors): Standardize with
555 xterm-register-default-colors (Bug#14078).
557 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
559 * simple.el (kill-region): Pass mark first, then point, so that
560 kill-append works right (Bug#12819).
561 (copy-region-as-kill, kill-ring-save): Likewise.
563 2013-12-17 Leo Liu <sdl.web@gmail.com>
565 * net/rcirc.el (rcirc-add-face):
566 * eshell/em-prompt.el (eshell-emit-prompt):
567 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
570 2013-12-17 Chong Yidong <cyd@gnu.org>
572 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
573 Suggested by Xue Fuqiao.
575 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
577 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
579 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
581 * net/shr.el (shr-insert-document): Remove unused var
582 `shr-preliminary-table-render'.
583 (shr-rescale-image): Remove unused arg `force'.
584 (shr-put-image): Update calls accordingly.
585 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
587 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
589 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
590 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
591 :close-all, to see which indentation method to use (Bug#16116).
592 (smie-rules-function): Document the method :close-all.
594 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
596 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
598 * net/eww.el (eww-display-html): If we can't find the anchor we're
599 looking for, then go to point-min.
601 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
603 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
604 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
605 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
606 Expand dir too, in case it's relative.
608 2013-12-16 Juri Linkov <juri@jurta.org>
610 * desktop.el (desktop-auto-save-timeout): Change default to
611 `auto-save-timeout'. Doc fix.
612 (desktop-save): Skip the timestamp in desktop-saved-frameset
613 when checking for auto-save changes.
614 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
615 `desktop-auto-save' is called repeatedly by the idle timer.
616 (desktop-auto-save-set-timer): Replace `run-with-timer' with
617 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
620 2013-12-16 Juri Linkov <juri@jurta.org>
622 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
624 (isearch-pre-command-hook): Check `this-command' for symbolp.
626 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
628 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
630 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
632 * progmodes/cfengine.el (cfengine3--current-word): Remove.
633 (cfengine3--current-function): Bring in the current-function
634 functionality from `cfengine3--current-word'.
635 (cfengine3-completion-function): Bring in the
636 bounds-of-current-word functionality from
637 `cfengine3--current-word'.
639 2013-12-16 Martin Rudalics <rudalics@gmx.at>
641 * window.el (display-buffer-below-selected):
642 Bind split-height-threshold to 0 as suggested by Juri Linkov.
644 2013-12-16 Leo Liu <sdl.web@gmail.com>
646 * progmodes/compile.el (compile-goto-error): Do not push-mark.
647 Remove NOMSG arg and all uses changed.
649 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
651 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
652 (cua--deactivate-rectangle): Don't deactivate the mark.
653 (cua-set-rectangle-mark): Don't set mark-active since
654 cua--activate-rectangle already does it for us.
655 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
656 non-rectangular region.
658 * emulation/cua-base.el (cua-repeat-replace-region):
659 Use with-current-buffer.
661 * net/gnutls.el: Use cl-lib.
662 (gnutls-negotiate): `mapcan' -> cl-mapcan.
664 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
666 * emacs-lisp/package.el (package-built-in-p): Support both
667 built-in and the package.el converted package descriptions.
668 (package-show-package-list): Allow keywords.
669 (package-keyword-button-action): Use it instead of
670 `finder-list-matches'.
671 (package-menu-filter-interactive): Interactive filtering (by
673 (package-menu--generate): Support keywords and change keymappings
674 and headers when they are given.
675 (package--has-keyword-p): Helper function.
676 (package-menu--refresh): Use it.
677 (package--mapc): Helper function.
678 (package-all-keywords): Use it.
679 (package-menu-mode-map): Set up menu items and keybindings to
680 provide a filtering UI.
682 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
684 * net/gnutls.el (gnutls-verify-error): New defcustom to control
685 the behavior when a certificate fails validation. Defaults to
686 old behavior: never abort, just warn.
687 (gnutls-negotiate): Use it.
689 2013-12-14 Martin Rudalics <rudalics@gmx.at>
691 * window.el (display-buffer-below-selected): Never split window
692 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
694 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
696 * emacs-lisp/package.el (package--prepare-dependencies): New function.
697 (package-buffer-info): Use it (bug#15108).
699 * icomplete.el (icomplete-completions): Make sure the prefix is already
700 displayed elsewhere before hiding it.
702 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
704 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
705 open-paren tokens when preceded by a open-paren, too.
706 (ruby-smie-rules): Handle virtual indentation after open-paren
707 tokens specially. If there is code between it and eol, return the
708 column where is starts (Bug#16118).
710 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
712 * progmodes/cfengine.el: Fix `add-hook' doc.
713 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
714 (cfengine3--current-word): Fix parameters.
715 (cfengine3-make-syntax-cache): Simplify further.
716 (cfengine3-completion-function, cfengine3--current-function):
717 Use `assq' for symbols.
718 (cfengine3--current-function): Fix `cfengine3--current-word' call.
720 2013-12-13 Glenn Morris <rgm@gnu.org>
722 * loadup.el (load-path): Warn if site-load or site-init changes it.
723 No more need to reset it when bootstrapping.
725 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
727 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
728 locations for cf-promises.
729 (cfengine-mode-syntax-functions-regex): New caching variable.
730 (cfengine3-fallback-syntax): Fallback syntax for cases where
731 cf-promises doesn't run.
732 (cfengine3--current-word): Reimplement using
733 `cfengine-mode-syntax-functions-regex'.
734 (cfengine3-completion-function, cfengine3--current-function):
735 Use `cfengine3-make-syntax-cache' directly.
736 (cfengine3-clear-syntax-cache): New function.
737 (cfengine3-make-syntax-cache): Simplify and create
738 `cfengine-mode-syntax-functions-regex' on demand.
739 (cfengine3-format-function-docstring): Don't call
740 `cfengine3-make-syntax-cache' explicitly.
742 2013-12-13 Martin Rudalics <rudalics@gmx.at>
744 Fix windmove-find-other-window broken after pixelwise resizing
746 * windmove.el (windmove-other-window-loc): Revert change from
748 (windmove-find-other-window): Call window-in-direction.
749 * window.el (window-in-direction): New arguments SIGN, WRAP and
750 MINI to emulate original windmove-find-other-window behavior.
752 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
754 * simple.el (blink-matching--overlay): New variable.
755 (blink-matching-open): Instead of moving point, highlight the
756 matching paren with an overlay
757 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
759 * faces.el (paren-showing-faces, show-paren-match)
760 (show-paren-mismatch): Move from paren.el.
762 2013-12-13 Leo Liu <sdl.web@gmail.com>
764 * indent.el (indent-region): Disable progress reporter in
765 minibuffer. (Bug#16108)
767 * bindings.el (visual-order-cursor-movement): Fix version.
769 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
771 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
772 Also match after beginning of line.
773 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
774 files. Thanks to Russell Sim. (Bug#15378)
776 2013-12-13 Juri Linkov <juri@jurta.org>
778 * simple.el <Keypad support>: Remove key bindings duplicated
779 with bindings.el. (Bug#14397)
781 2013-12-13 Juri Linkov <juri@jurta.org>
783 * comint.el (comint-mode-map): Replace `delete-char' with
784 `delete-forward-char'. (Bug#16109)
786 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
788 * progmodes/python.el (python-indent-calculate-indentation):
789 Fix de-denters cornercase. (Bug#15731)
791 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
793 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
794 (advice--make): Pay attention to `depth'.
795 (advice--make-1): Don't autoload commands eagerly.
796 * emacs-lisp/elp.el (elp-instrument-function):
797 * emacs-lisp/trace.el (trace-function-internal):
798 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
800 * iswitchb.el (iswitchb-mode): Don't belittle ido.
802 2013-12-12 Eli Zaretskii <eliz@gnu.org>
804 * term/w32-win.el (w32-handle-dropped-file):
805 * startup.el (normal-top-level):
806 * net/browse-url.el (browse-url-file-url):
807 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
808 decode file names using 'utf-8' rather than
809 file-name-coding-system.
811 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
813 * progmodes/python.el (python-indent-context)
814 (python-indent-calculate-indentation): Fix auto-identation
815 behavior for comment blocks. (Bug#15916)
817 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
819 * progmodes/python.el (python-indent-calculate-indentation):
820 When determining indentation, don't treat "return", "pass", etc., as
821 operators when they are just string constituents. (Bug#15812)
823 2013-12-12 Juri Linkov <juri@jurta.org>
825 * uniquify.el (uniquify-buffer-name-style): Change default to
826 `post-forward-angle-brackets'.
828 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
829 `uniquify'. Change default to `post-forward-angle-brackets'.
831 2013-12-11 Glenn Morris <rgm@gnu.org>
833 * emacs-lisp/package.el (finder-list-matches):
834 Autoload rather than falsely declaring.
836 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
838 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
839 (eww-mode-map): Use them.
841 2013-12-11 Martin Rudalics <rudalics@gmx.at>
843 * window.el (display-buffer-in-side-window): Fix doc-string
846 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
848 * vc/vc-git.el: Silence byte-compiler warnings.
849 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
850 (log-edit-set-header): Declare.
852 2013-12-11 Eli Zaretskii <eliz@gnu.org>
854 * Makefile.in (custom-deps, finder-data): Run output file names
855 through unmsys--file-name. (Bug#16099)
857 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
859 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
860 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
862 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
863 instead of deleting the selection "by hand" (bug#16098).
864 Rely on insert-for-yank to yank rectangles.
865 (cua-highlight-region-shift-only): Mark obsolete.
866 (cua-mode): Don't enable/disable transient-mark-mode,
867 shift-select-mode (cua-mode works both with and without them), and
868 pc-selection-mode (obsolete).
869 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
870 (cua--deactivate-rectangle): Deactivate it.
872 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
873 (delete-selection-helper): Make sure yank starts at the top of the
875 (minibuffer-keyboard-quit): Use region-active-p.
877 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
879 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
880 to `delete' (bug#16109).
882 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
884 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
885 info manual and show keybindings and set `:group' keyword.
887 2013-12-11 Juri Linkov <juri@jurta.org>
889 * delsel.el (delete-active-region): Let-bind `this-command'
890 to prevent `kill-region' from changing its original value.
891 (delete-selection-helper): Handle `overwrite-mode' for the type
892 `kill' exactly the same way as for the type `t'.
893 (insert-char, quoted-insert, reindent-then-newline-and-indent):
894 Support more commands. (Bug#13312)
896 2013-12-11 Juri Linkov <juri@jurta.org>
898 * bindings.el: Map kp keys to non-kp keys systematically
899 with basic modifiers control, meta and shift. (Bug#14397)
901 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
903 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
904 "Close browser" menu items. Fix wrong function of "List
907 2013-12-11 Juri Linkov <juri@jurta.org>
909 * misearch.el (multi-isearch-buffers): Set the value of
910 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
911 arg of isearch-forward to t.
912 (multi-isearch-buffers-regexp): Set the value of
913 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
914 arg of isearch-forward-regexp to t.
915 (multi-isearch-files): Set the value of
916 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
917 arg of isearch-forward to t.
918 (multi-isearch-files-regexp): Set the value of
919 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
920 arg of isearch-forward-regexp to t. (Bug#16035)
922 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
923 arg of isearch-forward to t.
924 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
925 arg of isearch-forward-regexp to t.
926 (dired-isearch-filter-filenames): Remove unnecessary check for
927 `dired-isearch-filenames'.
929 * comint.el (comint-history-isearch-backward):
930 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
931 (comint-history-isearch-backward-regexp):
932 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
934 2013-12-10 Eli Zaretskii <eliz@gnu.org>
936 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
937 unmsys--file-name. (Bug#16099)
939 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
941 * emacs-lisp/package.el (package-keyword-button-action):
942 Remove finder.el require dependency.
944 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
946 * emacs-lisp/package.el: Require finder.el.
947 (describe-package-1): Add keyword buttons.
948 (package-make-button): New convenience function.
949 (package-keyword-button-action): Keyword button action using
950 `finder-list-matches'.
952 2013-12-09 Eli Zaretskii <eliz@gnu.org>
954 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
957 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
959 * autorevert.el (auto-revert-notify-add-watch): Do not handle
962 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
964 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
965 after the end of a percent literal.
967 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
969 * progmodes/ruby-mode.el (ruby-forward-string): Document.
970 Handle caret-delimited strings (Bug#16079).
972 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
974 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
975 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
976 `ruby-parse-partial' (Bug#16078).
978 2013-12-09 Leo Liu <sdl.web@gmail.com>
980 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
982 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
984 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
985 (js-switch-indent-offset): New option.
986 (js--proper-indentation): Use it. And handle the case when
987 "default" is actually a key in an object literal.
988 (js--same-line): New function.
989 (js--multi-line-declaration-indentation): Use it.
990 (js--indent-in-array-comp, js--array-comp-indentation):
992 (js--proper-indentation): Use them, to handle array comprehension
995 2013-12-08 Leo Liu <sdl.web@gmail.com>
997 * progmodes/flymake.el (flymake-highlight-line): Re-write.
998 (flymake-make-overlay): Remove arg MOUSE-FACE.
999 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1001 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1003 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1005 (redisplay-highlight-region-function): Use it.
1007 * emulation/cua-base.el (cua--explicit-region-start)
1008 (cua--last-region-shifted): Remove.
1009 (cua--deactivate): Use deactivate-mark.
1010 (cua--pre-command-handler-1): Don't handle shift-selection.
1011 (cua--post-command-handler-1): Don't change transient-mark-mode.
1012 (cua--select-keymaps): Use region-active-p rather than
1013 cua--explicit-region-start or cua--last-region-shifted.
1014 (cua-mode): Enable shift-select-mode.
1016 2013-12-08 Leo Liu <sdl.web@gmail.com>
1018 * progmodes/flymake.el (flymake-popup-current-error-menu):
1019 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1020 (flymake-posn-at-point-as-event, flymake-popup-menu)
1021 (flymake-make-emacs-menu): Remove. (Bug#16077)
1023 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1025 * rect.el (rectangle-mark-mode): Activate mark even if
1026 transient-mark-mode is off (bug#16066).
1027 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1028 is > mark and at bolp.
1030 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1031 (region-extract-function): Use it.
1032 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1033 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1035 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1036 kill-ring-save, kill-region, delete-char, delete-forward-char.
1037 Ignore self-insert-iso.
1039 * emulation/cua-gmrk.el (cua--init-global-mark):
1040 Ignore `self-insert-iso'.
1042 * emulation/cua-base.el (cua--prefix-copy-handler)
1043 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1044 checking cua--rectangle.
1045 (cua-delete-region): Use region-extract-function.
1046 (cua-replace-region): Delete function.
1047 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1048 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1049 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1050 (cua--init-keymaps): Don't remap delete-selection commands.
1051 (cua-mode): Use delete-selection-mode instead of rolling our own
1054 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1055 Obey region-extract-function.
1057 Make registers and delete-selection-mode work on rectangles.
1058 * register.el (describe-register-1): Don't modify the register's value.
1059 (copy-to-register): Obey region-extract-function.
1060 * delsel.el (delete-active-region): Obey region-extract-function.
1062 2013-12-08 Leo Liu <sdl.web@gmail.com>
1064 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1065 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1066 (flymake-compilation-prevents-syntax-check)
1067 (flymake-start-syntax-check-on-newline)
1068 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1069 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1070 (flymake-xml-program, flymake-master-file-dirs)
1071 (flymake-master-file-count-limit)
1072 (flymake-allowed-file-name-masks): Relocate.
1073 (flymake-makehash, flymake-float-time)
1074 (flymake-replace-regexp-in-string, flymake-split-string)
1075 (flymake-get-temp-dir): Remove.
1076 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1077 (flymake-current-row, flymake-selected-frame)
1078 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1079 related functions. (Bug#16077)
1081 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1083 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1085 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1087 * help-fns.el (describe-function-1): Use new advice-* functions
1088 rather than old ad-* functions. Fix function type description and
1089 source links for advised functions and subrs.
1091 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1093 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1095 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1097 * progmodes/compile.el (compilation-start):
1098 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1100 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1101 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1103 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1105 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1106 Touch up the last change.
1108 2013-12-06 Leo Liu <sdl.web@gmail.com>
1110 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1111 (inferior-octave-startup): Always use "octave> " for prompt.
1112 (octave-goto-function-definition)
1113 (octave-sync-function-file-names)
1114 (octave-find-definition-default-filename): Remove redundant backquotes.
1116 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1118 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1120 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1121 where appropriate already.
1122 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1123 end of method names (Bug#15874).
1125 2013-12-06 Juri Linkov <juri@jurta.org>
1127 * isearch.el (isearch--saved-overriding-local-map):
1128 New internal variable.
1129 (isearch-mode): Set it to the initial value of
1130 `overriding-terminal-local-map'.
1131 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1132 with `isearch--saved-overriding-local-map'. (Bug#16035)
1134 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1136 * progmodes/octave.el (inferior-octave-completion-table):
1137 Turn back into function, use `completion-table-with-cache'
1138 (Bug#11906). Update all references.
1140 * minibuffer.el (completion-table-with-cache): New function.
1142 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1144 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1146 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1148 * net/eww.el (eww-current-source): New variable to store page
1150 (eww-display-html, eww-mode, eww-save-history)
1151 (eww-restore-history): Use it.
1152 (eww-view-source): New command to view page source.
1153 Opportunistically uses `html-mode' to highlight the buffer.
1154 (eww-mode-map): Install it.
1156 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1158 * net/dbus.el (dbus-unregister-service)
1159 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1161 (dbus-unregister-service): Skip :serial entries in
1162 `dbus-registered-objects-table'.
1163 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1165 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1167 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1168 around keywords with extra `split-string' argument.
1170 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1172 * windmove.el (windmove-other-window-loc): Handle navigation
1173 between windows (excluding the minibuffer window - Bug#16017).
1175 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1177 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1178 in D-Bus type syntax.
1179 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1180 preserve unibyte strings. (Bug#16048)
1182 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1184 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1185 Call force-mode-line-update is the proper buffer (bug#16042).
1187 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1189 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1190 `log-edit-remember-comment', make argument optional. Adjust all
1192 (log-edit-mode): Add `log-edit-remember-comment' to
1193 `kill-buffer-hook' locally.
1194 (log-edit-kill-buffer): Don't remember comment explicitly since
1195 the buffer is killed anyway.
1197 2013-12-04 Juri Linkov <juri@jurta.org>
1199 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1200 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1202 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1204 * notifications.el (notifications-close-notification): Call the
1205 D-Bus method with ID being a `:uint32'. (Bug#16030)
1207 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1209 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1211 2013-12-03 Juri Linkov <juri@jurta.org>
1213 * progmodes/compile.el (compilation-start): Rename window alist
1214 entry `no-display-ok' to `allow-no-window'.
1216 * simple.el (shell-command): Add window alist entry
1217 `allow-no-window' to `display-buffer'.
1218 (async-shell-command): Doc fix.
1220 * window.el (display-buffer-no-window): New action function.
1221 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1223 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1225 * vc/log-edit.el (log-edit-set-header): Extract from
1226 `log-edit-toggle-header'.
1227 (log-edit-extract-headers): Separate the summary, when extracted
1228 from header, from the rest of the message with an empty line.
1230 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1231 line, if present, to the Summary header.
1233 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1235 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1236 in current-buffer (bug#16029).
1238 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1240 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1241 (debugger-mode-map): Bind it.
1242 (debugger--backtrace-base): New function.
1243 (debugger-eval-expression): Use it.
1244 (debugger-frame-number): Skip local vars when present.
1245 (debugger--locals-visible-p, debugger--insert-locals)
1246 (debugger--show-locals, debugger--hide-locals): New functions.
1248 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1250 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1252 (tramp-get-remote-locale): New defun.
1253 (tramp-open-connection-setup-interactive-shell): Use it.
1255 2013-12-02 Leo Liu <sdl.web@gmail.com>
1257 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1259 * progmodes/sh-script.el (sh-shell-process):
1260 * progmodes/octave.el (inferior-octave-process-live-p):
1261 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1262 (gdb-inferior-io-sentinel):
1263 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1265 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1267 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1268 `save-selected-window' to `log-edit-hide-buf'. This makes
1269 `log-edit-show-files' idempotent.
1270 (log-edit-show-files): Mark the new window as dedicated.
1272 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1274 * vc/log-edit.el (log-edit-mode-map): Add binding for
1275 `log-edit-kill-biffer'.
1276 (log-edit-hide-buf): Add a FIXME comment.
1277 (log-edit-add-new-comment): New function, extracted from
1279 (log-edit-done, log-edit-add-to-changelog): Use it.
1280 (log-edit-kill-buffer): New command.
1282 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1284 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1285 instead of killing the buffer.
1287 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1289 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1291 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1293 * net/eww.el (eww-form-checkbox-selected-symbol)
1294 (eww-form-checkbox-symbol): New customizable variable.
1295 (eww-form-checkbox, eww-toggle-checkbox):
1296 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1298 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1299 (shr--get-media-pref, shr--extract-best-source): New function.
1300 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1301 no :src tag was specified.
1303 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1304 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1305 Use \\` to match beginning of string instead of ^.
1306 (eww-browse-with-external-browser): Provide optional URL parameter.
1307 (eww-render): Set `eww-current-title' back to "".
1309 * net/shr.el (shr-tag-video): Display content for video if no
1310 poster is available.
1311 (shr-tag-audio): Add support for <audio> tag.
1313 * net/eww.el (eww-text-input-types): New const.
1314 (eww-process-text-input): Treat input types in
1315 `eww-text-input-types' as text.
1317 * net/shr.el (shr-tag-table): Fix comment typo.
1319 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1321 * net/eww.el (eww-follow-link): New command to avoid reloading
1322 pages when we follow #target links (bug#15243).
1323 (eww-quit): Special mode buffers shouldn't query before exiting.
1325 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1327 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1330 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1332 * net/eww.el (eww-restore-history): Update the window title after
1333 moving in the history.
1334 (eww-current-dom): New variable used to save the current DOM.
1336 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1338 * vc/log-edit.el (log-edit-mode-map): Add binding for
1339 `log-edit-beginning-of-line'.
1340 (log-edit-setup-add-author): New user option.
1341 (log-edit-beginning-of-line): New command.
1342 (log-edit): Move major mode call above the contents setup so that
1343 the local variable values are already applied.
1344 (log-edit): Only insert "Author: " when
1345 `log-edit-setup-add-author' is non-nil.
1346 (log-edit): When SETUP is non-nil, position point after ": "
1347 instead of point-min.
1349 2013-12-01 Glenn Morris <rgm@gnu.org>
1351 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1353 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1355 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1356 redisplay to make sure the initial frame gets a chance to become
1357 visible. (Bug#16014)
1359 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1361 Support resizing frames and windows pixelwise.
1362 * cus-start.el (frame-resize-pixelwise)
1363 (window-resize-pixelwise): New entries.
1364 * emacs-lisp/debug.el (debug): Use window-total-height instead
1365 of window-total-size.
1366 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1367 * help.el (describe-bindings-internal): Call help-buffer
1368 (temp-buffer-max-width): New option.
1369 (resize-temp-buffer-window, help-window-setup)
1370 (with-help-window): Rewrite.
1371 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1373 * window.el (frame-char-size, window-min-pixel-height)
1374 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1375 (window-min-pixel-width, window-safe-min-pixel-size)
1376 (window-combination-p, window-safe-min-size)
1377 (window-resizable-p, window--size-to-pixel)
1378 (window--pixel-to-size, window--resize-apply-p): New functions.
1379 (window-safe-min-height): Fix doc-string.
1380 (window-size, window-min-size, window--min-size-1)
1381 (window-sizable, window-sizable-p, window--min-delta-1)
1382 (window-min-delta, window--max-delta-1, window-max-delta)
1383 (window--resizable, window--resizable-p, window-resizable)
1384 (window-full-height-p, window-full-width-p, window-at-side-p)
1385 (window--in-direction-2, window-in-direction)
1386 (window--resize-reset-1, window--resize-mini-window)
1387 (window-resize, window-resize-no-error)
1388 (window--resize-child-windows-normal)
1389 (window--resize-child-windows, window--resize-siblings)
1390 (window--resize-this-window, window--resize-root-window)
1391 (window--resize-root-window-vertically)
1392 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1393 (maximize-window, minimize-window, delete-window)
1394 (quit-restore-window, window-split-min-size, split-window)
1395 (balance-windows-2, balance-windows)
1396 (balance-windows-area-adjust, balance-windows-area)
1397 (window--state-get-1, window-state-get, window--state-put-1)
1398 (window--state-put-2, window-state-put)
1399 (display-buffer-record-window, window--display-buffer):
1400 Make functions handle pixelwise sizing of windows.
1401 (display-buffer--action-function-custom-type)
1402 (display-buffer-fallback-action):
1403 Add display-buffer-in-previous-window.
1404 (display-buffer-use-some-window): Resize window to height it had
1406 (fit-window-to-buffer-horizontally): New option.
1407 (fit-frame-to-buffer): Describe new values.
1408 (fit-frame-to-buffer-bottom-margin): Replace with
1409 fit-frame-to-buffer-margins.
1410 (window--sanitize-margin): New function.
1411 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1412 using window-text-pixel-size.
1414 2013-11-30 Glenn Morris <rgm@gnu.org>
1416 * emacs-lisp/bytecomp.el (byte-compile-form):
1417 Make the `interactive-only' warning like the `obsolete' one.
1418 * comint.el (comint-run):
1419 * files.el (insert-file-literally, insert-file):
1420 * replace.el (replace-string, replace-regexp):
1421 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1422 (goto-line, insert-buffer, next-line, previous-line):
1423 Tweak `interactive-only' spec.
1425 Stop keeping (most) generated cedet grammar files in the repository.
1426 * Makefile.in (semantic): New.
1427 (compile-main): Depend on semantic.
1429 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1431 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1432 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1434 * uniquify.el (uniquify-buffer-name-style): Change default.
1436 * loadup.el: Preload "uniquify".
1438 * time.el (display-time-update): Update all mode lines (bug#15999).
1440 * electric.el (electric-indent-mode): Enable by default.
1441 * loadup.el: Preload "electric".
1443 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1445 * emacs-lisp/helpers.el (string-empty-p): New function.
1446 (string-blank-p): New function.
1448 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1450 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1453 2013-11-29 Andreas Politz <politza@fh-trier.de>
1454 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1455 allow non-lambda lists as functions.
1456 (imenu--in-alist): Don't recurse into non-subalists.
1457 (imenu): Don't pass function itself as an argument (Bug#14029).
1459 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1461 * progmodes/python.el (python-mode-map): Remove binding for ":".
1462 (python-indent-electric-colon): Remove command.
1463 (python-indent-post-self-insert-function): Integrate the previous code
1464 of python-indent-electric-colon. Make it conditional on
1465 electric-indent-mode.
1466 (python-mode): Add ?: to electric-indent-chars.
1467 Move python-indent-post-self-insert-function to the end of
1468 post-self-insert-hook.
1470 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1472 * doc-view.el (doc-view-goto-page): Update mode-line.
1474 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1476 2013-11-27 Glenn Morris <rgm@gnu.org>
1478 * international/charprop.el, international/uni-bidi.el:
1479 * international/uni-category.el, international/uni-combining.el:
1480 * international/uni-comment.el, international/uni-decimal.el:
1481 * international/uni-decomposition.el, international/uni-digit.el:
1482 * international/uni-lowercase.el, international/uni-mirrored.el:
1483 * international/uni-name.el, international/uni-numeric.el:
1484 * international/uni-old-name.el, international/uni-titlecase.el:
1485 * international/uni-uppercase.el:
1486 Remove generated files from VCS repository.
1488 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1490 * filenotify.el (file-notify-add-watch): Don't special-case
1491 w32notify when computing the directory to watch.
1493 2013-11-27 Glenn Morris <rgm@gnu.org>
1495 Make bootstrap without generated uni-*.el files possible again.
1496 * loadup.el: Update command-line-args checking for unidata-gen.
1497 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1498 * composite.el, international/characters.el:
1499 Handle unicode tables being undefined.
1501 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1502 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1503 (compile-main): Depend on leim rule.
1505 * loadup.el: Move leim-list.el to leim/ subdirectory.
1506 * startup.el (normal-top-level): No more leim directory.
1507 * international/ja-dic-cnv.el (skkdic-convert):
1508 Disable version-control and autoloads in output files.
1509 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1510 Disable version-control and autoloads in output files.
1511 * leim/quail: Move here from ../leim.
1512 * leim/quail/hangul.el (hangul-input-method-activate):
1513 Add autoload cookie.
1514 (generated-autoload-load-name): Set file-local value.
1515 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1516 (generated-autoload-load-name): Set file-local value.
1518 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1520 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1521 (eww-add-bookmark): Ask confirmation when add to bookmarks
1522 (eww-quit): Ask confirmation before quitting eww.
1524 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1526 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1527 reading output from Diff on MS-Windows and MS-DOS.
1529 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1531 * emacs-lisp/helpers.el (string-reverse): New function.
1533 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1535 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1536 names on MS Windows, like "/[::1]:".
1538 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1541 2013-11-26 Glenn Morris <rgm@gnu.org>
1543 * progmodes/python.el (python-indent-guess-indent-offset):
1544 Avoid corner-case error. (Bug#15975)
1546 Preload leim-list.el. (Bug#4789)
1547 * loadup.el: Load leim-list.el when found.
1548 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1550 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1552 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1554 * emacs-lisp/helpers.el (string-join): New function.
1556 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1558 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1559 Mark as obsolete and replace it with a symbol property.
1560 (byte-compile-form): Use new 'interactive-only property.
1561 * comint.el, files.el, replace.el, simple.el:
1562 Apply new 'interactive-only properly.
1564 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1566 * window.el (display-buffer-at-bottom): Make sure that
1567 split-window-sensibly creates the new window on bottom
1570 2013-11-23 David Kastrup <dak@gnu.org>
1572 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1573 on the conflict markers when available.
1574 (smerge--get-marker): New function.
1575 (smerge-end-re, smerge-base-re): Add subgroup.
1577 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1579 * frame.el (handle-focus-in, handle-focus-out): Add missing
1582 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1584 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1585 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1587 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1589 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1590 (gomoku--last-pos): New var.
1591 (gomoku--intangible-chars): New const.
1592 (gomoku--intangible): New function.
1593 (gomoku-mode): Use it. Derive from special-mode.
1594 (gomoku-move-up): Adjust line count.
1595 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1596 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1597 Simplify accordingly.
1599 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1600 Remove blink-cursor code.
1601 (blink-cursor-timer-function, blink-cursor-suspend):
1602 Don't special-case GUIs.
1603 (blink-cursor-mode): Use focus-in/out-hook.
1605 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1607 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1608 work when annotation is invisible (Bug#13886).
1610 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1612 * json.el (json-alist-p): Only return non-nil if the alist has
1613 simple keys (Bug#13518).
1615 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1617 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1618 when control-statement is the first statement in a buffer (Bug#15956).
1620 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1622 * imenu.el (imenu-generic-skip-comments-and-strings):
1623 New option (Bug#15560).
1624 (imenu--generic-function): Use it.
1626 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1628 * minibuffer.el (completion--in-region-1): Scroll the correct
1631 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1633 * emacs-lisp/helpers.el: Add some string helpers.
1634 (string-trim-left): Removes leading whitespace.
1635 (string-trim-right): Removes trailing whitespace.
1636 (string-trim): Removes leading and trailing whitespace.
1638 * subr.el (string-suffix-p): New function.
1640 2013-11-23 Glenn Morris <rgm@gnu.org>
1642 * progmodes/python.el (python-shell-send-file):
1643 Add option to delete file when done. (Bug#15647)
1644 (python-shell-send-string, python-shell-send-region): Use it.
1646 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1648 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1649 to set buffer-read-only to t, never to nil. (Bug#15938)
1651 * textmodes/tex-mode.el (latex-noindent-environments):
1652 Add safe-local-variable property. (Bug#15936)
1654 2013-11-23 Glenn Morris <rgm@gnu.org>
1656 * textmodes/enriched.el (enriched-mode): Doc fix.
1657 * emacs-lisp/authors.el (authors-renamed-files-alist):
1658 Add enriched.doc -> enriched.txt.
1660 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1662 2013-11-22 Leo Liu <sdl.web@gmail.com>
1664 * progmodes/octave.el (inferior-octave-startup): Spit out error
1667 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1669 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1672 (ruby-encoding-magic-comment-style): Add :version.
1674 2013-11-22 Leo Liu <sdl.web@gmail.com>
1676 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1678 (octave-help-mode): Adapt to change to help-mode-finish to use
1679 derived-mode-p on 2013-09-17.
1680 (inferior-octave-prompt): Also match octave-gui.
1681 (octave-kill-process): Don't ask twice. (Bug#10564)
1683 2013-11-22 Leo Liu <sdl.web@gmail.com>
1685 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1686 (inferior-octave-startup, inferior-octave-check-process)
1687 (inferior-octave-track-window-width-change)
1688 (octave-completion-at-point, octave-eldoc-function): Use it.
1689 (octave-kill-process): Provide confirmation. (Bug#10564)
1691 2013-11-21 Leo Liu <sdl.web@gmail.com>
1693 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1694 Fix obsolete variable comment-use-global-state.
1696 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1698 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1699 Add `octave-source-file'.
1700 (octave-source-file): New function. (Bug#15935)
1702 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1704 * net/eww.el (eww-local-regex): New variable.
1705 (eww): Use it to detect localhost and similar.
1707 2013-11-21 Leo Liu <sdl.web@gmail.com>
1709 Add completion for command `ag'.
1710 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1711 (pcomplete/ag): New function.
1712 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1714 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1716 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1718 (make-obsolete): Remove interactive spec.
1720 2013-11-21 Glenn Morris <rgm@gnu.org>
1722 * startup.el (command-line-1): Use path-separator with -L.
1724 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1726 * emacs-lisp/package.el (describe-package-1): Add package archive
1729 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1731 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1732 Change default to "# encoding: %s" to differentiate it from the
1733 default Ruby encoding comment template.
1735 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1737 * ses.el (ses-mode): Doc fix. (Bug#14748)
1739 2013-11-20 Leo Liu <sdl.web@gmail.com>
1741 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1743 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1745 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1746 when rebase or bisect are in progress.
1748 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1750 * filenotify.el (file-notify-add-watch): Doc fix.
1752 2013-11-19 Leo Liu <sdl.web@gmail.com>
1754 * obsolete/rcompile.el: Mark obsolete.
1756 * progmodes/compile.el (compilation-start)
1757 (compilation-goto-locus, compilation-find-file):
1758 Pass no-display-ok and handle nil value from display-buffer.
1761 * window.el (display-buffer-alist, display-buffer): Document the
1762 new parameter no-display-ok. Return either a window or nil
1763 but never a non-window value.
1765 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1767 * electric.el (electric-indent-mode-map): Remove.
1768 (electric-indent-mode): Change the global-map instead (bug#15915).
1770 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1773 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1775 * emacs-lisp/nadvice.el (remove-function): Align with
1776 add-function's behavior.
1778 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1779 (gdb--string-regexp): New constant.
1780 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1781 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1782 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1784 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1785 Adjust use accordingly.
1786 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1788 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1790 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1791 interpolation curlies (Bug#15914).
1793 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1795 * calc/calc.el (calc-context-sensitive-enter): New variable.
1796 (calc-enter): Use `calc-context-sensitive-enter'.
1798 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1800 * progmodes/cfengine.el: Version bump.
1801 (cfengine-cf-promises): New defcustom to locate cf-promises.
1802 (cfengine3-vartypes): Add new "data" type.
1803 (cfengine3--current-word): New function to get current name-like
1805 (cfengine3--current-function): New function to look up a CFEngine
1806 function's definition.
1807 (cfengine3-format-function-docstring): New function.
1808 (cfengine3-make-syntax-cache): New function.
1809 (cfengine3-documentation-function): New function: ElDoc glue.
1810 (cfengine3-completion-function): New function: completion glue.
1811 (cfengine3-mode): Set `compile-command',
1812 `eldoc-documentation-function', and add to
1813 `completion-at-point-functions'.
1815 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1817 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1818 `tramp-current-connection'.
1820 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1822 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1823 nil/self/true/false with "end of symbol".
1825 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1827 * subr.el (version-regexp-alist): Fix a typo.
1829 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1831 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1832 "en_US.utf8" and "LC_CTYPE" to "".
1833 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1834 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1836 2013-11-15 Leo Liu <sdl.web@gmail.com>
1838 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1840 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1842 * progmodes/gud.el (ctl-x-map):
1843 Remove C-x SPC binding. (Bug#12342)
1844 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1846 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1848 * subr.el (version-regexp-alist):
1849 Recognize hg, svn and darcs versions as snapshot versions.
1851 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1852 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1853 (ruby--encoding-comment-required-p): Extract from
1854 `ruby-mode-set-encoding'.
1855 (ruby-mode-set-encoding): Add the ability to always insert an
1856 utf-8 encoding comment. Fix and simplify coding comment update
1859 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1861 * net/tramp-gvfs.el (top): Run init code only when
1862 `tramp-gvfs-enabled' is not nil.
1863 (tramp-gvfs-enabled): Check also :system bus.
1865 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1867 Sync with upstream verilog-mode revision 78e66ba.
1868 * progmodes/verilog-mode.el (verilog-end-of-defun)
1869 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1870 (verilog-get-end-of-defun): Remove unused argument.
1871 (verilog-comment-depth): Remove unused local `e'.
1872 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1873 Don't pass arg to verilog-get-end-of-defun.
1875 2013-11-14 Glenn Morris <rgm@gnu.org>
1877 * obsolete/assoc.el (aget): Prefix dynamic variable.
1879 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1881 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1883 * widget.el, hfy-cmap.el: Remove bogus package version number.
1885 2013-11-13 Glenn Morris <rgm@gnu.org>
1887 * replace.el (replace-eval-replacement):
1888 Try to give more helpful error message. (Bug#15836)
1890 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1891 (archive-7z-update): Avoid custom type mismatches.
1893 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1895 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1897 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1898 address can be empty.
1900 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1901 Accept nil SWITCHES.
1902 (tramp-gvfs-handle-write-region): Implement APPEND.
1904 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1906 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1907 binary "|" operator and closing block args delimiter.
1908 Remove FIXME comment referring to Ruby 1.8-only syntax.
1909 (ruby-smie--implicit-semi-p): Not after "|" operator.
1910 (ruby-smie--closing-pipe-p): New function.
1911 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1912 (ruby-smie-rules): Indent after "|".
1914 2013-11-12 Glenn Morris <rgm@gnu.org>
1916 * ps-print.el (ps-face-attribute-list):
1917 Handle anonymous faces. (Bug#15827)
1919 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1921 * window.el (display-buffer-other-frame): Fix doc-string.
1924 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1926 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1928 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1930 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1931 (tramp-sh-handle-file-local-copy): Don't write a message when
1932 saving temporary files.
1934 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1935 both directories are remote.
1936 (tramp-smb-handle-directory-files): Do not return double entries.
1937 Do not expand full file names.
1938 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1939 (tramp-smb-handle-write-region): Implement APPEND.
1940 (tramp-smb-get-stat-capability): Fix a stupid bug.
1942 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1944 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1946 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1948 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1949 throwing error over malformed let/let* (bug#15814).
1951 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1953 * iswitchb.el (iswitchb-mode): Mark obsolete.
1955 2013-11-11 Glenn Morris <rgm@gnu.org>
1957 * international/uni-bidi.el, international/uni-category.el:
1958 * international/uni-name.el, international/uni-numeric.el:
1959 Regenerate for Unicode 6.3.0.
1961 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1963 * net/tramp.el (tramp-methods):
1964 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1965 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1967 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1969 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1970 Force highlighting text after Summary keyword in doc face for rpm.
1972 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1974 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1975 available and the word has no wildcards, append one to the grep pattern.
1976 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1977 (ispell-complete-word): Call `ispell-lookup-words' with the value
1978 independent of `ispell-look-p'.
1980 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1982 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1984 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1987 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1989 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1990 (ruby-font-lock-keywords): Use backquote.
1992 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1994 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1995 (ruby-smie--backward-token): Only consider full-string matches.
1997 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1999 * faces.el (describe-face): Add distant-foreground.
2001 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2003 * progmodes/ruby-mode.el: Improve encoding comment handling.
2004 (ruby-encoding-magic-comment-style): New option.
2005 (ruby-custom-encoding-magic-comment-template): New option.
2006 (ruby--insert-coding-comment, ruby--detect-encoding):
2007 New functions extracted from `ruby-mode-set-encoding'.
2008 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2009 to control the style of the auto-inserted encoding comment.
2011 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2013 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2014 Use `smie-backward-sexp' with token argument.
2016 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2018 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2019 Remove instrumentation code.
2021 2013-11-08 Glenn Morris <rgm@gnu.org>
2023 * progmodes/autoconf.el (autoconf-mode):
2024 Tweak comment-start-skip. (Bug#15822)
2026 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2028 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2029 at bobp (bug#15826).
2030 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2032 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2034 * man.el (Man-start-calling): New macro, extracted from
2035 Man-getpage-in-background.
2036 (Man-getpage-in-background): Use it.
2037 (Man-update-manpage): New command.
2038 (Man-mode-map): Bind it.
2040 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2042 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2043 of "and", "or", "&&" and "||".
2044 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2045 argument. Prohibit opening curly brace because it could only be a
2046 block opener in that position.
2047 (ruby-smie--forward-token, ruby-smie--backward-token):
2048 Separate "|" from "&" or "*" going after it. That can happen in block
2050 (ruby-smie--indent-to-stmt): New function, seeks the end of
2051 previous statement or beginning of buffer.
2052 (ruby-smie-rules): Use it.
2053 (ruby-smie-rules): Check if there's a ":" before a curly block
2054 opener candidate; if there is, it's a hash.
2056 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2058 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2059 (cl--block-wrapper): Fix last accidental change.
2061 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2063 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2064 Instrument, in order to hunt failure on hydra.
2066 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2068 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2069 malformed bindings form (bug#15814).
2071 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2073 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2074 "." compared to " @ ". This incidentally fixes some indentation
2076 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2077 (ruby-smie-grammar): New tokens: "and" and "or".
2078 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2079 Exclude "and" and "or". Remove "do" in order to work around token
2081 (ruby-smie-rules): Add all infix tokens. Handle the case of
2082 beginning-of-buffer.
2084 2013-11-06 Glenn Morris <rgm@gnu.org>
2086 * Makefile.in (setwins_almost, setwins_for_subdirs):
2087 Avoid accidental matches.
2089 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2091 * menu-bar.el (popup-menu): Use key-binding.
2093 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2095 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2096 menus, support also the menus produced by minor modes.
2099 2013-11-06 Leo Liu <sdl.web@gmail.com>
2101 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2102 DISTANCE to bound the search. All uses changed. (Bug#15808)
2104 2013-11-06 Glenn Morris <rgm@gnu.org>
2106 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2107 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2108 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2110 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2112 * electric.el (electric-indent-just-newline): New command.
2113 (electric-indent-mode-map): New keymap.
2114 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2115 Re-add :group which weren't redundant.
2117 * electric.el (electric-indent-local-mode): New minor mode.
2118 (electric-indent-functions-without-reindent): New var.
2119 (electric-indent-post-self-insert-function): Use it.
2120 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2122 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2124 * international/quail.el (quail-help): Be more explicit about the
2125 meaning of the labels shown on the keys. (Bug#15800)
2127 * startup.el (normal-top-level): Load the subdirs.el files before
2128 setting the locale environment. (Bug#15805)
2130 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2132 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2133 via arguments so as to get the right ones (bug#15418).
2135 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2137 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2139 Fix problems found while writing a test suite.
2141 * net/tramp-compat.el (tramp-compat-load): New defun.
2142 * net/tramp.el (tramp-handle-load): Use it.
2144 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2145 "(numberp ok-if-already-exists)" correctly.
2147 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2149 * international/characters.el (glyphless-char-display-control):
2152 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2154 * progmodes/python.el (python-mode):
2155 * progmodes/scheme.el (scheme-mode):
2156 * progmodes/prolog.el (prolog-mode):
2157 * progmodes/ruby-mode.el (ruby-mode):
2158 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2159 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2161 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2163 * rect.el (rectangle--highlight-for-redisplay):
2164 * emacs-lisp/smie.el (smie--next-indent-change):
2165 Use buffer-chars-modified-tick.
2167 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2169 * electric.el (electric-indent-post-self-insert-function):
2170 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2172 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2174 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2176 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2178 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2181 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2183 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2185 * progmodes/python.el: Fix up last change.
2186 (python-shell--save-temp-file): New function.
2187 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2188 `string' comes from the current buffer.
2189 (python-shell-send-string-no-output): Remove `msg' arg.
2190 (python--use-fake-loc): New var.
2191 (python-shell-buffer-substring): Obey it. Try to compensate for the
2192 extra coding line added by python-shell--save-temp-file.
2193 (python-shell-send-region): Use python-shell--save-temp-file and
2194 python-shell-send-file directly. Add `nomain' argument.
2195 (python-shell-send-buffer): Use python-shell-send-region.
2196 (python-electric-pair-string-delimiter): New function.
2197 (python-mode): Use it.
2199 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2201 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2202 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2203 environment and decoding all of the default-directory's to here
2205 (command-line): Decode also argv[0].
2207 * loadup.el: Error out if default-directory is a multibyte string
2208 when we are dumping.
2210 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2212 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2214 * emacs-lisp/package.el (package-menu-mode)
2215 (package-menu--print-info, package-menu--archive-predicate):
2216 Add Archive column to package list.
2218 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2220 Fix problems found while writing a test suite.
2222 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2223 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2224 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2225 to nil when running original file name handler. Otherwise,
2226 there are problems with constructs like "$$FOO".
2228 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2231 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2233 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2235 * subr.el (version<, version<=, version=):
2236 Update docstrings with information for snapshot versions.
2238 * helpers.el: New library for misc helper functions.
2239 (hash-table-keys): New function returning a list of hash keys.
2240 (hash-table-values): New function returning a list of hash values.
2242 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2244 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2245 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2247 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2249 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2250 checking whether point is after a 1-letter word.
2252 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2254 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2255 Don't infloop when expanding region over `multiline' syntax-type that
2256 begins a line (bug#15778).
2258 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2260 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2261 Make it into a proper minor mode.
2262 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2263 (rectangle-mark-mode-map): New keymap.
2264 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2266 2013-11-04 Glenn Morris <rgm@gnu.org>
2268 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2270 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2272 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2273 (ruby-smie-rules): Use smie-rule-parent instead.
2275 * emacs-lisp/smie.el (smie-rule-parent): Always call
2276 smie-indent-virtual rather than only for hanging tokens.
2277 (smie--next-indent-change): New helper command.
2279 2013-11-03 Glenn Morris <rgm@gnu.org>
2281 * Makefile.in (abs_srcdir): Remove.
2282 (emacs): Unset EMACSLOADPATH.
2284 2013-11-02 Glenn Morris <rgm@gnu.org>
2286 * Makefile.in (EMACS): Use a relative filename.
2287 (abs_top_builddir): Remove.
2288 (custom-deps, finder-data, autoloads): Use --chdir.
2290 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2292 Use relative filenames in TAGS files.
2293 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2294 (lisptagsfiles4, TAGS): Use relative file names.
2295 (TAGS-LISP): Remove.
2296 (maintainer-clean): No more TAGS-LISP file.
2298 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2299 (lisptagsfiles4): Use absolute filenames again.
2300 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2301 Remove all *loaddefs files, not just the first. Remove esh-groups.
2302 (maintainer-clean): Delete TAGS, TAGS-LISP.
2304 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2306 * emacs-lisp/package.el (package-version-join):
2307 Recognize snapshot versions.
2309 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2311 * subr.el (version-regexp-alist): Add support for snapshot versions.
2313 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2315 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2316 New function, replacement for `smie-rule-parent' for when we want to
2317 skip over our direct parent if it's an assignment token..
2318 (ruby-smie-rules): Use it.
2320 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2322 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2323 unconditionally. Remove now unnecessary forward declarations.
2324 Remove XEmacs-specific setup.
2325 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2326 (ruby-font-lock-syntactic-keywords)
2327 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2328 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2329 (ruby-here-doc-end-syntax): Remove.
2330 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2331 defined as function.
2333 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2335 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2337 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2339 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2340 table and abbrev table, `define-derived-mode' does that for us
2343 2013-11-01 Glenn Morris <rgm@gnu.org>
2345 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2346 files is atomic for some time, so no parallel compilation issues).
2348 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2350 * faces.el (face-x-resources): Add :distant-foreground.
2351 (region): Use :distant-foreground for gtk and ns.
2353 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2355 Allow multiple bibliographies when BibLaTeX is used rather than
2357 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2358 (reftex-locate-bibliography-files): Us it.
2360 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2362 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2363 allow comments in pbm files.
2365 * term/w32-win.el (dynamic-library-alist): Support newer versions
2366 of libjpeg starting with v7: look only for the DLL from the
2367 version against which Emacs was built.
2368 Support versions of libpng beyond 1.4.x.
2369 Support libtiff v4.x.
2371 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2373 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2374 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2376 (ruby-deep-arglist): Add property :type.
2378 2013-10-31 Glenn Morris <rgm@gnu.org>
2380 * Makefile.in (custom-deps, finder-data): No need to setq the target
2381 variables, we are in the right directory and the defaults work fine.
2383 2013-10-30 Glenn Morris <rgm@gnu.org>
2385 * Makefile.in (autoloads): Do not use abs_lisp.
2387 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2388 `newline' does not respect `standard-output', so use `princ'.
2390 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2392 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2393 * buff-menu.el (Buffer-menu--unmark): New function.
2394 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2396 2013-10-30 Glenn Morris <rgm@gnu.org>
2398 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2400 * emacs-lisp/package.el (lm-homepage): Declare.
2402 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2405 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2407 * Makefile.in (finder-data, autoloads, update-subdirs)
2408 (compile-main, compile-clean, compile-always, bootstrap-clean):
2409 Check return value of cd.
2410 (compile-calc): Remove.
2412 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2414 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2416 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2417 (byte-compile-and-folded): New function.
2418 (=, <, >, <=, >=): Use it.
2420 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2421 (path-separator, null-device, buffer-file-coding-system)
2422 (lpr-headers-switches): Check system-type before modifying them.
2423 (find-buffer-file-type-coding-system): Mark obsolete.
2424 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2425 find-file-not-found-set-buffer-file-coding-system.
2426 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2427 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2428 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2429 (w32-direct-print-region-helper, w32-direct-print-region-function)
2430 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2431 * startup.el (normal-top-level-add-subdirs-to-load-path):
2432 * ps-print.el (ps-print-region-function):
2433 * lpr.el (print-region-function): Use new name.
2435 * subr.el (custom-declare-variable-early): Remove function.
2436 (custom-declare-variable-list): Remove var.
2437 (error, user-error): Remove `while' loop.
2438 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2439 (user-emacs-directory-warning, locate-user-emacs-file):
2441 * simple.el (read-quoted-char-radix, read-quoted-char):
2442 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2444 * custom.el (custom-declare-variable-list): Don't process
2445 custom-declare-variable-list.
2447 * progmodes/python.el (python-shell-get-buffer): New function.
2448 (python-shell-get-process): Use it.
2449 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2450 Python which encoding was used. Don't split-string since we only care
2451 about the first line. Return the temp-file, if applicable.
2452 (python-shell-send-region): Tell compile.el how to turn locations in
2453 the temp-file into locations in the source buffer.
2455 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2457 * subr.el (undefined): Add missing behavior from the C code for
2460 * rect.el: Use lexical-binding. Add new rectangular region support.
2461 (rectangle-mark): New command.
2462 (rectangle--region): New var.
2463 (deactivate-mark-hook): Reset rectangle--region.
2464 (rectangle--extract-region, rectangle--insert-for-yank)
2465 (rectangle--highlight-for-redisplay)
2466 (rectangle--unhighlight-for-redisplay): New functions.
2467 (region-extract-function, redisplay-unhighlight-region-function)
2468 (redisplay-highlight-region-function): Use them to handle
2470 * simple.el (region-extract-function): New var.
2471 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2472 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2473 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2474 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2475 (redisplay-unhighlight-region-function)
2476 (redisplay-highlight-region-function): New vars.
2477 (redisplay--update-region-highlight): New function.
2478 (pre-redisplay-function): Use it.
2479 (exchange-point-and-mark): Don't deactivate the mark before
2480 reactivate-it anyway.
2481 * comint.el (comint-kill-region): Remove yank-handler argument.
2482 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2483 (delete-char): Remove property, since it's now part of their
2485 (self-insert-iso): Remove property since this command doesn't exist.
2487 * emacs-lisp/package.el (package--download-one-archive)
2488 (describe-package-1): Don't query the user about final newline.
2490 2013-10-29 Daniel Colascione <dancol@dancol.org>
2492 * net/tramp.el (tramp-methods): Document new functionality.
2493 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2494 tramp-hostname-checker if method provides one instead of scanning
2495 argument list for "%h" to decide hostname acceptability.
2497 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2499 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2500 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2501 Handle COPY-CONTENTS. (Bug#15737)
2503 2013-10-28 Daiki Ueno <ueno@gnu.org>
2506 (epa-file-cache-passphrase-for-symmetric-encryption):
2507 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2509 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2511 * image.el (defimage):
2512 (image-load-path): Doc fixes.
2514 2013-10-27 Alan Mackenzie <acm@muc.de>
2516 Indent statements in macros following "##" correctly.
2517 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2518 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2520 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2522 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2524 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2526 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2527 after `=' is probably a new expression.
2529 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2531 * man.el (man-imenu-title): New option.
2532 (Man-mode-map): Add menu. (Bug#15722)
2533 (Man-mode): Add imenu to menu.
2535 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2537 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2538 specific in what the first arg can be: a non-keyword word,
2539 string/regexp/percent literal opener, opening paren, or unary
2540 operator followed directly by word.
2542 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2544 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2545 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2546 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2547 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2548 Remove vars, they do not apply any more.
2549 (prolog-mode-abbrev-table): Remove redundant declaration.
2550 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2551 (prolog-use-smie): Remove.
2552 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2553 supported by prolog-electric-if-then-else-flag.
2554 (prolog-mode-variables, prolog-menu): Use setq-local.
2555 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2556 Remove binding to `Backspace' since this key doesn't exist anyway.
2557 Remove bindings for electric self-inserting keys.
2558 (prog-mode): Assume it's defined.
2559 (prolog-post-self-insert): New function.
2560 (prolog-mode): Use it.
2561 (prolog-indent-line, prolog-indent-level)
2562 (prolog-find-indent-of-matching-paren)
2563 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2564 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2565 (prolog-goto-next-paren, prolog-in-string-or-comment)
2566 (prolog-tokenize, prolog-inside-mline-comment)
2567 (prolog-find-start-of-mline-comment): Remove functions.
2568 (prolog-find-unmatched-paren, prolog-clause-end)
2569 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2570 (prolog-electric--if-then-else): Rename from
2571 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2572 (prolog-tokenize-searchkey): Remove const.
2573 (prolog-clause-info): Use forward-sexp.
2574 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2575 (prolog-electric-if-then-else): Remove commands.
2576 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2577 for use in post-self-insert-hook.
2578 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2579 for use in post-self-insert-hook.
2580 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2581 for use in post-self-insert-hook.
2582 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2583 adapt it for use in post-self-insert-hook.
2585 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2587 * emacs-lisp/ert.el (ert-run-tests-interactively):
2588 Use `completing-read'. (Bug#9756)
2590 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2592 * simple.el (line-move): Call line-move-1 instead of
2593 line-move-visual when the current window hscroll is zero, but
2594 temporary-goal-column indicates we will need to hscroll as result
2595 of the movement. (Bug#15712)
2597 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2599 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2600 capitalization. Use :visible instead of :active.
2601 Fix `ruby-indent-exp' reference. Add menu items for the generic
2602 commands that are used with SMIE.
2603 (ruby-do-end-to-brace): Insert space after `{'.
2605 2013-10-25 John Anthony <john@jo.hnanthony.com>
2607 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2609 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2611 2013-10-25 Glenn Morris <rgm@gnu.org>
2613 * vc/vc.el (vc-print-log): Don't use a working revision unless
2614 one was explicitly specified. (Bug#15322)
2616 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2618 * subr.el (add-to-list): Preserve return value in compiler-macro
2621 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2623 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2624 result. Ask user to retry using '-all' flag. (Bug#15701)
2626 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2628 * emacs-lisp/smie.el: New smie-config system.
2629 (smie-config): New defcustom.
2630 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2631 (smie-config-guess, smie-config-save): New commands.
2632 (smie-config--mode-local, smie-config--buffer-local)
2633 (smie-config--trace, smie-config--modefuns): New vars.
2634 (smie-config--advice, smie-config--mode-hook)
2635 (smie-config--setter, smie-config-local, smie-config--get-trace)
2636 (smie-config--guess-value, smie-config--guess): New functions.
2637 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2638 text properties. Treat "string fence" syntax like string syntax.
2640 * progmodes/sh-script.el (sh-use-smie): Change default.
2641 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2642 (sh-var-value): Simplify by CSE.
2643 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2644 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2646 (sh-guess-basic-offset): Use cl-incf.
2647 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2649 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2651 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2654 2013-10-24 Glenn Morris <rgm@gnu.org>
2656 * Makefile.in (abs_top_srcdir): Remove.
2657 (update-subdirs): Use relative path to update-subdirs.
2659 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2661 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2662 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2663 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2664 Call unmsys--file-name before expand-file-name, not after it.
2666 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2668 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2669 (ert-test-skipped): New error.
2670 (ert-skip, ert-stats-skipped): New defuns.
2671 (ert--skip-unless): New macro.
2672 (ert-test-skipped): New struct.
2673 (ert--run-test-debugger, ert-test-result-type-p)
2674 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2675 (ert--stats-set-test-and-result, ert-char-for-test-result)
2676 (ert-string-for-test-result, ert-run-tests-batch)
2677 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2678 Handle skipped tests. (Bug#9803)
2680 2013-10-24 Glenn Morris <rgm@gnu.org>
2682 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2684 * Makefile.in (abs_top_srcdir): New, set by configure.
2685 (update-subdirs): Correct build-aux location.
2687 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2689 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2690 value, whether we could auto-deduce `backend', or not.
2692 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2693 with parameters" example. Simplify the "is it block or is it
2694 hash" check, but also make it more thorough.
2696 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2698 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2700 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2702 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2705 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2708 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2710 * progmodes/compile.el (compilation-directory-matcher)
2711 (compilation-page-delimiter):
2712 Support GNU Make-4.0 directory quoting. (Bug#15678)
2714 2013-10-23 Leo Liu <sdl.web@gmail.com>
2716 * ido.el (ido-tidy): Handle read-only text.
2718 2013-10-23 Glenn Morris <rgm@gnu.org>
2720 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2721 (emacs, compile, compile-always):
2722 Quote entities that might contain whitespace.
2723 (custom-deps, finder-data, autoloads): Use abs_lisp.
2724 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2725 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2726 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2728 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2730 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2731 Use `following-char'.
2733 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2735 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2736 * progmodes/ruby-mode.el (ruby-smie-rules):
2737 Remove corresponding workaround. Fix indentation rule of ";" so it
2738 also applies when ";" is the parent.
2740 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2742 * frame.el (display-screens, display-pixel-height)
2743 (display-pixel-width, display-mm-width, display-backing-store)
2744 (display-save-under, display-planes, display-color-cells)
2745 (display-visual-class, display-monitor-attributes-list):
2746 Mention the optional ‘display’ argument in doc strings.
2748 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2750 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2751 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2753 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2755 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2756 TODO. Add "." after " @ ".
2757 (ruby-smie--at-dot-call): New function. Checks if point at method
2758 call with explicit target.
2759 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2760 to the method name tokens when it precedes them.
2761 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2762 (ruby-smie-rules): Add rule for indentation before and after "."
2765 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2767 * textmodes/remember.el (remember-diary-extract-entries):
2770 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2773 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2775 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2776 (ruby-smie--implicit-semi-p): Add new operator chars.
2778 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2780 (ruby-smie--args-separator-p): Check that there's no newline
2781 between method call and its arguments.
2783 2013-10-20 Alan Mackenzie <acm@muc.de>
2785 Allow comma separated lists after Java "implements".
2787 * progmodes/cc-engine.el (c-backward-over-enum-header):
2789 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2790 from a "disallowed" list in enum fontification.
2792 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2794 * startup.el (default-frame-background-mode): Remove unused defvar.
2796 * progmodes/verilog-mode.el (verilog-mode): Don't set
2797 comment-indent-function globally.
2799 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2801 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2802 Move Info menu item creation to ns-win.el.
2804 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2807 * menu-bar.el: Move GNUStep specific menus...
2809 * term/ns-win.el (ns-initialize-window-system): ... to here.
2811 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2813 * simple.el (newline): Only run post-self-insert-hook when
2814 called interactively.
2816 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2818 * icomplete.el (icomplete-with-completion-tables): Add :version.
2820 2013-10-19 Alan Mackenzie <acm@muc.de>
2822 Fix fontification bugs with constructors and const.
2824 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2825 CASE 2) Remove the check for the absence of a suffix construct
2826 after a function declaration with only types (no identifiers) in
2827 the parentheses. Also, accept a function declaration with just a
2828 type inside the parentheses, if this type can be positively
2829 recognised as such, or if a prefix keyword like "explicit" nails
2830 down the construct as a declaration.
2832 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2834 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2835 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2836 the problem whereby selecting a menu item that leads to a
2837 minibuffer prompt moves the cursor out of the minibuffer window,
2838 making it hard to type at the prompt. Suggested by Stefan Monnier
2839 <monnier@iro.umontreal.ca>.
2841 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2843 * menu-bar.el: Don't make Services menu.
2845 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2847 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2848 (ffap-alist): Use ffap-c++-mode for c++-mode.
2849 (ffap-c++-path): New variable.
2850 (ffap-c++-mode): New function.
2852 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2854 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2856 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2858 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2859 introduced on 2013-09-08, which results in an infinite loop
2860 requesting a password.
2862 2013-10-18 Glenn Morris <rgm@gnu.org>
2864 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2866 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2868 Sync with upstream verilog-mode revision 1a6ecec7.
2869 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2870 (verilog-mode-release-date): Remove.
2871 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2872 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2873 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2874 (verilog-auto-tieoff-ignore-regexp)
2875 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2876 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2877 (verilog-signals-with, verilog-dir-cache-preserving)
2878 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2880 (verilog-case-fold): New option, to control case folding in
2881 regexp searches, bug597.
2882 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2883 (verilog-string-match-fold, verilog-in-paren-count)
2884 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2885 (verilog-at-close-struct-p): New functions.
2886 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2887 (verilog-forward-sexp, verilog-set-auto-endcomments):
2888 (verilog-leap-to-case-head): Handle "unique0" case.
2889 (verilog-in-constraint-re): New constant.
2890 (verilog-keywords, verilog-type-font-keywords):
2891 Add some SystemVerilog 1800-2012 keywords.
2892 (verilog-label-be): Remove unimplemented argument, bug669.
2893 (verilog-batch-execute-func): When batch expanding clear
2894 create-lockfiles to prevent spurious user locks when a file ends
2896 (verilog-calculate-indent, verilog-calc-1)
2897 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2898 (verilog-do-indent): Fix indentation of nested constraints
2900 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2901 (verilog-auto-inst-param): Use verilog-string-match-fold.
2902 (verilog-read-inst-module-matcher):
2903 Fix AUTOINST on gate primitives with #1.
2904 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2905 Reads all user-defined typed variables.
2906 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2907 (verilog-signals-matching-regexp)
2908 (verilog-signals-not-matching-regexp, verilog-auto):
2909 Respect verilog-case-fold.
2910 (verilog-diff-report): Fix line count.
2911 (verilog-auto-assign-modport): Remove unused local `modi'.
2912 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2913 better handle multidimensional arrays.
2914 Fix packed array ports misadding bit index in AUTOINST, bug637.
2915 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2916 to not double-declare existing outputs and inputs, respectively.
2917 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2918 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2919 (verilog-sk-uvm-component): New skeleton.
2920 (verilog-submit-bug-report): Add verilog-case-fold,
2921 remove verilog-mode-release-date.
2923 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2925 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2928 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2930 * textmodes/remember.el (remember): Set buffer-offer-save in
2931 remember buffers (bug#13566).
2933 2013-10-18 Daniel Colascione <dancol@dancol.org>
2935 When evaluating forms in ielm, direct standard output to ielm
2936 buffer. Add new ielm-return-for-effect command. Remove trailing
2937 whitespace throughout.
2939 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2940 (ielm-return-for-effect): New command.
2941 (ielm-send-input): Accept optional `for-effect' parameter.
2942 (ielm-eval-input): Accept optional `for-effect' parameter.
2943 Bind `standard-output' to stream we create using
2944 `ielm-standard-output-impl'. Suppress printing result when
2946 (ielm-standard-output-impl): New function.
2947 (inferior-emacs-lisp-mode): Explain new features in documentation.
2949 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2953 * net/tramp.el (tramp-debug-message): Do not check for connection
2955 (tramp-message): Use "vector" connection property.
2957 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2958 (tramp-equal-remote, tramp-eshell-directory-change)
2959 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2960 (tramp-adb-handle-rename-file)
2961 * net/tramp-cmds.el (tramp-list-remote-buffers)
2962 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2963 * net/tramp-compat.el (tramp-compat-process-running-p)
2964 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2965 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2966 (tramp-gvfs-handle-rename-file)
2967 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2968 (tramp-set-file-uid-gid)
2969 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2970 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2973 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2974 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2975 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2976 (tramp-gw-open-network-stream): Suppress unrelated traces.
2978 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2979 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2980 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2981 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2982 connection property.
2984 * net/tramp-cache.el (top): Suppress traces when reading
2987 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2988 Refactor common code. Improve debug message.
2989 (tramp-maybe-open-connection)
2990 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2991 connection buffer too early.
2993 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2994 from `tramp-smb-actions-with-acl'.
2995 (tramp-smb-actions-set-acl): New defconst.
2996 (tramp-smb-handle-copy-directory)
2997 (tramp-smb-action-get-acl): New defun, renamed from
2998 `tramp-smb-action-with-acl'.
2999 (tramp-smb-action-set-acl): New defun.
3000 (tramp-smb-handle-set-file-acl): Rewrite.
3002 2013-10-17 Glenn Morris <rgm@gnu.org>
3004 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3006 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3008 * skeleton.el (skeleton-newline): Remove.
3009 (skeleton-internal-1): Use (insert "\n") instead.
3011 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3014 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3015 forward-sexp-function while we redo its job (bug#15613).
3017 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3019 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3020 represented by lists.
3022 2013-10-16 Glenn Morris <rgm@gnu.org>
3024 * tmm.el (tmm--history): New dynamic variable.
3025 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3027 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3029 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3030 (tramp-smb-errors): Add error messages.
3031 (tramp-smb-actions-with-acl): New defconst.
3032 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3033 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3034 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3035 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3036 (tramp-smb-get-stat-capability): Fix tests.
3038 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3040 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3043 2013-10-16 Glenn Morris <rgm@gnu.org>
3045 * ansi-color.el (ansi-color-drop-regexp):
3046 Add 1J, 1K, 2K. (Bug#15617)
3048 * files.el (hack-local-variables--warned-lexical): New.
3049 (hack-local-variables):
3050 Warn about misplaced lexical-binding. (Bug#15616)
3052 * net/eww.el (eww-render): Always set eww-current-url,
3053 and update header line. (Bug#15622)
3054 (eww-display-html): ... Rather than just doing it here.
3056 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3058 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3059 menu navigations commands.
3061 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3063 * progmodes/subword.el (subword-capitalize): Be careful when
3064 the search for [[:alpha:]] fails (bug#15580).
3066 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3068 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3069 to commands that scroll the menu.
3071 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3073 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3074 Handle methods ending with `?' and `!'.
3076 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3078 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3079 `japanese-cp932' to `cp932' to fix the problem where saving a
3080 source file written in Shift_JIS twice would end up having
3081 `coding: japanese-cp932' which Ruby could not recognize.
3082 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3083 in `ruby-encoding-map'.
3084 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3085 doesn't need to be explicitly declared in magic comment.
3086 (ruby-encoding-map): Add type declaration for better customize UI.
3088 2013-10-13 Glenn Morris <rgm@gnu.org>
3090 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3091 Occur buffers are read-only. http://bugs.debian.org/720775
3093 * emacs-lisp/authors.el (authors-fixed-entries):
3094 Comment out old alpha stuff.
3096 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3098 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3099 to `after-save-hook' instead of `before-save-hook'.
3100 (ruby-mode-set-encoding): Use the value of coding system used to
3101 write the file. Call `basic-save-buffer-1' after modifying the
3104 2013-10-13 Alan Mackenzie <acm@muc.de>
3106 Fix indentation/fontification of Java enum with
3107 "implements"/generic.
3109 * progmodes/cc-engine.el (c-backward-over-enum-header):
3110 Extracted from the three other places and enhanced to handle generics.
3111 (c-inside-bracelist-p): Uses new function above.
3112 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3114 (c-font-lock-enum-tail): Uses new function above.
3116 2013-10-13 Kenichi Handa <handa@gnu.org>
3118 * international/mule-cmds.el (select-safe-coding-system): Remove a
3119 superfluous condition in chekcing whether a coding system is safe
3122 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3124 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3126 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3128 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3130 2013-10-13 Glenn Morris <rgm@gnu.org>
3132 * menu-bar.el (menu-bar-update-buffers):
3133 Unify Buffers menu prompt string. (Bug#15576)
3135 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3137 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3139 (authors-fixed-entries): Use accented form of name.
3141 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3143 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3144 method calls (bug#15594).
3145 (ruby-smie--args-separator-p): New function.
3146 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3147 recognize paren-free method calls.
3149 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3150 internals of universal-argument.
3152 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3154 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3155 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3156 dropped menu on second mouse click on the menu bar.
3158 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3160 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3161 (explicit-shell-file-name): Declare.
3162 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3163 (sh-completion-at-point-function): New function.
3165 (sh-smie--keyword-p): Remove unused argument.
3166 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3168 (sh-set-shell): Always setup SMIE, even if we use the
3169 old indentation code.
3171 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3173 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3175 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3176 predicate would return nil are almost non-existent.
3177 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3179 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3180 cache also after commands that modify the buffer but don't move
3183 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3185 * env.el (substitute-env-in-file-name): New function.
3186 (substitute-env-vars): Extend the meaning of the optional arg.
3188 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3190 * term/w32-win.el (dynamic-library-alist): Define separate lists
3191 of GIF DLLs for versions before and after 5.0.0 of giflib.
3194 2013-10-10 João Távora <joaotavora@gmail.com>
3196 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3197 not locked, use last revision and current source as
3198 defaults. (Bug#15569)
3200 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3202 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3205 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3207 * window.el (pop-to-buffer-same-window): Fix doc-string.
3210 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3212 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3214 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3216 * calendar/icalendar.el (icalendar-import-file):
3217 Fix interactive spec. (Bug#15482)
3219 2013-10-10 Glenn Morris <rgm@gnu.org>
3221 * desktop.el (desktop-save): Default to saving in .emacs.d,
3222 since PWD is no longer in desktop-path by default. (Bug#15319)
3224 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3225 now that text mode has a menu with the same entry.
3226 (menu-bar-text-mode-auto-fill): Remove now unused func.
3227 * textmodes/text-mode.el (text-mode-map):
3228 Use auto-fill help text from menu-bar.el.
3230 2013-10-10 John Anthony <john@jo.hnanthony.com>
3232 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3234 2013-10-09 Juri Linkov <juri@jurta.org>
3236 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3237 instead of this-command-keys. Add universal-argument-more and
3238 universal-argument-minus to the list of prefix commands. (Bug#15568)
3240 2013-10-09 Glenn Morris <rgm@gnu.org>
3242 * vc/vc-svn.el (vc-svn-create-repo):
3243 Expand paths in file://... url. (Bug#15446)
3245 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3247 (authors): Remove unused local variables.
3249 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3251 * profiler.el: Create a more coherent calltree from partial backtraces.
3252 (profiler-format): Hide the tail with `invisible' so that C-s can still
3253 find the hidden elements.
3254 (profiler-calltree-depth): Don't recurse so enthusiastically.
3255 (profiler-function-equal): New hash-table-test.
3256 (profiler-calltree-build-unified): New function.
3257 (profiler-calltree-build): Use it.
3258 (profiler-report-make-name-part): Indent the calltree less.
3259 (profiler-report-mode): Add visibility specs for profiler-format.
3260 (profiler-report-expand-entry, profiler-report-toggle-entry):
3261 Expand the whole subtree when provided with a prefix arg.
3263 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3265 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3267 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3268 hanging iuwu-mod token.
3269 (ruby-smie--forward-token): Do not include a dot after a token in
3271 (ruby-smie--backward-token): Likewise.
3273 2013-10-08 Juri Linkov <juri@jurta.org>
3275 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3276 to isearch-other-control-char.
3277 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3278 and isearch-post-command-hook to post-command-hook.
3279 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3280 and isearch-post-command-hook from post-command-hook.
3281 (isearch-unread-key-sequence)
3282 (isearch-reread-key-sequence-naturally)
3283 (isearch-lookup-scroll-key, isearch-other-control-char)
3284 (isearch-other-meta-char): Remove functions.
3285 (isearch-pre-command-hook, isearch-post-command-hook):
3286 New functions based on isearch-other-meta-char rewritten
3287 relying on the new behavior of overriding-terminal-local-map
3288 that does not replace the local keymaps any more. (Bug#15200)
3290 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3292 Support menus on text-mode terminals.
3293 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3296 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3298 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3299 Move here from mouse.el.
3300 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3302 (tty-menu-navigation-map): New map for TTY menu navigation.
3304 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3306 * frame.el (display-mouse-p): Report text-mode mouse as available
3308 (display-popup-menus-p): Report availability if mouse is
3309 available; don't condition on window-system.
3311 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3312 (tty-menu-selected-face): New faces.
3314 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3316 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3317 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3318 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3319 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3321 (lisp-mode-variables): New `elisp' argument.
3322 (emacs-lisp-mode): Use it.
3323 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3324 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3326 * indent.el: Use lexical-binding.
3327 (indent-region): Add progress reporter.
3328 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3330 (indent--next-tab-stop): New function to implement this behavior.
3331 (tab-to-tab-stop, move-to-tab-stop): Use it.
3333 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3335 * indent.el (indent-rigidly--current-indentation): New function.
3336 (indent-rigidly-map): New var.
3337 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3339 2013-10-08 Bastien Guerry <bzg@gnu.org>
3341 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3343 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3345 * progmodes/perl-mode.el: Use lexical-binding.
3346 Remove redundant :group args.
3347 (perl-nochange): Change default to be closer to other major modes's
3349 (perl-indent-line): Don't consider text on current line as a
3350 valid beginning of function from which to indent.
3352 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3353 with more than one argument (bug#15538).
3355 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3357 * vc/pcvs.el: Use lexical-binding.
3358 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3359 environment of `eval'.
3360 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3361 than a list of expressions. Adjust callers.
3362 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3364 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3366 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3367 case of the dot in a chained method call being on the following line.
3369 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3371 * electric.el (electric-indent-inhibit): New var.
3372 (electric-indent-post-self-insert-function): Use it.
3373 * progmodes/python.el (python-mode): Set it.
3375 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3378 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3380 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3381 (css-mode): Use electric-indent-chars.
3383 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3384 (font-lock-beg, font-lock-end): Move before first use.
3385 (nxml-mode): Use syntax-propertize-function.
3386 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3387 (nxml-extend-after-change-region): Remove.
3388 * nxml/xmltok.el: Use lexical-binding.
3389 (xmltok-save): Use `declare'.
3390 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3391 * nxml/nxml-util.el: Use lexical-binding.
3392 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3394 * nxml/nxml-ns.el: Use lexical-binding.
3395 (nxml-ns-save): Use `declare'.
3396 (nxml-ns-prefixes-for): Avoid add-to-list.
3397 * nxml/rng-match.el: Use lexical-binding.
3398 (rng--ipattern): Use cl-defstruct.
3399 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3400 (rng-cons-group-after, rng-subst-group-after)
3401 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3402 Use closures instead of `(lambda...).
3404 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3406 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3409 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3410 Use `tramp-handle-insert-file-contents'.
3411 (tramp-gvfs-handle-insert-file-contents): Remove function.
3413 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3414 Use `save-restriction' in order to keep markers.
3416 * net/trampver.el: Update release number.
3418 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3420 * progmodes/compile.el (compilation-parse-errors):
3421 Use compilation--put-prop.
3422 (compilation--ensure-parse): Check compilation-multiline.
3424 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3426 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3429 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3431 * progmodes/ruby-mode.el: Fix recently added tests.
3432 (ruby-smie-grammar): Add - and +.
3433 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3434 (ruby-smie--backward-id): New functions.
3435 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3436 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3439 2013-10-07 Leo Liu <sdl.web@gmail.com>
3441 * register.el (register-preview-delay)
3442 (register-preview-functions): New variables.
3443 (register-read-with-preview, register-preview)
3444 (register-describe-oneline): New functions.
3445 (point-to-register, window-configuration-to-register)
3446 (frame-configuration-to-register, jump-to-register)
3447 (number-to-register, view-register, insert-register)
3448 (copy-to-register, append-to-register, prepend-to-register)
3449 (copy-rectangle-to-register): Use register-read-with-preview to
3450 read register. (Bug#15525)
3452 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3454 * net/network-stream.el (network-stream-open-starttls): Don't add
3455 --insecure if it's already present, because that gnutls-cli
3456 rejects getting that parameter twice.
3458 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3460 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3463 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3465 * newcomment.el (comment-use-global-state): Change default value
3466 to t, mark obsolete (Bug#15251).
3467 (comment-beginning): In addition to `comment-to-syntax', check the
3468 value of `comment-use-global-state'.
3470 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3472 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3473 (ruby-comment-column): Follow the global default, by default.
3474 (ruby-smie-grammar): Add assignment syntax.
3475 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3476 open-paren, a comma, or a \.
3477 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3478 and line continuations.
3479 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3480 followed by implicit semi-colons. Add rule for string concatenation
3481 and for indentation at BOB.
3482 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3484 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3485 calling next-sexp, since next-token may have skipped chars which
3486 next-sexp doesn't know should be skipped!
3488 2013-10-05 Leo Liu <sdl.web@gmail.com>
3490 * progmodes/octave.el (octave-send-region):
3491 Call compilation-forget-errors.
3493 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3495 * vc/vc-svn.el (vc-svn-find-admin-dir):
3496 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3497 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3498 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3499 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3501 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3503 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3505 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3507 * subr.el (read-passwd): Hide chars even when called within a context
3508 where after-change-functions is disabled (bug#15501).
3509 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3510 until we removed ourself from overriding-terminal-local-map.
3512 2013-10-04 Leo Liu <sdl.web@gmail.com>
3514 * progmodes/octave.el (inferior-octave-mode):
3515 Call compilation-forget-errors.
3517 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3519 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3521 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3523 * net/secrets.el (secrets-create-collection): Add optional
3524 argument ALIAS. Use proper Label keyword. Append ALIAS as
3525 dbus-call-method argument. (Bug#15516)
3527 2013-10-04 Leo Liu <sdl.web@gmail.com>
3529 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3530 (inferior-octave-compilation-font-lock-keywords): New variables.
3531 (compilation-error-regexp-alist)
3532 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3533 (inferior-octave-mode): Use compilation-shell-minor-mode.
3535 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3537 * minibuffer.el (completion--replace): Be careful that `end' might be
3540 2013-10-03 Daiki Ueno <ueno@gnu.org>
3542 Add support for package signature checking.
3543 * emacs-lisp/package.el (url-http-file-exists-p)
3544 (epg-make-context, epg-context-set-home-directory)
3545 (epg-verify-string, epg-context-result-for)
3546 (epg-signature-status, epg-signature-to-string)
3547 (epg-check-configuration, epg-configuration)
3548 (epg-import-keys-from-file): Declare.
3549 (package-check-signature): New user option.
3550 (package-unsigned-archives): New user option.
3551 (package-desc): Add `signed' field.
3552 (package-load-descriptor): Set `signed' field if .signed file exists.
3553 (package--archive-file-exists-p): New function.
3554 (package--check-signature): New function.
3555 (package-install-from-archive): Check package signature.
3556 (package--download-one-archive): Check archive signature.
3557 (package-delete): Remove .signed file.
3558 (package-import-keyring): New command.
3559 (package-refresh-contents): Import default keyring.
3560 (package-desc-status): Add "unsigned" status.
3561 (describe-package-1, package-menu--print-info)
3562 (package-menu-mark-delete, package-menu--find-upgrades)
3563 (package-menu--status-predicate): Support "unsigned" status.
3565 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3567 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3568 the new compilation scheme using the new byte-codes.
3570 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3571 (byte-pophandler): New byte codes.
3572 (byte-goto-ops): Adjust accordingly.
3573 (byte-compile--use-old-handlers): New var.
3574 (byte-compile-catch): Use new byte codes depending on
3575 byte-compile--use-old-handlers.
3576 (byte-compile-condition-case--old): Rename from
3577 byte-compile-condition-case.
3578 (byte-compile-condition-case--new): New function.
3579 (byte-compile-condition-case): New function that dispatches depending
3580 on byte-compile--use-old-handlers.
3581 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3584 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3585 Optimize under `condition-case' and `catch' if
3586 byte-compile--use-old-handlers is nil.
3587 (disassemble-offset): Handle new bytecodes.
3589 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3591 * subr.el (error): Use `declare'.
3592 (decode-char, encode-char): Use advertised-calling-convention instead
3593 of the docstring to discourage use of the `restriction' arg.
3595 2013-10-03 Daiki Ueno <ueno@gnu.org>
3597 * epg.el (epg-verify-file): Add a comment saying that it does not
3598 notify verification error as a return value nor a signal.
3599 (epg-verify-string): Ditto.
3601 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3603 * progmodes/compile.el (compilation-start): Try globbing the arg to
3606 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3608 Sync with Tramp 2.2.8.
3610 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3611 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3612 * net/trampver.el: Update release number.
3614 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3616 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3617 and default-process-coding-system for darwin only.
3619 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3621 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3623 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3625 * vc/vc-git.el (vc-git-grep): Disable pager.
3627 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3629 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3630 Use :url instead of :homepage, as per
3631 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3633 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3634 non-nil, use `syntax-ppss' (Bug#15251).
3636 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3638 * progmodes/octave.el (inferior-octave-startup-file):
3639 Prefer ~/.emacs.d/init_octave.m.
3641 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3643 * emacs-lisp/package.el (package-desc-from-define):
3644 Accept additional arguments as plist, convert them to an alist and store
3645 them in the `extras' slot.
3646 (package-generate-description-file): Convert extras alist back to
3647 plist and append to the `define-package' form arguments.
3648 (package--alist-to-plist): New function.
3649 (package--ac-desc): Add `extras' slot.
3650 (package--add-to-archive-contents): Check if the archive-contents
3651 vector is long enough, and if it is, pass its `extras' slot value
3652 to `package-desc-create'.
3653 (package-buffer-info): Call `lm-homepage', pass the returned value
3654 to `package-desc-from-define'.
3655 (describe-package-1): Render the homepage button (Bug#13291).
3657 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3658 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3660 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3662 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3663 and default-process-coding-system to utf-8-unix (Bug#15402).
3665 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3667 * subr.el (looking-back): Do not recommend using looking-back.
3669 2013-09-28 Alan Mackenzie <acm@muc.de>
3671 Fix indentation/fontification of Java enum with "implements".
3673 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3674 regexp which matches "implements", etc., in Java.
3675 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3676 specifier clauses coming after "enum".
3677 * progmodes/cc-fonts.el (c-font-lock-declarations)
3678 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3681 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3683 * faces.el (region): Change ns_selection_color to
3684 ns_selection_fg_color, add ns_selection_bg_color.
3686 2013-09-28 Leo Liu <sdl.web@gmail.com>
3688 * progmodes/octave.el (inferior-octave-completion-table)
3689 (inferior-octave-completion-at-point): Minor tweaks.
3691 * textmodes/ispell.el (ispell-lookup-words): Rename from
3692 lookup-words. (Bug#15460)
3693 (lookup-words): Obsolete.
3694 (ispell-complete-word, ispell-command-loop): All uses changed.
3696 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3698 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3699 (octave-mode-menu): Add octave-send-buffer.
3700 (octave-send-buffer): New function.
3702 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3704 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3706 (octave-mode-menu): Add octave-lookfor.
3707 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3709 (octave-lookfor): New function.
3711 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3713 * emacs-lisp/cl-macs.el:
3714 (cl--loop-destr-temps): Remove.
3715 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3717 (cl--loop-set-iterator-function): New function.
3718 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3719 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3720 Bind `it' with `let' instead of substituting it with `cl-subst'.
3721 (cl--unused-var-p): New function.
3722 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3723 Eliminate some unused variable warnings (bug#15326).
3725 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3727 * doc-view.el (doc-view-scale-reset): Rename from
3728 `doc-view-reset-zoom-level'.
3729 (doc-view-scale-adjust): New command.
3730 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3731 `doc-view-scale-adjust'.
3733 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3735 * doc-view.el (doc-view-reset-zoom-level): New command.
3736 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3737 zoom commands (bug#15466).
3739 2013-09-26 Kenichi Handa <handa@gnu.org>
3741 * international/quail.el (quail-help): Make it not a command.
3743 2013-09-26 Leo Liu <sdl.web@gmail.com>
3745 * minibuffer.el (completion-all-sorted-completions): Make args
3746 optional as they are.
3748 2013-09-25 Daniel Colascione <dancol@dancol.org>
3750 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3751 specs are and that they're not evaluated.
3753 2013-09-24 Sam Steingold <sds@gnu.org>
3755 * midnight.el (clean-buffer-list-kill-regexps)
3756 (clean-buffer-list-kill-buffer-names): Update for the new Man
3757 buffer naming which includes the object name.
3759 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3761 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3762 (eshell-parse-command, eshell-parse-pipeline): Use it since
3763 eshell-separate-commands requires a dynamic scoped var.
3764 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3766 2013-09-23 Leo Liu <sdl.web@gmail.com>
3768 * autoinsert.el (auto-insert-alist): Make the value of
3769 lexical-binding match its file setting.
3771 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3773 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3775 * autoarg.el (autoarg-kp-digit-argument):
3776 * electric.el (Electric-command-loop):
3777 * kmacro.el (kmacro-step-edit-insert):
3778 Do not set universal-argument-num-events.
3780 2013-09-22 Leo Liu <sdl.web@gmail.com>
3782 * files.el (interpreter-mode-alist): Add octave.
3784 2013-09-21 Alan Mackenzie <acm@muc.de>
3786 C++: fontify identifier in declaration following "public:" correctly.
3787 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3788 to match "public", etc.
3789 (c-decl-prefix-re): Add ":" into the C++ value.
3790 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3791 bit. Add a check for a ":" preceded by "public", etc.
3793 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3795 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3796 recognized by GDB 7.5 and later.
3798 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3800 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3802 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3804 * subr.el (internal--call-interactively): New const.
3805 (called-interactively-p): Use it (bug#3984).
3807 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3809 * vc/pcvs.el (cvs-mode-ignore):
3810 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3811 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3813 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3815 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3816 (eshell-ls-orig-insert-directory): Remove.
3817 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3818 (eshell-ls-use-in-dired): Use advice-add/remove.
3819 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3820 Add `orig-fun' arg for use in :around advice.
3821 Make it check (redundantly) eshell-ls-use-in-dired.
3823 2013-09-19 Glenn Morris <rgm@gnu.org>
3825 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3827 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3829 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3831 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3833 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3834 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3835 (tramp-get-remote-python): New defuns.
3836 (tramp-get-remote-uid-with-perl)
3837 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3838 contributed by yary <not.com@gmail.com> (tiny change).
3839 (tramp-get-remote-uid-with-python)
3840 (tramp-get-remote-gid-with-python): New defuns. Python code
3841 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3842 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3844 2013-09-19 Glenn Morris <rgm@gnu.org>
3846 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3848 * eshell/em-unix.el (eshell-remove-entries):
3849 Rename argument to avoid name-clash with global `top-level'.
3851 * eshell/esh-proc.el (eshell-kill-process-function):
3852 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3853 (eshell-reset-after-proc): Remove unused arg `proc'.
3855 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3856 (directory-files-and-attributes): Mark unused arg.
3858 * eshell/em-unix.el (eshell-remove-entries):
3859 Remove unused arg `path'. Update callers.
3861 * eshell/em-hist.el (eshell-hist-parse-arguments):
3862 Remove unused arg `silent'. Update callers.
3864 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3865 Fix (f)boundp mix-up.
3867 * eshell/em-smart.el (eshell-smart-scroll-window)
3868 (eshell-disable-after-change):
3869 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3871 2013-09-18 Alan Mackenzie <acm@muc.de>
3873 Fix fontification of type when followed by "const".
3874 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3875 "known" types from fontification.
3877 2013-09-18 Glenn Morris <rgm@gnu.org>
3879 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3880 (chart-face-list): Drop Emacsen without display-color-p.
3882 * net/eww.el (libxml-parse-html-region): Declare.
3883 (eww-display-html): Explicit error if no libxml2 support.
3885 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3887 * image.el (image-type-from-buffer, image-multi-frame-p):
3888 Remove --without-x warning/error.
3890 * mouse.el (mouse-yank-primary):
3891 * term.el (term-mouse-paste):
3892 Reorder to silence --without-x compilation.
3894 * mpc.el (doc-view-mode): Silence --without-x compilation.
3896 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3897 Silence --without-x compilation.
3899 * progmodes/gud.el (gud-find-file, gud-mode):
3900 Silence --without-x compilation.
3901 (tooltip-mode): Declare.
3903 * wdired.el (dired-backup-overwrite): Remove declaration.
3904 (wdired-mode-map): Add doc string.
3906 * custom.el (x-get-resource): Declare.
3908 * eshell/em-glob.el (ange-cache):
3909 * eshell/em-unix.el (ange-cache): Declare.
3911 * faces.el (x-display-list, x-open-connection, x-get-resource):
3914 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3915 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3918 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3920 * net/gnutls.el (gnutls-log-level): Declare.
3922 * net/shr.el (image-size, image-animate): Declare.
3924 * simple.el (font-info): Declare.
3926 * subr.el (x-popup-dialog): Declare.
3928 * term/common-win.el (x-select-enable-primary)
3929 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3932 * term/ns-win.el (x-handle-args): Declare.
3934 * term/x-win.el (x-select-enable-clipboard): Declare.
3936 * term/w32-win.el (create-default-fontset): Declare.
3938 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3941 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3942 (fit-frame-to-buffer): Explicit error if --without-x.
3943 (mouse-autoselect-window-select): Silence compiler.
3945 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3947 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3948 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3949 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3950 * eshell/esh-util.el (eshell-sublist):
3951 Remove unused local variables.
3953 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3955 * textmodes/two-column.el: Make 2C-split work for --without-x.
3956 (scroll-bar-columns): Autoload.
3957 (top-level): Require fringe when compiling.
3959 2013-09-18 Leo Liu <sdl.web@gmail.com>
3961 * subr.el (add-hook): Robustify to handle closure as well.
3963 2013-09-17 Glenn Morris <rgm@gnu.org>
3965 * simple.el (messages-buffer-mode-map): Unbind "g".
3967 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3969 * help-mode.el (help-mode-finish): Use derived-mode-p.
3970 Remove obsolete highlighting.
3972 * play/life.el (life-mode): Use define-derived-mode. Derive from
3974 (life): Let-bind inhibit-read-only.
3975 (life-setup): Avoid `setq'. Use `life-mode'.
3977 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3978 which should not be needed any more.
3979 (package-menu-refresh, package-menu-describe-package): Use user-error.
3981 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3982 (eshell-post-rewrite-command-hook): Make obsolete.
3983 (eshell-parse-command): Simplify.
3984 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3985 (eshell--cmd): Declare.
3986 (eshell-parse-pipeline): Remove unused var `final-p'.
3987 Pass a dynvar to eshell-post-rewrite-command-hook.
3988 Implement the new eshell-post-rewrite-command-function.
3989 (eshell-invoke-directly): Remove unused arg `input'.
3990 * eshell/esh-io.el (eshell-io-initialize):
3991 Use eshell-post-rewrite-command-function (bug#15399).
3992 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3993 adjust to new calling convention.
3994 (eshell-create-handles): Rename args to avoid clashing with dynvar
3997 2013-09-17 Glenn Morris <rgm@gnu.org>
3999 * simple.el (messages-buffer-mode): New major mode.
4000 (messages-buffer): New function.
4001 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4002 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4003 (ert-run-test): Use `messages-buffer' function.
4004 (ert--force-message-log-buffer-truncation): Ignore read-only.
4005 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4006 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4008 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4010 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4012 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4014 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4016 * icomplete.el (icomplete-in-buffer): New var.
4017 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4018 vars and replace them with functions.
4019 (icomplete-minibuffer-setup): Adjust accordingly.
4020 (icomplete--completion-table, icomplete--completion-predicate)
4021 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4023 (icomplete-forward-completions, icomplete-backward-completions)
4024 (icomplete-simple-completing-p, icomplete-exhibit)
4025 (icomplete-completions): Use them.
4026 (icomplete--in-region-buffer): New var.
4027 (icomplete--in-region-setup): New function.
4028 (icomplete-mode): Use it.
4030 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4032 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4033 return args and options.
4034 (eshell-eval-using-options): Use the new return value of
4035 eshell--do-opts to set the options's vars in their scope.
4036 (eshell--set-option): Rename from eshell-set-option.
4038 (eshell--process-option): Rename from eshell-process-option.
4040 (eshell--process-args): Use an `opt-vals' alist to store the options's
4041 values during their processing and return them additionally to the
4044 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4046 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4047 continuation character an operator, as far as indentation is
4048 concerned (Bug#15369).
4050 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4052 * window.el (window--state-put-2): Don't process buffer state
4053 when buffer doesn't exist any more (Bug#15382).
4055 2013-09-15 Glenn Morris <rgm@gnu.org>
4057 * eshell/em-unix.el (eshell/rm):
4058 Make -f ignore missing files. (Bug#15373)
4060 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4061 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4062 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4064 2013-09-14 Glenn Morris <rgm@gnu.org>
4066 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4068 2013-09-13 Glenn Morris <rgm@gnu.org>
4070 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4071 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4073 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4075 * frame.el (x-focus-frame): Mark as declared in frame.c.
4077 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4079 * ls-lisp.el: Use advice-add.
4080 (original-insert-directory): Remove.
4081 (ls-lisp--insert-directory): Rename from insert-directory; add
4082 `orig-fun' argument.
4083 (insert-directory): Advise.
4085 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4087 * term.el (term-emulate-terminal): Decode the command string
4088 before passing it to term-command-hook. (Bug#15337)
4090 2013-09-13 Glenn Morris <rgm@gnu.org>
4092 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4094 * eshell/esh-ext.el (eshell-search-path): Declare.
4096 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4097 Otherwise an error occurs if eshell-dirs module not loaded.
4099 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4101 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4103 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4104 `tramp-check-proper-host'. Check for a valid method name.
4106 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4107 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4108 * net/tramp-sh.el (tramp-maybe-open-connection):
4109 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4111 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4112 also for hash values.
4114 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4116 * term/ns-win.el (parameters): Don't declare as dynamic.
4117 (before-make-frame-hook): Don't add ineffective function.
4119 * eshell/*.el: Use lexical-binding (bug#15231).
4121 2013-09-12 Kenichi Handa <handa@gnu.org>
4123 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4125 2013-09-12 Glenn Morris <rgm@gnu.org>
4127 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4128 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4130 * subr.el (do-after-load-evaluation): Also give compiler warnings
4131 when obsolete files are used (except by obsolete files).
4133 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4134 in the status output, assume `filename' is the first. (Bug#15322)
4136 * vc/vc.el (vc-deduce-fileset): Doc fix.
4138 * calc/calc-help.el (Info-goto-node):
4139 * progmodes/cperl-mode.el (Info-find-node):
4140 * vc/ediff.el (Info-goto-node): Update declarations.
4142 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4144 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4145 (vc-bzr-pull): Require vc-dispatcher.
4146 * vc/vc-git.el (vc-compilation-mode): Declare.
4147 (vc-git-pull): Require vc-dispatcher.
4149 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4151 * progmodes/octave.el (help-button-action): Declare.
4153 * shell.el (shell-directory-tracker): Output error as a message
4154 rather than just returning it as a string.
4155 (shell-process-pushd): Remove useless use of message.
4157 * dframe.el (dframe-timer-fn):
4158 * files.el (dir-locals-read-from-file):
4159 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4161 * reveal.el (reveal-post-command):
4162 * saveplace.el (load-save-place-alist-from-file):
4163 * shell.el (shell-resync-dirs):
4164 * w32-common-fns.el (x-get-selection-value):
4165 * emacs-lisp/copyright.el (copyright-find-copyright):
4166 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4167 * emulation/tpu-edt.el (tpu-copy-keyfile):
4168 * play/bubbles.el (bubbles--mark-neighbourhood):
4169 * progmodes/executable.el
4170 (executable-make-buffer-file-executable-if-script-p):
4171 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4173 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4175 Cleanup Eshell to rely less on dynamic scoping.
4176 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4177 last-value, and ext-command here. Bind `args' closer to `body'.
4178 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4179 (eshell--args): Declare new dynamic var.
4180 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4181 last-value, and ext-command. Pass `args' to `body'.
4182 (eshell-process-args): Bind eshell--args.
4183 (eshell-set-option): Use eshell--args.
4184 * eshell/eshell.el (eshell): Use derived-mode-p.
4185 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4186 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4187 (eshell-glob-function): Declare.
4188 * eshell/esh-util.el: Require cl-lib.
4189 (eshell-read-hosts-file): Avoid add-to-list.
4190 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4192 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4194 (eshell/diff): Remove unused var `err'.
4195 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4197 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4198 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4200 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4201 Move declaration before first use.
4202 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4203 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4206 2013-09-12 Glenn Morris <rgm@gnu.org>
4208 * term/ns-win.el (global-map): Remove binding for ispell-next,
4209 deleted 1999-05-29. (Bug#15357)
4211 2013-09-11 Glenn Morris <rgm@gnu.org>
4213 * echistory.el (electric-command-history): Remove call to deleted func.
4215 * play/landmark.el (landmark-mode): Fix typos.
4217 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4218 Check cvs-sort-ignore-file is bound.
4220 * savehist.el: No need for cl when compiling on Emacs.
4222 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4224 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4226 (eshell-self-insert-command, eshell-send-invisible):
4227 Remove unused argument.
4228 (eshell-handle-control-codes): Remove unused var `orig'.
4229 Avoid delete-backward-char.
4231 * files.el (set-auto-mode): Simplify a bit further.
4233 2013-09-11 Glenn Morris <rgm@gnu.org>
4235 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4236 (set-auto-mode): Don't regexp-quote elements.
4237 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4238 * progmodes/cc-mode.el (interpreter-mode-alist):
4239 * progmodes/ruby-mode.el (interpreter-mode-alist):
4240 Revert previous change.
4242 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4244 * play/snake.el (snake-mode):
4245 * play/mpuz.el (mpuz-mode):
4246 * play/landmark.el (lm-mode):
4247 * play/blackbox.el (blackbox-mode):
4248 * play/5x5.el (5x5-mode):
4249 * obsolete/options.el (Edit-options-mode):
4250 * net/quickurl.el (quickurl-list-mode):
4251 * net/newst-treeview.el (newsticker-treeview-mode):
4252 * mail/rmailsum.el (rmail-summary-mode):
4253 * mail/mspools.el (mspools-mode):
4254 * locate.el (locate-mode):
4255 * ibuffer.el (ibuffer-mode):
4256 * emulation/ws-mode.el (wordstar-mode):
4257 * emacs-lisp/debug.el (debugger-mode):
4258 * array.el (array-mode):
4259 * net/eudc.el (eudc-mode): Use define-derived-mode.
4260 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4261 Move initialization into declaration.
4262 (mairix-searches-mode): Use define-derived-mode.
4263 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4264 (eudc-edit-hotlist): Use dolist.
4265 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4266 (Man-mode): Use define-derived-mode.
4267 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4268 (Info-edit-mode): Use define-derived-mode.
4269 (Info-cease-edit): Use Info-mode.
4270 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4272 (eshell-mode): Use define-derived-mode.
4273 * chistory.el (command-history-mode-map): Rename from
4274 command-history-map.
4275 (command-history-mode): Use define-derived-mode.
4276 (Command-history-setup): Remove function.
4277 * calc/calc.el (calc-trail-mode-map): New var.
4278 (calc-trail-mode): Use define-derived-mode.
4279 (calc-trail-buffer): Set calc-main-buffer manually.
4280 * bookmark.el (bookmark-insert-annotation): New function.
4281 (bookmark-edit-annotation): Use it.
4282 (bookmark-edit-annotation-mode): Make it a proper major mode.
4283 (bookmark-send-edited-annotation): Use derived-mode-p.
4284 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4285 closer to its ideal place. Use \' to match EOS.
4287 * profiler.el (profiler-calltree-find): Use function-equal.
4289 2013-09-10 Glenn Morris <rgm@gnu.org>
4291 * files.el (interpreter-mode-alist): Convert to regexps.
4292 (set-auto-mode): Adapt for this. (Bug#15306)
4293 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4294 Comment out unused variable.
4295 * progmodes/cc-mode.el (interpreter-mode-alist):
4296 * progmodes/python.el (interpreter-mode-alist):
4297 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4298 * progmodes/sh-script.el (sh-set-shell):
4299 No longer use interpreter-mode-alist to get list of shells.
4301 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4303 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4305 * simple.el: Use set-temporary-overlay-map for universal-argument.
4306 (universal-argument-map): Don't use default-bindings (bug#15317).
4307 Bind switch-frame explicitly. Replace universal-argument-minus with
4308 a conditional binding.
4309 (universal-argument-num-events, saved-overriding-map): Remove.
4310 (restore-overriding-map): Remove.
4311 (universal-argument--mode): Rename from save&set-overriding-map,
4313 (universal-argument, universal-argument-more, negative-argument)
4314 (digit-argument): Adjust accordingly.
4315 (universal-argument-minus): Remove.
4316 (universal-argument-other-key): Remove.
4318 * subr.el (with-demoted-errors): Add `format' argument.
4320 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4322 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4323 `tramp-cleanup-connection'.
4325 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4326 parameters KEEP-DEBUG and KEEP-PASSWORD.
4328 * net/tramp.el (tramp-file-name-handler):
4329 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4330 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4331 (tramp-maybe-open-connection):
4332 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4333 Use `tramp-cleanup-connection'.
4335 * net/tramp-sh.el (tramp-maybe-open-connection):
4336 Catch 'uname-changed inside the progress reporter.
4338 2013-09-10 Glenn Morris <rgm@gnu.org>
4340 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4342 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4343 returns "alternate access method" in mode (eg "-rw-r--r--.").
4345 2013-09-08 Glenn Morris <rgm@gnu.org>
4347 * saveplace.el (load-save-place-alist-from-file):
4348 Demote errors. (Bug#15305)
4350 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4352 Improve compatibility with older Emacsen, and XEmacs.
4354 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4355 only if it is bound. It isn't for XEmacs.
4356 (with-tramp-progress-reporter): Do not let-bind `result'.
4357 This yields to scoping errors in XEmacs.
4358 (tramp-handle-make-auto-save-file-name): New function, moved from
4361 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4362 for `make-auto-save-file-name'.
4363 (tramp-adb--gnu-switches-to-ash):
4364 Use `tramp-compat-replace-regexp-in-string'.
4366 * net/tramp-cache.el (tramp-cache-print): Call
4367 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4369 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4370 bound. It isn't for XEmacs.
4372 * net/tramp-compat.el (tramp-compat-copy-file):
4373 Catch `wrong-number-of-arguments' error.
4374 (tramp-compat-replace-regexp-in-string): New defun.
4376 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4377 for `make-auto-save-file-name'.
4378 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4380 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4381 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4382 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4384 * net/tramp-gw.el (tramp-gw-open-network-stream):
4385 Use `tramp-compat-replace-regexp-in-string'.
4387 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4388 Call `tramp-handle-make-auto-save-file-name'.
4389 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4390 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4391 (tramp-sh-file-inotifywait-process-filter):
4392 Use `tramp-compat-replace-regexp-in-string'.
4393 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4395 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4396 for `make-auto-save-file-name'.
4397 (tramp-smb-handle-copy-directory):
4398 Call `tramp-compat-replace-regexp-in-string'.
4399 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4400 (tramp-smb-handle-copy-file): Improve error message.
4401 (tramp-smb-handle-rename-file): Rename directly only in case
4402 `newname' does not exist yet. This is a restriction of smbclient.
4403 (tramp-smb-maybe-open-connection): Rerun the function only when
4404 `auth-sources' is non-nil.
4406 2013-09-08 Kenichi Handa <handa@gnu.org>
4408 * international/characters.el: Set category "^" (Combining) for
4411 2013-09-07 Alan Mackenzie <acm@muc.de>
4413 Correctly fontify Java class constructors.
4414 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4416 (c-recognize-typeless-decls): Set the Java value to t.
4417 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4418 While handling a "(", add a check for, effectively, Java, and handle a
4419 "typeless" declaration there.
4421 2013-09-07 Roland Winkler <winkler@gnu.org>
4423 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4424 field subtitle for entry type book.
4426 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4428 * minibuffer.el: Make minibuffer-complete call completion-in-region
4429 rather than other way around.
4430 (completion--some, completion-pcm--find-all-completions):
4431 Don't delay signals when debugging.
4432 (minibuffer-completion-contents): Beware fields within the
4433 minibuffer contents.
4434 (completion-all-sorted-completions): Use defvar-local.
4435 (completion--do-completion, completion--cache-all-sorted-completions)
4436 (completion-all-sorted-completions, minibuffer-force-complete):
4437 Add args `beg' and `end'.
4438 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4439 (minibuffer-complete): Use completion-in-region.
4440 (completion-complete-and-exit): New fun, extracted from
4441 minibuffer-complete-and-exit.
4442 (minibuffer-complete-and-exit): Use it.
4443 (completion--complete-and-exit): Rename from
4444 minibuffer--complete-and-exit.
4445 (completion-in-region--single-word): New function, extracted from
4446 minibuffer-complete-word.
4447 (minibuffer-complete-word): Use it.
4448 (display-completion-list): Make `common-substring' argument obsolete.
4449 (completion--in-region): Call completion--in-region-1 instead of
4450 minibuffer-complete.
4451 (completion-help-at-point): Pass boundaries to
4452 minibuffer-completion-help as args rather than via an overlay.
4453 (completion-pcm--string->pattern): Use `any-delim'.
4454 (completion-pcm--optimize-pattern): New function.
4455 (completion-pcm--pattern->regex): Handle `any-delim'.
4456 * icomplete.el (icomplete-forward-completions)
4457 (icomplete-backward-completions, icomplete-completions):
4458 Adjust calls to completion-all-sorted-completions and
4459 completion--cache-all-sorted-completions.
4460 (icomplete-with-completion-tables): Default to t.
4461 * emacs-lisp/crm.el (crm--current-element): Rename from
4462 crm--select-current-element. Don't put an overlay but return the
4464 (crm--completion-command): Take two new args to bind to the boundaries.
4465 (crm-completion-help): Adjust accordingly.
4466 (crm-complete): Use completion-in-region.
4467 (crm-complete-word): Use completion-in-region--single-word.
4468 (crm-complete-and-exit): Use completion-complete-and-exit.
4470 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4472 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4475 2013-09-06 Juri Linkov <juri@jurta.org>
4477 * info.el (Info-display-images-node): When image file doesn't exist
4478 display text version of the image if it's provided in the Info file.
4479 Otherwise, display the location of missing image from SRC attribute.
4480 Add help-echo text property from ALT attribute. (Bug#15279)
4482 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4484 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4485 (edit-abbrevs-mode): Use define-derived-mode.
4487 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4488 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4490 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4491 Use define-derived-mode.
4493 * epg.el (epg-start-encrypt): Minor CSE simplification.
4495 2013-09-06 William Xu <william.xwl@gmail.com>
4497 * arc-mode.el: Add support for 7za (bug#15264).
4498 (archive-7z-program): New var.
4499 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4500 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4501 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4503 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4507 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4508 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4509 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4510 (tramp-postfix-host-format, tramp-file-name-regexp)
4511 (tramp-completion-file-name-regexp)
4512 (tramp-completion-dissect-file-name)
4513 (tramp-handle-substitute-in-file-name): Remove 'url case.
4514 (tramp-file-name-regexp-url)
4515 (tramp-completion-file-name-regexp-url): Remove constants.
4517 2013-09-06 Glenn Morris <rgm@gnu.org>
4519 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4521 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4523 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4524 keywords" below "here-doc beginnings" (Bug#15270).
4526 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4528 * subr.el (pop): Use `car-safe'.
4529 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4530 to detect unused `pop' return value.
4532 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4534 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4535 (python-fill-string): Remove unused var `marker'.
4536 (python-skeleton-add-menu-items): Remove unused var `items'.
4538 * international/mule-cmds.el: Require CL.
4539 (find-coding-systems-for-charsets): Avoid add-to-list.
4540 (sanitize-coding-system-list): New function, extracted from
4541 select-safe-coding-system-interactively.
4542 (select-safe-coding-system-interactively): Use it.
4543 (read-input-method-name): Accept symbols for `default'.
4545 * emacs-lisp/advice.el (defadvice): Add indent rule.
4547 2013-09-05 Daniel Hackney <dan@haxney.org>
4551 * net/browse-url.el:
4554 * net/eudcb-ldap.el:
4567 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4568 byte compiler. Remove some unused let-bound variables.
4570 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4572 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4573 a "ref-cell", since it gets better optimized (bug#14883).
4575 2013-09-05 Glenn Morris <rgm@gnu.org>
4577 * progmodes/cc-awk.el (c-forward-sws): Declare.
4579 2013-09-04 Glenn Morris <rgm@gnu.org>
4581 * generic-x.el [rul-generic-mode]: Require cc-mode.
4582 (c++-mode-syntax-table): Declare.
4583 (rul-generic-mode-syntax-table): Init in the defvar.
4585 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4587 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4588 (vc-do-command, vc-set-async-update):
4589 * vc/vc-mtn.el (vc-mtn-dir-status):
4590 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4591 (vc-hg-pull, vc-hg-merge-branch):
4592 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4593 (vc-git-merge-branch):
4594 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4595 (vc-cvs-dir-status-files):
4596 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4597 (vc-bzr-dir-status-files):
4598 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4599 * vc/vc-annotate.el: Use lexical-binding.
4600 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4601 (vc-sentinel-movepoint): Declare.
4602 (vc-annotate): Don't use `goto-line'.
4603 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4604 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4605 (vc-sentinel-movepoint): Declare.
4606 * vc/vc-svn.el: Use lexical-binding.
4607 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4609 * vc/vc-rcs.el: Use lexical-binding.
4611 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4612 `deleted'. Don't drop errors silently.
4614 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4616 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4618 * vc/vc.el (vc-ignore): Rewrite.
4619 (vc-default-ignore): New function.
4620 (vc-default-ignore-completion-table): Use find-ignore-file.
4622 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4623 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4624 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4625 Remove. Most code moved to vc.el.
4627 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4629 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4630 * net/tramp-smb.el (tramp-smb-get-file-entries):
4631 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4632 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4634 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4636 (eww-change-select): Remove unused var `properties'.
4637 (eww-make-unique-file-name): Remove unused var `base'.
4639 * finder.el (finder-compile-keywords): Don't mess with windows.
4641 * calculator.el (calculator-funcall): Fix typo in last change.
4643 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4645 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4646 <pkg>-autoloads.el file stop us.
4648 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4649 warnings, and factor out common code.
4651 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4653 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4654 two-character operators and whether the character preceding them
4655 changes their meaning (Bug#15208).
4657 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4659 Format code sent to Python shell for robustness.
4660 * progmodes/python.el (python-shell-buffer-substring):
4662 (python-shell-send-region, python-shell-send-buffer): Use it.
4664 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4666 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4667 * net/tramp.el (tramp-user-error): ... here.
4668 (tramp-find-method, tramp-check-proper-host)
4669 (tramp-dissect-file-name, tramp-debug-message)
4670 (tramp-handle-shell-command):
4671 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4672 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4674 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4676 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4678 * avoid.el (mouse-avoidance-point-position)
4679 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4682 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4684 * progmodes/python.el (python-shell-completion-get-completions):
4685 Drop use of deleted `comint-last-prompt-overlay'.
4686 (python-nav-if-name-main): New command.
4688 2013-09-01 Glenn Morris <rgm@gnu.org>
4690 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4691 Avoid leading space in $wins. Otherwise the sed command used by
4692 eg compile-main ends up containing "/*.el". (Bug#15170)
4694 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4696 2013-08-30 Glenn Morris <rgm@gnu.org>
4698 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4699 Fix is-this-a-directory logic. (Bug#15220)
4701 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4703 * textmodes/css-mode.el: Use SMIE.
4704 (css-smie-grammar): New var.
4705 (css-smie--forward-token, css-smie--backward-token)
4706 (css-smie-rules): New functions.
4707 (css-mode): Use them.
4708 (css-navigation-syntax-table): Remove var.
4709 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4710 (css-indent-calculate, css-indent-line): Remove functions.
4712 Misc changes to reduce use of `(lambda...); and other cleanups.
4713 * cus-edit.el: Use lexical-binding.
4714 (customize-push-and-save, customize-apropos)
4715 (custom-buffer-create-internal): Use closures.
4716 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4717 * progmodes/ada-xref.el: Use setq.
4718 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4719 * dframe.el: Use lexical-binding.
4720 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4721 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4722 * descr-text.el: Use lexical-binding.
4723 (describe-text-widget, describe-text-sexp, describe-property-list):
4725 * comint.el (comint-history-isearch-push-state): Use a closure.
4726 * calculator.el: Use lexical-binding.
4727 (calculator-number-to-string): Make it work with lexical-binding.
4728 (calculator-funcall): Same and use cl-letf.
4730 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4731 (lisp--company-doc-string, lisp--company-location): New functions.
4732 (lisp-completion-at-point): Use them to improve Company support.
4734 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4735 params of lambda expressions.
4736 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4737 (ruby-smie--opening-pipe-p): New function.
4738 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4739 symbols and matched |...| for formal params.
4740 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4741 from being treated as hanging. Handle "rescue".
4743 2013-08-29 Glenn Morris <rgm@gnu.org>
4745 * progmodes/cc-engine.el (c-pull-open-brace):
4746 Move definition before use.
4748 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4750 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4751 are immutable. Don't use `unsafe' any more.
4752 (cl--defsubst-expand): Don't substitute at the same time as keeping
4753 a residual unused let-binding. Don't use `unsafe' any more.
4755 2013-08-29 Glenn Morris <rgm@gnu.org>
4757 * calendar/cal-china.el (calendar-chinese-year-cache):
4760 * nxml/nxml-util.el (nxml-debug-clear-inside):
4761 Use cl-loop rather than loop.
4763 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4765 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4767 2013-08-28 Glenn Morris <rgm@gnu.org>
4769 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4771 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4773 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4775 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4777 * simple.el (repeat-complex-command--called-interactively-skip):
4779 (repeat-complex-command): Use it (bug#14136).
4781 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4782 (c-define-abbrev-table): Add `doc' argument.
4783 (c-mode-abbrev-table, c++-mode-abbrev-table)
4784 (objc-mode-abbrev-table, java-mode-abbrev-table)
4785 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4786 (awk-mode-abbrev-table): Use it.
4787 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4788 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4789 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4790 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4791 Move initialization into the declaration; and remove any
4794 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4795 and dynamic let binding.
4797 * vc/smerge-mode.el: Remove redundant :group args.
4799 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4802 2013-08-28 Juri Linkov <juri@jurta.org>
4804 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4805 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4806 (isearch-other-meta-char): Handle an undefined shifted printing
4807 character by downshifting it. (Bug#15200)
4809 2013-08-28 Juri Linkov <juri@jurta.org>
4811 * isearch.el (isearch-search): Change regexp error message for
4812 non-regexp searches. (Bug#15166)
4814 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4816 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4817 for portability to hosts where /bin/sh has problems.
4819 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4821 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4823 2013-08-27 Juri Linkov <juri@jurta.org>
4825 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4826 in the keyboard macro. (Bug#15126)
4828 2013-08-27 Juri Linkov <juri@jurta.org>
4830 * isearch.el (isearch-quote-char): Comment out converting unibyte
4831 to multibyte, thus syncing with its `quoted-insert' counterpart.
4834 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4836 * window.el (display-buffer-use-some-window): Add missing
4837 argument in call of get-largest-window (Bug#15185).
4838 Reported by Stephen Leake.
4840 2013-08-27 Glenn Morris <rgm@gnu.org>
4842 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4844 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4846 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4847 from a matcher-function unless there's no more matches (bug#15161).
4849 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4851 * minibuffer.el: Revert change from 2013-08-20.
4853 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4854 with text property `tramp-default', if appropriate.
4855 (tramp-check-proper-host): New defun.
4856 (tramp-dissect-file-name): Do not check hostname. Revert change
4858 (tramp-backtrace): Make VEC-OR-PROC optional.
4860 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4861 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4862 * net/tramp-sh.el (tramp-maybe-open-connection):
4863 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4864 Apply `tramp-check-proper-host'.
4866 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4868 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4869 lambda expression in order to have `describe-variable' display it.
4871 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4873 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4874 BUF can be optional. (Bug#15186)
4876 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4878 * progmodes/flymake.el (flymake-get-real-file-name-function):
4879 Fix broken customization. (Bug#15184)
4881 2013-08-25 Alan Mackenzie <acm@muc.de>
4883 Improve indentation of bracelists defined by macros (without "=").
4885 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4886 expansion begins with "{", regard it as bracelist when it doesn't
4889 Parse C++ inher-intro when there's a template split over 2 lines.
4891 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4892 rigorously the search for "class" etc. followed by ":".
4894 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4895 random languages a regexp which never matches rather than nil.
4897 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4899 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4900 (c-awk-regexp-one-line-possibly-open-char-list-re)
4901 (c-awk-one-line-possibly-open-regexp-re)
4902 (c-awk-one-line-non-syn-ws*-re): Remove.
4903 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4904 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4905 (c-awk-space*-unclosed-regexp-/-re): New constants.
4906 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4907 aren't regexp delimiters.
4909 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4910 handling for a rare situation in AWK Mode involving unterminated
4913 2013-08-23 Glenn Morris <rgm@gnu.org>
4915 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4917 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4919 * files.el (create-file-buffer): If the result would begin with
4920 spaces, prepend a "|" instead of removing them. (Bug#15162)
4922 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4924 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4925 text-properties (bug#15155).
4927 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4929 (calc-keypad-redraw): Remove unused var `pad'.
4930 (calc-keypad-press): Remove unused var `menu'.
4932 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4934 * window.el (display-buffer-pop-up-frame):
4935 Call pop-up-frame-function with BUFFER current so `make-frame' will
4936 use it as the new frame's buffer (Bug#15133).
4938 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4940 * calendar/timeclock.el: Minor cleanups.
4941 (timeclock-ask-before-exiting, timeclock-use-display-time):
4943 (timeclock-modeline-display): Define as alias before the
4945 (timeclock-mode-line-display): Use define-minor-mode.
4946 (timeclock-day-list-template): Make it a function, add an argument.
4947 (timeclock-day-list-required, timeclock-day-list-length)
4948 (timeclock-day-list-debt, timeclock-day-list-span)
4949 (timeclock-day-list-break): Adjust calls accordingly.
4951 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4953 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4954 Use read--expression so that completion works again.
4956 2013-08-21 Sam Steingold <sds@gnu.org>
4958 Add rudimentary inferior shell interaction
4959 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4960 (sh-set-shell): Reset it.
4961 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4962 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4964 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4966 * align.el: Use lexical-binding.
4967 (align-region): Simplify accordingly.
4969 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4971 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4973 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4976 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4980 * net/tramp-cmds.el:
4982 * net/tramp-gvfs.el:
4984 * net/tramp-sh.el: Don't wrap external variable declarations by
4985 `eval-when-compile'.
4987 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4989 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4990 now that Emacs supports ImageMagick animations.
4992 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4994 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4995 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4997 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4999 * window.el (mouse-autoselect-window-select): Do autoselect when
5000 mouse pointer is on margin.
5002 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5004 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5006 2013-08-16 Glenn Morris <rgm@gnu.org>
5008 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5009 Handle "Remote Directory" response of some clients. (Bug#15058)
5011 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5012 Tweak warning. (Bug#14926)
5014 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5015 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5017 * image-mode.el (image-mode-map): Add menu items to reverse,
5018 increase, decrease, reset animation speed.
5019 (image--set-speed, image-increase-speed, image-decrease-speed)
5020 (image-reverse-speed, image-reset-speed): New functions.
5021 (image-mode-map): Add bindings for speed commands.
5023 * image.el (image-animate-get-speed, image-animate-set-speed):
5025 (image-animate-timeout): Respect image :speed property.
5027 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5029 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5030 previous line (bug#15101).
5031 (debugger-eval-expression, debugger-record-expression):
5032 Use read--expression (bug#15102).
5034 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5036 Remove byte compiler warnings, visible when compiling with
5037 `byte-compile-force-lexical-warnings' set to t.
5039 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5040 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5041 (tramp-handle-unhandled-file-name-directory)
5042 (tramp-handle-file-notify-add-watch, tramp-action-login)
5043 (tramp-action-succeed, tramp-action-permission-denied)
5044 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5047 * net/tramp-adb.el (tramp-adb-parse-device-names)
5048 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5049 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5050 (tramp-adb-handle-file-truename): Remove unused arguments.
5052 * net/tramp-cache.el (tramp-flush-directory-property)
5053 (tramp-flush-connection-property, tramp-list-connections)
5054 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5056 * net/tramp-compat.el (tramp-compat-make-temp-file):
5057 Rename FILENAME to F.
5059 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5060 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5061 (tramp-zeroconf-parse-workstation-device-names)
5062 (tramp-zeroconf-parse-webdav-device-names)
5063 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5065 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5066 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5068 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5070 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5071 (tramp-sh-handle-insert-file-contents-literally)
5072 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5074 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5075 Remove unused variables.
5077 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5078 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5079 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5081 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5082 Make them a defconst.
5083 (tramp-uuencode-region): Remove unused variable.
5085 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5087 * frameset.el (frameset--prop-setter): New function.
5088 (frameset-prop): Add gv-setter declaration.
5089 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5090 parameter was already set in FILTERED. Doc fix.
5091 (frameset--record-minibuffer-relationships): Allow saving a
5092 minibufferless frame without its corresponding minibuffer frame.
5093 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5094 frame, if the frame id matches.
5095 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5096 frames before orphaned ones.
5097 (frameset-restore): Warn about orphaned windows, instead of error out.
5099 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5101 * window.el (window-make-atom): Don't overwrite parameter
5103 (display-buffer-in-atom-window): Handle special case where we
5104 split an already atomic window.
5105 (window--major-non-side-window, display-buffer-in-side-window)
5106 (window--side-check): Ignore minibuffer window when walking
5108 (window-deletable-p): Return 'frame only if no other frame uses
5109 our minibuffer window.
5110 (record-window-buffer): Run buffer-list-update-hook.
5111 (split-window): Make sure window--check-frame won't destroy an
5112 existing atomic window in case the new window gets nested
5114 (display-buffer-at-bottom): Ignore minibuffer window when
5115 walking window tree. Don't split a side window.
5116 (pop-to-buffer): Don't set-buffer here, the select-window call
5118 (mouse-autoselect-window-select): Autoselect only if we are in the
5119 text portion of the window.
5121 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5123 * net/shr.el (shr-parse-image-data): New function to grab both the
5124 data itself and the Content-Type.
5125 (shr-put-image): Use it.
5127 * net/eww.el (eww-display-image): Ditto.
5129 * image.el (image-content-type-suffixes): New variable.
5131 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5133 * progmodes/python.el (python-imenu--build-tree)
5134 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5136 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5138 * simple.el (backward-word): Mention the optional argument.
5140 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5142 * frameset.el (frameset--make): Rename constructor from make-frameset.
5143 (frameset-p, frameset-valid-p): Don't autoload.
5144 (frameset-valid-p): Use normal accessors.
5146 2013-08-13 Glenn Morris <rgm@gnu.org>
5148 * progmodes/compile.el (compile-command): Tweak example in doc.
5149 * obsolete/scribe.el (scribe-mode):
5150 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5152 * mail/feedmail.el (feedmail-confirm-outgoing)
5153 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5155 * cus-start.el (truncate-partial-width-windows): Fix type.
5157 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5159 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5161 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5163 * emacs-lisp/timer.el (timer--time-setter): New function.
5164 (timer--time): Use it as gv-setter.
5166 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5167 setter is not a symbol.
5169 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5171 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5172 if sending fails. This makes debugging easier.
5174 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5176 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5177 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5178 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5180 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5182 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5184 2013-08-12 Glenn Morris <rgm@gnu.org>
5186 * format.el (format-annotate-function):
5187 Handle read-only text properties in the source. (Bug#14887)
5189 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5191 * net/eww.el (eww-display-html): Ignore coding system errors.
5192 One web site uses "utf-8lias" as the coding system.
5194 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5196 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5198 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5200 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5201 (tutorial--detailed-help): Remove unused local variables.
5202 (tutorial--save-tutorial-to): Use ignore-errors.
5203 (help-with-tutorial): Use looking-at-p.
5205 * view.el (view-buffer-other-window, view-buffer-other-frame):
5206 Mark unused arguments.
5208 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5209 (woman-select-symbol-fonts, woman, woman-find-file)
5210 (woman-insert-file-contents, woman-non-underline-faces):
5212 (woman1-unquote): Move declaration.
5214 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5215 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5216 argument. Remove unused local variable.
5217 (xml-parse-elem-type): Use string-match-p.
5218 (xml-substitute-numeric-entities): Use ignore-errors.
5220 * calculator.el (calculator): Mark unused argument.
5221 (calculator-paste, calculator-quit, calculator-integer-p):
5223 (calculator-string-to-number, calculator-decimal, calculator-exp)
5224 (calculator-op-or-exp): Use string-match-p.
5226 * dired.el (dired-buffer-more-recently-used-p): Declare.
5227 (dired-insert-set-properties, dired-insert-old-subdirs):
5230 * dired-aux.el (dired-compress): Use ignore-errors.
5231 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5232 (dired-do-async-shell-command, dired-do-shell-command)
5233 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5234 (dired-insert-subdir-validate): Use string-match-p.
5235 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5236 (dired-add-entry): Use string-match-p, looking-at-p.
5237 (dired-insert-subdir-newpos): Remove unused local variable.
5239 * filenotify.el (file-notify-callback): Remove unused local variable.
5241 * filesets.el (filesets-error): Mark unused argument.
5242 (filesets-which-command-p, filesets-filter-dir-names)
5243 (filesets-directory-files, filesets-get-external-viewer)
5244 (filesets-ingroup-get-data): Use string-match-p.
5246 * find-file.el (ff-other-file-name, ff-other-file-name)
5247 (ff-find-the-other-file, ff-cc-hh-converter):
5248 Remove unused local variables.
5249 (ff-get-file-name): Use string-match-p.
5250 (ff-all-dirs-under): Use ignore-errors.
5252 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5253 (follow-select-if-visible): Remove unused local variable.
5255 * forms.el (read-file-filter): Move declaration.
5256 (forms--make-format, forms--make-parser, forms-insert-record):
5257 Quote function with #'.
5258 (forms--update): Use string-match-p. Quote function with #'.
5260 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5261 (help-make-xrefs): Use looking-at-p.
5262 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5264 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5265 (ibuffer-confirm-operation-on): Use string-match-p.
5267 * msb.el (msb-item-handler, msb-dired-item-handler):
5268 Mark unused arguments.
5270 * ses.el (ses-decode-cell-symbol)
5271 (ses-kill-override): Remove unused local variable.
5272 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5273 (ses-load): Use ignore-errors, looking-at-p.
5274 (ses-jump-safe): Use ignore-errors.
5275 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5277 * tabify.el (untabify, tabify): Mark unused arguments.
5279 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5280 Mark unused argument.
5281 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5282 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5284 * emacs-lisp/timer.el (timer--time): Define setter with
5285 gv-define-setter to avoid deprecation warning.
5287 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5288 (*record-cmpl-statistics-p*): Remove (was commented out).
5289 (cmpl-statistics-block): Remove (body was commented out).
5290 All callers changed.
5291 (add-completions-from-buffer, load-completions-from-file):
5292 Remove unused variables.
5294 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5296 * filecache.el (file-cache-delete-file-list):
5297 Print message only when told so.
5298 (file-cache-files-matching): Use #' in mapconcat argument.
5300 * ffap.el (ffap-url-at-point): Fix reference to variable
5301 thing-at-point-default-mail-uri-scheme.
5303 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5305 * subr.el (define-error): New function.
5306 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5307 error-file-not-found and define with define-error.
5308 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5309 and define with define-error.
5310 * userlock.el (file-locked, file-supersession):
5311 * simple.el (mark-inactive):
5312 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5313 * progmodes/ada-mode.el (ada-mode-errors):
5314 * play/life.el (life-extinct):
5315 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5316 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5317 * nxml/rng-util.el (rng-error):
5318 * nxml/rng-uri.el (rng-uri-error):
5319 * nxml/rng-match.el (rng-compile-error):
5320 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5321 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5322 * nxml/nxml-rap.el (nxml-scan-error):
5323 * nxml/nxml-outln.el (nxml-outline-error):
5324 * net/soap-client.el (soap-error):
5325 * net/gnutls.el (gnutls-error):
5326 * net/ange-ftp.el (ftp-error):
5327 * mpc.el (mpc-proc-error):
5328 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5329 (json-number-format, json-string-escape, json-string-format)
5330 (json-key-format, json-object-format):
5331 * jka-compr.el (compression-error):
5332 * international/quail.el (quail-error):
5333 * international/kkc.el (kkc-error):
5334 * emacs-lisp/ert.el (ert-test-failed):
5335 * calc/calc.el (calc-error, inexact-result, math-overflow)
5337 * bookmark.el (bookmark-error-no-filename):
5338 * epg.el (epg-error): Define with define-error.
5340 * time.el (display-time-event-handler)
5341 (display-time-next-load-average): Don't call sit-for since it seems
5342 unnecessary (bug#15045).
5344 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5345 Use #' instead of ' to quote functions.
5346 (checkdoc-output-mode): Use setq-local.
5347 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5348 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5349 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5350 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5351 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5352 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5353 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5354 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5356 * ido.el (ido-completion-help): Fix up compiler warning.
5358 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5360 * frameset.el (frameset-p): Add autoload cookie.
5361 (frameset--jump-to-register): New function, based on code moved from
5363 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5365 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5366 (frameset-restore, frameset-save, frameset-session-filter-alist):
5367 Remove declarations.
5368 (register-alist): Doc fix.
5369 (frameset-to-register): Move to frameset.el.
5370 (jump-to-register, describe-register-1): Remove frameset-specific code.
5372 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5374 * allout-widgets.el (allout-widgets-pre-command-business)
5375 (allout-widgets-post-command-business)
5376 (allout-widgets-after-change-handler)
5377 (allout-decorate-item-and-context, allout-set-boundary-marker)
5378 (allout-body-modification-handler)
5379 (allout-graphics-modification-handler): Mark ignored arguments.
5380 (allout-widgets-post-command-business)
5381 (allout-widgets-exposure-change-processor)
5382 (allout-widgets-exposure-undo-processor)
5383 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5384 (allout-parse-item-at-point, allout-decorate-item-guides)
5385 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5386 * allout.el (epa-passphrase-callback-function): Declare.
5387 (allout-overlay-insert-in-front-handler)
5388 (allout-overlay-interior-modification-handler)
5389 (allout-isearch-end-handler, allout-chart-siblings)
5390 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5391 (allout-yank-processing, allout-process-exposed)
5392 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5393 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5394 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5395 (lisp-indent-defform): Mark ignored arguments.
5396 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5397 (calculate-lisp-indent): Remove unused variables.
5398 * international/characters.el (indian-2-column, arabic-2-column)
5399 (tibetan): Mark ignored arguments.
5400 (use-cjk-char-width-table): Mark ignored arguments.
5401 Remove unused variables.
5402 * international/fontset.el (build-default-fontset-data)
5403 (x-compose-font-name, create-fontset-from-fontset-spec):
5404 Mark ignored arguments.
5405 (fontset-plain-name): Remove unused variables.
5406 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5407 (keyboard-coding-system): Mark ignored arguments.
5408 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5409 * help.el (resize-temp-buffer-window):
5410 * window.el (display-buffer-in-major-side-window)
5411 (display-buffer-in-side-window, display-buffer-in-previous-window):
5412 Remove unused variables.
5413 * isearch.el (isearch-forward-symbol):
5414 * version.el (emacs-bzr-version-bzr):
5415 * international/mule-cmds.el (current-language-environment):
5416 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5418 * term/pc-win.el (x-list-fonts, x-display-planes)
5419 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5420 (x-server-version, x-display-screens, x-display-mm-height)
5421 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5422 (x-selection-owner-p, x-own-selection-internal)
5423 (x-disown-selection-internal, x-get-selection-internal)
5424 (msdos-initialize-window-system):
5425 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5426 * term/x-win.el (x-handle-no-bitmap-icon):
5427 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5428 (vc-default-find-file-hook, vc-default-extra-menu):
5429 Mark ignored arguments.
5431 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5433 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5434 break-condition in the context of the debugged code (bug#12685).
5436 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5439 Do not use an overlay to highlight the last prompt. (Bug#14744)
5440 (comint-mode): Make comint-last-prompt buffer local.
5441 (comint-last-prompt): New variable.
5442 (comint-last-prompt-overlay): Remove. Superseded by
5444 (comint-snapshot-last-prompt, comint-output-filter):
5445 Use comint-last-prompt.
5447 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5449 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5450 (frameset-save): Check validity of the resulting frameset.
5452 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5454 * ido.el (ido-record-command): Add doc string.
5456 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5458 * frameset.el (frameset): Do not disable creation of the default
5459 frameset-p predicate. Doc fix.
5460 (frameset-valid-p): New function, copied from the old predicate-p.
5461 Add additional checks.
5462 (frameset-restore): Check with frameset-valid-p.
5463 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5464 (frameset-name, frameset-description, frameset-properties)
5465 (frameset-states): Add docstring.
5466 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5467 (frameset-filter-alist): Doc fixes.
5469 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5471 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5473 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5475 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5476 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5477 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5478 (byte-compile-normal-call): Remove obsolescence check.
5480 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5482 * frameset.el (frameset-restore): Doc fix.
5484 * register.el (frameset-frame-id, frameset-frame-with-id)
5485 (frameset-p, frameset-restore, frameset-save): Declare.
5486 (register-alist): Document framesets.
5487 (frameset-session-filter-alist): Declare.
5488 (frameset-to-register): New function.
5489 (jump-to-register): Implement jumping to framesets. Doc fix.
5490 (describe-register-1): Describe framesets.
5492 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5494 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5496 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5497 Use lexical-binding.
5499 * frameset.el (frameset): Use type vector, not list (incompatible
5500 change). Do not declare a new constructor, use the default one.
5501 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5502 `name' and `description', respectively, and add read-only slot
5503 `timestamp'. Doc fixes.
5504 (frameset-copy, frameset-persistent-filter-alist)
5505 (frameset-filter-alist, frameset-switch-to-gui-p)
5506 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5507 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5508 (frameset-filter-iconified, frameset-keep-original-display-p):
5510 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5511 Rename from frameset-filter-(save|restore)-param. All callers changed.
5513 (frameset-p): Adapt to change to vector and be more thorough.
5514 Change arg name to OBJECT. Doc fix.
5515 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5516 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5517 All callers changed.
5518 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5519 All callers changed.
5520 (frameset--record-minibuffer-relationships): Rename from
5521 frameset--process-minibuffer-frames. All callers changed.
5522 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5523 Use new default constructor (again). Doc fix.
5524 (frameset--find-frame-if): Rename from `frameset--find-frame.
5525 All callers changed.
5526 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5527 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5529 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5530 PARAMETERS and WINDOW-STATE, respectively.
5531 (frameset-restore): Add new keyword argument PREDICATE.
5532 Reset frameset--target-display to nil. Doc fix.
5534 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5536 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5538 (bat-mode-syntax-table): Mark \n as end-of-comment.
5539 (bat-font-lock-keywords): Remove comment rule.
5541 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5542 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5544 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5545 (byte-compile-callargs-warn): Use `push'.
5546 (byte-compile-arglist-warn): Ignore higher-order "calls".
5547 (byte-compile-file-form-autoload): Use `pcase'.
5548 (byte-compile-function-form): If quoting a symbol, check that it exists.
5550 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5552 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5553 and add a few popular commands found in batch files.
5554 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5555 (dos-mode): Doc fixes.
5557 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5559 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5560 (dos-mode): Use setq-local. Add space after "rem".
5561 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5562 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5564 2013-08-07 Arni Magnusson <arnima@hafro.is>
5566 * progmodes/dos.el: New file.
5567 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5570 2013-08-06 Glenn Morris <rgm@gnu.org>
5572 * calendar/calendar.el: Add new faces, and day-header-array.
5573 (calendar-weekday-header, calendar-weekend-header)
5574 (calendar-month-header): New faces.
5575 (calendar-day-header-construct): New function.
5576 (calendar-day-header-width): Also :set calendar-day-header-array.
5577 (calendar-american-month-header, calendar-european-month-header)
5578 (calendar-iso-month-header): Use calendar- faces.
5579 (calendar-generate-month):
5580 Use calendar-day-header-array for day headers; apply faces to them.
5581 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5582 (calendar-abbrev-construct): Add optional maxlen argument.
5583 (calendar-day-name-array): Doc fix.
5584 (calendar-day-name-array, calendar-abbrev-length)
5585 (calendar-day-abbrev-array):
5586 Also :set calendar-day-header-array, and maybe redraw.
5587 (calendar-day-header-array): New option. (Bug#15007)
5588 (calendar-font-lock-keywords): Set to nil and make obsolete.
5589 (calendar-day-name): Add option to use header array.
5591 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5593 * net/shr.el (shr-render-td): Remove debugging.
5594 (shr-render-td): Make width computation consistent by defaulting
5595 all zero-width columns to 10 characters. This may not be optimal,
5596 but it's at least consistent.
5597 (shr-make-table-1): Redo last change to fix the real problem in
5600 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5602 * files.el (cache-long-line-scans):
5603 Make obsolete alias to `cache-long-scans'.
5605 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5607 * frameset.el (frameset, frameset-filter-alist)
5608 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5609 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5610 (frameset-compute-pos): Rename from frameset--compute-pos,
5612 (frameset-move-onscreen): Use frameset-compute-pos.
5613 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5615 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5616 Fix typos in docstrings.
5618 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5620 * frame.el (get-other-frame): Tiny cleanup.
5622 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5624 * vc/vc.el (vc-default-ignore-completion-table):
5625 Silence byte-compiler warning.
5627 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5628 slot , which can indeed be nil.
5629 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5630 Move entry for `left' from persistent to live filter alist.
5631 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5633 (frameset-filter-params): When restoring a frame, copy items added to
5634 `filtered', to avoid unwittingly modifying the original parameters.
5635 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5636 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5638 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5639 to use looking-at-p instead of looking-at. (Bug#15028)
5641 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5643 Revert introduction of isearch-filter-predicates (bug#14714).
5644 Rely on add-function instead.
5645 * isearch.el (isearch-filter-predicates): Rename it back to
5646 isearch-filter-predicate.
5647 (isearch-message-prefix): Use advice-function-mapc and advice
5648 properties to get the isearch-message-prefix.
5649 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5650 instead of run-hook-with-args-until-failure.
5651 (isearch-filter-visible): Not obsolete any more.
5652 * loadup.el: Preload nadvice.
5653 * replace.el (perform-replace): Revert to funcall
5654 instead of run-hook-with-args-until-failure.
5655 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5656 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5657 dired-isearch-filenames-toggle; make it into a proper minor mode.
5658 Use add/remove-function.
5659 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5660 Call the minor-mode rather than add/remove-hook.
5661 (dired-isearch-filter-filenames):
5662 Remove isearch-message-prefix property.
5663 * info.el (Info--search-loop): New function, extracted from Info-search.
5664 Funcall isearch-filter-predicate instead of
5665 run-hook-with-args-until-failure isearch-filter-predicates.
5666 (Info-search): Use it.
5667 (Info-mode): Use isearch-filter-predicate instead of
5668 isearch-filter-predicates.
5670 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5672 Do not call to `selected-window' where it is assumed by default.
5673 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5674 `window-hscroll', `window-width', `window-height', `window-buffer',
5675 `window-frame', `window-start', `window-point', `next-window'
5676 and `window-display-table'.
5677 * abbrev.el (abbrev--default-expand):
5678 * bs.el (bs--show-with-configuration):
5679 * buff-menu.el (Buffer-menu-mouse-select):
5680 * calc/calc.el (calc):
5681 * calendar/calendar.el (calendar-generate-window):
5682 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5684 * comint.el (send-invisible, comint-dynamic-complete-filename)
5685 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5686 * completion.el (complete):
5687 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5688 * disp-table.el (describe-current-display-table):
5689 * doc-view.el (doc-view-insert-image):
5690 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5691 * ehelp.el (with-electric-help):
5692 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5693 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5694 * emacs-lisp/helper.el (Helper-help-scroller):
5695 * emulation/cua-base.el (cua--post-command-handler-1):
5696 * eshell/esh-mode.el (eshell-output-filter):
5697 * ffap.el (ffap-gnus-wrapper):
5698 * help-macro.el (make-help-screen):
5699 * hilit-chg.el (highlight-compare-buffers):
5700 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5701 * hl-line.el (global-hl-line-highlight):
5702 * icomplete.el (icomplete-simple-completing-p):
5703 * isearch.el (isearch-done):
5704 * jit-lock.el (jit-lock-stealth-fontify):
5705 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5706 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5707 * mpc.el (mpc-tagbrowser, mpc):
5708 * net/rcirc.el (rcirc-any-buffer):
5709 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5710 * play/landmark.el (landmark-max-width, landmark-max-height):
5711 * play/zone.el (zone):
5712 * progmodes/compile.el (compilation-goto-locus):
5713 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5714 * progmodes/etags.el (find-tag-other-window):
5715 * progmodes/fortran.el (fortran-column-ruler):
5716 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5717 * progmodes/verilog-mode.el (verilog-point-text):
5718 * reposition.el (reposition-window):
5719 * rot13.el (toggle-rot13-mode):
5720 * server.el (server-switch-buffer):
5721 * shell.el (shell-dynamic-complete-command)
5722 (shell-dynamic-complete-environment-variable):
5723 * simple.el (insert-buffer, set-selective-display)
5724 (delete-completion-window):
5725 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5726 (speedbar-recenter):
5727 * startup.el (fancy-splash-head):
5728 * textmodes/ispell.el (ispell-command-loop):
5729 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5730 * tutorial.el (help-with-tutorial):
5731 * vc/add-log.el (add-change-log-entry):
5732 * vc/compare-w.el (compare-windows):
5733 * vc/ediff-help.el (ediff-indent-help-message):
5734 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5735 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5736 (ediff-setup-control-frame):
5737 * vc/emerge.el (emerge-position-region):
5738 * vc/pcvs-util.el (cvs-bury-buffer):
5739 * window.el (walk-windows, mouse-autoselect-window-select):
5740 * winner.el (winner-set-conf, winner-undo): Related users changed.
5742 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5744 * frameset.el (frameset--set-id): Doc fix.
5745 (frameset-frame-id, frameset-frame-id-equal-p)
5746 (frameset-locate-frame-id): New functions.
5747 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5748 (frameset-restore): Use them.
5750 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5752 Do not call to `selected-frame' where it is assumed by default.
5753 Affected functions are `raise-frame', `redraw-frame',
5754 `frame-first-window', `frame-terminal' and `delete-frame'.
5755 * calendar/appt.el (appt-disp-window):
5756 * epg.el (epg-wait-for-completion):
5757 * follow.el (follow-delete-other-windows-and-split)
5758 (follow-avoid-tail-recenter):
5759 * international/mule.el (set-terminal-coding-system):
5760 * mail/rmail.el (rmail-mail-return):
5761 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5762 * progmodes/f90.el (f90-add-imenu-menu):
5763 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5764 * server.el (server-switch-buffer):
5765 * simple.el (delete-completion-window):
5767 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5768 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5769 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5770 * vc/ediff.el (ediff-documentation): Related users changed.
5771 * frame.el (selected-terminal): Remove the leftover.
5773 2013-08-05 Glenn Morris <rgm@gnu.org>
5775 * calendar/calendar.el (calendar-generate-month):
5776 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5777 (calendar-generate-month, calendar-font-lock-keywords):
5778 Fix for calendar-day-header-width > length of any day name.
5780 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5782 * desktop.el (desktop-clear): Use new name of sort predicate.
5784 * frameset.el (frameset): Add docstring. Move :version property to its
5786 (frameset-copy): Rename from copy-frameset.
5787 (frameset-p): Check more thoroughly.
5788 (frameset-prop): Do not check for :version, which is no longer a prop.
5789 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5790 Use new :never value instead of t.
5791 (frameset-filter-alist): Expand and clarify docstring.
5792 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5793 (frameset-filter-minibuffer, frameset-filter-save-param)
5794 (frameset-filter-restore-param, frameset-filter-iconified):
5795 Add pointer to docstring of frameset-filter-alist.
5796 (frameset-filter-params): Rename filter values to be more meaningful:
5797 :never instead of t, and reverse the meanings of :save and :restore.
5798 (frameset--process-minibuffer-frames): Clarify error message.
5799 (frameset-save): Avoid unnecessary and confusing call to framep.
5800 Use new BOA constructor for framesets.
5801 (frameset--reuse-list): Doc fix.
5802 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5803 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5804 (frameset-minibufferless-first-p): Doc fix.
5805 Rename from frameset-sort-frames-for-deletion.
5806 (frameset-restore): Doc fixes. Use new function names.
5807 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5809 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5811 * desktop.el (desktop-restore-forces-onscreen)
5812 (desktop-restore-reuses-frames): Document :keyword constant values.
5813 (desktop-filter-parameters-alist): Remove, now identical to
5814 frameset-filter-alist.
5815 (desktop--filter-tty*): Remove, moved to frameset.el.
5816 (desktop-save-frameset, desktop-restore-frameset):
5817 Do not pass :filters argument.
5819 * frameset.el (frameset-live-filter-alist)
5820 (frameset-persistent-filter-alist): New variables.
5821 (frameset-filter-alist): Use them. Add autoload cookie.
5822 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5823 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5824 `frameset--id' (it's supposed to be internal to frameset.el).
5825 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5826 (frameset--initial-params): New function.
5827 (frameset--get-frame): Use it. Doc fix.
5828 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5829 Accept :all, not 'all.
5830 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5831 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5832 with fbound symbols. Fix frame id matching, and remove matching ids if
5833 the frame being restored is deleted. Obey :delete.
5835 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5837 * subr.el (macrop): New function.
5838 (text-clone--maintaining): New var.
5839 (text-clone--maintain): Rename from text-clone-maintain. Use it
5840 instead of inhibit-modification-hooks.
5842 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5843 a proxy, so as handle autoloads and redefinitions of the target.
5844 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5846 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5847 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5848 (pcase--mutually-exclusive-p): New function.
5849 (pcase--split-consp): Use it.
5850 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5851 mutually exclusive with the current predicate.
5853 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5854 (edebug-macrop): Remove. Use `macrop' instead.
5855 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5857 * eshell/esh-cmd.el (eshell-macrop):
5858 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5860 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5862 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5863 (advice-mapc): New function, using it.
5864 (advice-function-member-p): New function.
5865 (advice--normalize): Store the cdr in advice--saved-rewrite since
5866 that's the part that will be changed.
5867 (advice--symbol-function): New function.
5868 (advice-remove): Handle removal before the function is defined.
5869 Adjust to new advice--saved-rewrite.
5870 (advice-member-p): Use advice-function-member-p and
5871 advice--symbol-function.
5873 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5875 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5876 (frameset-filter-minibuffer): Doc fix.
5877 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5878 (frameset--set-id, frameset--process-minibuffer-frames)
5879 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5880 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5882 * desktop.el (desktop-clear): Only delete frames when called
5883 interactively and desktop-restore-frames is non-nil. Doc fix.
5884 (desktop-read): Set desktop-saved-frameset to nil.
5886 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5888 * vc/vc.el (vc-ignore): Rewrite.
5889 (vc-default-ignore-completion-table):
5891 (vc--add-line, vc--remove-regexp): New functions.
5893 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5894 (vc-svn-ignore-completion-table): New function.
5896 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5897 (vc-hg-ignore-completion-table):
5898 (vc-hg-find-ignore-file): New functions.
5900 * vc/vc-git.el (vc-git-ignore): Rewrite.
5901 (vc-git-ignore-completion-table):
5902 (vc-git-find-ignore-file): New functions.
5904 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5906 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5907 (vc-bzr-ignore-completion-table):
5908 (vc-bzr-find-ignore-file): New functions.
5910 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5912 * frameset.el (frameset-prop): New function and setter.
5913 (frameset-save): Do not modify frame list passed by the caller.
5915 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5917 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5919 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5921 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5922 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5924 * custom.el (custom-initialize-default, custom-initialize-set)
5925 (custom-initialize-reset, custom-initialize-changed): Affect the
5926 toplevel-default-value (bug#6275, bug#14586).
5927 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5930 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5932 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5933 Add cl-def* expressions.
5935 * frameset.el (frameset-filter-params): Fix order of arguments.
5937 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5939 Move code related to saving frames to frameset.el.
5940 * desktop.el: Require frameset.
5941 (desktop-restore-frames): Doc fix.
5942 (desktop-restore-reuses-frames): Rename from
5943 desktop-restoring-reuses-frames.
5944 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5945 (desktop-clear): Clear frames too.
5946 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5947 (desktop--filter-tty*, desktop-save, desktop-read):
5948 Use frameset functions.
5949 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5950 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5951 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5952 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5953 (desktop--process-minibuffer-frames, desktop-save-frames)
5954 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5955 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5956 (desktop--sort-states, desktop-restoring-frames-p)
5957 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5958 (desktop-restoring-frameset-p, desktop-restore-frameset)
5959 (desktop--check-dont-save, desktop-save-frameset): New functions.
5960 (desktop--app-id): New constant.
5961 (desktop-first-buffer, desktop-buffer-ok-count)
5962 (desktop-buffer-fail-count): Move before first use.
5963 * frameset.el: New file.
5965 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5967 * files.el: Use lexical-binding.
5968 (dir-locals-read-from-file): Remove unused `err' variable.
5969 (hack-dir-local-variables--warned-coding): New var.
5970 (hack-dir-local-variables): Use it to avoid repeated warnings.
5971 (make-backup-file-name--default-function): New function.
5972 (make-backup-file-name-function): Use it as default.
5973 (buffer-stale--default-function): New function.
5974 (buffer-stale-function): Use it as default.
5975 (revert-buffer-insert-file-contents--default-function): New function.
5976 (revert-buffer-insert-file-contents-function): Use it as default.
5977 (insert-directory): Avoid add-to-list.
5979 * autorevert.el (auto-revert-handler): Simplify.
5980 Use buffer-stale--default-function.
5982 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5984 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5986 * whitespace.el (whitespace-ensure-local-variables): New function.
5987 (whitespace-cleanup-region): Call it.
5988 (whitespace-turn-on): Call it.
5990 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5992 Complete file name handlers.
5994 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5995 (tramp-handle-verify-visited-file-modtime)
5996 (tramp-handle-file-notify-rm-watch): New functions.
5997 (tramp-call-process): Do not bind `default-directory'.
5999 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6000 Order alphabetically.
6001 [access-file, add-name-to-file, dired-call-process]:
6002 [dired-compress-file, file-acl, file-notify-rm-watch]:
6003 [file-ownership-preserved-p, file-selinux-context]:
6004 [make-directory-internal, make-symbolic-link, set-file-acl]:
6005 [set-file-selinux-context, set-visited-file-modtime]:
6006 [verify-visited-file-modtime]: Add handler.
6007 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6009 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6010 [file-notify-add-watch, file-notify-rm-watch]:
6011 [set-file-times, set-visited-file-modtime]:
6012 [verify-visited-file-modtime]: Add handler.
6013 (with-tramp-gvfs-error-message)
6014 (tramp-gvfs-handle-set-visited-file-modtime)
6015 (tramp-gvfs-fuse-file-name): Remove.
6016 (tramp-gvfs-handle-file-notify-add-watch)
6017 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6018 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6020 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6021 Order alphabetically.
6022 [file-notify-rm-watch ]: Use default Tramp handler.
6023 [executable-find]: Remove private handler.
6024 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6025 `default-directory'.
6026 (tramp-sh-handle-executable-find)
6027 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6028 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6029 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6030 Do not use `format' in `tramp-message'.
6032 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6033 [file-notify-rm-watch, set-visited-file-modtime]:
6034 [verify-visited-file-modtime]: Add handler.
6035 (tramp-smb-call-winexe): Do not bind `default-directory'.
6037 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6039 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6041 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6043 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6045 (log-view-diff-changeset): Same.
6046 (log-view-diff-common): Call backend command `previous-revision'
6047 to find out the previous revision, in both cases. Swap the
6048 variables `to' and `fr', so that `fr' usually refers to the
6049 earlier revision (Bug#14989).
6051 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6053 * ibuf-ext.el (ibuffer-filter-by-filename):
6054 Make it work with dired buffers too.
6056 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6058 * emacs-lisp/re-builder.el (reb-color-display-p):
6059 * files.el (save-buffers-kill-terminal):
6060 * net/browse-url.el (browse-url):
6061 * server.el (server-save-buffers-kill-terminal):
6062 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6063 Prefer nil to selected-frame for the first arg of frame-parameter.
6065 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6067 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6069 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6071 * minibuffer.el (completion--twq-all): Try and preserve each
6072 completion's case choice (bug#14907).
6074 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6076 * net/network-stream.el (open-network-stream): Mention the new
6077 :nogreeting parameter.
6078 (network-stream-open-starttls): Use the :nogreeting parameter
6081 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6083 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6084 more natural than popping.
6086 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6087 (shr-urlify): Highlight under mouse.
6089 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6091 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6093 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6095 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6098 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6099 point-min==1. Fix search string. Fix parentheses missing.
6101 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6102 assume point-min==1. Fix search string. Fix parentheses missing.
6104 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6106 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6109 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6111 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6112 initial frame is minibuffer-less. (Bug#14841)
6114 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6116 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6119 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6120 (tramp-maybe-open-connection): Use it.
6122 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6124 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6125 minimal set of parameters passed when creating a frame, because
6126 the minibuffer status of a frame cannot be changed later.
6128 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6130 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6131 replace-regexp-in-string and inadvertent omissions in previous change.
6132 (todo-filter-items): Ensure only file names are comma-separated in
6133 name of filtered items buffer.
6135 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6137 * desktop.el: Optionally force offscreen frames back onscreen.
6138 (desktop-restoring-reuses-frames): New option.
6139 (desktop--compute-pos, desktop--move-onscreen): New functions.
6140 (desktop--make-frame): Use desktop--move-onscreen.
6142 2013-07-27 Alan Mackenzie <acm@muc.de>
6144 Fontify a Java generic method as a function.
6145 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6148 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6150 * calendar/todo-mode.el: Add command to rename todo files.
6151 (todo-rename-file): New command.
6152 (todo-key-bindings-t): Add key binding for it. Change the
6153 bindings of todo-filter-regexp-items(-multifile) to use `x'
6154 instead of `r', since the latter is better suited to the new
6157 2013-07-27 Alan Mackenzie <acm@muc.de>
6159 Make Java try-with-resources statement parse properly.
6160 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6161 (c-block-stmt-1-2-key): New language constants/variables.
6162 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6163 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6164 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6165 with c-block-stmt-1-2-key.
6167 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6169 * desktop.el (desktop--make-frame): Apply most frame parameters after
6170 creating the frame to force (partially or totally) offscreen frames to
6171 be restored as such.
6173 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6175 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6178 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6180 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6181 `base' arg of backtrace-frame.
6183 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6185 * simple.el (list-processes): Doc fix.
6187 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6189 * desktop.el (desktop--select-frame):
6190 Try harder to reuse existing frames.
6192 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6194 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6195 (edebug-eval): Use backtrace-eval.
6196 (edebug--display, edebug--recursive-edit): Don't let-bind the
6197 edebug-outer-* vars that keep track of variables we locally let-bind.
6198 (edebug-outside-excursion): Don't restore outside values of locally
6200 (edebug--display): Use user-error.
6201 (cl-lexical-debug, cl-debug-env): Remove.
6203 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6205 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6206 are restored to be sure that they are visible before deleting any
6209 2013-07-26 Matthias Meulien <orontee@gmail.com>
6211 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6212 vc-print-root-log. (Bug#14948)
6214 2013-07-26 Richard Stallman <rms@gnu.org>
6216 Add aliases for encrypting mail.
6217 * epa.el (epa-mail-aliases): New option.
6218 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6219 Bind inhibit-read-only so read-only text doesn't ruin everything.
6220 (epa-mail-default-recipients): New subroutine broken out.
6221 Handle epa-mail-aliases.
6223 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6225 Add support for lexical variables to the debugger's `e' command.
6226 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6227 vars, except for debugger-outer-match-data.
6228 (debugger-frame-number): Move check for "on a function call" from
6229 callers into it. Add `skip-base' argument.
6230 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6231 (debugger-env-macro): Only reset the state stored in non-variables,
6232 i.e. current-buffer and match-data.
6233 (debugger-eval-expression): Rewrite using backtrace-eval.
6234 * subr.el (internal--called-interactively-p--get-frame): Remove.
6235 (called-interactively-p):
6236 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6237 `base' arg of backtrace-frame instead.
6239 2013-07-26 Glenn Morris <rgm@gnu.org>
6241 * align.el (align-regexp): Doc fix. (Bug#14857)
6242 (align-region): Explicit error if subexpression missing/does not match.
6244 * simple.el (global-visual-line-mode):
6245 Do not duplicate the mode lighter. (Bug#14858)
6247 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6249 * window.el (display-buffer): In display-buffer bind
6250 split-window-keep-point to t, bug#14829.
6252 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6254 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6255 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6256 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6257 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6259 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6260 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6262 2013-07-25 Glenn Morris <rgm@gnu.org>
6264 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6266 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6268 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6269 parameter to modify-frame-parameters if the value has not changed;
6270 this is a workaround for bug#14949.
6271 (desktop--make-frame): On cl-delete-if call, check parameter name,
6274 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6276 * vc/vc.el (vc-ignore): New function.
6278 * vc/vc-svn.el (vc-svn-ignore): New function.
6280 * vc/vc-hg.el (vc-hg-ignore): New function.
6282 * vc/vc-git.el (vc-git-ignore): New function.
6284 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6285 (vc-dir-ignore): New function.
6287 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6288 (cvs-append-to-ignore): Move here from pcvs.el.
6290 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6292 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6294 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6296 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6297 (desktop-restore-frames): Warn when deleting an existing frame failed.
6299 2013-07-24 Glenn Morris <rgm@gnu.org>
6301 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6303 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6305 * filenotify.el (file-notify-supported-p):
6306 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6309 * autorevert.el (auto-revert-use-notify):
6310 (auto-revert-notify-add-watch):
6311 * net/tramp.el (tramp-file-name-for-operation):
6312 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6313 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6314 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6315 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6316 Remove `file-notify-supported-p' entry.
6318 2013-07-24 Glenn Morris <rgm@gnu.org>
6320 * printing.el: Replace all uses of deleted ps-windows-system,
6321 ps-lp-system, ps-flatten-list with lpr- versions.
6323 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6325 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6326 checked with memq (bug#14935).
6328 * files.el (revert-buffer-function): Use a non-nil default.
6329 (revert-buffer-preserve-modes): Declare var to
6330 provide access to the `preserve-modes' argument.
6331 (revert-buffer): Let-bind it.
6332 (revert-buffer--default): New function, extracted from revert-buffer.
6334 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6336 * lpr.el: Signal print errors more prominently.
6337 (print-region-function): Don't default to nil.
6338 (lpr-print-region): New function, extracted from print-region-1.
6339 Check lpr's return value and signal an error in case of problem.
6340 (print-region-1): Use it.
6341 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6343 (ps-printer-name): Default to nil.
6344 (ps-printer-name-option): Default to lpr-printer-switch.
6345 (ps-print-region-function): Don't default to nil.
6346 (ps-postscript-code-directory): Simplify default.
6347 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6348 (ps-string-list, ps-eval-switch, ps-flatten-list)
6349 (ps-flatten-list-1): Remove.
6350 (ps-multibyte-buffer): Avoid setq.
6351 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6352 (print-region-function, ps-print-region-function): Don't set them here.
6354 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6356 * ido.el (ido-fractionp):
6357 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6358 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6359 (ido-max-directory-size, ido-max-dir-file-cache)
6360 (ido-decorations): Doc fix.
6362 * ansi-color.el: Fix old URL.
6364 2013-07-23 Michael R. Mauger <michael@mauger.com>
6366 * progmodes/sql.el: Version 3.3
6367 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6368 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6369 (sql-interactive-remove-continuation-prompt): Rewrite, use
6370 functions above. Fix continuation prompt and complete output line
6372 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6373 redirected output buffer.
6374 (sql-mode): Restore deleted code (Bug#13591).
6376 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6378 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6380 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6382 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6384 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6385 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6386 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6388 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6390 * desktop.el (desktop-clear): Simplify; remove useless checks
6391 against invalid buffer names.
6392 (desktop-list*): Use cl-list*.
6393 (desktop-buffer-info, desktop-create-buffer): Simplify.
6395 2013-07-23 Leo Liu <sdl.web@gmail.com>
6397 * bookmark.el (bookmark-make-record): Restore NAME as a default
6400 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6402 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6403 extracted from autoload--insert-text.
6404 (autoload--insert-text): Remove.
6405 (autoload--print-cookie-text): New function, extracted from
6406 autoload--insert-cookie-text.
6407 (autoload--insert-cookie-text): Remove.
6408 (autoload-generate-file-autoloads): Adjust calls accordingly.
6410 * winner.el (winner-hook-installed-p): Remove.
6411 (winner-mode): Simplify accordingly.
6413 * subr.el (add-to-list): Fix compiler-macro when `append' is
6414 not constant. Don't use `cl-member' for the base case.
6416 * progmodes/subword.el: Fix boundary case (bug#13758).
6417 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6419 (subword-backward-regexp): Make it a constant.
6420 (subword-forward-internal): Don't treat a trailing capital as the
6421 beginning of a word.
6423 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6425 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6426 global value of tabulated-list-revert-hook (bug#14930).
6428 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6430 * desktop.el: Require 'cl-lib.
6431 (desktop-before-saving-frames-functions): New hook.
6432 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6433 for frames being saved. Rename from desktop--save-minibuffer-frames.
6434 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6435 Do not save frames with non-nil `desktop-dont-save' parameter.
6436 Filter out deleted frames.
6437 (desktop--find-frame): Use cl-find-if.
6438 (desktop--select-frame): Use cl-(first|second|third) to access values
6440 (desktop--make-frame): Use cl-delete-if.
6441 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6442 (desktop-restore-frames): Use cl-(first|second|third) to access values
6443 of desktop-mini. Look for visible frame at the end, not while
6446 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6447 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6448 Use string-match-p, looking-at-p (bug#14927).
6450 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6452 * desktop.el (desktop-saved-frame-states):
6453 Rename from desktop--saved-states; all users changed.
6454 (desktop-save-frames): Rename from desktop--save-frames.
6455 Do not save state to desktop file.
6456 (desktop-save): Save desktop-saved-frame-states to desktop file
6458 (desktop-restoring-frames-p): New function.
6459 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6460 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6461 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6463 * desktop.el: Correctly restore iconified frames.
6464 (desktop--filter-iconified-position): New function.
6465 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6467 2013-07-20 Glenn Morris <rgm@gnu.org>
6469 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6470 Let `message' do the formatting.
6471 (def-gdb-preempt-display-buffer): Add explicit format.
6473 * image-dired.el (image-dired-track-original-file):
6474 Use with-current-buffer.
6475 (image-dired-track-thumbnail): Use with-current-buffer.
6476 Avoid changing point of wrong window.
6478 * image-dired.el (image-dired-track-original-file):
6479 Avoid changing point of wrong window. (Bug#14909)
6481 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6483 * progmodes/gdb-mi.el (gdb-done-or-error):
6484 Guard against "%" in gdb output. (Bug#14127)
6486 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6488 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6491 * international/mule.el (coding-system-iso-2022-flags): Fix last
6494 2013-07-20 Kenichi Handa <handa@gnu.org>
6496 * international/mule.el (coding-system-iso-2022-flags):
6497 Add `8-bit-level-4'. (Bug#8522)
6499 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6501 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6504 * net/eww.el (eww-process-text-input): Allow inputting when the
6505 point is at the start of the line, as the properties aren't
6508 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6511 2013-07-19 Richard Stallman <rms@gnu.org>
6513 * epa.el (epa-popup-info-window): Doc fix.
6515 * subr.el (split-string): New arg TRIM.
6517 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6519 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6520 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6522 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6524 * filenotify.el (file-notify--library): Rename from
6525 `file-notify-support'. Do not autoload. Adapt all uses.
6526 (file-notify-supported-p): New defun.
6528 * autorevert.el (auto-revert-use-notify):
6529 Use `file-notify-supported-p' instead of `file-notify-support'.
6531 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6533 * net/tramp.el (tramp-file-name-for-operation):
6534 Add `file-notify-supported-p'.
6536 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6538 (tramp-sh-file-name-handler-alist): Add it as handler for
6539 `file-notify-supported-p '.
6541 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6542 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6543 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6544 Add `ignore' as handler for `file-notify-*' functions.
6546 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6548 * simple.el (line-move-partial, line-move): Don't start vscroll or
6549 scroll-up if the current line is not taller than the window.
6552 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6554 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6555 highlight question marks in the method names as strings.
6556 (ruby-block-beg-keywords): Inline.
6557 (ruby-font-lock-keyword-beg-re): Extract from
6558 `ruby-font-lock-keywords'.
6560 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6562 * frame.el (blink-cursor-blinks): New defcustom.
6563 (blink-cursor-blinks-done): New defvar.
6564 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6565 (blink-cursor-timer-function): Check if number of blinks has been
6567 (blink-cursor-suspend, blink-cursor-check): New defuns.
6569 2013-07-15 Glenn Morris <rgm@gnu.org>
6571 * edmacro.el (edmacro-format-keys): Fix previous change.
6573 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6575 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6576 The hack didn't work outside English locales anyway.
6578 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6580 * simple.el (define-alternatives): Rename from alternatives-define,
6581 per RMS' suggestion.
6583 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6585 * desktop.el (desktop-restore-frames): Change default to t.
6586 (desktop-restore-in-current-display): Now offer more options.
6587 (desktop-restoring-reuses-frames): New customization option.
6588 (desktop--saved-states): Doc fix.
6589 (desktop-filter-parameters-alist): New variable, renamed and expanded
6590 from desktop--excluded-frame-parameters.
6591 (desktop--target-display): New variable.
6592 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6593 (desktop--filter-tty*, desktop--filter-*-color)
6594 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6595 (desktop--filter-save-desktop-parm)
6596 (desktop-restore-in-original-display-p): New functions.
6597 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6598 (desktop--save-minibuffer-frames): New function, inspired by a similar
6599 function from Martin Rudalics.
6600 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6601 (desktop--restore-in-this-display-p): Remove.
6602 (desktop--find-frame): Rename from desktop--find-frame-in-display
6603 and add predicate argument.
6604 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6605 (desktop--reuse-list): New variable.
6606 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6608 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6610 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6612 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6614 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6616 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6617 Highlight conversion methods on Kernel.
6619 2013-07-13 Alan Mackenzie <acm@muc.de>
6621 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6622 and comment it out. This out-commenting enables certain C++
6623 declarations to be parsed correctly.
6625 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6627 * international/mule.el (define-coding-system): Doc fix.
6629 * simple.el (default-font-height): Don't call font-info if the
6630 frame's default font didn't change since the frame was created.
6633 2013-07-13 Leo Liu <sdl.web@gmail.com>
6635 * ido.el (ido-read-file-name): Guard against non-symbol value.
6637 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6639 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6642 2013-07-13 Leo Liu <sdl.web@gmail.com>
6644 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6645 ido-set-matches call. (Bug#6852)
6647 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6649 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6650 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6652 (ruby-font-lock-keywords): Distinguish calls to functions with
6653 module-like names from module references. Highlight character
6656 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6658 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6659 (gdb-send): Handle continued commands. (Bug#14847)
6661 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6663 * desktop.el (desktop--v2s): Remove unused local variable.
6664 (desktop-save-buffer): Make defvar-local; adjust docstring.
6665 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6666 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6668 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6670 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6672 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6674 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6677 2013-07-12 Glenn Morris <rgm@gnu.org>
6679 * doc-view.el: Require cl-lib at runtime too.
6680 (doc-view-remove-if): Remove.
6681 (doc-view-search-next-match, doc-view-search-previous-match):
6684 * edmacro.el: Require cl-lib at runtime too.
6685 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6686 (edmacro-mismatch, edmacro-subseq): Remove.
6688 * shadowfile.el: Require cl-lib.
6689 (shadow-remove-if): Remove.
6690 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6693 * wid-edit.el: Require cl-lib.
6694 (widget-choose): Use cl-remove-if.
6695 (widget-remove-if): Remove.
6697 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6698 (ebrowse-delete-if-not): Remove.
6699 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6700 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6701 Use cl-delete-if-not.
6703 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6705 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6706 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6708 2013-07-12 Leo Liu <sdl.web@gmail.com>
6710 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6712 2013-07-11 Glenn Morris <rgm@gnu.org>
6714 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6715 (edebug-gensym-index, edebug-gensym):
6716 Remove reimplementation of cl-gensym.
6717 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6719 * thumbs.el: Require cl-lib at run-time too.
6720 (thumbs-gensym-counter, thumbs-gensym):
6721 Remove reimplementation of cl-gensym.
6722 (thumbs-temp-file): Use cl-gensym.
6724 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6725 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6726 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6727 (ert--union, ert--gensym-counter, ert--gensym-counter)
6728 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6729 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6730 (ert-make-test-unbound, ert--expand-should-1)
6731 (ert--expand-should, ert--should-error-handle-error)
6732 (should-error, ert--explain-equal-rec)
6733 (ert--plist-difference-explanation, ert-select-tests)
6734 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6735 Use cl-lib functions rather than reimplementations.
6737 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6739 * net/tramp.el (tramp-methods): Extend docstring.
6740 (tramp-connection-timeout): New defcustom.
6741 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6742 (with-tramp-progress-reporter): Simplify.
6743 (tramp-process-actions): Improve messages.
6745 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6746 * net/tramp-sh.el (tramp-maybe-open-connection):
6747 Use `tramp-connection-timeout'.
6748 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6751 2013-07-11 Leo Liu <sdl.web@gmail.com>
6753 * ido.el (ido-read-file-name): Conform to the requirements of
6754 read-file-name. (Bug#11861)
6755 (ido-read-directory-name): Conform to the requirements of
6756 read-directory-name.
6758 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6760 * subr.el (delay-warning): New function.
6762 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6764 * simple.el (default-line-height): New function.
6765 (line-move-partial, line-move): Use it instead of computing the
6767 (line-move-partial): Always compute ROWH. If the last line is
6768 partially-visible, but its text is completely visible, allow
6769 cursor to enter such a partially-visible line.
6771 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6773 Improve error messages. (Bug#14808)
6775 * net/tramp.el (tramp-current-connection): New defvar, moved from
6777 (tramp-message-show-progress-reporter-message): Remove, not
6779 (tramp-error-with-buffer): Show message in minibuffer.
6780 Discard input before waiting. Reset connection timestamp.
6781 (with-tramp-progress-reporter): Improve messages.
6782 (tramp-process-actions): Use progress reporter. Delete process in
6783 case of error. Improve messages.
6785 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6786 Call `tramp-error-with-buffer' with vector and buffer.
6787 (tramp-current-connection): Remove.
6788 (tramp-maybe-open-connection): The car of
6789 `tramp-current-connection' are the first 3 slots of the vector.
6791 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6793 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6794 inside continued strings.
6796 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6798 Timestamp fixes for undo (Bug#14824).
6799 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6801 2013-07-10 Leo Liu <sdl.web@gmail.com>
6803 * files.el (require-final-newline): Allow safe local value.
6806 2013-07-09 Leo Liu <sdl.web@gmail.com>
6808 * ido.el (ido-read-directory-name): Handle fallback.
6809 (ido-read-file-name): Update DIR to ido-current-directory.
6811 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6813 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6815 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6816 "autoload". Remove "warn lower camel case" section, previously
6817 commented out. Highlight negation char. Do not highlight the
6818 target in singleton method definitions.
6820 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6822 * faces.el (tty-setup-hook): Declare the hook.
6824 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6825 and detect when a guard/pred depends on local vars (bug#14773).
6826 (pcase--u1): Adjust caller.
6828 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6830 * simple.el (line-move-partial, line-move): Account for
6832 (line-move-partial): Avoid setting vscroll when the last
6833 partially-visible line in window is of default height.
6835 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6837 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6840 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6842 * subr.el (read-quoted-char): Remove unused local variable `char'.
6844 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6846 * ediff.el (ediff-version): Version update.
6847 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6848 (ediff-merge-with-ancestor-command, ediff-directories-command)
6849 (ediff-directories3-command, ediff-merge-directories-command)
6850 (ediff-merge-directories-with-ancestor-command): New functions.
6851 All are command-line interfaces to ediff: to facilitate calling
6852 Emacs with the appropriate ediff functions invoked.
6854 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6855 (viper-save-kill-buffer): Check if buffer is modified.
6857 * viper.el (viper-version): Version update.
6858 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6860 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6862 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6863 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6864 (viper-intercept-ESC-key): Simplify.
6865 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6866 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6867 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6868 (viper-setup-ESC-to-escape): New functions.
6869 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6870 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6872 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6874 * simple.el (default-font-height, window-screen-lines):
6876 (line-move, line-move-partial): Use them instead of
6877 frame-char-height and window-text-height. This makes scrolling
6878 text smoother when the buffer's default face uses a font that is
6879 different from the frame's default font.
6881 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6883 * files.el (write-file): Do not display confirm dialog for NS,
6884 it does its own dialog, which can't be cancelled (Bug#14578).
6886 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6888 * simple.el (line-move-partial): Adjust the row returned by
6889 posn-at-point for the current window-vscroll. (Bug#14567)
6891 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6893 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6894 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6897 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6899 * window.el (window-state-put-stale-windows): New variable.
6900 (window--state-put-2): Save list of windows without matching buffer.
6901 (window-state-put): Remove "bufferless" windows if possible.
6903 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6905 * simple.el (alternatives-define): Remove leftover :group keyword.
6908 2013-07-06 Leo Liu <sdl.web@gmail.com>
6910 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6911 (ido-enable-virtual-buffers): New variable.
6912 (ido-buffer-internal, ido-toggle-virtual-buffers)
6913 (ido-make-buffer-list): Use it.
6914 (ido-exhibit): Support turning on and off virtual buffers
6917 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6919 * simple.el (alternatives-define): New macro.
6921 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6923 * subr.el (read-quoted-char): Use read-key.
6924 (sit-for): Let read-event decode tty input (bug#14782).
6926 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6928 * calendar/todo-mode.el: Add handling of file deletion, both by
6929 mode command and externally. Fix various related bugs.
6930 Clarify Commentary and improve some documentation strings and code.
6931 (todo-delete-file): New command.
6932 (todo-check-file): New function.
6933 (todo-show): Handle external deletion of the file we're trying to
6934 show (bug#14688). Replace called-interactively-p by an optional
6935 prefix argument to avoid problematic interaction with catch form
6936 when byte compiled (bug#14702).
6937 (todo-quit): Handle external deletion of the archive's todo file.
6938 Make sure the buffer that was visiting the archive file is still
6939 live before trying to bury it.
6940 (todo-category-completions): Handle external deletion of any
6941 category completion files.
6942 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6943 of todo files, in case of external deletion.
6944 (todo-add-file): Replace unnecessary setq by let-binding.
6945 (todo-find-archive): Check whether there are any archives.
6946 Replace unnecessary setq by let-binding.
6947 (todo-archive-done-item): Use find-file-noselect to get the
6948 archive buffer whether or not the archive already exists.
6949 Remove superfluous code. Use file size instead of buffer-file-name to
6950 check if the archive is new; if it is, update list of archives.
6951 (todo-default-todo-file): Allow nil to be a valid value for when
6952 there are no todo files.
6953 (todo-reevaluate-default-file-defcustom): Use corrected definition
6954 of todo-default-todo-file.
6955 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6956 (todo-delete-category, todo-show-categories-table)
6957 (todo-category-number): Clarify comment.
6958 (todo-filter-items): Clarify documentation string.
6959 (todo-show-current-file, todo-display-as-todo-file)
6960 (todo-reset-and-enable-done-separator): Tweak documentation string.
6961 (todo-done-separator): Make separator length window-width, since
6962 bug#2749 is now fixed.
6964 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6966 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6967 Support both "gvfs-monitor-dir" and "inotifywait".
6968 (tramp-sh-file-inotifywait-process-filter): Rename from
6969 `tramp-sh-file-notify-process-filter'.
6970 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6971 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6973 2013-07-05 Leo Liu <sdl.web@gmail.com>
6975 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6977 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6979 * frame.el (display-pixel-height, display-pixel-width)
6980 (display-mm-height, display-mm-width): Mention behavior on
6981 multi-monitor setups in docstrings.
6982 (w32-display-monitor-attributes-list): Declare function.
6983 (display-monitor-attributes-list): Use it.
6985 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6987 * filenotify.el: New package.
6989 * autorevert.el (top): Require filenotify.el.
6990 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6992 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6993 (auto-revert-notify-handler): Use `file-notify-*' functions.
6995 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6997 * net/tramp.el (tramp-file-name-for-operation):
6998 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7000 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7001 for `file-notify-add-watch' and `file-notify-rm-watch'.
7002 (tramp-process-sentinel): Improve trace.
7003 (tramp-sh-handle-file-notify-add-watch)
7004 (tramp-sh-file-notify-process-filter)
7005 (tramp-sh-handle-file-notify-rm-watch)
7006 (tramp-get-remote-inotifywait): New defuns.
7008 2013-07-03 Juri Linkov <juri@jurta.org>
7010 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7011 call of `occur-read-primary-args' to interactive spec.
7013 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7014 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7016 2013-07-03 Matthias Meulien <orontee@gmail.com>
7018 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7019 `Buffer-menu-multi-occur'. Add it to the menu.
7020 (Buffer-menu-mode): Document it in docstring.
7021 (Buffer-menu-multi-occur): New command. (Bug#14673)
7023 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7025 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7026 keywords and built-ins.
7028 2013-07-03 Glenn Morris <rgm@gnu.org>
7030 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7032 Make info-xref checks case-sensitive by default
7033 * info.el (Info-find-node, Info-find-in-tag-table)
7034 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7035 Add option for exact case matching of nodes.
7036 * info-xref.el (info-xref): New custom group.
7037 (info-xref-case-fold): New option.
7038 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7040 2013-07-03 Leo Liu <sdl.web@gmail.com>
7042 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7044 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7046 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7047 middle of block statement initially, lower the depth. Remove
7048 FIXME comment, not longer valid. Remove middle of block statement
7049 detection, no need to do that anymore since we've been using
7050 `ruby-parse-region' here.
7052 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7054 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7056 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7058 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7060 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7062 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7063 (desktop-restore-in-current-display): New customization option.
7064 (desktop--excluded-frame-parameters): Add `font'.
7065 (desktop--save-frames): Rename from desktop--save-windows.
7066 (desktop--restore-in-this-display-p): New function.
7067 (desktop--make-full-frame): Remove unwanted width/height from
7068 full(width|height) frames.
7069 (desktop--restore-frames): Rename from desktop--restore-windows.
7070 Obey desktop-restore-current-display. Do not delete old frames or
7071 select a new frame unless we were able to restore at least one frame.
7073 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7075 * files.el (find-file-noselect): Simplify conditional expression.
7077 * remember.el (remember-append-to-file):
7078 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7080 Add `remember-notes' function to store random notes across Emacs
7082 * remember.el (remember-data-file): Add :set callback to affect
7083 notes buffer (if any).
7084 (remember-notes): New command.
7085 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7086 New defcustoms for the `remember-notes' function.
7087 (remember-notes-save-and-bury-buffer): New command.
7088 (remember-notes-mode-map): New variable.
7089 (remember-mode): New minor mode.
7090 (remember-notes--kill-buffer-query): New function.
7091 * startup.el (initial-buffer-choice): Add notes to custom type.
7093 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7095 * bindings.el (right-char, left-char): Don't call sit-for, this is
7096 no longer needed. Use arithmetic comparison only for numerical
7099 * international/mule-cmds.el (select-safe-coding-system):
7100 Handle the case of FROM being a string correctly. (Bug#14755)
7102 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7104 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7105 progression on degenerate tables.
7106 (shr-rescale-image): ImageMagick animated images currently don't work.
7108 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7110 Some fixes and improvements for desktop frame restoration.
7111 It is still experimental and disabled by default.
7112 * desktop.el (desktop--save-windows): Put the selected frame at
7113 the head of the list.
7114 (desktop--make-full-frame): New function.
7115 (desktop--restore-windows): Try to re-select the frame that was
7116 selected upon saving. Do not abort if some frames fail to restore,
7117 just show an error message and continue. Set up maximized frames
7118 so they have default non-maximized dimensions.
7120 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7122 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7123 Don't start heredoc inside a string or comment.
7125 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7127 * bindings.el (visual-order-cursor-movement): New defcustom.
7128 (right-char, left-char): Provide visual-order cursor motion by
7129 calling move-point-visually. Update the doc strings.
7131 2013-06-28 Kenichi Handa <handa@gnu.org>
7133 * international/mule.el (define-coding-system): New coding system
7134 properties :inhibit-null-byte-detection,
7135 :inhibit-iso-escape-detection, and :prefer-utf-8.
7136 (set-buffer-file-coding-system): If :charset-list property of
7137 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7138 appropriate for setting.
7140 * international/mule-cmds.el (select-safe-coding-system):
7141 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7142 multibyte characters, return utf-8 (or one of its siblings).
7144 * international/mule-conf.el (prefer-utf-8): New coding system.
7145 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7148 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7150 * net/shr.el (shr-render-region): New function.
7152 * net/eww.el: Autoload `eww-browse-url'.
7154 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7156 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7157 Adapt to `package-desc-version' being a list.
7158 Use `package--ac-desc-version' to retrieve version from a package
7161 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7163 New experimental feature to save&restore window and frame setup.
7164 * desktop.el (desktop-save-windows): New defcustom.
7165 (desktop--saved-states): New var.
7166 (desktop--excluded-frame-parameters): New defconst.
7167 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7168 (desktop--restore-windows, desktop--save-windows): New functions.
7169 (desktop-save): Call `desktop--save-windows'.
7170 (desktop-read): Call `desktop--restore-windows'.
7172 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7174 * net/shr.el (add-face-text-property): Remove compat definition.
7176 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7178 * info.el (Info-try-follow-nearest-node): Move search for footnote
7179 above search for node name to prevent missing a footnote (bug#14717).
7181 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7183 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7185 2013-06-27 Leo Liu <sdl.web@gmail.com>
7187 * net/eww.el (eww-read-bookmarks): Check file size.
7189 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7191 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7192 advice--pending if newdef is nil or an autoload (bug#13820).
7193 (advice-mapc): New function.
7195 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7197 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7199 (eww-mode-map): Add a menu bar.
7200 (eww-add-bookmark): New command.
7201 (eww-bookmark-mode): New mode and commands.
7202 (eww-add-bookmark): Remove newlines from the title.
7203 (eww-bookmark-browse): Don't bug out if it's the only window.
7205 2013-06-26 Glenn Morris <rgm@gnu.org>
7207 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7208 (hfy-size): Handle ttys. (Bug#14668)
7210 * info-xref.el: Update for Texinfo 5 change in *note format.
7211 (info-xref-node-re, info-xref-note-re): New constants.
7212 (info-xref-check-buffer): Use info-xref-note-re.
7214 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7216 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7218 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7219 nil terminate the loop (bug#14718).
7221 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7223 * net/eww.el: Rework history traversal. When going forward/back,
7224 put these actions into the history, too, so that they can be
7226 (eww-render): Move the history reset to the correct buffer.
7228 2013-06-25 Juri Linkov <juri@jurta.org>
7230 * files-x.el (modify-dir-local-variable): Change the header comment
7231 in the file with directory local variables. (Bug#14692)
7233 * files-x.el (read-file-local-variable-value): Add `default'.
7236 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7238 * net/eww.el (eww-make-unique-file-name): Create a unique file
7239 name before saving to entering `y' accidentally asynchronously.
7241 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7243 * net/eww.el (eww-download): New command and keystroke.
7245 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7247 * net/eww.el (eww-copy-page-url): Change name of command.
7249 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7250 be more consistent with Info and dired.
7252 * net/eww.el (eww-mode-map): Ditto.
7254 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7256 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7257 packages from archives.
7258 (package-archive-contents): Change format; include obsolete packages.
7259 (package-desc): Use `dir' to mark builtin packages.
7260 (package--from-builtin): Set the `dir' field to `builtin'.
7261 (generated-autoload-file, version-control): Declare.
7262 (package-compute-transaction): Change first arg and return value to be
7263 lists of package-descs. Adjust to new package-archive-contents format.
7264 (package--add-to-archive-contents): Adjust to new
7265 package-archive-contents format.
7266 (package-download-transaction): Arg is now a list of package-descs.
7267 (package-install): If `pkg' is a package name, pass it as
7268 a requirement, so it is subject to the usual (e.g. disabled) checks.
7269 (describe-package): Accept package-desc as well.
7270 (describe-package-1): Describe a specific package-desc. Add links to
7271 other package-descs for the same package name.
7272 (package-menu-describe-package): Pass the actual package-desc.
7273 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7275 (package-desc-status): New function.
7276 (package-menu--refresh): New function, extracted
7277 from package-menu--generate.
7278 (package-menu--generate): Use it.
7279 (package-delete): Update package-alist.
7280 (package-menu-execute): Don't call package-initialize.
7282 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7283 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7284 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7285 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7286 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7287 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7289 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7291 * window.el (window--state-get-1): Workaround for bug#14527.
7292 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7294 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7296 * net/eww.el (eww-back-url): Implement the history by stashing all
7297 the data into a list.
7298 (eww-forward-url): Allow going forward in the history, too.
7300 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7302 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7303 for values and use read--expression for expressions (bug#14710).
7304 (read-file-local-variable): Avoid setq.
7305 (read-file-local-variable-mode): Use minor-mode-list.
7307 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7309 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7312 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7314 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7315 Update imenu-support when dialect changes.
7317 2013-06-25 Leo Liu <sdl.web@gmail.com>
7319 * ido.el (ido-read-internal): Allow forward slash on windows.
7321 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7323 * net/eww.el (eww): Start of strings is \\`, not ^.
7325 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7327 * net/shr.el (shr-browse-url): Fix interactive spec.
7329 * net/eww.el (eww): Add a trailing slash to domain names.
7331 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7333 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7335 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7337 * net/shr.el (shr-browse-url): Use an external browser if given a
7340 * net/eww.el (eww-external-browser): Move to shr.
7342 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7344 * net/eww.el (eww): Work more correctly for file: URLs.
7345 (eww-detect-charset): Allow quoted charsets.
7346 (eww-yank-page-url): New command and keystroke.
7348 2013-06-24 Daiki Ueno <ueno@gnu.org>
7350 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7351 file name of gpg executable.
7352 (epg-context-program): New function.
7353 (epg-context-home-directory): New function.
7354 (epg-context-set-program): New function.
7355 (epg-context-set-home-directory): New function.
7356 (epg--start): Use `epg-context-program' instead of
7358 (epg--list-keys-1): Likewise.
7360 2013-06-24 Leo Liu <sdl.web@gmail.com>
7362 * ido.el (ido-read-internal): Fix bug#14620.
7364 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7366 * faces.el (face-documentation): Simplify.
7367 (read-face-attribute, tty-find-type, x-resolve-font-name):
7368 Use `string-match-p'.
7369 (list-faces-display): Use `string-match-p'. Simplify.
7370 (face-spec-recalc): Check face to avoid face alias loops.
7371 (read-color): Use `string-match-p' and non-capturing parenthesis.
7373 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7375 * net/shr.el (shr-rescale-image): Use the new
7376 :max-width/:max-height functionality.
7378 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7380 * net/eww.el (eww-search-prefix): New variable.
7382 (eww-external-browser): New variable.
7383 (eww-mode-map): New keystroke.
7384 (eww-browse-with-external-browser): New command.
7386 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7388 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7390 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7391 Don't skip aligning the next header field when padding is 0;
7392 otherwise, field width is not respected unless the title is as
7395 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7397 * emacs-lisp/package.el (package-el-version): Remove.
7398 (package-process-define-package): Fix inf-loop.
7399 (package-install): Allow symbols as arguments again.
7401 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7403 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7404 add some more keyword-like methods.
7405 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7407 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7409 * bs.el (bs-buffer-show-mark): Make defvar-local.
7410 (bs-mode): Use setq-local.
7412 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7413 (emacs-lock--try-unlocking): Make defvar-local.
7415 2013-06-22 Glenn Morris <rgm@gnu.org>
7417 * play/cookie1.el (cookie-apropos): Minor simplification.
7419 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7421 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7423 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7424 `regexp-opt', it breaks the build during dumping.
7426 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7428 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7429 Highlight keyword-like methods on Kernel and Module with
7430 font-lock-builtin-face.
7431 (auto-mode-alist): Consolidate different entries into one regexp
7432 and add more *file-s.
7434 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7436 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7438 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7439 (diary-entry): Use it in the action of this button type instead of
7442 * calendar/todo-mode.el: New version.
7443 (todo-add-category): Append new category to end of file and give
7444 it the highest number, instead of putting it at the beginning and
7445 giving it 0. Incorporate noninteractive functionality.
7446 (todo-forward-category): Adapt to 1-based category numbering.
7447 Allow skipping over archived categories.
7448 (todo-backward-category): Derive from todo-forward-category.
7449 (todo-backward-item, todo-forward-item): Make noninteractive and
7450 delegate interactive part to new commands. Make sensitive to done items.
7451 (todo-categories): Make value an alist of category names and
7452 vectors of item counts.
7453 (todo-category-beg): Make a defconst.
7454 (todo-category-number): Use 1 instead of 0 as initial value.
7455 (todo-category-select): Make sensitive to overlays, optional item
7456 highlighting and done items.
7457 (todo-delete-item): Make sensitive to overlays and marked and done items.
7458 (todo-edit-item): Make sensitive to overlays and editing of
7459 date/time header optional. Add format checks.
7460 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7461 no-op if point is not on an item. Advertise using todo-edit-quit.
7462 (todo-edit-mode): Make sensitive to new format, font-locking, and
7463 multiple todo files.
7464 (todo-insert-item, todo-insert-item-here): Derive from
7465 todo-basic-insert-item and extend functionality.
7466 (todo-item-end, todo-item-start): Make sensitive to done items.
7467 (todo-item-string): Don't return text properties. Restore point.
7468 (todo-jump-to-category): Make sensitive to multiple todo files and
7469 todo archives. Use extended category completion.
7470 (todo-lower-item, todo-raise-item): Rename to *-priority and
7471 derive from todo-set-item-priority.
7472 (todo-mode): Derive from special-mode. Make sensitive to new
7473 format, font-locking and multiple todo files. Make read-only.
7474 (todo-mode-map): Don't suppress digit keys, so they can supply
7475 prefix arguments. Add many new key bindings.
7476 (todo-prefix): Insert as an overlay instead of file text.
7477 Change semantics from diary date expression to purely visual mark.
7478 (todo-print): Rename to todo-print-buffer. Make buffer display
7479 features printable. Remove option to restrict number of items
7480 printed. Add option to print to file.
7481 (todo-print-function): Rename to todo-print-buffer-function.
7482 (todo-quit): Extend to handle exiting new todo modes.
7483 (todo-remove-item): Make sensitive to overlays.
7484 (todo-save): Extend to buffers of filtered items.
7485 (todo-show): Make sensitive to done items, multiple todo files and
7486 new todo modes. Offer to convert legacy todo file before creating
7487 first new todo file.
7488 (todo-show-priorities): Rename to todo-top-priorities.
7489 Change semantics of value 0.
7490 (todo-top-priorities): Rename to todo-filter-top-priorities,
7491 derive from todo-filter-items and extend functionality.
7492 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7493 and extend functionality to other types of filtered items.
7494 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7495 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7496 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7497 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7498 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7499 (todo-edit-mode-hook, todo-entry-prefix-function)
7500 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7501 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7502 (todo-initials, todo-insert-threshold, todo-item-string-start)
7503 (todo-line-string, todo-menu, todo-mode-hook)
7504 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7505 (todo-print-priorities, todo-remove-separator)
7506 (todo-save-top-priorities-too, todo-string-count-lines)
7507 (todo-string-multiline-p, todo-time-string-format)
7508 (todo-tmp-buffer-name): Remove.
7509 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7510 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7511 (todo-edit-category-diary-inclusion)
7512 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7513 (todo-edit-file, todo-edit-item-date-day)
7514 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7515 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7516 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7517 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7518 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7519 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7520 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7521 (todo-filter-top-priorities-multifile, todo-find-archive)
7522 (todo-find-filtered-items-file, todo-go-to-source-item)
7523 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7524 (todo-jump-to-archive-category, todo-lower-category)
7525 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7526 (todo-move-category, todo-move-item, todo-next-button)
7527 (todo-next-item, todo-padded-string, todo-powerset)
7528 (todo-previous-button, todo-previous-item)
7529 (todo-print-buffer-to-file, todo-raise-category)
7530 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7531 (todo-set-category-number, todo-set-item-priority)
7532 (todo-set-top-priorities-in-category)
7533 (todo-set-top-priorities-in-file, todo-show-categories-table)
7534 (todo-sort-categories-alphabetically-or-numerically)
7535 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7536 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7537 (todo-toggle-item-header, todo-toggle-item-highlighting)
7538 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7539 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7540 (todo-unarchive-items, todo-unmark-category): New commands.
7541 (todo-absolute-file-name, todo-add-to-buffer-list)
7542 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7543 (todo-basic-insert-item, todo-category-completions)
7544 (todo-category-number, todo-category-string-matcher-1)
7545 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7546 (todo-check-format, todo-clear-matches)
7547 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7548 (todo-current-category, todo-date-string-matcher)
7549 (todo-define-insertion-command, todo-diary-expired-matcher)
7550 (todo-diary-goto-entry, todo-diary-item-p)
7551 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7552 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7553 (todo-done-item-section-p, todo-done-separator)
7554 (todo-done-string-matcher, todo-files, todo-filter-items)
7555 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7556 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7557 (todo-insert-category-line, todo-insert-item-from-calendar)
7558 (todo-insert-sort-button, todo-insert-with-overlays)
7559 (todo-insertion-command-name, todo-insertion-key-bindings)
7560 (todo-label-to-key, todo-longest-category-name-length)
7561 (todo-make-categories-list, todo-mode-external-set)
7562 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7563 (todo-modes-set-3, todo-multiple-filter-files)
7564 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7565 (todo-read-category, todo-read-date, todo-read-dayname)
7566 (todo-read-file-name, todo-read-time)
7567 (todo-reevaluate-category-completions-files-defcustom)
7568 (todo-reevaluate-default-file-defcustom)
7569 (todo-reevaluate-filelist-defcustoms)
7570 (todo-reevaluate-filter-files-defcustom)
7571 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7572 (todo-reset-done-separator, todo-reset-done-separator-string)
7573 (todo-reset-done-string, todo-reset-global-current-todo-file)
7574 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7575 (todo-reset-prefix, todo-set-categories)
7576 (todo-set-date-from-calendar, todo-set-show-current-file)
7577 (todo-set-top-priorities, todo-short-file-name)
7578 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7579 (todo-total-item-counts, todo-update-buffer-list)
7580 (todo-update-categories-display, todo-update-categories-sexp)
7581 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7583 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7585 (todo-categories, todo-display, todo-edit, todo-faces)
7586 (todo-filtered): New defgroups.
7587 (todo-archived-only, todo-button, todo-category-string, todo-date)
7588 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7589 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7590 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7591 (todo-add-item-if-new-category, todo-always-add-time-string)
7592 (todo-categories-align, todo-categories-archived-label)
7593 (todo-categories-category-label, todo-categories-diary-label)
7594 (todo-categories-done-label, todo-categories-number-separator)
7595 (todo-categories-todo-label, todo-categories-totals-label)
7596 (todo-category-completions-files, todo-completion-ignore-case)
7597 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7598 (todo-done-separator-string, todo-done-string)
7599 (todo-files-function, todo-filter-done-items, todo-filter-files)
7600 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7601 (todo-initial-category, todo-initial-file, todo-item-mark)
7602 (todo-legacy-date-time-regexp, todo-mode-line-function)
7603 (todo-nondiary-marker, todo-number-prefix)
7604 (todo-print-buffer-function, todo-show-current-file)
7605 (todo-show-done-only, todo-show-first, todo-show-with-done)
7606 (todo-skip-archived-categories, todo-top-priorities-overrides)
7607 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7608 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7610 (todo-category-done, todo-date-pattern, todo-date-string-start)
7611 (todo-diary-items-buffer, todo-done-string-start)
7612 (todo-filtered-items-buffer, todo-item-start)
7613 (todo-month-abbrev-array, todo-month-name-array)
7614 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7615 (todo-top-priorities-buffer): New defconsts.
7616 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7617 (todo-categories-with-marks, todo-category-string-face)
7618 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7619 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7620 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7621 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7622 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7623 (todo-font-lock-keywords, todo-global-current-todo-file)
7624 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7625 (todo-insertion-commands-args)
7626 (todo-insertion-commands-args-genlist)
7627 (todo-insertion-commands-names, todo-insertion-map)
7628 (todo-key-bindings-t, todo-key-bindings-t+a)
7629 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7630 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7631 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7632 (todo-visited): New variables.
7634 2013-06-21 Glenn Morris <rgm@gnu.org>
7636 * play/cookie1.el (cookie-apropos): Add optional display argument.
7637 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7638 (psychoanalyze-pinhead): Use cookie-doctor.
7640 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7642 * emacs-lisp/package.el (tar-get-file-descriptor)
7643 (tar--extract): Declare.
7645 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7647 Extend flymake's warning predicate to be a function (bug#14217).
7648 * progmodes/flymake.el (flymake-warning-predicate): New.
7649 (flymake-parse-line): Use it.
7650 (flymake-warning-re): Make obsolete alias to
7651 `flymake-warning-predicate'.
7653 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7655 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7656 (package-obsolete-list): Remove.
7657 (package-activate): Remove min-version argument. Add `force' argument.
7658 Adjust to new package-alist format.
7659 (package-mark-obsolete): Remove.
7660 (package-unpack): Force reload of the package's autoloads.
7661 (package-installed-p): Check builtins if the installed package is not
7663 (package-initialize): Don't reset package-obsolete-list.
7664 Don't specify which package version to activate.
7665 (package-process-define-package, describe-package-1)
7666 (package-menu--generate): Adjust to new package-alist format.
7668 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7670 * allout-widgets.el (allout-widgets-mode-off)
7671 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7672 (allout-widgets-post-command-business)
7673 (allout-widgets-after-copy-or-kill-function)
7674 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7675 (allout-decorate-item-and-context)
7676 (allout-graphics-modification-handler): Fix typos in docstrings.
7677 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7679 * cmuscheme.el (scheme-start-file): Doc fix.
7680 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7681 (scheme-input-filter): Use `string-match-p'.
7683 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7685 * dired-x.el: Use Dired consistently in docstrings.
7687 * dired.el: Use Dired consistently in docstrings.
7688 (dired-readin, dired-mode): Use `setq-local'.
7689 (dired-switches-alist): Make defvar-local.
7690 (dired-buffers-for-dir): Use `zerop'.
7691 (dired-safe-switches-p, dired-switches-escape-p)
7692 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7693 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7694 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7695 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7696 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7697 (dired-toggle-marks, dired-mark-files-containing-regexp)
7698 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7699 (dired-flag-auto-save-files, dired-flag-backup-files):
7701 (dired-mark-files-regexp, dired-build-subdir-alist):
7702 Use `string-match-p', `looking-at-p'.
7704 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7705 (direct-print-region-helper): Use `string-match-p'.
7707 2013-06-21 Leo Liu <sdl.web@gmail.com>
7709 * comint.el (comint-redirect-results-list-from-process):
7712 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7714 * net/eww.el (eww-update-header-line-format): Quote % characters.
7716 2013-06-21 Glenn Morris <rgm@gnu.org>
7718 * play/cookie1.el (cookie): New custom group.
7719 (cookie-file): New option.
7720 (cookie-check-file): New function.
7721 (cookie): Make it interactive. Make start and end messages optional.
7722 Interactively, display the result. Default to cookie-file.
7723 (cookie-insert): Default to cookie-file.
7724 (cookie-snarf): Make start and end messages optional.
7725 Default to cookie-file. Use with-temp-buffer.
7726 (cookie-read): Rename from read-cookie.
7727 Make start and end messages optional. Default to cookie-file.
7728 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7730 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7731 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7733 2013-06-21 Leo Liu <sdl.web@gmail.com>
7735 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7737 2013-06-21 Glenn Morris <rgm@gnu.org>
7739 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7741 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7742 Daniel Hackney <dan@haxney.org>
7744 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7745 Consolidate the single-file vs tarball code.
7746 (package-desc-suffix): New function.
7747 (package-desc-full-name): Don't bother inlining it.
7748 (package-load-descriptor): Return the new package-desc.
7749 (package-mark-obsolete): Remove unused arg `package'.
7750 (package-unpack): Make it work for single files as well.
7751 Make it update package-alist.
7752 (package--make-autoloads-and-stuff): Rename from
7753 package--make-autoloads-and-compile. Don't compile any more.
7754 (package--compile): New function.
7755 (package-generate-description-file): New function, extracted from
7756 package-unpack-single.
7757 (package-unpack-single): Remove.
7758 (package--with-work-buffer): Add indentation and debugging info.
7759 (package-download-single): Remove.
7760 (package-install-from-archive): Rename from package-download-tar, make
7761 it take a pkg-desc, and make it work for single files as well.
7762 (package-download-transaction): Simplify.
7763 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7764 external tar program.
7765 (package-install-from-buffer): Remove `pkg-desc' argument.
7766 Use package-tar-file-info for tar-mode buffers.
7767 (package-install-file): Simplify accordingly.
7768 (package-archive-base): Change to take a pkg-desc.
7769 * tar-mode.el (tar--check-descriptor): New function, extracted from
7771 (tar-get-descriptor): Use it.
7772 (tar-get-file-descriptor): New function.
7773 (tar--extract): New function, extracted from tar-extract.
7774 (tar--extract): Use it.
7775 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7776 case the summary uses non-ascii. Adjust to new calling convention of
7777 package-tar-file-info.
7779 2013-06-21 Leo Liu <sdl.web@gmail.com>
7781 * comint.el (comint-redirect-results-list-from-process):
7782 Fix random delay. (Bug#14681)
7784 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7786 * profiler.el (profiler-format-number): Use log, not log10.
7788 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7790 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7792 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7794 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7795 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7797 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7798 (AUTOGENEL): ... here.
7799 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7800 (cl--defsubst-expand): Use it.
7802 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7804 * subr.el (log10): Move here from C code, and declare as obsolete.
7805 All uses of (log10 X) replaced with (log X 10).
7807 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7809 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7810 Declare with `defvar-local'.
7811 (tabulated-list-use-header-line, tabulated-list-entries)
7812 (tabulated-list-padding, tabulated-list-printer)
7813 (tabulated-list-sort-key): Declare with `defvar-local'.
7814 (tabulated-list-init-header, tabulated-list-print-fake-header):
7817 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7819 * arc-mode.el (archive-mode): Add `archive-write-file' to
7820 `write-contents-functions' also for remote files. (Bug#14652)
7822 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7824 * cus-edit.el (custom-commands): Fix typos.
7825 (custom-display): Fix tooltip text.
7826 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7827 Fix typos in docstrings.
7828 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7829 (custom-unlispify-menu-entry, custom-magic-value-create)
7830 (custom-add-see-also, custom-group-value-create): Use ?\s.
7831 (custom-guess-type, customize-apropos, editable-field)
7832 (custom-face-value-create): Use `string-match-p'.
7833 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7835 * custom.el (custom-load-symbol): Use `string-match-p'.
7837 * ansi-color.el: Convert to lexical binding.
7838 (ansi-colors): Fix URL.
7839 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7840 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7841 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7843 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7845 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7847 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7849 2013-06-19 Tom Tromey <tromey@redhat.com>
7851 * net/eww.el (eww-top-url): Remove.
7852 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7853 (eww-render): Set new variables. Don't set eww-top-url.
7854 (eww-handle-link): Handle "prev", "home", and "contents".
7855 Downcase the rel text.
7856 (eww-top-url): Choose best top URL.
7858 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7860 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7861 relying in widget.el. Using widget.el leads to too many
7862 user interface inconsistencies.
7863 (eww-self-insert): Implement entering commands in text fields.
7864 (eww-process-text-input): New function to make text input field editing
7866 (eww-submit): Rewrite to use the new-style form methods.
7867 (eww-select-display): Display the correct selected item.
7868 (eww-change-select): Implement changing the select value.
7869 (eww-toggle-checkbox): Implement radio/checkboxes.
7870 (eww-update-field): Fix compilation error.
7871 (eww-tag-textarea): Implement <textarea>.
7873 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7874 we don't shadow mode-specific bindings.
7876 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7879 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7881 2013-06-19 Glenn Morris <rgm@gnu.org>
7883 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7885 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7887 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7890 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7892 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7894 * net/browse-url.el (browse-url-browser-function):
7895 `eww-browse-url' has the right calling signature, `eww' does not.
7897 2013-06-19 Glenn Morris <rgm@gnu.org>
7899 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7900 Only eval autoloaded macros.
7901 (byte-compile-autoload): Only give the macro warning for macros.
7903 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7904 (ps-underlined-faces): Declare.
7906 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7907 (speedbar-add-supported-extension): Declare.
7909 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7910 Don't include a date stamp in the header of the generated file;
7911 it leads to needless differences between output files.
7913 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7915 * net/secrets.el (secrets-struct-secret-content-type):
7916 Replace check of introspection data by a test call of "CreateItem".
7917 Some servers do not offer introspection.
7919 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7921 * electric.el (electric-pair-mode): Improve interaction with
7922 electric-layout-mode.
7923 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7924 (electric-pair-syntax): Use text-mode-syntax-table in comments
7926 (electric-pair--insert): New function.
7927 (electric-pair-post-self-insert-function): Use it and
7928 electric--after-char-pos.
7930 2013-06-19 Leo Liu <sdl.web@gmail.com>
7932 * progmodes/octave.el (octave-help): Fix regexp.
7934 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7936 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7937 (shr-table-horizontal-line): Allow nil as a value, and change the
7939 (shr-insert-table-ruler): Respect the nil value.
7941 2013-06-18 Tom Tromey <tromey@barimba>
7943 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7945 (eww-open-file): New defun.
7946 (eww-render): Initialize new variables.
7947 (eww-display-html): Handle "link" and "a".
7948 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7949 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7950 (eww-back-url): Rename from eww-previous-url.
7951 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7954 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7956 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7957 Distinguish ternary operator tokens from slash symbol and slash
7960 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7962 Convert symbol prettification into minor mode and global minor mode.
7964 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7965 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7966 (prettify-symbols--keywords): Rename from
7967 `prog-prettify-symbols-alist' and make a local defvar.
7968 (prettify-symbols--compose-symbol): Rename from
7969 `prog--prettify-font-lock-compose-symbol'.
7970 (prettify-symbols--make-keywords): Rename from
7971 `prog-prettify-font-lock-symbols-keywords' and simplify.
7972 (prog-prettify-install): Remove.
7973 (prettify-symbols-mode): New minor mode, based on
7974 `prog-prettify-install'.
7975 (turn-on-prettify-symbols-mode): New function.
7976 (global-prettify-symbols-mode): New globalized minor mode.
7978 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7979 * progmodes/cfengine.el (cfengine3-mode):
7980 * progmodes/perl-mode.el (perl-mode): Don't call
7981 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7983 2013-06-18 Juri Linkov <juri@jurta.org>
7985 * files-x.el (modify-file-local-variable-message): New function.
7986 (modify-file-local-variable)
7987 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7988 and call `modify-file-local-variable-message' when it's non-nil.
7989 (add-file-local-variable, delete-file-local-variable)
7990 (add-file-local-variable-prop-line)
7991 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7992 and use it. (Bug#9820)
7994 2013-06-18 Juri Linkov <juri@jurta.org>
7996 * emulation/vi.el (vi-shell-op):
7997 * emulation/vip.el (vip-execute-com, ex-command):
7998 * emulation/viper-cmd.el (viper-exec-bang):
7999 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8000 the call of `shell-command-on-region'. (Bug#14637)
8002 * simple.el (shell-command-on-region): Doc fix.
8004 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8006 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8009 2013-06-18 Glenn Morris <rgm@gnu.org>
8011 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8013 * newcomment.el (comment-search-forward, comment-search-backward):
8014 Doc fix. (Bug#14376)
8016 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8018 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8019 (buffer-face-mode-invoke): Doc fix.
8021 2013-06-18 Matthias Meulien <orontee@gmail.com>
8023 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8024 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8026 2013-06-18 Glenn Morris <rgm@gnu.org>
8028 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8029 Replace obsolete function generic-make-keywords with its expansion.
8031 * progmodes/python.el (ffap-alist): Declare.
8033 * textmodes/reftex.el (bibtex-mode-map): Declare.
8035 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8037 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8038 (package-unpack, package-unpack-single): Return the pkg-dir.
8039 (package-download-transaction): Use it to update package-alist.
8041 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8043 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8046 2013-06-17 Juri Linkov <juri@jurta.org>
8048 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8050 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8052 * emacs-lisp/package.el (package-load-descriptor):
8053 Remove `with-syntax-table' call, `read' doesn't need it.
8054 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8056 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8058 * startup.el (command-line): Expand package name returned by
8059 `package--description-file' (bug#14639).
8061 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8063 * emacs-lisp/package.el (package-load-descriptor): Do not call
8064 `emacs-lisp-mode', just use its syntax table.
8066 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8068 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8069 `font-lock-extra-managed-props' if any prettifying keyword is added.
8070 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8071 (prog-mode): Use `setq-local'.
8073 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8075 * international/characters.el (standard-case-table): Set syntax of ?»
8076 and ?« to punctuation.
8078 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8080 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8081 Save relevant match data before calling `syntax-ppss' (bug#14595).
8083 2013-06-15 Juri Linkov <juri@jurta.org>
8085 * files-x.el (modify-file-local-variable-prop-line): Add local
8086 variables to the end of the existing comment on the first line.
8087 Use `file-auto-mode-skip' to skip interpreter magic line,
8088 and also skip XML declaration.
8090 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8092 * startup.el (package--builtin-versions): New var.
8093 (package-subdirectory-regexp): Remove.
8094 (package--description-file): Hard code its value instead.
8096 * emacs-lisp/package.el: Don't activate packages older than builtin.
8097 (package-obsolete-list): Rename from package-obsolete-alist, and make
8098 it into a simple list of package-desc.
8099 (package-strip-version): Remove.
8100 (package-built-in-p): Use package--builtin-versions.
8101 (package-mark-obsolete): Simplify.
8102 (package-process-define-package): Mark it obsolete if older than the
8104 (package-handle-response): Use line-end-position.
8105 (package-read-archive-contents, package--download-one-archive):
8107 (package--add-to-archive-contents): Skip if older than the builtin or
8109 (package-menu-describe-package): Fix last change.
8110 (package-list-unversioned): New var.
8111 (package-menu--generate): Use it.
8113 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8114 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8115 (autoload-builtin-package-versions): New variable.
8116 (autoload-generate-file-autoloads): Use them.
8117 Remove the list of autoloaded functions/macros from the
8118 (autoload...) comments.
8120 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8122 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8124 * simple.el (line-move-partial): Don't jump to the next screen
8125 line as soon as it becomes visible. Instead, continue enlarging
8126 the vscroll until the portion of a tall screen line that's left on
8127 display is about the height of the frame's default font.
8130 2013-06-15 Glenn Morris <rgm@gnu.org>
8132 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8133 compilation-error-regexp-alist void, or local while let-bound.
8135 * progmodes/make-mode.el (makefile-mode-syntax-table):
8136 Treat "=" as punctuation. (Bug#14614)
8138 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8140 * help-fns.el (describe-variable):
8141 Add extra line for permanent-local variables.
8143 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8145 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8146 Add export, import, library. (Bug#9164)
8147 (library): Set indent function.
8149 2013-06-14 Glenn Morris <rgm@gnu.org>
8151 * term/xterm.el (xterm--query):
8152 Stop after first matching handler. (Bug#14615)
8154 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8156 Add support for dired in saveplace.
8157 * dired.el (dired-initial-position-hook): New variable.
8158 (dired-initial-position): Call hook to place cursor position.
8159 * saveplace.el (save-place-to-alist): Add dired position.
8160 (save-place-dired-hook): New function.
8162 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8164 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8165 through a symbol rather than letrec.
8167 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8168 (package-desc): Add `dir' field.
8169 (package-desc-full-name): New function.
8170 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8171 (package-maybe-load-descriptor): Remove.
8172 (package-load-all-descriptors): Just call package-load-descriptor.
8173 (package--disabled-p): New function.
8174 (package-desc-vers, package-desc-doc): Remove aliases.
8175 (package--dir): Remove function.
8176 (package-activate): Check if a package is disabled.
8177 (package-process-define-package): New function, extracted from
8179 (define-package): Turn into a place holder.
8180 (package-unpack-single, package-tar-file-info):
8181 Use package--description-file.
8182 (package-compute-transaction): Use package--disabled-p.
8183 (package-download-transaction): Don't call
8184 package-maybe-load-descriptor since they're all loaded anyway.
8185 (package-install): Change argument to be a pkg-desc.
8186 (package-delete): Use a single pkg-desc argument.
8187 (describe-package-1): Use package-desc-dir instead of package--dir.
8188 Use package-desc property instead of package-symbol.
8189 (package-install-button-action): Adjust accordingly.
8190 (package--push): Rewrite.
8191 (package-menu--print-info): Adjust accordingly. Change the ID format
8193 (package-menu-describe-package, package-menu-get-status)
8194 (package-menu--find-upgrades, package-menu-mark-upgrades)
8195 (package-menu-execute, package-menu--name-predicate):
8197 * startup.el (package--description-file): New function.
8198 (command-line): Use it.
8199 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8200 Use package-desc-version.
8202 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8203 (byte-compile-preprocess): Use it.
8204 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8205 can't quite recognize.
8206 (byte-compile-add-to-list): Remove.
8207 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8208 (cconv-closure-convert): Add assertion.
8210 * emacs-lisp/map-ynp.el: Use lexical-binding.
8211 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8212 Factor out some repeated code.
8214 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8216 * subr.el (with-eval-after-load): New macro.
8217 (eval-after-load): Allow form to be a function.
8218 take advantage of lexical-binding.
8219 (do-after-load-evaluation): Use dolist and adjust to new format.
8220 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8222 2013-06-13 Juri Linkov <juri@jurta.org>
8224 * replace.el (perform-replace): Display "symbol " and other search
8225 modes from `isearch-message-prefix' in the *Help* buffer.
8227 * isearch.el (isearch-query-replace): Add " symbol" and other
8228 possible search modes from `isearch-message-prefix' to the prompt.
8229 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8230 when reading a regexp to collect.
8232 2013-06-13 Juri Linkov <juri@jurta.org>
8234 * isearch.el (word-search-regexp): Match whitespace if the search
8235 string begins or ends in whitespace. The LAX arg is applied to
8236 both ends of the search string. Use `regexp-quote' and explicit
8237 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8238 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8239 boundaries are replaced with symbol boundaries, and characters
8240 between symbols match non-word non-symbol syntax. (Bug#14602)
8242 2013-06-13 Juri Linkov <juri@jurta.org>
8244 * isearch.el (isearch-del-char): Don't exceed the length of
8245 `isearch-string' by the prefix arg. (Bug#14563)
8247 2013-06-13 Juri Linkov <juri@jurta.org>
8249 * isearch.el (isearch-yank-word, isearch-yank-line)
8250 (isearch-char-by-name, isearch-quote-char)
8251 (isearch-printing-char, isearch-process-search-char):
8252 Add optional count prefix arg. (Bug#14563)
8254 * international/isearch-x.el
8255 (isearch-process-search-multibyte-characters):
8256 Add optional count prefix arg.
8258 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8260 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8261 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8264 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8266 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8268 2013-06-13 Glenn Morris <rgm@gnu.org>
8270 * startup.el (tty-handle-args):
8271 Don't just discard "--" and anything after. (Bug#14608)
8273 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8275 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8277 Implement changes in Secret Service API. Make it backward compatible.
8278 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8279 (secrets-create-item): Use it. Prefix properties with interface.
8281 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8283 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8284 (term-emulate-terminal): Respect term-suppress-hard-newline.
8286 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8288 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8289 Only remove a `thumb-file' overlay. (Bug#14548)
8291 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8293 * mail/reporter.el (reporter-submit-bug-report):
8294 Handle missing package-name. (Bug#14600)
8296 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8298 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8299 (reftex-citation-prompt, reftex-default-bibliography)
8300 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8301 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8302 (reftex-bib-sort-author, reftex-bib-sort-year)
8303 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8304 (reftex-extract-bib-entries-from-thebibliography)
8305 (reftex-get-bibkey-default, reftex-get-bib-names)
8306 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8307 (reftex-format-bib-entry, reftex-parse-bibitem)
8308 (reftex-format-bibitem, reftex-do-citation)
8309 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8310 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8311 (reftex-insert-bib-matches, reftex-format-citation)
8312 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8313 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8314 existing comments into docstrings.
8316 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8318 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8320 2013-06-12 Andreas Schwab <schwab@suse.de>
8322 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8323 for auto-save files.
8325 2013-06-12 Glenn Morris <rgm@gnu.org>
8327 * ido.el (ido-delete-ignored-files): Remove.
8328 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8329 Go back to calling ido-ignore-item-p directly.
8331 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8333 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8335 * ido.el (ido-delete-ignored-files): New function,
8336 split from ido-make-file-list-1.
8337 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8338 (ido-make-file-list-1): Use ido-delete-ignored-files.
8340 2013-06-12 Leo Liu <sdl.web@gmail.com>
8342 * progmodes/octave.el (inferior-octave-startup)
8343 (inferior-octave-completion-table)
8344 (inferior-octave-track-window-width-change)
8345 (octave-eldoc-function-signatures, octave-help)
8346 (octave-find-definition): Use single quoted strings.
8347 (inferior-octave-startup-args): Change default value.
8348 (inferior-octave-startup): Do not hard code "-i" and
8349 "--no-line-editing".
8350 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8351 (inferior-octave-directory-tracker): Use it.
8352 (octave-goto-function-definition): Robustify.
8353 (octave-help): Support highlighting operators in 'See also'.
8354 (octave-find-definition): Find subfunctions only in Octave mode.
8356 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8358 * help-fns.el (help-fns--compiler-macro): If the handler function is
8359 named, then put a link to it.
8360 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8361 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8363 (cl-eval-when): Simplify debug spec.
8364 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8365 compiler-macro function instead of setting `compiler-macro-file'.
8367 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8369 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8370 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8372 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8373 Daniel Hackney <dan@haxney.org>
8375 First part of Daniel Hackney's patch to package.el.
8376 * emacs-lisp/package.el: Use defstruct.
8377 (package-desc): New, main struct.
8378 (package--bi-desc, package--ac-desc): New structs, used to describe the
8379 format in external files.
8380 (package-desc-vers): Replace with package-desc-version accessor.
8381 (package-desc-doc): Replace with package-desc-summary accessor.
8382 (package-activate-1): Remove `package' arg since the pkg-vec now
8384 (define-package): Use package-desc-from-define.
8385 (package-unpack-single): Change file-name arg to be a symbol.
8386 (package--add-to-archive-contents): Use package-desc-create and new
8387 accessor functions to package--ac-desc.
8388 (package-buffer-info, package-tar-file-info): Return a package-desc.
8389 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8390 arg to be a package-desc.
8391 (package-install-file): Adjust accordingly. Use \' to match EOS.
8392 (package--from-builtin): New function.
8393 (describe-package-1, package-menu--generate): Use it.
8394 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8395 (package-generate-autoloads): Idem and return the name of the file.
8396 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8397 Change pkg-info arg to be a package-desc.
8398 Use package-make-ac-desc.
8399 (package-upload-file): Use \' to match EOS.
8400 * finder.el (finder-compile-keywords): Use package-make-builtin.
8402 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8404 * vc/vc.el (vc-deduce-fileset): Change error message.
8405 (vc-read-backend): New function.
8406 (vc-next-action): Use it.
8408 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8410 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8411 (prolog-font-lock-keywords): Use regexp-opt instead.
8412 Don't manually highlight strings.
8413 (prolog-mode-variables): Simplify comment-start-skip.
8414 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8416 * emacs-lisp/generic.el (generic--normalise-comments)
8417 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8418 (generic-mode-set-comments): Use them.
8419 (generic-bracket-support): Use setq-local.
8420 (generic-make-keywords-list): Declare obsolete.
8422 2013-06-11 Glenn Morris <rgm@gnu.org>
8424 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8425 Prettify after setting font-lock-defaults. (Bug#14574)
8427 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8429 * replace.el (query-replace, occur-read-regexp-defaults-function)
8431 * subr.el (declare-function, number-sequence, local-set-key)
8432 (substitute-key-definition, locate-user-emacs-file)
8433 (with-silent-modifications, split-string, eval-after-load):
8434 Fix typos, remove unneeded backslashes and reflow some docstrings.
8436 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8438 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8439 default for Elisp files.
8441 2013-06-11 Glenn Morris <rgm@gnu.org>
8443 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8444 although define-derived-mode was doing this anyway. (Bug#14583)
8446 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8448 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8449 Fix make-variable-buffer-local call to refer to the correct variable.
8451 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8453 * eshell/em-term.el (eshell-visual-commands)
8454 (eshell-visual-subcommands, eshell-visual-options):
8455 Add summary line to docstrings. Add cross-references.
8457 2013-06-10 Glenn Morris <rgm@gnu.org>
8459 * epa.el (epa-read-file-name): New function. (Bug#14510)
8460 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8462 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8464 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8465 output redirection to be ignored with visual commands.
8467 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8469 * eshell/em-term.el (eshell-visual-command-p): New function.
8470 (eshell-term-initialize): Move long lambda to separate function
8471 eshell-visual-command-p.
8472 * eshell/em-dirs.el (eshell-dirs-initialise):
8473 * eshell/em-script.el (eshell-script-initialize):
8474 Add missing #' to lambda.
8476 2013-06-08 Leo Liu <sdl.web@gmail.com>
8478 * progmodes/octave.el (octave-add-log-current-defun): New function.
8479 (octave-mode): Set add-log-current-defun-function.
8480 (octave-goto-function-definition): Do not move point if not found.
8481 (octave-find-definition): Enhance to try subfunctions first.
8483 2013-06-08 Glenn Morris <rgm@gnu.org>
8485 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8486 (byte-compile-backward-char, byte-compile-backward-word):
8487 Improve previous change, to handle non-explicit nil.
8489 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8491 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8492 (smie--opener/closer-at-point): New function.
8493 (smie--matching-block-data): Use it. Don't match from right after an
8494 opener or right before a closer. Obey smie-blink-matching-inners.
8495 Don't signal a mismatch for repeated inners like "switch..case..case".
8497 2013-06-07 Leo Liu <sdl.web@gmail.com>
8499 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8501 (octave-function-header-regexp): Fix. (Bug#14570)
8502 (octave-help-mode-finish-hook, octave-help-mode-finish):
8503 Remove. Just use temp-buffer-show-hook.
8505 * newcomment.el (comment-search-backward): Revert last change.
8508 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8510 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8512 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8513 through xargs, to avoid failure due to MS-Windows limitations on
8514 command-line length.
8516 2013-06-06 Glenn Morris <rgm@gnu.org>
8518 * font-lock.el (lisp-font-lock-keywords-2):
8519 Treat user-error like error.
8521 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8522 (byte-compile-backward-char, byte-compile-backward-word):
8523 Handle explicit nil arguments. (Bug#14565)
8525 2013-06-05 Alan Mackenzie <acm@muc.de>
8527 * isearch.el (isearch-allow-prefix): New user option.
8528 (isearch-other-meta-char): Don't exit isearch when a prefix
8529 argument is typed whilst `isearch-allow-prefix' is non-nil.
8532 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8534 * autorevert.el (auto-revert-notify-handler): Use memq.
8535 Hide assertion failure.
8537 * skeleton.el: Use cl-lib.
8538 (skeleton-further-elements): Use defvar-local.
8539 (skeleton-insert): Use cl-progv.
8541 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8543 * progmodes/prog-mode.el (prog-prettify-symbols)
8544 (prog-prettify-install): Update docstrings.
8546 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8548 * simple.el: Move all the prog-mode code to prog-mode.el.
8549 * progmodes/prog-mode.el: New file.
8550 * loadup.el: Add prog-mode.el.
8552 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8554 * simple.el (prog-prettify-symbols): Add version.
8555 (prog-prettify-install): Add convenience function to prettify symbols.
8557 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8558 (perl--augmented-font-lock-keywords-1)
8559 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8560 variables and use it.
8562 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8563 (cfengine3-mode): Remove unneeded variable and use it.
8565 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8566 (lisp--augmented-font-lock-keywords-1)
8567 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8568 Remove unneeded variables and use it.
8570 2013-06-05 João Távora <joaotavora@gmail.com>
8572 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8573 to point when opening the connection. (Bug#14380)
8575 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8577 * subr.el (load-history-regexp, load-history-filename-element)
8578 (eval-after-load, after-load-functions, do-after-load-evaluation)
8579 (eval-next-after-load, display-delayed-warnings)
8580 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8581 definition of save-match-data.
8582 (overriding-local-map): Remove accidental obsolescence declaration.
8584 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8586 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8588 Generalize symbol prettify support to prog-mode and implement it
8589 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8590 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8591 (prog--prettify-font-lock-compose-symbol)
8592 (prog-prettify-font-lock-symbols-keywords): New variables and
8593 functions to support symbol prettification.
8594 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8595 (lisp--augmented-font-lock-keywords-1)
8596 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8597 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8598 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8599 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8600 Implement prettify of -> => :: strings.
8601 * progmodes/perl-mode.el (perl-prettify-symbols)
8602 (perl--font-lock-compose-symbol)
8603 (perl--font-lock-symbols-keywords): Move to prog-mode.
8604 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8605 (perl-font-lock-keywords-1)
8606 (perl-font-lock-keywords-2): Remove explicit prettify support.
8607 (perl--augmented-font-lock-keywords)
8608 (perl--augmented-font-lock-keywords-1)
8609 (perl--augmented-font-lock-keywords-2, perl-mode):
8610 Implement prettify support.
8612 2013-06-05 Leo Liu <sdl.web@gmail.com>
8614 Re-implement smie matching block highlight using
8615 show-paren-data-function. (Bug#14395)
8616 * emacs-lisp/smie.el (smie-matching-block-highlight)
8617 (smie--highlight-matching-block-overlay)
8618 (smie--highlight-matching-block-lastpos)
8619 (smie-highlight-matching-block)
8620 (smie-highlight-matching-block-mode): Remove.
8621 (smie--matching-block-data-cache): New variable.
8622 (smie--matching-block-data): New function.
8623 (smie-setup): Use smie--matching-block-data for
8624 show-paren-data-function.
8626 * progmodes/octave.el (octave-mode-menu): Fix.
8627 (octave-find-definition): Skip garbage lines.
8629 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8631 Fix compilation error with simultaneous dynamic+lexical scoping.
8632 Add warning when a defvar appears after the first let-binding.
8633 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8634 (byte-compile-close-variables): Initialize it.
8635 (byte-compile--declare-var): New function.
8636 (byte-compile-file-form-defvar)
8637 (byte-compile-file-form-define-abbrev-table)
8638 (byte-compile-file-form-custom-declare-variable): Use it.
8639 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8640 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8641 (byte-compile-bind): Handle dynamic bindings that shadow
8643 (byte-compile-unbind): Make arg non-optional.
8644 (byte-compile-let): Simplify.
8645 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8646 (cconv--analyse-function, cconv-analyse-form): Populate it.
8647 Protect byte-compile-bound-variables to limit the scope of defvars.
8648 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8649 Remove unneeded rule for `declare'.
8651 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8652 so as to avoid depending on cl-adjoin at run-time.
8653 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8655 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8656 (macroexp--warn-and-return): Use it.
8658 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8660 * lisp/subr.el: Convert to lexical binding.
8661 (overriding-local-map): Make obsolete.
8662 (add-to-list): Doc fix. Add compiler macro.
8663 (read-key): Swap values of local maps.
8665 2013-06-05 Leo Liu <sdl.web@gmail.com>
8667 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8669 2013-06-04 Leo Liu <sdl.web@gmail.com>
8671 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8672 (compilation-auto-jump): Suppress the "Mark set" message to give
8673 way to exit message.
8675 2013-06-04 Alan Mackenzie <acm@muc.de>
8677 Remove faulty optimisation from indentation calculation.
8678 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8679 search limit based on 2000 characters back from indent-point.
8681 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8683 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8685 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8687 * emacs-lisp/lisp.el: Use lexical-binding.
8688 (lisp--local-variables-1, lisp--local-variables): New functions.
8689 (lisp--local-variables-completion-table): New var.
8690 (lisp-completion-at-point): Use it complete let-bound vars.
8692 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8693 eagerly (bug#14422).
8695 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8697 * autorevert.el (auto-revert-notify-enabled)
8698 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8699 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8700 (auto-revert-notify-handler): Handle also gfilenotify.
8702 * subr.el (file-notify-handle-event): New defun. Replacing ...
8703 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8706 2013-06-03 Juri Linkov <juri@jurta.org>
8708 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8709 `M-s h .'. (Bug#14427)
8711 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8712 command `hi-lock-face-symbol-at-point'.
8713 (hi-lock-face-symbol-at-point): New command.
8714 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8715 (hi-lock-menu): Add `highlight-symbol-at-point'.
8716 (hi-lock-mode): Doc fix.
8718 * isearch.el (isearch-forward-symbol-at-point): New command.
8719 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8720 (isearch-highlight-regexp): Add a regexp which matches
8721 words/symbols for word/symbol mode.
8723 * subr.el (find-tag-default-bounds): New function with the body
8724 mostly moved from `find-tag-default'.
8725 (find-tag-default): Move most code to `find-tag-default-bounds',
8726 call it and apply `buffer-substring-no-properties' afterwards.
8728 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8730 * eshell/em-term.el (eshell-term-initialize):
8731 Use `cl-intersection' rather than `intersection'.
8733 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8735 * vc/log-view.el: Doc fix.
8736 (log-view-mode-map): Copy keymap from `special-mode-map'.
8738 2013-06-02 Eric Ludlam <zappo@gnu.org>
8740 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8741 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8742 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8743 (eieio-unbound, eieio-default-superclass)
8744 (eieio--define-field-accessors, method-static, method-before)
8745 (method-primary, method-after, method-num-lists)
8746 (method-generic-before, method-generic-primary)
8747 (method-generic-after, method-num-slots)
8748 (eieio-specialized-key-to-generic-key)
8749 (eieio--check-type, class-v, class-p)
8750 (eieio-class-name, define-obsolete-function-alias)
8751 (eieio-class-parents-fast, eieio-class-children-fast)
8752 (same-class-fast-p, class-constructor, generic-p)
8753 (generic-primary-only-p, generic-primary-only-one-p)
8754 (class-option-assoc, class-option, eieio-object-p)
8755 (class-abstract-p, class-method-invocation-order)
8756 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8757 (eieio-class-un-autoload, eieio-defclass)
8758 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8759 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8760 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8761 (eieio-defgeneric-reset-generic-form)
8762 (eieio-defgeneric-form-primary-only)
8763 (eieio-defgeneric-reset-generic-form-primary-only)
8764 (eieio-defgeneric-form-primary-only-one)
8765 (eieio-defgeneric-reset-generic-form-primary-only-one)
8766 (eieio-unbind-method-implementations)
8767 (eieio--defmethod, eieio--typep)
8768 (eieio-perform-slot-validation, eieio-validate-slot-value)
8769 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8770 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8771 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8772 (eieio-slot-name-index, eieio-class-slot-name-index)
8773 (eieio-set-defaults, eieio-initarg-to-attribute)
8774 (eieio-attribute-to-initarg, eieio-c3-candidate)
8775 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8776 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8777 (eieio-class-precedence-list, eieio-generic-call-methodname)
8778 (eieio-generic-call-arglst, eieio-generic-call-key)
8779 (eieio-generic-call-next-method-list)
8780 (eieio-pre-method-execution-functions, eieio-generic-call)
8781 (eieio-generic-call-primary-only, eieiomt-method-list)
8782 (eieiomt-optimizing-obarray, eieiomt-install)
8783 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8784 (eieio-generic-form, eieio-defmethod, make-obsolete)
8785 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8786 (defclass): Remove `eval-and-compile' from macro.
8787 (call-next-method, shared-initialize): Instead of using
8788 `scoped-class' variable, use new eieio--scoped-class, and
8789 eieio--with-scoped-class.
8790 (initialize-instance): Rename local variable 'scoped-class' to
8791 'this-class' to remove ambiguitity from old global.
8793 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8795 (eieio--scoped-class-stack): New variable.
8796 (eieio--scoped-class): New fcn.
8797 (eieio--with-scoped-class): New scoping macro.
8798 (eieio-defclass): Use pushnew instead of add-to-list.
8799 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8800 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8801 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8802 `scoped-class' variable, use new eieio--scoped-class, and
8803 eieio--with-scoped-class.
8805 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8807 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8809 * eshell/esh-ext.el (eshell-external-command): Pass args to
8810 `eshell-find-interpreter'.
8811 (eshell-find-interpreter): Add new second parameter ARGS.
8813 * eshell/em-script.el (eshell-script-initialize): Add second arg
8814 to the function added as MATCH to `eshell-interpreter-alist'.
8816 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8817 the function added as MATCH to `eshell-interpreter-alist'.
8819 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8820 (eshell-visual-options): New defcustom.
8821 (eshell-escape-control-x): Adapt docstring.
8822 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8823 `eshell-visual-options' in addition to `eshell-visual-commands'.
8824 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8826 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8828 * progmodes/python.el (python-indent-block-enders): Add break,
8829 continue and raise keywords.
8831 2013-06-01 Glenn Morris <rgm@gnu.org>
8833 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8835 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8836 * progmodes/cc-cmds.el (delete-forward-p):
8837 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8838 * progmodes/cc-engine.el (buffer-syntactic-context):
8839 * progmodes/cc-fonts.el (face-property-instance):
8840 * progmodes/cc-mode.el (set-keymap-parents):
8841 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8842 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8843 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8844 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8845 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8847 * progmodes/cc-vars.el (other): Emacs has this widget since
8848 at least 21.1, so don't (re)define it.
8850 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8851 Replace the obsolete alias pcomplete-arg-quote-list.
8853 2013-06-01 Leo Liu <sdl.web@gmail.com>
8855 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8857 (inferior-octave-minimal-columns)
8858 (inferior-octave-last-column-width): New variables.
8859 (inferior-octave-track-window-width-change): New function.
8860 (inferior-octave-mode): Adjust column width so that Octave output,
8861 for example from 'ls', can fit into the window nicely.
8863 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8865 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8866 Highlight expansions inside regexp literals.
8868 2013-05-31 Glenn Morris <rgm@gnu.org>
8870 * obsolete/sym-comp.el (symbol-complete):
8871 Replace obsolete completion-annotate-function.
8873 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8875 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8877 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8878 New function, checks if point is inside a literal that allows
8879 expression expansion.
8880 (ruby-syntax-propertize-expansion): Use it.
8881 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8884 2013-05-30 Juri Linkov <juri@jurta.org>
8886 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8888 (isearch-invisible): New variable.
8889 (isearch-forward): Doc fix.
8890 (isearch-mode): Set `isearch-invisible'
8891 to the value of `search-invisible'.
8892 (isearch-toggle-case-fold): Doc fix.
8893 (isearch-toggle-invisible): New command.
8894 (isearch-query-replace): Let-bind `search-invisible'
8895 to the value of `isearch-invisible'.
8896 (isearch-search): Use `isearch-invisible' instead of
8897 `search-invisible'. Let-bind `search-invisible'
8898 to the value of `isearch-invisible'. (Bug#11378)
8900 2013-05-30 Juri Linkov <juri@jurta.org>
8902 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8903 call when `query-flag' is nil and `search-invisible' is non-nil.
8906 2013-05-30 Glenn Morris <rgm@gnu.org>
8908 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8910 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8911 (cc-require): Suppress spurious "noruntime" warnings.
8912 (cc-require-when-compile): Use fboundp, for sake of compiler.
8914 * progmodes/cc-mode.el: Move load of cc-vars before that of
8915 cc-langs (which in turn loads cc-vars), to quieten compiler.
8917 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8919 * paren.el: Simplify the code.
8920 (show-paren-mode): Always start the timer.
8921 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8922 (show-paren--overlay, show-paren--overlay-1): Rename from
8923 show-paren-overlay and show-paren-overlay-1, and initialize to an
8924 overlay rather than to nil.
8925 (show-paren-function): Misc cleanup and simplifications.
8927 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8929 * paren.el (show-paren-data-function): New hook.
8930 (show-paren--default): New function, extracted from show-paren-function.
8931 (show-paren-function): Use show-paren-data-function.
8933 2013-05-30 Glenn Morris <rgm@gnu.org>
8935 * ielm.el (ielm-map, ielm-complete-symbol):
8936 Use completion-at-point rather than obsolete functions.
8937 (inferior-emacs-lisp-mode): Doc fix.
8938 Set completion-at-point-functions, rather than
8939 comint-dynamic-complete-functions.
8941 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8942 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8943 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8945 * image.el (image-animated-p): Tweak definition.
8947 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8948 (rlogin-process-connection-type): Tweak default. Add set-after.
8949 (rlogin-host): Doc fix.
8950 (rlogin): Tweak prompt.
8951 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8953 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8954 * progmodes/tcl.el (inferior-tcl-mode-map):
8955 Use completion-at-point rather than obsolete alias.
8957 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8959 * minibuffer.el (read-file-name-completion-ignore-case):
8960 Move before completion--in-region, for eager macro expansion.
8962 2013-05-29 Juri Linkov <juri@jurta.org>
8964 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8965 for total count of matching lines. Add `global-matches' for total
8966 count of matches. Rename `matches' to `lines' for count of
8967 matching lines. Add `matches' for count of matches.
8968 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8969 to `prev-line' for line number of prev match endpt.
8970 Increment `matches' for every match. Print the number of
8971 matching lines in the header.
8972 (occur-context-lines): Rename `lines' to `curr-line'.
8973 Rename `prev-lines' to `prev-line'. (Bug#14017)
8975 2013-05-29 Juri Linkov <juri@jurta.org>
8977 * replace.el (perform-replace): Add `skip-read-only-count',
8978 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8979 Increment them for corresponding conditions and report the number
8980 of skipped occurrences in the final message. (Bug#11746)
8981 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8982 (replace-string, replace-regexp): Doc fix.
8984 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8986 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8988 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8989 prog-mode-map (bug#14504).
8991 2013-05-29 Leo Liu <sdl.web@gmail.com>
8993 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8994 (octave-help): Small simplification.
8996 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8997 off the highlight first.
8999 2013-05-29 Glenn Morris <rgm@gnu.org>
9001 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9002 Handle idlwave-last-system-routine-info-cons-cell being nil.
9004 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9005 (idlwave-write-paths): Simplify via with-temp-buffer.
9007 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9008 * emulation/cua-rect.el: Also load cua-base at run time.
9010 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9011 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9012 (cperl-imenu-on-info): Require imenu.
9014 2013-05-28 Alan Mackenzie <acm@muc.de>
9016 Handle "capitalised keywords" correctly.
9017 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9019 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9021 * eshell/em-unix.el: Add -r option to cp.
9023 2013-05-28 Glenn Morris <rgm@gnu.org>
9025 * vc/vc-arch.el (vc-exec-after): Declare.
9026 (vc-switches): Autoload.
9027 * vc/vc-bzr.el: No need to require vc when compiling.
9028 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9029 (vc-resynch-buffer, vc-dir-refresh): Declare.
9030 (vc-setup-buffer, vc-switches): Autoload.
9031 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9032 (vc-resynch-buffer): Declare.
9033 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9034 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9035 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9036 (grep-read-regexp, grep-read-files, grep-expand-template)
9037 (vc-dir-refresh): Declare.
9038 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9039 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9040 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9041 * vc/vc-mtn.el (vc-exec-after): Declare.
9042 (vc-switches): Autoload.
9043 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9044 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9045 (vc-file-tree-walk): Declare.
9046 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9047 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9048 (vc-tag-precondition, vc-rename-master): Autoload.
9049 * vc/vc-svn.el (vc-exec-after): Declare.
9050 (vc-switches, vc-setup-buffer): Autoload.
9051 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9053 (vc-resynch-buffer): Declare.
9055 * obsolete/fast-lock.el (byte-compile-warnings):
9056 Don't warn about obsolete features in this obsolete file.
9058 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9059 Move definition before use.
9061 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9062 (dun-unix-verbs): Remove dun-zippy.
9063 (dun-zippy): Remove function.
9065 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9067 2013-05-27 Juri Linkov <juri@jurta.org>
9069 * replace.el (replace-search): New function with code moved out
9070 from `perform-replace'.
9071 (replace-highlight, replace-dehighlight): Move function definitions
9072 up closer to `replace-search'. (Bug#11746)
9074 2013-05-27 Juri Linkov <juri@jurta.org>
9076 * replace.el (perform-replace): Ignore invisible matches.
9077 In addition to checking `query-replace-skip-read-only', also
9078 filter out matches by calling `run-hook-with-args-until-failure'
9079 on `isearch-filter-predicates', and also check `search-invisible'
9080 for t or call `isearch-range-invisible'.
9081 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9083 2013-05-27 Juri Linkov <juri@jurta.org>
9085 * isearch.el (isearch-filter-predicates): Rename from
9086 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9087 (isearch-message-prefix): Display text from the property
9088 `isearch-message-prefix' of the currently active filters.
9089 (isearch-search): Don't compare `isearch-filter-predicate' with
9090 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9091 on `isearch-filter-predicates'. Also check `search-invisible' for t
9092 or call `isearch-range-invisible'.
9093 (isearch-filter-visible): Make obsolete.
9094 (isearch-lazy-highlight-search):
9095 Call `run-hook-with-args-until-failure' on
9096 `isearch-filter-predicates' and use `isearch-range-invisible'.
9098 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9099 `isearch-filter-predicates' instead of `funcall'ing
9100 `isearch-filter-predicate'.
9101 (Info-mode): Set `Info-isearch-filter' to
9102 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9104 * dired-aux.el (dired-isearch-filter-predicate-orig):
9106 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9107 (dired-isearch-filenames-end): Add and remove
9108 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9109 instead of changing the value of `isearch-filter-predicate'.
9110 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9111 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9112 Put property `isearch-message-prefix' to "filename " on
9113 `dired-isearch-filter-filenames'.
9115 * wdired.el (wdired-change-to-wdired-mode):
9116 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9117 locally instead of changing `isearch-filter-predicate'.
9118 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9120 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9122 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9123 return the commit hash (Bug#14459). Also set the
9124 `vc-git-detached' property.
9125 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9126 (vc-git-mode-line-string): Use the same help-echo format whether
9127 in detached mode or not, because we know the actual revision now.
9128 When in detached mode, shorten the revision to 7 chars.
9130 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9132 * emacs-lisp/easy-mmode.el (define-minor-mode):
9133 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9134 mode hook and provide a docstring.
9136 2013-05-27 Alan Mackenzie <acm@muc.de>
9138 Remove spurious syntax-table text properties inserted by C-y.
9139 * progmodes/cc-mode.el (c-after-change): Also clear hard
9140 syntax-table property with value nil.
9142 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9144 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9145 when reading the events; the buffer layout shall not be changed.
9147 2013-05-27 Leo Liu <sdl.web@gmail.com>
9149 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9151 (inferior-octave-directory-tracker): Automatically re-sync
9153 (octave-help): Improve handling of 'See also'.
9155 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9157 * doc-view.el: Minor naming convention tweaks.
9158 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9160 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9161 even if there's no `display' property yet (bug#14435).
9163 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9165 * subr.el (unmsys--file-name): Rename from reveal-filename.
9167 * Makefile.in (custom-deps, finder-data, autoloads)
9168 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9169 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9170 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9172 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9174 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9175 error-completion on the first 2 args of condition-case (bug#14446).
9178 2013-05-25 Leo Liu <sdl.web@gmail.com>
9180 * comint.el (comint-previous-matching-input): Do not flood the
9181 *Messages* buffer with trivial messages.
9183 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9185 * progmodes/flymake.el (flymake-nop): Don't return a string.
9186 (flymake-set-at): Fix typo.
9188 * simple.el (read--expression): New function, extracted from
9189 eval-expression. Set completion-at-point-functions (bug#14465).
9190 (eval-expression, eval-minibuffer): Use it.
9192 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9194 * progmodes/flymake.el (flymake-save-buffer-in-file)
9195 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9196 (flymake-selected-frame, flymake-log, flymake-ins-after)
9197 (flymake-set-at, flymake-get-buildfile-from-cache)
9198 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9199 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9200 Refine the doc string.
9201 (flymake-get-file-name-mode-and-masks): Reformat.
9202 (flymake-get-real-file-name-function): Fix a minor bug.
9204 2013-05-24 Juri Linkov <juri@jurta.org>
9206 * progmodes/grep.el (grep-mode-font-lock-keywords):
9207 Support =linenumber= format used by git-grep for lines with
9208 function names. (Bug#13549)
9210 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9212 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9213 0 after a semi-colon; it works better for smie-auto-fill.
9214 (octave--indent-new-comment-line): New function.
9215 (octave-indent-new-comment-line): Use it (indirectly).
9216 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9217 modify comment-line-break-function.
9219 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9220 (smie-setup): Use add-function to set it.
9222 2013-05-24 Sam Steingold <sds@gnu.org>
9224 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9225 argument (before the `interactive' argument).
9227 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9229 * image-mode.el (image-mode-winprops): Add winprops to
9230 image-mode-winprops-alist before running
9231 image-mode-new-window-functions.
9232 * doc-view.el (doc-view-new-window-function): Don't delay
9233 doc-view-goto-page via timers (bug#14435).
9235 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9237 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9238 (doc-view-desktop-save-buffer): New function.
9239 (doc-view-restore-desktop-buffer): New function.
9240 (desktop-buffer-mode-handlers):
9241 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9243 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9244 `desktop-save-buffer' function.
9246 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9248 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9249 (tramp-gvfs-file-name-handler): Raise a user error when
9250 `tramp-gvfs-enabled' is nil.
9251 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9252 Do not raise a user error when loading package. (Bug#14447)
9254 * net/xesam.el: Move to obsolete/.
9256 2013-05-24 Glenn Morris <rgm@gnu.org>
9258 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9260 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9262 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9263 (Info-find-node, Man-getpage-in-background): Declare.
9265 * mail/unrmail.el (unrmail):
9266 Replace obsolete detect-coding-with-priority.
9268 * net/socks.el (socks-split-string): Use this rather than split-string.
9269 (socks-nslookup-host): Update for above change.
9270 (dynamic-choice, s5-dynamic-choice-match)
9271 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9272 Comment out unused code.
9274 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9275 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9276 (gud-tooltip-echo-area): Make obsolete.
9277 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9279 * progmodes/js.el (js--optimize-arglist): Declare.
9281 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9283 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9284 (ediff-window-C): Declare.
9286 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9287 Tweak requires to silence compiler.
9289 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9290 (he-search-string, he-tried-table, he-expand-list)
9291 (he-init-string, he-string-member, he-substitute-string)
9292 (he-reset-string): Declare.
9294 * obsolete/options.el (list-options): Use custom-variable-p,
9295 rather than obsolete alias.
9297 2013-05-23 Sam Steingold <sds@gnu.org>
9299 * simple.el (shell-command-on-region): Pass the `replace' argument
9300 down to `call-process-region' to comply with the doc as reported on
9301 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9303 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9305 * emacs-lisp/smie.el (smie-indent-forward-token)
9306 (smie-indent-backward-token): Handle string tokens (bug#14381).
9308 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9310 * ielm.el (ielm-menu): New menu.
9311 (inferior-emacs-lisp-mode): Set comment-start.
9313 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9315 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9316 Fix deactivate action.
9318 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9319 Add cleveref macros.
9321 * lisp/textmodes/reftex-parse.el
9322 (reftex-locate-bibliography-files): Accept options for
9323 bibliography commands.
9324 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9325 Add addbibresource. Basic Biblatex support.
9327 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9329 * net/tramp-gvfs.el (top):
9330 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9331 when loading package. (Bug#14447)
9333 2013-05-23 Glenn Morris <rgm@gnu.org>
9335 * progmodes/js.el: No need to load comint when compiling.
9336 (ring-insert, comint-send-string, comint-send-input)
9337 (comint-last-input-end, ido-chop): Declare.
9339 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9340 * vc/ediff-mult.el: Adjust requires.
9341 (ediff-directories-internal, ediff-directory-revisions-internal)
9342 (ediff-patch-file-internal): Declare.
9343 * vc/ediff-ptch.el: Adjust requires.
9344 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9345 (ediff-find-file): Autoload.
9346 * vc/ediff-util.el: No need to load ediff when compiling.
9347 (ediff-regions-internal): Declare.
9348 * vc/ediff-wind.el: Adjust requires.
9349 (ediff-compute-toolbar-width): Define when compiling.
9350 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9351 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9352 (dired-get-filename, dired-get-marked-files)
9353 (ediff-last-dir-patch, ediff-patch-default-directory)
9354 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9355 (ediff-patch-buffer-internal): Declare.
9357 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9358 (ispell-process, ispell-buffer-local-words, lm-summary)
9359 (lm-section-start, lm-section-end): Declare.
9360 (checkdoc-ispell-init): Simplify.
9362 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9363 (he-string-member, he-reset-string, he-substitute-string): Declare.
9365 * eshell/em-ls.el: Adjust requires.
9366 (eshell-glob-regexp): Declare.
9367 * eshell/em-tramp.el: Adjust requires.
9368 (eshell-parse-command): Autoload.
9369 * eshell/em-xtra.el: Adjust requires.
9370 (eshell-parse-command): Autoload.
9371 * eshell/esh-ext.el: Adjust requires.
9372 (eshell-parse-command, eshell-close-handles): Autoload.
9373 * eshell/esh-io.el: Adjust requires.
9374 (eshell-output-filter): Autoload.
9375 * eshell/esh-util.el: No need to load tramp when compiling.
9376 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9378 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9379 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9380 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9381 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9382 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9383 * eshell/esh-opt.el, eshell/esh-proc.el:
9384 * eshell/esh-var.el: Adjust requires.
9385 * eshell/eshell.el: Do not require esh-util twice.
9386 (eshell-add-input-to-history): Declare.
9387 (eshell-command): Check history module is active before using it.
9389 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9391 2013-05-22 Leo Liu <sdl.web@gmail.com>
9393 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9395 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9397 * autorevert.el (auto-revert-notify-add-watch)
9398 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9399 it indicates changes in file modification time.
9401 2013-05-22 Glenn Morris <rgm@gnu.org>
9403 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9404 Always delete the autoloaded function from the noruntime and
9405 unresolved functions lists.
9407 * allout.el: No need to load epa, epg, overlay when compiling.
9408 (epg-context-set-passphrase-callback, epg-list-keys)
9409 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9410 (epg-key-user-id-list): Declare.
9412 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9413 (viper-set-parsing-style-toggling-macro)
9414 (viper-set-emacs-state-searchstyle-macros):
9415 Use called-interactively-p on Emacs.
9416 (viper-looking-back): Make it an obsolete alias. Update callers.
9417 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9418 Use looking-back rather than viper-looking-back.
9419 (viper-tmp-insert-at-eob, viper-enlarge-region)
9420 (viper-read-string-with-history, viper-register-to-point)
9421 (viper-append-to-register, viper-change-state-to-vi)
9422 (viper-backward-char-carefully, viper-forward-char-carefully)
9423 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9424 (viper-change-state-to-emacs): Declare.
9425 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9426 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9427 * emulation/viper-mous.el: Do not load viper-cmd.
9428 (viper-backward-char-carefully, viper-forward-char-carefully)
9429 (viper-forward-word, viper-adjust-window): Declare.
9431 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9433 * progmodes/idlw-help.el (idlwave-help-fontify):
9434 Use called-interactively-p.
9436 * term/w32console.el (w32-get-console-codepage)
9437 (w32-get-console-output-codepage): Declare.
9439 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9440 Remove unnecessary declarations.
9441 (dframe-message): Doc fix.
9443 * info.el (dframe-select-attached-frame, dframe-current-frame):
9446 * speedbar.el (speedbar-message): Make it an obsolete alias.
9448 (speedbar-with-attached-buffer)
9449 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9450 (speedbar-with-writable): Use backquote.
9451 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9452 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9453 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9454 rather than speedbar- aliases.
9455 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9456 (speedbar-make-specialized-keymap, speedbar-insert-button)
9457 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9458 (speedbar-do-function-pointer): Declare.
9459 (rmail-speedbar-button, rmail-speedbar-find-file)
9460 (rmail-speedbar-move-message):
9461 Use dframe-with-attached-buffer rather than speedbar- alias.
9462 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9463 (dframe-message, speedbar-make-specialized-keymap)
9464 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9465 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9466 (speedbar-insert-button, dframe-select-attached-frame)
9467 (dframe-maybee-jump-to-attached-frame)
9468 (speedbar-change-initial-expansion-list)
9469 (speedbar-previously-used-expansion-list-name): Declare.
9470 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9471 Use dframe-message, dframe-with-attached-buffer rather than
9473 (gud-sentinel): Silence compiler.
9474 * progmodes/vhdl-mode.el (speedbar-refresh)
9475 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9476 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9477 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9478 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9479 (speedbar-file-lists, speedbar-make-tag-line)
9480 (speedbar-line-directory, speedbar-goto-this-file)
9481 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9482 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9483 (speedbar-make-button, speedbar-reset-scanners)
9484 (speedbar-files-item-info, speedbar-line-text)
9485 (speedbar-find-file-in-frame, speedbar-set-timer)
9486 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9487 (speedbar-with-writable): Do not (re)define it.
9488 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9489 rather than speedbar- alias.
9491 2013-05-21 Leo Liu <sdl.web@gmail.com>
9493 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9495 (octave-mode): Tweak fill-nobreak-predicate.
9496 (inferior-octave-startup): Check process to avoid infinite loop.
9497 (inferior-octave): Pop to buffer first to show abornmal process
9500 2013-05-21 Glenn Morris <rgm@gnu.org>
9502 * printing.el (pr-menu-bar): Define when compiling.
9504 2013-05-21 Leo Liu <sdl.web@gmail.com>
9506 * progmodes/octave.el (octave-auto-fill): Remove.
9507 (octave-indent-new-comment-line): Improve.
9508 (octave-mode): Use auto fill mode through
9509 comment-line-break-function and fill-nobreak-predicate.
9510 (octave-goto-function-definition): Support DEFUN_DLD.
9511 (octave-beginning-of-defun): Small tweak.
9512 (octave-help): Show parent directory.
9514 2013-05-21 Glenn Morris <rgm@gnu.org>
9516 * files.el (dired-unmark):
9517 * progmodes/gud.el (gdb-input): Update declarations.
9519 * calculator.el (electric, ehelp): No need to load when compiling.
9520 (Electric-command-loop, electric-describe-mode): Declare.
9522 * doc-view.el (doc-view-current-converter-processes): Move before use.
9524 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9525 Move MODE-set-explicitly definition before use.
9527 * international/mule-diag.el (mule-diag):
9528 Don't use obsolete window-system-version.
9530 * mail/feedmail.el (smtpmail): No need to load when compiling.
9531 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9533 * mail/mail-utils.el (rfc822): No need to load when compiling.
9534 (rfc822-addresses): Autoload it.
9535 (mail-strip-quoted-names): Trivial simplification.
9537 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9538 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9540 * net/snmp-mode.el (tempo): Don't duplicate requires.
9542 * progmodes/prolog.el (info): No need to load when compiling.
9543 (comint): Require before shell requires it.
9544 (Info-goto-node): Autoload it.
9545 (Info-follow-nearest-node): Declare.
9546 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9548 * textmodes/artist.el (picture-mode-exit): Declare.
9550 * textmodes/reftex-parse.el (reftex-parse-from-file):
9551 Trivial rewrite so the compiler can parse it better.
9553 2013-05-20 Leo Liu <sdl.web@gmail.com>
9555 * progmodes/octave.el (octave-help-mode-map)
9556 (octave-help-mode-finish-hook): New variables.
9557 (octave-help-mode, octave-help-mode-finish): New functions.
9558 (octave-help): Use octave-help-mode.
9560 2013-05-20 Glenn Morris <rgm@gnu.org>
9562 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9564 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9566 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9567 start at point, so that expansion starting right after opening
9568 slash in a regexp is recognized.
9569 (ruby-syntax-before-regexp-re): New defvar, extracted from
9570 ruby-syntax-propertize-function. Since the value of this regexp
9571 is looked up at runtime now, we should be able to turn
9572 `ruby-syntax-methods-before-regexp' into a defcustom later.
9573 (ruby-syntax-propertize-function): Split regexp matching into two
9574 parts, for opening and closing slashes. That allows us to skip
9575 over string interpolations and support multiline regexps.
9576 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9577 for them, which calls `ruby-syntax-propertize-expansion'.
9578 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9579 call to `ruby-syntax-propertize-function'.
9580 (ruby-syntax-propertize-expansion): Extracted from
9581 `ruby-syntax-propertize-expansions'. Handles one expansion.
9582 (ruby-syntax-propertize-percent-literal): Leave point right after
9583 the percent symbol, so that the expression expansion rule can
9584 propertize the contents.
9585 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9587 (ruby-syntax-propertize-expansions): Remove.
9589 2013-05-18 Juri Linkov <juri@jurta.org>
9591 * man.el (Man-default-man-entry): Remove `-' from the end
9592 of the default value. (Bug#14400)
9594 2013-05-18 Glenn Morris <rgm@gnu.org>
9596 * comint.el (comint-password-prompt-regexp):
9597 Allow "password for XXX" where XXX contains colons (eg https://...).
9599 2013-05-18 Leo Liu <sdl.web@gmail.com>
9601 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9602 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9603 (octave-source-directories): Don't check process.
9604 (octave-source-directories, octave-find-definition): Doc fix.
9606 2013-05-18 Glenn Morris <rgm@gnu.org>
9608 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9609 Remove backspace/delete bindings. (Bug#14392)
9611 * cus-dep.el (custom-make-dependencies): Sort the output.
9612 (custom-versions-load-alist): Convert comment to doc.
9614 2013-05-17 Leo Liu <sdl.web@gmail.com>
9616 * newcomment.el (comment-search-backward): Stricter in finding
9617 comment start. (Bug#14303)
9619 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9620 (octave-comment-start-skip): Properly anchored.
9622 2013-05-17 Leo Liu <sdl.web@gmail.com>
9624 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9625 Clean up when turned off. (Bug#14395)
9626 (smie--highlight-matching-block-overlay): No longer buffer-local.
9627 (smie-highlight-matching-block): Adjust.
9629 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9631 Doc string fix for "nanoseconds" (Bug#14406).
9632 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9633 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9635 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9637 * calc/calc-units.el (math-extract-units): Preserve powers
9640 2013-05-17 Leo Liu <sdl.web@gmail.com>
9642 * subr.el (delete-consecutive-dups): New function.
9643 * ido.el (ido-set-matches-1): Use it.
9644 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9645 * ido.el (ido-remove-consecutive-dups): Remove.
9647 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9649 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9650 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9651 regexp-opt's `words'.
9653 2013-05-16 Leo Liu <sdl.web@gmail.com>
9655 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9656 (smie--highlight-matching-block-overlay)
9657 (smie--highlight-matching-block-lastpos)
9658 (smie--highlight-matching-block-timer): New variables.
9659 (smie-highlight-matching-block): New function.
9660 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9661 (smie-setup): Conditionally enable smie-blink-matching-open.
9663 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9665 Sync with upstream verilog-mode r840.
9666 * progmodes/verilog-mode.el (verilog-mode-version)
9667 (verilog-mode-release-date): Update.
9668 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9669 (verilog-sig-tieoff): Fix string error on
9670 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9671 (verilog-read-decls): Fix parameters confusing
9672 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9674 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9676 * subr.el (reveal-filename): New function.
9678 * loadup.el: Compute Emacs executable versions on MS-Windows,
9679 where executables have the .exe extension. Add a hard link
9680 emacs-XX.YY.ZZ.exe on MS-Windows.
9682 * Makefile.in (XARGS_LIMIT): New variable.
9683 (custom-deps, finder-data, autoloads)
9684 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9685 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9686 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9687 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9689 2013-05-16 Leo Liu <sdl.web@gmail.com>
9691 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9692 (octave-mode-menu, octave-mode-map): Remove its uses.
9694 2013-05-16 Reto Zimmermann <reto@gnu.org>
9696 Sync with upstream vhdl mode v3.34.2.
9697 * progmodes/vhdl-mode.el: Use `push' throughout.
9698 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9699 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9700 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9701 (vhdl-actual-generic-name): New option to derive actual generic name.
9702 (vhdl-port-paste-signals): Replace formal by actual generics.
9703 (vhdl-beautify): New name for old group vhdl-align. Update users.
9704 (vhdl-beautify-options): New option.
9705 (vhdl-last-input-event): New compat alias. Use throughout.
9706 (vhdl-goto-line): Replace user level function `goto-line'.
9707 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9708 vhdl-fix-statement-buffer.
9709 (vhdl-create-mode-menu): Add some entries.
9710 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9711 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9712 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9713 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9714 to force statements on one line.
9715 (vhdl-remove-trailing-spaces-region):
9716 New, split from vhdl-remove-trailing-spaces.
9717 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9718 Respect vhdl-beautify-options.
9719 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9720 (vhdl-update-sensitivity-list): Not add with index if exists without.
9721 Not include array index with signal. Ignore keywords in comments.
9722 (vhdl-get-visible-signals): Regexp tweaks.
9723 (vhdl-template-component-inst): Handle empty library.
9724 (vhdl-template-type): Add template for 'enum' type.
9725 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9726 Use vhdl-replace-string.
9727 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9728 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9729 (vhdl-speedbar-initialize): Update for above name change.
9730 (vhdl-compose-wire-components): Fix in handling of constants.
9731 (vhdl-error-regexp-emacs-alist): New variable.
9732 (vhdl-error-regexp-add-emacs): New function;
9733 adds support for new compile.el (Emacs 22+)
9734 (vhdl-generate-makefile-1): Change target order for single lib. units.
9735 Allow use of absolute file names.
9737 2013-05-16 Leo Liu <sdl.web@gmail.com>
9739 * simple.el (prog-indent-sexp): Indent enclosing defun.
9741 2013-05-15 Glenn Morris <rgm@gnu.org>
9743 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9744 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9745 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9746 (whitespace-highlight): Move to whitespace group.
9748 * comint.el (comint-source):
9749 * pcmpl-linux.el (pcmpl-linux):
9750 * shell.el (shell-faces):
9751 * eshell/esh-opt.el (eshell-opt):
9752 * international/ccl.el (ccl): Remove empty custom groups.
9754 * completion.el (dynamic-completion-mode):
9755 * jit-lock.el (jit-lock-debug-mode):
9756 * minibuffer.el (completion-in-region-mode):
9757 * type-break.el (type-break-mode-line-message-mode)
9758 (type-break-query-mode):
9759 * emulation/tpu-edt.el (tpu-edt-mode):
9760 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9761 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9762 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9764 * term/xterm.el (xterm): Change parent group to terminals.
9766 * master.el (master): Remove empty custom group.
9767 (master-mode): Remove unused :group argument.
9768 * textmodes/refill.el (refill): Remove empty custom group.
9769 (refill-mode): Remove unused :group argument.
9771 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9773 * cus-dep.el: Provide a feature.
9774 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9775 Don't mistakenly ignore files whose basenames match a basename
9776 from preloaded-file-list (eg cedet/ede/simple.el).
9777 Add a fallback method for getting :group.
9779 2013-05-15 Juri Linkov <juri@jurta.org>
9781 * isearch.el (isearch-char-by-name): Rename from
9782 `isearch-insert-char-by-name'. Doc fix.
9783 (isearch-forward): Mention `isearch-char-by-name' in
9784 the docstring. (Bug#13348)
9786 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9787 `exit-minibuffer' instead of
9788 `isearch-nonincremental-exit-minibuffer'.
9789 (isearch-edit-string): Remove mention of
9790 `isearch-nonincremental-exit-minibuffer' from docstring.
9791 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9792 (isearch-forward-exit-minibuffer)
9793 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9795 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9797 * loadup.el: Just use unversioned DOC.
9799 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9800 literals as extending to EOB.
9801 (nxml-last-fontify-end): Remove unused variable.
9802 (nxml-after-change1): Use with-silent-modifications.
9803 (nxml-extend-after-change-region): Simplify.
9804 (nxml-extend-after-change-region1): Remove function.
9805 (nxml-after-change1): Don't adjust for dependent regions.
9806 (nxml-fontify-matcher): Simplify.
9807 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9808 (xmltok-add-dependent): Remove function.
9809 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9810 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9811 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9812 unclosed <[[, <?, comment, and other literals as extending to EOB.
9813 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9814 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9816 (rng-do-some-validation-1): Don't mark dependent regions.
9817 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9818 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9819 (nxml-clear-dependent-regions): Remove functions.
9820 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9821 (nxml-ensure-scan-up-to-date):
9822 Don't clear&mark dependent regions.
9824 2013-05-15 Leo Liu <sdl.web@gmail.com>
9826 * progmodes/octave.el (octave-goto-function-definition):
9827 Improve and fix callers.
9829 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9831 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9832 the setter (bug#14387).
9834 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9835 surrounding group (bug#14402).
9837 2013-05-14 Juri Linkov <juri@jurta.org>
9839 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9842 2013-05-14 Glenn Morris <rgm@gnu.org>
9844 * progmodes/f90.el (f90-imenu-generic-expression):
9845 Fix typo in 2013-05-08 change. (Bug#14402)
9847 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9849 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9850 Remove signals for which replies are never received.
9852 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9854 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9855 (gdb-handler-alist, gdb-handler-number): Remove variables.
9856 (gdb-handler-list): New variable.
9857 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9858 (gdb-pending-handler-p, gdb-handle-reply)
9859 (gdb-remove-all-pending-triggers): New functions.
9860 (gdb-discard-unordered-replies): New defcustom.
9861 (gdb-handler): New defstruct.
9862 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9863 instead of gdb-pending-triggers. Update docstring.
9864 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9865 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9866 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9867 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9868 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9869 (gdb-frame-handler): Pending triggers are now automatically managed.
9870 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9872 (gdb-input): Automatically handles pending triggers. Update docstring.
9873 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9874 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9876 (gdb-done-or-error): Now use gdb-handle-reply.
9878 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9880 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9883 2013-05-14 Glenn Morris <rgm@gnu.org>
9885 * subr.el (user-emacs-directory-warning): New option.
9886 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9888 2013-05-14 Leo Liu <sdl.web@gmail.com>
9890 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9892 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9893 (octave-font-lock-texinfo-comment): Fix invalid search bound
9894 error: wrong side of point.
9896 2013-05-14 Glenn Morris <rgm@gnu.org>
9898 * progmodes/flymake.el (flymake-xml-program): New option.
9899 (flymake-xml-init): Use it.
9901 * term/xterm.el: Provide a feature.
9903 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9905 2013-05-13 Glenn Morris <rgm@gnu.org>
9907 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9908 Add compat aliases as a hack workaround. (Bug#14384)
9910 2013-05-13 Leo Liu <sdl.web@gmail.com>
9912 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9914 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9916 (octave-comment-start-skip): Include %!.
9917 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9919 2013-05-12 Leo Liu <sdl.web@gmail.com>
9921 * progmodes/octave.el (inferior-octave-startup): Store the value
9922 of __octave_srcdir__ for octave-source-directories.
9923 (inferior-octave-check-process): New function refactored out of
9924 inferior-octave-send-list-and-digest.
9925 (octave-source-directories)
9926 (octave-find-definition-filename-function): New variables.
9927 (octave-source-directories)
9928 (octave-find-definition-default-filename): New functions.
9929 (octave-find-definition): Improve to find functions implemented in C++.
9931 2013-05-12 Glenn Morris <rgm@gnu.org>
9933 * calendar/diary-lib.el (diary-outlook-format-1):
9934 Don't include dayname in the output. (Bug#14349)
9936 2013-05-11 Glenn Morris <rgm@gnu.org>
9938 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9940 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9941 Treat cc-provide like provide.
9943 2013-05-11 Kevin Ryde <user42@zip.com.au>
9945 * cus-dep.el (custom-make-dependencies):
9946 Use generated-autoload-load-name for the sake of files such
9947 such cedet/semantic/bovine/c.el, where the base file name
9948 is not in load-path. (Bug#5277)
9950 2013-05-11 Glenn Morris <rgm@gnu.org>
9952 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9955 2013-05-11 Leo Liu <sdl.web@gmail.com>
9957 * progmodes/octave.el (octave-indent-comment): Improve.
9958 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9959 (octave-eldoc-function-signatures, octave-eldoc-function):
9961 (octave-mode, inferior-octave-mode): Add eldoc support.
9963 2013-05-11 Richard Stallman <rms@gnu.org>
9965 * epa.el (epa-decrypt-file): Take output file name as argument
9966 and read it using `interactive'.
9968 2013-05-11 Leo Liu <sdl.web@gmail.com>
9970 * progmodes/octave.el (octave-beginning-of-line)
9971 (octave-end-of-line): Check before using up-list because it jumps
9972 out of more syntactic contructs since moving to smie.
9973 (octave-indent-comment): New function.
9974 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9975 (octave-begin-keywords, octave-end-keywords)
9976 (octave-reserved-words, octave-smie-bnf-table)
9977 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9979 2013-05-11 Glenn Morris <rgm@gnu.org>
9981 * faces.el (internal-face-x-get-resource):
9982 * frame.el (ns-display-monitor-attributes-list):
9983 * calc/calc-aent.el (math-to-radians-2):
9984 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9987 * calc/calc-menu.el: Make it loadable in isolation.
9989 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9990 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9991 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9992 (eudc-bbdb-query-internal): Require 'bbdb.
9994 * lpr.el (lpr-headers-switches):
9995 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9997 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9999 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10001 * term.el (term-set-escape-char): Make it idempotent.
10003 2013-05-10 Leo Liu <sdl.web@gmail.com>
10005 * progmodes/octave.el (inferior-octave-completion-table):
10006 No longer a function and all uses changed. Use cache to speed up
10007 completion due to bug#11906.
10008 (octave-beginning-of-defun): Re-write to be more general.
10010 2013-05-10 Glenn Morris <rgm@gnu.org>
10012 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10014 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10016 * comint.el (comint-redirect-send-command-to-process): Use :around
10017 rather than :override for comint-redirect-filter.
10018 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10019 Call it instead of comint-redirect-original-filter-function (which
10020 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10022 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10024 * frame.el (display-monitor-attributes-list): Add NS case.
10025 (ns-display-monitor-attributes-list): Declare.
10027 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10029 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10031 2013-05-09 Glenn Morris <rgm@gnu.org>
10033 * international/fontset.el (vertical-centering-font-regexp):
10034 Set standard-value.
10036 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10038 * bookmark.el (bookmark-search-delay):
10039 * cus-start.el (vertical-centering-font-regexp):
10040 * ps-mule.el (ps-mule-font-info-database-default):
10041 * ps-print.el (ps-default-fg, ps-default-bg):
10042 * type-break.el (type-break-good-break-interval):
10043 * whitespace.el (whitespace-indentation-regexp)
10044 (whitespace-space-after-tab-regexp):
10045 * emacs-lisp/testcover.el (testcover-1value-functions)
10046 (testcover-noreturn-functions, testcover-progn-functions)
10047 (testcover-prog1-functions):
10048 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10049 * eshell/em-glob.el (eshell-glob-translate-alist):
10050 * play/tetris.el (tetris-tty-colors):
10051 * progmodes/cpp.el (cpp-face-default-list):
10052 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10053 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10054 (idlwave-help-browser-generic-args):
10055 * progmodes/make-mode.el (makefile-special-targets-list):
10056 * progmodes/python.el (python-shell-virtualenv-path):
10057 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10058 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10059 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10060 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10061 * textmodes/reftex-vars.el (reftex-format-label-function):
10062 * textmodes/remember.el (remember-diary-file): Fix custom types.
10064 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10067 2013-05-09 Leo Liu <sdl.web@gmail.com>
10069 * progmodes/octave.el (inferior-octave-completion-at-point):
10070 Restore file completion. (Bug#14300)
10071 (inferior-octave-startup): Fix incorrect highlighting for the
10074 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10076 * progmodes/ruby-mode.el: First cut at SMIE support.
10077 (ruby-use-smie): New var.
10078 (ruby-smie-grammar): New constant.
10079 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10080 (ruby-smie--forward-token, ruby-smie--backward-token)
10081 (ruby-smie-rules): New functions.
10082 (ruby-mode-variables): Setup SMIE if applicable.
10084 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10086 * simple.el (line-move-visual): Signal beginning/end of buffer
10087 only if vertical-motion moved less than it was requested. Avoids
10088 silly incorrect error messages when there are display strings with
10089 multiple newlines at EOL.
10091 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10093 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10094 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10095 (prolog-char-quote-workaround):
10096 * progmodes/cperl-mode.el (cperl-under-as-char):
10097 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10099 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10101 (vhdl-mode-syntax-table-init): Remove.
10103 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10106 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10108 (ld-script-font-lock-keywords):
10109 Change regexps to use things like \_< and \_>.
10111 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10112 Change all regexps to use things like \_< and \_>.
10114 * progmodes/autoconf.el (autoconf-definition-regexp)
10115 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10116 Handle a _ with symbol syntax.
10117 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10119 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10120 Consolidate declaration.
10121 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10123 (ada-create-syntax-table): Remove.
10124 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10125 already has the right syntax nowadays.
10126 (ada-goto-next-word): Don't change the syntax of "_".
10128 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10131 2013-05-08 Sam Steingold <sds@gnu.org>
10133 * thingatpt.el (thing-at-point): Accept optional second argument
10134 NO-PROPERTIES to strip the text properties from the return value.
10135 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10136 to `thing-at-point' instead of stripping the properties ourselves.
10137 Also, when `thing-at-point' fails to find a url, prepend "http://"
10138 to the filename at point on the assumption that the user is
10139 pointing at something like gnu.org/gnu.
10141 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10143 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10144 * faces.el (crm-separator):
10145 Silence byte-compiler.
10147 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10148 (tool-bar-map): Remove unneeded defvars.
10150 2013-05-08 Leo Liu <sdl.web@gmail.com>
10152 Re-work a fix for bug#10994 based on Le Wang's patch.
10153 * ido.el (ido-remove-consecutive-dups): New helper.
10154 (ido-completing-read): Use it.
10155 (ido-chop): Revert fix for bug#10994.
10157 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10159 * cus-edit.el (custom-save-variables):
10160 Pretty-print long values. (Bug#14187)
10162 2013-05-08 Glenn Morris <rgm@gnu.org>
10164 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10165 (m4-mode-syntax-table): Init in the defvar.
10166 (m4-mode-abbrev-table): Let define-derived-mode define it.
10168 2013-05-08 Tom Tromey <tromey@redhat.com>
10170 * progmodes/m4-mode.el (m4-mode-syntax-table):
10171 Do not treat "_" as word constituent. (Bug#14167)
10173 2013-05-07 Glenn Morris <rgm@gnu.org>
10175 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10176 Remove explicit eshell-isearch-cancel-map.
10178 * progmodes/f90.el (f90-smart-end-names): New option.
10179 (f90-smart-end): Doc fix.
10180 (f90-end-block-optional-name): New constant.
10181 (f90-block-match): Respect f90-smart-end-names.
10183 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10185 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10186 about implicit semi-colons (bug#14218).
10188 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10190 * frame.el (display-monitor-attributes-list)
10191 (frame-monitor-attributes): New functions.
10193 2013-05-06 Leo Liu <sdl.web@gmail.com>
10195 * progmodes/octave.el (octave-syntax-propertize-function): Change
10196 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10197 (octave-font-lock-keywords): Use octave-operator-regexp.
10198 (octave-completion-at-point): Rename from
10199 octave-completion-at-point-function.
10200 (inferior-octave-directory-tracker): Robustify.
10201 (octave-text-functions): Remove and fix its uses. No such things
10204 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10206 * emacs-lisp/trace.el (trace--display-buffer): New function.
10207 (trace-make-advice): Use it.
10209 2013-05-06 Juri Linkov <juri@jurta.org>
10211 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10212 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10214 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10215 in the help string. (Bug#12985)
10217 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10219 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10221 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10223 * progmodes/perl-mode.el: Add support for here documents.
10224 (perl-syntax-propertize-function): Match here-doc markers.
10225 (perl-syntax-propertize-special-constructs): Find their end.
10226 (perl-imenu-generic-expression): Use [:alnum:].
10228 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10229 (advice--add-function): Refresh the advice if already present
10232 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10234 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10236 2013-05-06 Glenn Morris <rgm@gnu.org>
10238 * w32-fns.el (w32-charset-info-alist): Declare.
10240 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10241 of its defcustom properties.
10242 (eshell-cmpl-initialize): No need to load pcomplete.
10244 * generic-x.el: No need to require comint when compiling.
10246 * net/eudc-export.el: Make it loadable without bbdb.
10247 (top-level): Use require rather than load-library.
10248 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10249 (eudc-batch-export-records-to-bbdb)
10250 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10253 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10255 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10256 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10257 some tweaks, instead.
10259 2013-05-05 Leo Liu <sdl.web@gmail.com>
10261 * progmodes/octave.el (octave-font-lock-keywords)
10262 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10263 (inferior-octave-send-list-and-digest): Improve error message.
10264 (octave-mode, inferior-octave-mode): Use setq-local.
10265 (octave-help): Set info-lookup-mode.
10267 2013-05-05 Richard Stallman <rms@gnu.org>
10269 * vc/compare-w.el (compare-windows-whitespace):
10270 Treat no-break space as whitespace.
10272 * mail/rmailsum.el (rmail-summary-rmail-update):
10273 Detect empty summary and don't change selected message.
10274 (rmail-summary-goto-msg): Likewise.
10276 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10277 Doc fixes, rename args.
10279 2013-05-05 Alan Mackenzie <acm@muc.de>
10281 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10283 2013-05-05 Juri Linkov <juri@jurta.org>
10285 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10286 to not add the length of the summary segment to the return value.
10289 2013-05-05 Leo Liu <sdl.web@gmail.com>
10291 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10292 (inferior-octave-output-filter): Remove.
10293 (octave-send-region, inferior-octave-startup): Fix callers.
10294 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10295 (octave-binary-file-extensions): New user variable.
10296 (octave-find-definition): Confirm if opening binary files.
10297 (octave-help-file): Use octave-find-definition to get the binary
10299 (octave-help): Adjust for octave-help-file change.
10301 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10303 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10304 Merge the two entries that handle function definitions.
10305 (pascal--syntax-propertize): New const.
10306 (pascal-mode): Use it. Use setq-local.
10308 2013-05-04 Glenn Morris <rgm@gnu.org>
10310 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10311 (diary-from-outlook): Respect diary-from-outlook-function.
10313 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10315 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10316 Move the declaration from C.
10317 (read-minibuffer, eval-minibuffer): Move from C.
10318 (completion-setup-function): Avoid minibuffer-completion-contents.
10320 2013-05-03 Leo Liu <sdl.web@gmail.com>
10322 * progmodes/octave.el (octave-font-lock-keywords): Do not
10323 dehighlight 'end' in comments or strings.
10324 (octave-completing-read, octave-goto-function-definition):
10326 (octave-help-buffer): New user variable.
10327 (octave-help-file, octave-help-function): New button types.
10328 (octave-help): New command and bind it to C-h ;.
10329 (octave-find-definition): New command and bind it to M-.
10330 (user-error): Alias to error if not defined.
10332 2013-05-02 Leo Liu <sdl.web@gmail.com>
10334 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10336 (octave-font-lock-keywords): Include [ and {.
10338 2013-05-02 Leo Liu <sdl.web@gmail.com>
10340 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10341 (inferior-octave): Remove calling comint-mode and return the buffer.
10342 (inferior-octave-startup): Cosmetic changes.
10344 2013-05-02 Leo Liu <sdl.web@gmail.com>
10346 * progmodes/octave.el (octave-syntax-propertize-function):
10347 Include the case when ' is at line beginning. (Bug#14336)
10349 2013-05-02 Glenn Morris <rgm@gnu.org>
10351 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10352 * desktop.el (vc-dir-mode): Just autoload it here.
10354 2013-05-02 Alan Mackenzie <acm@muc.de>
10356 Eliminate variable c-standard-font-lock-fontify-region-function.
10357 * progmodes/cc-mode.el
10358 (c-standard-font-lock-fontify-region-function): Remove.
10359 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10361 2013-05-01 Leo Liu <sdl.web@gmail.com>
10363 * progmodes/octave.el: Compatible with older emacs-24 releases.
10364 (inferior-octave-has-built-in-variables): Remove. Built-in
10365 variables were removed from Octave in 2007.
10366 (inferior-octave-startup): Fix uses.
10367 (comint-line-beginning-position): Remove compatibility code for
10370 2013-05-01 Juri Linkov <juri@jurta.org>
10372 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10374 2013-05-01 Juri Linkov <juri@jurta.org>
10376 * comint.el (comint-previous-matching-input): Don't print message
10377 "History item: %d" when `isearch-mode' is active.
10378 (comint-history-isearch-message): Print message "History item: %d"
10379 when `comint-input-ring-index' is not empty and this function is
10380 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10382 2013-05-01 Leo Liu <sdl.web@gmail.com>
10384 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10385 definitions. Use completion-at-point to insert keywords.
10386 (octave-abbrev-start): Remove.
10387 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10389 2013-04-30 Leo Liu <sdl.web@gmail.com>
10391 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10394 2013-04-30 Alan Mackenzie <acm@muc.de>
10396 Handle arbitrarily long C++ member initialisation lists.
10397 * progmodes/cc-engine.el (c-back-over-member-initializers):
10399 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10400 (most) member init lists.
10402 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10404 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10407 2013-04-30 Leo Liu <sdl.web@gmail.com>
10409 * progmodes/octave.el (octave-variables): Remove. No builtin
10410 variables any more. All converted to functions.
10411 (octave-font-lock-keywords, octave-completion-at-point-function):
10413 (octave-font-lock-texinfo-comment): New user variable.
10414 (octave-texinfo-font-lock-keywords): New variable for texinfo
10416 (octave-function-comment-block): New face.
10417 (octave-font-lock-texinfo-comment): New function.
10418 (octave-mode): Font lock texinfo comment block.
10420 2013-04-29 Leo Liu <sdl.web@gmail.com>
10422 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10423 indexing expression.
10424 (octave-continuation-string): Do not use \.
10425 (inferior-octave-complete-impossible): Remove.
10426 (inferior-octave-completion-table)
10427 (inferior-octave-completion-at-point): Remove its uses.
10428 (inferior-octave-startup): completion_matches was introduced to
10429 Octave in 1996 so safe to assume it.
10430 (octave-function-file-comment): Improve to follow how Octave does it.
10431 (octave-update-function-file-comment): Tweak.
10433 2013-04-29 Leo Liu <sdl.web@gmail.com>
10435 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10436 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10437 (octave-function-file-comment): Fix typo.
10438 (octave-sync-function-file-names): Use read-char-choice.
10440 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10442 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10443 to t for the less important warnings.
10445 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10447 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10449 2013-04-27 Glenn Morris <rgm@gnu.org>
10451 * vc/log-view.el (log-view-current-entry):
10452 Treat "---" separator lines as part of the following rev. (Bug#14169)
10454 2013-04-27 Juri Linkov <juri@jurta.org>
10456 * subr.el (read-number): Doc fix about using it by interactive
10457 code letter `n'. (Bug#14254)
10459 2013-04-27 Juri Linkov <juri@jurta.org>
10461 * desktop.el (desktop-auto-save-timeout): New option.
10462 (desktop-file-checksum): New variable.
10463 (desktop-save): Add optional arg `auto-save' and don't auto-save
10464 if nothing changed.
10465 (desktop-auto-save-timer): New variable.
10466 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10467 (after-init-hook): Call `desktop-auto-save-set-timer'.
10468 Suggested by Reuben Thomas <rrt@sc3d.org> in
10469 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10471 2013-04-27 Leo Liu <sdl.web@gmail.com>
10473 * progmodes/octave.el (octave-function-file-p)
10474 (octave-skip-comment-forward, octave-function-file-comment)
10475 (octave-update-function-file-comment): New functions.
10476 (octave-mode-map): Bind C-c ; to
10477 octave-update-function-file-comment.
10478 (octave-mode-menu): Add octave-update-function-file-comment.
10479 (octave-mode, inferior-octave-mode): Fix doc-string.
10480 (octave-insert-defun): Conform to Octave's coding convention.
10483 * files.el (basic-save-buffer): Don't let errors in
10484 before-save-hook prevent saving buffer.
10486 2013-04-20 Roland Winkler <winkler@gnu.org>
10488 * faces.el (read-face-name): Use completing-read if arg multiple
10491 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10493 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10494 displayed, move point to after the totals line.
10495 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10498 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10500 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10501 Add current dir to the load-path.
10502 (package-generate-autoloads): Don't rely on
10503 autoload-ensure-default-file.
10505 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10507 * textmodes/remember.el (remember-store-in-files): Document that
10508 the file name format is passed to `format-time-string'.
10510 2013-04-26 Leo Liu <sdl.web@gmail.com>
10512 * progmodes/octave.el (octave-sync-function-file-names): New function.
10513 (octave-mode): Use it in before-save-hook.
10515 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10517 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10520 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10521 \n and comment, even if it's not an implicit ; (bug#14218).
10523 2013-04-26 Glenn Morris <rgm@gnu.org>
10525 * subr.el (read-number): Once more use `read' rather than
10526 `string-to-number', to trap non-numeric input. (Bug#14254)
10528 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10530 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10531 Use `syntax-multiline' text property consistently instead of
10532 `font-lock-multiline'. (Bug#14237)
10534 2013-04-26 Glenn Morris <rgm@gnu.org>
10536 * emacs-lisp/shadow.el (list-load-path-shadows):
10537 No longer necessary to check for duplicate simple.el, since
10538 2012-07-07 change to init_lread to not include installation lisp
10539 directories in load-path when running uninstalled. (Bug#14270)
10541 2013-04-26 Leo Liu <sdl.web@gmail.com>
10543 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10544 (octave-mode, inferior-octave-mode): Use setq-local.
10545 (octave-not-in-string-or-comment-p): Rename to
10546 octave-in-string-or-comment-p.
10547 (octave-in-comment-p, octave-in-string-p)
10548 (octave-in-string-or-comment-p): Replace defsubst with defun.
10550 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10552 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10554 2013-04-25 Bastien Guerry <bzg@gnu.org>
10556 * textmodes/remember.el (remember-data-directory)
10557 (remember-directory-file-name-format): Fix custom types.
10559 2013-04-25 Leo Liu <sdl.web@gmail.com>
10561 * progmodes/octave.el (octave-completion-at-point-function):
10562 Make use of inferior octave process.
10563 (octave-initialize-completions): Remove.
10564 (inferior-octave-completion-table): New function.
10565 (inferior-octave-completion-at-point): Use it.
10566 (octave-completion-alist): Remove.
10568 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10570 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10571 (opascal-mode-syntax-table): New var.
10572 (opascal-literal-kind, opascal-is-literal-end)
10573 (opascal-literal-token-at): Rewrite.
10574 (opascal--literal-start-re, opascal-font-lock-keywords)
10575 (opascal--syntax-propertize): New constants.
10576 (opascal-font-lock-defaults): Adjust.
10577 (opascal-mode): Use them. Set comment-<foo> variables as well.
10578 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10579 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10580 (delphi-other-face, opascal-other-face): Remove face variables.
10581 (opascal-save-state): Remove macro.
10582 (opascal-fontifying-progress-step): Remove constant.
10583 (opascal--ignore-changes): Remove var.
10584 (opascal-set-token-property, opascal-parse-next-literal)
10585 (opascal-is-stable-literal, opascal-complete-literal)
10586 (opascal-is-literal-start, opascal-face-of)
10587 (opascal-parse-region, opascal-parse-region-until-stable)
10588 (opascal-fontify-region, opascal-after-change)
10589 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10590 (opascal-debug-parse-region, opascal-debug-parse-window)
10591 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10592 (opascal-debug-fontify-buffer): Remove.
10593 (opascal-debug-mode-map): Adjust accordingly.
10595 2013-04-25 Leo Liu <sdl.web@gmail.com>
10597 Merge octave-mod.el and octave-inf.el into octave.el with some
10599 * progmodes/octave.el: New file renamed from octave-mod.el.
10600 * progmodes/octave-inf.el: Merged into octave.el.
10601 * progmodes/octave-mod.el: Renamed to octave.el.
10603 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10605 * textmodes/reftex-vars.el
10606 (reftex-label-ignored-macros-and-environments): New defcustom.
10608 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10610 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10612 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10613 (smie-indent-keyword): Improve the check to ensure that the next
10614 comment is really on the same line.
10615 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10617 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10618 semi-colons if the line is not otherwise empty (bug#14218).
10620 2013-04-25 Glenn Morris <rgm@gnu.org>
10622 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10624 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10626 * progmodes/opascal.el (opascal-set-token-property): Rename from
10627 opascal-set-text-properties and only set `token' (bug#14134).
10628 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10629 (opascal-literal-text-properties): Remove.
10630 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10633 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10635 * textmodes/remember.el (remember-handler-functions): Add an
10636 option for a new handler `remember-store-in-files'.
10637 (remember-data-directory, remember-directory-file-name-format):
10639 (remember-store-in-files): New function to store remember notes
10640 as separate files within a directory.
10642 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10644 * progmodes/compile.el (compilation-next-error-function):
10645 Pass "formats" to compilation-find-file (bug#11777).
10647 2013-04-24 Glenn Morris <rgm@gnu.org>
10649 * vc/vc-bzr.el (vc-bzr-print-log):
10650 * vc/vc-hg.el (vc-hg-print-log):
10651 * vc/vc-svn.el (vc-svn-print-log):
10652 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10654 * vc/vc-bzr.el (vc-bzr-print-log):
10655 * vc/vc-cvs.el (vc-cvs-print-log):
10656 * vc/vc-git.el (vc-git-print-log):
10657 * vc/vc-hg.el (vc-hg-print-log):
10658 * vc/vc-mtn.el (vc-mtn-print-log):
10659 * vc/vc-rcs.el (vc-rcs-print-log):
10660 * vc/vc-sccs.el (vc-sccs-print-log):
10661 * vc/vc-svn.el (vc-svn-print-log):
10662 * vc/vc.el (vc-print-log-internal): Doc fixes.
10664 2013-04-23 Glenn Morris <rgm@gnu.org>
10666 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10667 Remove venerable code attempting to avoid substitute-command-keys.
10669 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10671 * textmodes/reftex-vars.el (reftex-label-regexps):
10672 Call `reftex-compile-variables' after changes to this variable.
10674 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10676 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10677 Use lexical-binding.
10678 (jit-lock-force-redisplay): Use markers, check buffer's continued
10679 existence and beware narrowed buffers.
10680 (jit-lock-fontify-now): Adjust call accordingly.
10682 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10684 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10685 to avoid misleading the user.
10687 2013-04-22 Leo Liu <sdl.web@gmail.com>
10689 * info-look.el: Prefer latex2e.info. (Bug#14240)
10691 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10693 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10695 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10696 * net/tramp.el (tramp-call-process): ... here.
10697 (tramp-set-completion-function, tramp-parse-putty):
10698 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10699 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10700 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10701 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10702 (tramp-call-local-coding-command): Use `tramp-call-process'
10703 instead of `tramp-compat-call-process'.
10705 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10706 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10707 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10708 (tramp-find-inline-compress): Improve traces.
10709 (tramp-maybe-send-script): Check for Perl binary.
10710 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10712 2013-04-22 Daiki Ueno <ueno@gnu.org>
10714 * epg.el (epg-context-pinentry-mode): New function.
10715 (epg-context-set-pinentry-mode): New function.
10716 (epg--start): Pass --pinentry-mode option to gpg command.
10718 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10720 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10721 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10722 `completion-at-point'. (Bug#13774)
10724 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10725 default key binding for `describe-distribution' has been moved to
10726 `C-h C-o'. (Bug#13970)
10728 2013-04-21 Glenn Morris <rgm@gnu.org>
10730 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10732 (vc-print-log): Clarify interactive prompt.
10734 2013-04-20 Glenn Morris <rgm@gnu.org>
10736 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10737 No longer include timestamp etc information.
10739 2013-04-20 Roland Winkler <winkler@gnu.org>
10741 * faces.el (read-face-name): Bug fix, return just one face if arg
10742 multiple is nil. (Bug#14209)
10744 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10746 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10747 (remove-function): Autoload.
10749 * comint.el (comint-redirect-original-filter-function): Remove.
10750 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10751 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10752 (vc-cvs-annotate-command):
10753 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10754 * progmodes/prolog.el (prolog-consult-compile):
10755 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10756 Use add/remove-function instead.
10757 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10758 (gud-tooltip-process-output, gud-tooltip-tips):
10759 Use add/remove-function instead.
10760 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10761 (scheme-interaction-mode, exit-scheme-interaction-mode):
10762 Use add/remove-function instead.
10764 * vc/vc-dispatcher.el: Use lexical-binding.
10765 (vc--process-sentinel): Rename from vc-process-sentinel.
10766 Change last arg to be the code to run. Don't use vc-previous-sentinel
10767 and vc-sentinel-commands any more.
10768 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10769 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10771 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10773 * progmodes/sh-script.el (sh-imenu-generic-expression):
10774 Handle function names with a single character. (Bug#14111)
10776 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10778 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10779 for subroutines defined in an eval (bug#14182).
10781 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10783 * bookmark.el (bookmark-completing-read): Improve handling of empty
10784 string (bug#14176).
10786 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10788 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10790 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10792 New faster Imenu implementation (bug#14058).
10793 * progmodes/python.el:
10794 (python-imenu-prev-index-position):
10795 (python-imenu-format-item-label-function)
10796 (python-imenu-format-parent-item-label-function)
10797 (python-imenu-format-parent-item-jump-label-function):
10799 (python-imenu-format-item-label)
10800 (python-imenu-format-parent-item-label)
10801 (python-imenu-format-parent-item-jump-label)
10802 (python-imenu--put-parent, python-imenu--build-tree)
10803 (python-imenu-create-index, python-imenu-create-flat-index)
10804 (python-util-popn): New functions.
10805 (python-mode): Set imenu-create-index-function to
10806 python-imenu-create-index.
10808 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10810 * winner.el (winner-active-region): Use region-active-p, activate-mark
10811 and deactivate-mark (bug#14225).
10813 * simple.el (deactivate-mark): Don't inline it.
10815 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10817 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10819 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10821 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10822 file extensions from the archive-mode entry in order to prefer
10823 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10825 2013-04-18 Leo Liu <sdl.web@gmail.com>
10827 * bindings.el (help-event-list): Add ?\?.
10829 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10831 * subr.el (with-wrapper-hook): Declare obsolete.
10832 * simple.el (filter-buffer-substring-function): New hook.
10833 (filter-buffer-substring): Use it.
10834 (filter-buffer-substring-functions): Mark obsolete.
10835 * minibuffer.el (completion-in-region-function): New hook.
10836 (completion-in-region): Use it.
10837 (completion-in-region-functions): Mark obsolete.
10838 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10839 * abbrev.el (abbrev-expand-function): New hook.
10840 (expand-abbrev): Use it.
10841 (abbrev-expand-functions): Mark obsolete.
10842 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10843 and :filter-return.
10845 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10847 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10848 and do not care about match data.
10850 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10852 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10853 completion tables when completing error conditions and
10854 `declare' arguments.
10855 (lisp-complete-symbol, field-complete): Mark as obsolete.
10856 (check-parens): Unmatched parens are user errors.
10857 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10859 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10861 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10862 command changed buffer (ie. `flyspell-pre-buffer' is not current
10863 buffer), which prevents making decisions based on invalid value of
10864 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10865 cause an error when `flyspell-pre-point' was nil after switching
10867 (flyspell-post-command-hook): No longer needs to change buffers when
10868 checking pre-word. While at it remove unnecessary progn.
10870 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10872 * textmodes/ispell.el (ispell-add-per-file-word-list):
10873 Fix `flyspell-correct-word-before-point' error when accepting
10874 words and `coment-padding' is an integer by using
10875 `comment-normalize-vars' (Bug #14214).
10877 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10879 New defun movement commands.
10880 * progmodes/python.el (python-nav--syntactically)
10881 (python-nav--forward-defun, python-nav-backward-defun)
10882 (python-nav-forward-defun): New functions.
10884 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10886 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10887 (python-syntax-context): Use named compiler-macro for backwards
10888 compatibility with Emacs 24.x.
10890 2013-04-17 Leo Liu <sdl.web@gmail.com>
10892 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10893 octave-hide-process-buffer.
10895 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10897 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10900 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10902 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10903 Fix adjustment of offset when receiving incomplete responses from GDB
10906 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10908 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10909 python-mode-abbrev-table.
10910 (python-skeleton-define): Adjust accordingly.
10911 (python-mode-abbrev-table): New table that inherits from it so that
10912 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10914 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10915 (abbrev-symbol): Use it.
10916 (abbrev--before-point): Use it since we already handle inheritance.
10918 2013-04-16 Leo Liu <sdl.web@gmail.com>
10920 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10921 binding to info-lookup-symbol.
10923 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10925 * minibuffer.el (completion--twq-all):
10926 * term/ns-win.el (ns-initialize-window-system):
10927 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10929 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10931 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10934 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10936 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10938 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10939 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10941 (ruby-end-of-defun): Remove the unused arg, change the docstring
10942 to reflect that this function is only used as the value of
10943 `end-of-defun-function'.
10944 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10945 to reflect an earlier change that beginning/end-of-defun functions
10946 jump between methods in a class definition, as well as top-level
10949 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10951 * minibuffer.el (minibuffer-complete): Don't just scroll
10952 a *Completions* that's been iconified.
10953 (minibuffer-force-complete): Make sure repetitions do cycle when going
10954 through completion-in-region -> minibuffer-complete.
10956 2013-04-15 Alan Mackenzie <acm@muc.de>
10958 Correct the placement of c-cpp-delimiters when there're #s not at
10961 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10962 place a submatch around the #.
10963 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10964 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10967 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10969 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10970 (advice--member-p): New arg `name'.
10971 (advice--add-function, advice-member-p): Use it (bug#14202).
10973 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10975 Reformulate java imenu-generic-expression.
10976 The old expression contained ill formed regexps.
10978 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10979 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10980 (cc-imenu-java-method-arg-regexp): New defconsts.
10981 (cc-imenu-java-build-type-args-regex): New defun.
10982 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10983 handling of spaces in the regexp.
10985 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10987 * textmodes/ispell.el (ispell-command-loop): Remove
10988 flyspell highlight of a word when ispell accepts it (bug #14178).
10990 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10992 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10993 uses code from the previous `ange-ftp-run-real-handler'.
10994 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10995 only in case that function exist. This is needed for proper
10996 unloading of Tramp.
10998 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11000 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11002 * textmodes/reftex.el (reftex-compile-variables): Use it.
11004 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11006 * files.el (normal-mode): Only use default major-mode if no other mode
11009 * emacs-lisp/trace.el (trace-values): New function.
11011 * files.el: Allow : in local variables (bug#14089).
11012 (hack-local-variable-regexp): New var.
11013 (hack-local-variables-prop-line, hack-local-variables): Use it.
11015 2013-04-13 Roland Winkler <winkler@gnu.org>
11017 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11018 data before it gets modified by bibtex-beginning-of-entry.
11020 2013-04-13 Roland Winkler <winkler@gnu.org>
11022 * textmodes/bibtex.el (bibtex-url): Doc fix.
11024 2013-04-13 Roland Winkler <winkler@gnu.org>
11026 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11027 does not visit a BibTeX file, exclude it from the list of buffers
11028 returned by bibtex-initialize.
11030 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11032 * window.el (split-window): Remove interactive form, since as a
11033 command this function is a special case of split-window-below.
11034 Correct doc string.
11036 2013-04-12 Roland Winkler <winkler@gnu.org>
11038 * faces.el (read-face-name): Do not override value of arg default.
11039 Allow single faces and strings as default values. Remove those
11040 elements from return value that are not faces.
11041 (describe-face): Simplify.
11042 (face-at-point): New optional args thing and multiple so that this
11043 function can provide the same functionality previously provided by
11045 (make-face-bold, make-face-unbold, make-face-italic)
11046 (make-face-unitalic, make-face-bold-italic, invert-face)
11047 (modify-face, read-face-and-attribute): Use face-at-point.
11049 * cus-edit.el (customize-face, customize-face-other-window)
11050 * cus-theme.el (custom-theme-add-face)
11051 * face-remap.el (buffer-face-set)
11052 * facemenu.el (facemenu-set-face): Use face-at-point.
11054 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11056 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11058 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11060 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11061 off leading { and trailing } from field values.
11063 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11065 * emacs-lisp/timer.el (timer--check): New function.
11066 (timer--time, timer-set-function, timer-event-handler): Use it.
11067 (timer-set-idle-time): Simplify.
11068 (timer--activate): CSE.
11069 (timer-event-handler): Give more info in error message.
11070 (internal-timer-start-idle): New function, moved from C.
11072 * mpc.el (mpc-proc): Add `restart' argument.
11073 (mpc-proc-cmd): Use it.
11074 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11075 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11078 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11080 * progmodes/sh-script.el: Implement `sh-mode' own
11081 `add-log-current-defun-function' (bug#14112).
11082 (sh-current-defun-name): New function.
11083 (sh-mode): Use the function.
11085 2013-04-09 Bastien Guerry <bzg@gnu.org>
11087 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11089 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11091 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11093 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11096 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11098 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11101 2013-04-07 Leo Liu <sdl.web@gmail.com>
11103 * pcmpl-x.el: New file.
11105 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11107 Do not set x-display-name until X connection is established.
11108 This is needed to prevent from weird situation described at
11109 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11110 * frame.el (make-frame): Set x-display-name after call to
11111 window system initialization function, not before.
11112 * term/x-win.el (x-initialize-window-system): Add optional
11113 display argument and use it.
11114 * term/w32-win.el (w32-initialize-window-system):
11115 * term/ns-win.el (ns-initialize-window-system):
11116 * term/pc-win.el (msdos-initialize-window-system):
11117 Add compatible optional display argument.
11119 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11121 * files.el (normal-backup-enable-predicate): On MS-Windows and
11122 MS-DOS compare truenames of temporary-file-directory and of the
11123 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11124 don't fail comparison by compare-strings. Also, compare file
11125 names case-insensitively on MS-Windows and MS-DOS.
11127 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11129 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11130 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11132 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11134 * whitespace.el (whitespace-color-on, whitespace-color-off):
11135 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11137 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11139 * ispell.el (ispell-set-spellchecker-params):
11140 Really set `ispell-args' for all equivs.
11142 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11144 * ido.el (ido-completions): Use extra elements of ido-decorations
11146 (ido-decorations): Update docstring.
11148 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11150 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11151 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11152 nil during initialization, in order not to miss changes since the
11153 file was opened. (Bug#14140)
11155 2013-04-05 Leo Liu <sdl.web@gmail.com>
11157 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11159 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11161 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11163 2013-04-04 Glenn Morris <rgm@gnu.org>
11165 * electric.el (electric-pair-inhibit-predicate): Add :version.
11167 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11169 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11170 when a package is required several times (bug#14082).
11172 2013-04-04 Roland Winkler <winkler@gnu.org>
11174 * faces.el (read-face-name): Behave as promised by the docstring.
11175 Assume that arg default is a list of faces.
11176 (describe-face): Call read-face-name with list of default faces.
11178 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11180 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11181 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11182 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11184 (bookmark-exit-hook-internal): Save even if list is empty.
11186 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11188 * emacs-lisp/package.el (package-pinned-packages): New var.
11189 (package--add-to-archive-contents): Obey it (bug#14118).
11191 2013-04-03 Alan Mackenzie <acm@muc.de>
11193 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11194 Also adapt to the new values of element 7 of a parse state.
11196 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11197 parameter `not-in-delimiter'. Handle being inside comment opener.
11198 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11199 character in case we're typing a '*' after a '/'.
11200 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11201 instead by passing the parameter to c-state-pp-to-literal.
11203 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11204 for elt. 7 of a parse state.
11206 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11208 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11209 * international/latin1-disp.el, international/mule-util.el:
11210 * language/cyril-util.el, language/european.el, language/ind-util.el:
11211 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11212 * language/tibetan.el, language/viet-util.el:
11213 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11215 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11217 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11218 (electric-pair-post-self-insert-function): Use it.
11219 (electric-pair-default-inhibit): New function, extracted from
11220 electric-pair-post-self-insert-function.
11222 2013-03-31 Roland Winkler <winkler@gnu.org>
11224 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11226 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11228 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11230 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11232 Un-indent after "pass" and "return" statements (Bug#13888)
11233 * progmodes/python.el (python-indent-block-enders): New var.
11234 (python-indent-calculate-indentation): Use it.
11236 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11238 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11239 defun. Defining it as defalias could introduce too eager
11240 byte-compiler optimization. (Bug#14030)
11242 2013-03-30 Chong Yidong <cyd@gnu.org>
11244 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11246 2013-03-30 Leo Liu <sdl.web@gmail.com>
11248 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11249 (kmacro-execute-from-register): Pass the keyboard macro to
11250 kmacro-call-macro or repeating won't work correctly.
11252 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11254 * progmodes/subword.el: Back to using `forward-symbol'.
11256 * subr.el (forward-whitespace, forward-symbol)
11257 (forward-same-syntax): Move from thingatpt.el.
11259 2013-03-29 Leo Liu <sdl.web@gmail.com>
11261 * kmacro.el (kmacro-to-register): New command.
11262 (kmacro-execute-from-register): New function.
11263 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11265 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11267 * mpc.el: Use defvar-local and setq-local.
11268 (mpc--proc-connect): Connection failures are not bugs.
11269 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11270 (mpc-volume-map): Bind to the up-events.
11272 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11274 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11275 instead of `forward-symbol'.
11277 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11279 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11280 (edebug--recursive-edit): Use it.
11281 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11282 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11284 2013-03-28 Leo Liu <sdl.web@gmail.com>
11286 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11288 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11290 * facemenu.el (list-colors-callback): New defvar.
11291 (list-colors-redisplay): New function.
11292 (list-colors-display): Install list-colors-redisplay as the
11293 revert-buffer-function. (Bug#14063)
11295 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11297 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11298 and suffixes don't overlap (bug#14061).
11300 * case-table.el: Use lexical-binding.
11301 (case-table-get-table): New function.
11302 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11304 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11306 * progmodes/subword.el: Add `superword-mode' to do word motion
11307 over symbol_words (parallels and leverages `subword-mode' which
11308 does word motion inside MixedCaseWords).
11310 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11312 * eshell/em-unix.el: Move su and sudo to...
11313 * eshell/em-tramp.el: ...Eshell tramp module.
11315 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11317 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11318 Change return value to be a sexp. Delay `get-buffer' to after
11319 restoring the desktop (bug#13951).
11321 2013-03-26 Leo Liu <sdl.web@gmail.com>
11323 * register.el: Move semantic tag handling back to
11324 cedet/semantic/senator.el. (Bug#14052)
11326 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11328 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11329 into the prompt either (bug#13963).
11331 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11333 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11334 part of "(error-foo)".
11336 2013-03-24 Juri Linkov <juri@jurta.org>
11338 * replace.el (list-matching-lines-prefix-face): New defcustom.
11339 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11340 `occur-engine' if `face-differs-from-default-p' returns t.
11341 (occur-engine): Add `,' inside backquote construct to evaluate
11342 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11343 Pass `prefix-face' to the functions `occur-context-lines' and
11344 `occur-engine-add-prefix'.
11345 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11346 `prefix-face' and propertize the prefix with `prefix-face'.
11349 2013-03-24 Leo Liu <sdl.web@gmail.com>
11351 * nxml/rng-valid.el (rng-validate-while-idle)
11352 (rng-validate-quick-while-idle): Guard against deleted buffer.
11355 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11356 is the last entry in kill-buffer-hook.
11358 * files.el (kill-buffer-hook): Doc fix.
11360 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11362 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11363 Make it safe-local.
11365 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11367 2013-03-23 Leo Liu <sdl.web@gmail.com>
11369 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11372 * nxml/rng-valid.el (rng-validate-mode)
11373 (rng-after-change-function, rng-do-some-validation):
11374 * nxml/rng-maint.el (rng-validate-buffer):
11375 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11376 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11377 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11378 (nxml-extend-after-change-region): Use with-silent-modifications.
11380 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11383 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11384 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11385 timer-idle-list. (Bug#13999)
11387 2013-03-23 Juri Linkov <juri@jurta.org>
11389 * info.el (info-index-match): New face.
11390 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11391 main pattern and add text properties with the new face to matches
11392 in index entries relative to the beginning of the index entry.
11395 2013-03-21 Eric Ludlam <zappo@gnu.org>
11397 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11398 Inhibit read only while inserting objects.
11400 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11402 * progmodes/cfengine.el: Update docs to mention
11403 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11404 symbol motion. Remove "_" from the word syntax.
11406 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11408 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11409 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11411 2013-03-20 Juri Linkov <juri@jurta.org>
11413 * info.el (Info-next-reference-or-link)
11414 (Info-prev-reference-or-link): New functions.
11415 (Info-next-reference, Info-prev-reference): Use them.
11416 (Info-try-follow-nearest-node): Handle footnote navigation.
11417 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11419 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11421 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11422 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11424 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11426 Suppress unnecessary non-ASCII chatter during build process.
11427 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11428 (batch-skkdic-convert): Suppress most of the chatter.
11429 It's not needed so much now that machines are faster,
11430 and its non-ASCII component was confusing; see Dmitry Gutov in
11431 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11433 2013-03-20 Leo Liu <sdl.web@gmail.com>
11435 * ido.el (ido-chop): Fix bug#10994.
11437 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11439 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11441 (whitespace-color-on, whitespace-color-off):
11442 Use `font-lock-fontify-buffer' (Bug#13817).
11444 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11446 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11447 remapping in mode-line.
11448 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11450 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11452 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11453 value for `whitespace-line' face (Bug#13875).
11454 (whitespace-font-lock-keywords): Change description.
11455 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11456 the constructed keywords instead.
11457 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11459 2013-03-19 Leo Liu <sdl.web@gmail.com>
11461 * progmodes/compile.el (compilation-display-error): New command.
11462 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11465 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11467 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11469 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11471 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11473 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11475 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11477 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11478 * net/tramp-gvfs.el (top):
11479 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11480 (tramp-handle-shell-command): Use it.
11481 (tramp-dissect-file-name): Raise an error when hostname is a
11482 method name, and neither method nor user is specified.
11484 * net/trampver.el: Update release number.
11486 2013-03-18 Leo Liu <sdl.web@gmail.com>
11488 Make sure eldoc can be turned off properly.
11489 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11491 (eldoc-display-message-p): Revert last change.
11492 (eldoc-display-message-no-interference-p)
11493 (eldoc-print-current-symbol-info): Tweak.
11495 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11497 * doc-view.el (doc-view-new-window-function): Check the new window
11498 overlay's display property instead the char property of the
11499 buffer's first char. Use `with-selected-window' instead of
11500 `save-window-excursion' with `select-window'.
11501 (doc-view-document->bitmap): Check the current doc-view overlay's
11502 display property instead the char property of the buffer's first char.
11504 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11506 Automate the build of ja-dic.el (Bug#13984).
11507 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11508 from the input, rather than assume that it's been done for us by the
11509 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11510 the current date into a ja-dic.el comment, as that complicates
11511 regression testing.
11513 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11515 * whitespace.el: Fix double evaluation.
11516 (whitespace-space, whitespace-hspace, whitespace-tab)
11517 (whitespace-newline, whitespace-trailing, whitespace-line)
11518 (whitespace-space-before-tab, whitespace-indentation)
11519 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11521 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11522 (whitespace-color-on): Use a single font-lock-add-keywords call.
11523 Fix double-evaluation of face variables.
11525 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11527 * net/tramp-adb.el (tramp-adb-parse-device-names):
11528 Use `start-process' instead of `call-process'. Otherwise, the
11529 function might be blocked under MS Windows. (Bug#13299)
11531 2013-03-17 Leo Liu <sdl.web@gmail.com>
11533 Extend eldoc to display info in the mode-line. (Bug#13978)
11534 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11535 (eldoc-mode-line-string): New variable.
11536 (eldoc-minibuffer-message): New function.
11537 (eldoc-message-function): New variable.
11538 (eldoc-message): Use it.
11539 (eldoc-display-message-p)
11540 (eldoc-display-message-no-interference-p):
11541 Support eldoc-post-insert-mode.
11543 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11544 (eval-expression): Run it.
11546 2013-03-17 Roland Winkler <winkler@gnu.org>
11548 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11549 strings in the list of return values.
11551 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11553 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11554 radix before checking for HMS forms.
11556 2013-03-16 Leo Liu <sdl.web@gmail.com>
11558 * progmodes/scheme.el: Add indentation and font-locking for λ.
11561 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11563 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11564 token before point (bug#13942).
11566 2013-03-16 Leo Liu <sdl.web@gmail.com>
11568 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11570 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11572 * startup.el (command-line-normalize-file-name): Fix handling of
11573 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11574 <xfq.free@gmail.com> in
11575 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11577 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11579 Sync with Tramp 2.2.7.
11581 * net/trampver.el: Update release number.
11583 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11585 * doc-view.el: Fix bug#13887.
11586 (doc-view-insert-image): Don't modify overlay associated to
11587 non-live windows, and implement horizontal centering of image in
11588 case it's smaller than the window.
11589 (doc-view-new-window-function): Force redisplay of new windows on
11592 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11594 * saveplace.el (save-place-alist-to-file): Don't sort
11595 `save-place-alist', just pretty-print it (bug#13882).
11597 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11599 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11600 Check whether `default-file-name-coding-system' is bound.
11601 It isn't in XEmacs.
11603 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11605 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11606 backquotes for `obsolete' (bug#13929).
11608 * international/mule.el (find-auto-coding): Include file name in
11609 obsolescence warning (bug#13922).
11611 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11613 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11614 for CFEngine 3-specific indentation.
11615 (cfengine3-indent-line): Use it. Fix up category regex.
11616 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11618 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11620 * type-break.el (type-break-file-name):
11621 * textmodes/remember.el (remember-data-file):
11622 * strokes.el (strokes-file):
11623 * shadowfile.el (shadow-initialize):
11624 * saveplace.el (save-place-file):
11625 * ps-bdf.el (bdf-cache-file):
11626 * progmodes/idlwave.el (idlwave-config-directory):
11627 * net/quickurl.el (quickurl-url-file):
11628 * international/kkc.el (kkc-init-file-name):
11629 * ido.el (ido-save-directory-list-file):
11630 * emulation/viper.el (viper-custom-file-name):
11631 * emulation/vip.el (vip-startup-file):
11632 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11633 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11635 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11637 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11638 * language/thai-word.el: Switch to UTF-8.
11640 See ChangeLog.16 for earlier changes.
11642 ;; Local Variables:
11646 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11648 This file is part of GNU Emacs.
11650 GNU Emacs is free software: you can redistribute it and/or modify
11651 it under the terms of the GNU General Public License as published by
11652 the Free Software Foundation, either version 3 of the License, or
11653 (at your option) any later version.
11655 GNU Emacs is distributed in the hope that it will be useful,
11656 but WITHOUT ANY WARRANTY; without even the implied warranty of
11657 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11658 GNU General Public License for more details.
11660 You should have received a copy of the GNU General Public License
11661 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.