1 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3 * net/shr.el (shr-find-fill-point): Don't break lines before a
6 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
8 * net/eww.el (eww-form-textarea): Use a different face for
9 textareas than text input since they have different keymaps
12 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
14 * progmodes/python.el (python-nav-beginning-of-statement): Speed
17 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
19 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
20 the window configuration.
22 2013-12-24 Eli Zaretskii <eliz@gnu.org>
24 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
25 we run on MS-Windows or MS-DOS.
27 2013-12-24 Martin Rudalics <rudalics@gmx.at>
29 * window.el (balance-windows-area): Call window-size instead of
30 window-height and window-width. Bug#16241.
32 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
34 * net/eww.el (eww-bookmark-quit): Remove.
35 (eww-bookmark-browse): Restore the window configuration when you
36 choose a bookmark (bug#16144).
38 2013-12-24 Daniel Colascione <dancol@dancol.org>
40 * icomplete.el: Remove redundant :group arguments to `defcustom'
42 (icomplete-show-matches-on-no-input): New customizable variable.
43 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
44 we have something to show.
45 (icomplete-exhibit): Compute completions even if we have no user
48 2013-12-23 Daniel Colascione <dancol@dancol.org>
50 * icomplete.el: Move `provide' to end of file.
52 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
54 * net/gnutls.el (gnutls-verify-error): Add version tag.
56 2013-12-23 Chong Yidong <cyd@gnu.org>
58 * subr.el (set-transient-map): Rename from
59 set-temporary-overlay-map. Doc fix.
61 * face-remap.el (text-scale-adjust):
62 * indent.el (indent-rigidly):
63 * kmacro.el (kmacro-call-macro):
64 * minibuffer.el (minibuffer-force-complete):
66 * simple.el (universal-argument--mode):
67 * calendar/todo-mode.el (todo-insert-item--next-param):
68 * progmodes/f90.el (f90-abbrev-start): Callers changed.
70 * indent.el (indent-rigidly): Use substitute-command-keys.
72 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
74 * net/eww.el (eww-tag-select): Add text-property to jump to next
76 (eww) : Add non-supported ftp error.
78 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
80 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
81 comments. Handle electric indent after typing `?' and `!'.
83 2013-12-22 Chong Yidong <cyd@gnu.org>
85 * faces.el (face-spec-recalc): If the theme specs are not
86 applicable to a frame, fall back on the defface spec. This
87 prevents themes from obliterating faces on low-color terminals.
89 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
91 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
92 after `{'. We need it after block openers, and it doesn't seem
93 to hurt after hash openers.
95 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
97 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
98 extracted from `ruby-smie-rules'.
99 (ruby--electric-indent-chars): New variable.
100 (ruby--electric-indent-p): New function.
101 (ruby-mode): Use `electric-indent-functions' instead of
102 `electric-indent-chars'.
104 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
106 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
108 (ruby-smie-rules): Indent plus one level after `=>'.
110 2013-12-21 Richard Stallman <rms@gnu.org>
112 * simple.el (newline): Doc fix.
114 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
116 * net/eww.el (eww-list-histories, eww-list-histories)
117 (eww-history-browse, eww-history-quit, eww-history-kill)
118 (eww-history-mode-map, eww-history-mode): New command and
119 functions to list browser histories.
120 (eww-form-text): Support text form with disabled
121 and readonly attributes.
122 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
124 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
126 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
127 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
128 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
129 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
131 (eww-bookmark-mode-map): Add menu.
132 (eww-render, eww-mode): Use `setq-local'.
133 (eww-tool-bar-map): New variable.
134 (eww-mode): Set `tool-bar-map'.
135 (eww-view-source): Check for `html-mode' with `fboundp'.
137 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
139 * net/shr.el (shr--extract-best-source): Don't bug out on audio
140 elements with text inside. Also remove debugging.
142 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
144 * cus-start.el (all): Add ns-use-srgb-colorspace.
146 2013-12-21 Chong Yidong <cyd@gnu.org>
148 * custom.el (custom-theme-recalc-face): Do nothing if the face is
149 undefined. Thus, theme settings for undefined faces do not take
150 effect until the faces are defined with defface, the same as with
153 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
154 (face-spec-reset-face): Don't assign extra properties in temacs.
155 (face-spec-recalc): Apply X resources too.
157 2013-12-21 Chong Yidong <cyd@gnu.org>
159 * faces.el (face-spec-set):
160 * cus-face.el (custom-theme-set-faces, custom-set-faces):
161 * custom.el (defface): Doc fixes (Bug#16203).
163 * indent.el (indent-rigidly-map): Add docstring, and move commands
164 into named functions.
165 (indent-rigidly-left, indent-rigidly-right)
166 (indent-rigidly-left-to-tab-stop)
167 (indent-rigidly-right-to-tab-stop): New functions. Decide on
168 indentation direction based on bidi direction, and accumulate
169 sequential commands in a single undo boundary.
170 (indent-rigidly--pop-undo): New utility function.
172 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
174 * faces.el (read-face-name): Require crm.el when using crm-separator.
176 2013-12-20 Daniel Colascione <dancol@dancol.org>
178 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
179 so that we don't reflow comments into the shebang line.
181 2013-12-20 Juri Linkov <juri@jurta.org>
183 * saveplace.el (save-place-to-alist): Add `dired-filename' as
184 a position when `dired-directory' is non-nil. Check integer
185 positions with `integerp'.
186 (toggle-save-place, save-places-to-alist): Add check for
188 (save-place-find-file-hook): Check integer positions with
190 (save-place-dired-hook): Use `dired-goto-file' when
191 `dired-filename' is found in the assoc list. Check integer
192 positions with `integerp'.
193 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
195 * dired.el (dired-initial-position-hook): Rename back from
196 `dired-initial-point-hook'.
197 (dired-initial-position): Rename `dired-initial-point-hook' to
198 `dired-initial-position-hook'.
199 (dired-file-name-at-point): Doc fix. (Bug#15329)
201 2013-12-20 Juri Linkov <juri@jurta.org>
203 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
204 (read-regexp-suggestions): New function.
205 (read-regexp): Use `read-regexp-defaults-function' to get default values.
206 Use `read-regexp-suggestions'. Add non-empty default to history
208 (occur-read-regexp-defaults-function): Remove function.
209 (occur-read-primary-args): Use `regexp-history-last' instead of
210 `occur-read-regexp-defaults-function'.
212 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
213 (hi-lock-line-face-buffer, hi-lock-face-buffer)
214 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
215 `hi-lock-read-regexp-defaults-function'. Doc fix.
216 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
217 with `find-tag-default-as-symbol-regexp'. Doc fix.
218 (hi-lock-read-regexp-defaults): Remove function.
219 (hi-lock-regexp-okay): Add check for null.
221 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
222 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
224 * subr.el (find-tag-default-as-symbol-regexp): New function.
225 (find-tag-default-as-regexp): Move symbol regexp formatting to
226 `find-tag-default-as-symbol-regexp'.
228 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
230 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
233 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
235 * calendar/todo-mode.el: New implementation of item insertion
236 commands and key bindings.
237 (todo-key-prompt): New face.
238 (todo-insert-item): New command.
239 (todo-insert-item--parameters): New defconst, replacing defvar
240 todo-insertion-commands-args-genlist.
241 (todo-insert-item--param-key-alist): New defconst, replacing
242 defvar todo-insertion-commands-arg-key-list.
243 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
244 (todo-insert-item--argsleft, todo-insert-item--apply-args)
245 (todo-insert-item--next-param): New functions.
246 (todo-insert-item--args, todo-insert-item--argleft)
247 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
249 (todo-key-bindings-t): Change binding of "i" from
250 todo-insertion-map to todo-insert-item.
251 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
252 (todo-insertion-command-name, todo-insertion-commands-names)
253 (todo-define-insertion-command, todo-insertion-commands)
254 (todo-insertion-key-bindings, todo-insertion-map): Remove.
256 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
258 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
259 (todo-toggle-item-highlighting): Use eval-and-compile instead of
261 (todo-move-category): Allow choosing a non-existing todo file to
262 move the category to, and create that file.
263 (todo-default-priority): New user option.
264 (todo-set-item-priority): Use it.
265 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
266 (desktop-restore-file-buffer): Declare.
267 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
268 (todo-modes-set-2): Locally set desktop-save-buffer to
269 todo-desktop-save-buffer.
270 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
271 (auto-mode-alist): Add autoload cookie.
273 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
275 * emacs-lisp/subr-x.el: Renamed from helpers.el.
276 helpers.el was a poor choice of name.
277 (string-remove-prefix): New function.
278 (string-remove-suffix): New function.
280 2013-12-20 Martin Rudalics <rudalics@gmx.at>
282 Fix assignment for new window total sizes.
283 * window.el (window--pixel-to-size): Remove function.
284 (window--pixel-to-total-1, window--pixel-to-total):
285 Fix calculation of new total sizes.
287 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
289 * comint.el (comint-output-filter): Fix rear-nonsticky property
290 placement (Bug#16010).
292 2013-12-20 Chong Yidong <cyd@gnu.org>
294 * faces.el (read-color): Minor fix for completion function.
296 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
298 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
299 New option. (Bug#16182)
300 (ruby-smie--indent-to-stmt-p): Use it.
301 (ruby-smie-rules): Revert the logic in the handling of `when'.
302 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
303 (ruby-deep-arglist, ruby-deep-indent-paren)
304 (ruby-deep-indent-paren-style): Update docstrings to note that the
305 vars don't have any effect with SMIE.
307 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
309 * calc/calc.el (calc-enter, calc-pop): Use the variable
310 `calc-context-sensitive-enter'.
312 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
314 * net/shr.el (shr-insert): Protect against infloops in degenerate
317 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
319 * progmodes/octave.el (octave): Add link to manual and octave
321 (octave-mode-menu): Link to octave-mode manual.
323 2013-12-20 Leo Liu <sdl.web@gmail.com>
325 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
326 insertion using skeleton-end-newline. (Bug#16138)
328 2013-12-20 Juri Linkov <juri@jurta.org>
330 * replace.el (occur-engine): Use `add-face-text-property'
331 to add the face property to matches and titles. (Bug#14645)
333 * hi-lock.el (hi-green): Use lighter color "light green" closer to
334 the palette of other hi-lock colors.
335 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
337 2013-12-19 Juri Linkov <juri@jurta.org>
339 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
340 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
341 (minibuffer-history-symbol): Move variable declaration closer to
344 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
347 2013-12-19 Juri Linkov <juri@jurta.org>
349 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
351 (log-edit-hook): Add it to :options. (Bug#16170)
353 2013-12-19 Juri Linkov <juri@jurta.org>
355 * simple.el (eval-expression-print-format): Don't check for
356 command names and the last command. Always display additional
357 formats of the integer result in the echo area, and insert them
358 to the current buffer only with a zero prefix arg.
359 Display character when char-displayable-p is non-nil.
360 (eval-expression): With a zero prefix arg, set `print-length' and
361 `print-level' to nil, and insert the integer values from
362 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
364 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
365 `eval-last-sexp-arg-internal'. Doc fix.
366 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
367 `eval-last-sexp-print-value'. Doc fix.
368 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
369 Set `print-length' and `print-level' to nil when arg is zero.
370 (eval-last-sexp): Doc fix.
371 (eval-defun-2): Print the integer values from
372 `eval-expression-print-format' at the end.
374 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
375 values from `eval-expression-print-format' at the end.
377 * ielm.el (ielm-eval-input): Print the integer
378 values from `eval-expression-print-format' at the end.
380 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
382 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
383 2013-12-11T19:01:44Z!tzz@lifelogs.com.
385 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
387 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
388 (hl-line-highlight, global-hl-line-highlight): Use it.
389 (hl-line-overlay): Use defvar-local.
391 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
393 * term/ns-win.el: Require dnd.
394 (global-map): Remove drag items.
395 (ns-insert-text, ns-set-foreground-at-mouse)
396 (ns-set-background-at-mouse):
397 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
398 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
401 2013-12-19 Glenn Morris <rgm@gnu.org>
403 * emacs-lisp/ert.el (ert-select-tests):
404 Fix string/symbol mixup. (Bug#16121)
406 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
408 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
409 keywords to their parent.
411 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
413 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
414 first arg to be a string (fixed dead code), or an operator symbol.
415 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
417 (ruby-smie-rules): Remove parent token check in the `.' clause, it
418 did nothing. Don't respond to `(:after ".")', it will be called
419 with :before anyway. Remove the ` @ ' rule, it didn't seem to
420 change anything. Only return indentation for binary operators
421 when they are hanging. De-dent opening paren when its parent is
422 `.', otherwise it looks bad when the dot is not at bol or eol
425 2013-12-19 Juri Linkov <juri@jurta.org>
427 * replace.el (query-replace-read-args): Split a non-negative arg
428 and a negative arg into separate elements.
429 (query-replace, query-replace-regexp, replace-string)
430 (replace-regexp): Add arg `backward'. Doc fix.
431 (replace-match-maybe-edit): When new arg `backward' is non-nil,
432 move point to the beginning of the match.
433 (replace-search, replace-highlight): Use new arg `backward'
434 to set the value of `isearch-forward'.
435 (perform-replace): Add arg `backward' and use it to perform
436 replacement backward. (Bug#14979)
438 * isearch.el (isearch-query-replace): Use a negative prefix arg
439 to call `perform-replace' with a non-nil arg `backward'.
441 2013-12-18 Juri Linkov <juri@jurta.org>
443 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
444 to the default list. Move `log-edit-show-files' to the end.
445 Add more available functions to options.
446 (log-edit): Move default specific settings to
447 `log-edit-insert-message-template'. Don't move point.
448 (log-edit-insert-message-template): New function.
449 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
452 2013-12-18 Juri Linkov <juri@jurta.org>
454 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
455 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
457 2013-12-18 Leo Liu <sdl.web@gmail.com>
459 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
461 2013-12-18 Eli Zaretskii <eliz@gnu.org>
463 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
464 formats for displaying file sizes when the -s switch is given.
465 Instead, compute a separate format for displaying the size in
466 blocks, which is displayed in addition to the "regular" size.
467 When -h is given in addition to -s, produce size in blocks in
468 human-readable form as well. (Bug#16179)
470 2013-12-18 Tassilo Horn <tsdh@gnu.org>
472 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
473 Reference tables with ~\ref{...} instead of only \ref{...}.
475 2013-12-18 Chong Yidong <cyd@gnu.org>
477 * cus-edit.el (custom-magic-alist): Fix "themed" description
480 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
481 is non-nil, do not create a new entry in the symbol's theme-value
482 or theme-face property; update theme-settings only (Bug#14664).
483 (custom-available-themes): Doc fix.
485 * cus-theme.el (custom-new-theme-mode-map): Add bindings
488 * replace.el (occur-engine): Avoid infloop (Bug#7593).
490 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
492 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
495 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
497 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
499 2013-12-18 Glenn Morris <rgm@gnu.org>
501 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
502 * cus-start.el (load-prefer-newer): New option.
504 2013-12-18 Le Wang <l26wang@gmail.com>
506 * comint.el (comint-previous-matching-input-from-input):
507 Retain point (Bug#13404).
509 2013-12-18 Chong Yidong <cyd@gnu.org>
511 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
513 2013-12-18 Glenn Morris <rgm@gnu.org>
515 * mail/emacsbug.el (report-emacs-bug):
516 Only mention enable-multibyte-characters if non-standard.
518 2013-12-17 Juri Linkov <juri@jurta.org>
520 * arc-mode.el (archive-extract-by-file): Check if directory exists
521 before deletion to not show irrelevant errors if it doesn't exist.
523 2013-12-17 Juri Linkov <juri@jurta.org>
525 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
528 * net/eww.el (browse-web): Add alias to `eww'.
529 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
530 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
532 * net/browse-url.el (browse-url-browser-function): Move `eww'
533 closer to similar functions.
535 * startup.el (fancy-startup-screen, fancy-about-screen):
536 Set browse-url-browser-function to eww-browse-url locally.
539 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
541 * window.el (window--pixel-to-total): Remove unused `mini' var.
542 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
543 (split-window): Remove unused `new' var.
544 (window--display-buffer): Remove unused `frame' and `delta' vars.
545 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
548 2013-12-17 Martin Rudalics <rudalics@gmx.at>
550 * dired.el (dired-mark-pop-up):
551 * register.el (register-preview): Don't bind
552 split-height-threshold here since it's now done in
553 display-buffer-below-selected.
555 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
557 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
558 xterm-rgb-convert-to-16bit.
559 (rxvt-register-default-colors): Standardize with
560 xterm-register-default-colors (Bug#14078).
562 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
564 * simple.el (kill-region): Pass mark first, then point, so that
565 kill-append works right (Bug#12819).
566 (copy-region-as-kill, kill-ring-save): Likewise.
568 2013-12-17 Leo Liu <sdl.web@gmail.com>
570 * net/rcirc.el (rcirc-add-face):
571 * eshell/em-prompt.el (eshell-emit-prompt):
572 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
575 2013-12-17 Chong Yidong <cyd@gnu.org>
577 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
578 Suggested by Xue Fuqiao.
580 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
582 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
584 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
586 * net/shr.el (shr-insert-document): Remove unused var
587 `shr-preliminary-table-render'.
588 (shr-rescale-image): Remove unused arg `force'.
589 (shr-put-image): Update calls accordingly.
590 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
592 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
594 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
595 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
596 :close-all, to see which indentation method to use (Bug#16116).
597 (smie-rules-function): Document the method :close-all.
599 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
601 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
603 * net/eww.el (eww-display-html): If we can't find the anchor we're
604 looking for, then go to point-min.
606 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
608 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
609 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
610 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
611 Expand dir too, in case it's relative.
613 2013-12-16 Juri Linkov <juri@jurta.org>
615 * desktop.el (desktop-auto-save-timeout): Change default to
616 `auto-save-timeout'. Doc fix.
617 (desktop-save): Skip the timestamp in desktop-saved-frameset
618 when checking for auto-save changes.
619 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
620 `desktop-auto-save' is called repeatedly by the idle timer.
621 (desktop-auto-save-set-timer): Replace `run-with-timer' with
622 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
625 2013-12-16 Juri Linkov <juri@jurta.org>
627 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
629 (isearch-pre-command-hook): Check `this-command' for symbolp.
631 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
633 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
635 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
637 * progmodes/cfengine.el (cfengine3--current-word): Remove.
638 (cfengine3--current-function): Bring in the current-function
639 functionality from `cfengine3--current-word'.
640 (cfengine3-completion-function): Bring in the
641 bounds-of-current-word functionality from
642 `cfengine3--current-word'.
644 2013-12-16 Martin Rudalics <rudalics@gmx.at>
646 * window.el (display-buffer-below-selected):
647 Bind split-height-threshold to 0 as suggested by Juri Linkov.
649 2013-12-16 Leo Liu <sdl.web@gmail.com>
651 * progmodes/compile.el (compile-goto-error): Do not push-mark.
652 Remove NOMSG arg and all uses changed.
654 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
656 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
657 (cua--deactivate-rectangle): Don't deactivate the mark.
658 (cua-set-rectangle-mark): Don't set mark-active since
659 cua--activate-rectangle already does it for us.
660 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
661 non-rectangular region.
663 * emulation/cua-base.el (cua-repeat-replace-region):
664 Use with-current-buffer.
666 * net/gnutls.el: Use cl-lib.
667 (gnutls-negotiate): `mapcan' -> cl-mapcan.
669 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
671 * emacs-lisp/package.el (package-built-in-p): Support both
672 built-in and the package.el converted package descriptions.
673 (package-show-package-list): Allow keywords.
674 (package-keyword-button-action): Use it instead of
675 `finder-list-matches'.
676 (package-menu-filter-interactive): Interactive filtering (by
678 (package-menu--generate): Support keywords and change keymappings
679 and headers when they are given.
680 (package--has-keyword-p): Helper function.
681 (package-menu--refresh): Use it.
682 (package--mapc): Helper function.
683 (package-all-keywords): Use it.
684 (package-menu-mode-map): Set up menu items and keybindings to
685 provide a filtering UI.
687 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
689 * net/gnutls.el (gnutls-verify-error): New defcustom to control
690 the behavior when a certificate fails validation. Defaults to
691 old behavior: never abort, just warn.
692 (gnutls-negotiate): Use it.
694 2013-12-14 Martin Rudalics <rudalics@gmx.at>
696 * window.el (display-buffer-below-selected): Never split window
697 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
699 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
701 * emacs-lisp/package.el (package--prepare-dependencies): New function.
702 (package-buffer-info): Use it (bug#15108).
704 * icomplete.el (icomplete-completions): Make sure the prefix is already
705 displayed elsewhere before hiding it.
707 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
709 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
710 open-paren tokens when preceded by a open-paren, too.
711 (ruby-smie-rules): Handle virtual indentation after open-paren
712 tokens specially. If there is code between it and eol, return the
713 column where is starts (Bug#16118).
715 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
717 * progmodes/cfengine.el: Fix `add-hook' doc.
718 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
719 (cfengine3--current-word): Fix parameters.
720 (cfengine3-make-syntax-cache): Simplify further.
721 (cfengine3-completion-function, cfengine3--current-function):
722 Use `assq' for symbols.
723 (cfengine3--current-function): Fix `cfengine3--current-word' call.
725 2013-12-13 Glenn Morris <rgm@gnu.org>
727 * loadup.el (load-path): Warn if site-load or site-init changes it.
728 No more need to reset it when bootstrapping.
730 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
732 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
733 locations for cf-promises.
734 (cfengine-mode-syntax-functions-regex): New caching variable.
735 (cfengine3-fallback-syntax): Fallback syntax for cases where
736 cf-promises doesn't run.
737 (cfengine3--current-word): Reimplement using
738 `cfengine-mode-syntax-functions-regex'.
739 (cfengine3-completion-function, cfengine3--current-function):
740 Use `cfengine3-make-syntax-cache' directly.
741 (cfengine3-clear-syntax-cache): New function.
742 (cfengine3-make-syntax-cache): Simplify and create
743 `cfengine-mode-syntax-functions-regex' on demand.
744 (cfengine3-format-function-docstring): Don't call
745 `cfengine3-make-syntax-cache' explicitly.
747 2013-12-13 Martin Rudalics <rudalics@gmx.at>
749 Fix windmove-find-other-window broken after pixelwise resizing
751 * windmove.el (windmove-other-window-loc): Revert change from
753 (windmove-find-other-window): Call window-in-direction.
754 * window.el (window-in-direction): New arguments SIGN, WRAP and
755 MINI to emulate original windmove-find-other-window behavior.
757 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
759 * simple.el (blink-matching--overlay): New variable.
760 (blink-matching-open): Instead of moving point, highlight the
761 matching paren with an overlay
762 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
764 * faces.el (paren-showing-faces, show-paren-match)
765 (show-paren-mismatch): Move from paren.el.
767 2013-12-13 Leo Liu <sdl.web@gmail.com>
769 * indent.el (indent-region): Disable progress reporter in
770 minibuffer. (Bug#16108)
772 * bindings.el (visual-order-cursor-movement): Fix version.
774 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
776 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
777 Also match after beginning of line.
778 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
779 files. Thanks to Russell Sim. (Bug#15378)
781 2013-12-13 Juri Linkov <juri@jurta.org>
783 * simple.el <Keypad support>: Remove key bindings duplicated
784 with bindings.el. (Bug#14397)
786 2013-12-13 Juri Linkov <juri@jurta.org>
788 * comint.el (comint-mode-map): Replace `delete-char' with
789 `delete-forward-char'. (Bug#16109)
791 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
793 * progmodes/python.el (python-indent-calculate-indentation):
794 Fix de-denters cornercase. (Bug#15731)
796 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
798 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
799 (advice--make): Pay attention to `depth'.
800 (advice--make-1): Don't autoload commands eagerly.
801 * emacs-lisp/elp.el (elp-instrument-function):
802 * emacs-lisp/trace.el (trace-function-internal):
803 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
805 * iswitchb.el (iswitchb-mode): Don't belittle ido.
807 2013-12-12 Eli Zaretskii <eliz@gnu.org>
809 * term/w32-win.el (w32-handle-dropped-file):
810 * startup.el (normal-top-level):
811 * net/browse-url.el (browse-url-file-url):
812 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
813 decode file names using 'utf-8' rather than
814 file-name-coding-system.
816 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
818 * progmodes/python.el (python-indent-context)
819 (python-indent-calculate-indentation): Fix auto-identation
820 behavior for comment blocks. (Bug#15916)
822 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
824 * progmodes/python.el (python-indent-calculate-indentation):
825 When determining indentation, don't treat "return", "pass", etc., as
826 operators when they are just string constituents. (Bug#15812)
828 2013-12-12 Juri Linkov <juri@jurta.org>
830 * uniquify.el (uniquify-buffer-name-style): Change default to
831 `post-forward-angle-brackets'.
833 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
834 `uniquify'. Change default to `post-forward-angle-brackets'.
836 2013-12-11 Glenn Morris <rgm@gnu.org>
838 * emacs-lisp/package.el (finder-list-matches):
839 Autoload rather than falsely declaring.
841 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
843 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
844 (eww-mode-map): Use them.
846 2013-12-11 Martin Rudalics <rudalics@gmx.at>
848 * window.el (display-buffer-in-side-window): Fix doc-string
851 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
853 * vc/vc-git.el: Silence byte-compiler warnings.
854 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
855 (log-edit-set-header): Declare.
857 2013-12-11 Eli Zaretskii <eliz@gnu.org>
859 * Makefile.in (custom-deps, finder-data): Run output file names
860 through unmsys--file-name. (Bug#16099)
862 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
864 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
865 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
867 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
868 instead of deleting the selection "by hand" (bug#16098).
869 Rely on insert-for-yank to yank rectangles.
870 (cua-highlight-region-shift-only): Mark obsolete.
871 (cua-mode): Don't enable/disable transient-mark-mode,
872 shift-select-mode (cua-mode works both with and without them), and
873 pc-selection-mode (obsolete).
874 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
875 (cua--deactivate-rectangle): Deactivate it.
877 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
878 (delete-selection-helper): Make sure yank starts at the top of the
880 (minibuffer-keyboard-quit): Use region-active-p.
882 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
884 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
885 to `delete' (bug#16109).
887 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
889 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
890 info manual and show keybindings and set `:group' keyword.
892 2013-12-11 Juri Linkov <juri@jurta.org>
894 * delsel.el (delete-active-region): Let-bind `this-command'
895 to prevent `kill-region' from changing its original value.
896 (delete-selection-helper): Handle `overwrite-mode' for the type
897 `kill' exactly the same way as for the type `t'.
898 (insert-char, quoted-insert, reindent-then-newline-and-indent):
899 Support more commands. (Bug#13312)
901 2013-12-11 Juri Linkov <juri@jurta.org>
903 * bindings.el: Map kp keys to non-kp keys systematically
904 with basic modifiers control, meta and shift. (Bug#14397)
906 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
908 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
909 "Close browser" menu items. Fix wrong function of "List
912 2013-12-11 Juri Linkov <juri@jurta.org>
914 * misearch.el (multi-isearch-buffers): Set the value of
915 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
916 arg of isearch-forward to t.
917 (multi-isearch-buffers-regexp): Set the value of
918 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
919 arg of isearch-forward-regexp to t.
920 (multi-isearch-files): Set the value of
921 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
922 arg of isearch-forward to t.
923 (multi-isearch-files-regexp): Set the value of
924 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
925 arg of isearch-forward-regexp to t. (Bug#16035)
927 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
928 arg of isearch-forward to t.
929 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
930 arg of isearch-forward-regexp to t.
931 (dired-isearch-filter-filenames): Remove unnecessary check for
932 `dired-isearch-filenames'.
934 * comint.el (comint-history-isearch-backward):
935 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
936 (comint-history-isearch-backward-regexp):
937 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
939 2013-12-10 Eli Zaretskii <eliz@gnu.org>
941 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
942 unmsys--file-name. (Bug#16099)
944 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
946 * emacs-lisp/package.el (package-keyword-button-action):
947 Remove finder.el require dependency.
949 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
951 * emacs-lisp/package.el: Require finder.el.
952 (describe-package-1): Add keyword buttons.
953 (package-make-button): New convenience function.
954 (package-keyword-button-action): Keyword button action using
955 `finder-list-matches'.
957 2013-12-09 Eli Zaretskii <eliz@gnu.org>
959 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
962 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
964 * autorevert.el (auto-revert-notify-add-watch): Do not handle
967 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
969 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
970 after the end of a percent literal.
972 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
974 * progmodes/ruby-mode.el (ruby-forward-string): Document.
975 Handle caret-delimited strings (Bug#16079).
977 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
979 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
980 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
981 `ruby-parse-partial' (Bug#16078).
983 2013-12-09 Leo Liu <sdl.web@gmail.com>
985 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
987 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
989 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
990 (js-switch-indent-offset): New option.
991 (js--proper-indentation): Use it. And handle the case when
992 "default" is actually a key in an object literal.
993 (js--same-line): New function.
994 (js--multi-line-declaration-indentation): Use it.
995 (js--indent-in-array-comp, js--array-comp-indentation):
997 (js--proper-indentation): Use them, to handle array comprehension
1000 2013-12-08 Leo Liu <sdl.web@gmail.com>
1002 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1003 (flymake-make-overlay): Remove arg MOUSE-FACE.
1004 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1006 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1008 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1010 (redisplay-highlight-region-function): Use it.
1012 * emulation/cua-base.el (cua--explicit-region-start)
1013 (cua--last-region-shifted): Remove.
1014 (cua--deactivate): Use deactivate-mark.
1015 (cua--pre-command-handler-1): Don't handle shift-selection.
1016 (cua--post-command-handler-1): Don't change transient-mark-mode.
1017 (cua--select-keymaps): Use region-active-p rather than
1018 cua--explicit-region-start or cua--last-region-shifted.
1019 (cua-mode): Enable shift-select-mode.
1021 2013-12-08 Leo Liu <sdl.web@gmail.com>
1023 * progmodes/flymake.el (flymake-popup-current-error-menu):
1024 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1025 (flymake-posn-at-point-as-event, flymake-popup-menu)
1026 (flymake-make-emacs-menu): Remove. (Bug#16077)
1028 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1030 * rect.el (rectangle-mark-mode): Activate mark even if
1031 transient-mark-mode is off (bug#16066).
1032 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1033 is > mark and at bolp.
1035 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1036 (region-extract-function): Use it.
1037 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1038 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1040 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1041 kill-ring-save, kill-region, delete-char, delete-forward-char.
1042 Ignore self-insert-iso.
1044 * emulation/cua-gmrk.el (cua--init-global-mark):
1045 Ignore `self-insert-iso'.
1047 * emulation/cua-base.el (cua--prefix-copy-handler)
1048 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1049 checking cua--rectangle.
1050 (cua-delete-region): Use region-extract-function.
1051 (cua-replace-region): Delete function.
1052 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1053 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1054 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1055 (cua--init-keymaps): Don't remap delete-selection commands.
1056 (cua-mode): Use delete-selection-mode instead of rolling our own
1059 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1060 Obey region-extract-function.
1062 Make registers and delete-selection-mode work on rectangles.
1063 * register.el (describe-register-1): Don't modify the register's value.
1064 (copy-to-register): Obey region-extract-function.
1065 * delsel.el (delete-active-region): Obey region-extract-function.
1067 2013-12-08 Leo Liu <sdl.web@gmail.com>
1069 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1070 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1071 (flymake-compilation-prevents-syntax-check)
1072 (flymake-start-syntax-check-on-newline)
1073 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1074 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1075 (flymake-xml-program, flymake-master-file-dirs)
1076 (flymake-master-file-count-limit)
1077 (flymake-allowed-file-name-masks): Relocate.
1078 (flymake-makehash, flymake-float-time)
1079 (flymake-replace-regexp-in-string, flymake-split-string)
1080 (flymake-get-temp-dir): Remove.
1081 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1082 (flymake-current-row, flymake-selected-frame)
1083 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1084 related functions. (Bug#16077)
1086 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1088 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1090 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1092 * help-fns.el (describe-function-1): Use new advice-* functions
1093 rather than old ad-* functions. Fix function type description and
1094 source links for advised functions and subrs.
1096 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1098 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1100 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1102 * progmodes/compile.el (compilation-start):
1103 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1105 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1106 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1108 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1110 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1111 Touch up the last change.
1113 2013-12-06 Leo Liu <sdl.web@gmail.com>
1115 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1116 (inferior-octave-startup): Always use "octave> " for prompt.
1117 (octave-goto-function-definition)
1118 (octave-sync-function-file-names)
1119 (octave-find-definition-default-filename): Remove redundant backquotes.
1121 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1123 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1125 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1126 where appropriate already.
1127 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1128 end of method names (Bug#15874).
1130 2013-12-06 Juri Linkov <juri@jurta.org>
1132 * isearch.el (isearch--saved-overriding-local-map):
1133 New internal variable.
1134 (isearch-mode): Set it to the initial value of
1135 `overriding-terminal-local-map'.
1136 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1137 with `isearch--saved-overriding-local-map'. (Bug#16035)
1139 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1141 * progmodes/octave.el (inferior-octave-completion-table):
1142 Turn back into function, use `completion-table-with-cache'
1143 (Bug#11906). Update all references.
1145 * minibuffer.el (completion-table-with-cache): New function.
1147 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1149 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1151 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1153 * net/eww.el (eww-current-source): New variable to store page
1155 (eww-display-html, eww-mode, eww-save-history)
1156 (eww-restore-history): Use it.
1157 (eww-view-source): New command to view page source.
1158 Opportunistically uses `html-mode' to highlight the buffer.
1159 (eww-mode-map): Install it.
1161 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1163 * net/dbus.el (dbus-unregister-service)
1164 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1166 (dbus-unregister-service): Skip :serial entries in
1167 `dbus-registered-objects-table'.
1168 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1170 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1172 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1173 around keywords with extra `split-string' argument.
1175 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1177 * windmove.el (windmove-other-window-loc): Handle navigation
1178 between windows (excluding the minibuffer window - Bug#16017).
1180 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1182 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1183 in D-Bus type syntax.
1184 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1185 preserve unibyte strings. (Bug#16048)
1187 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1189 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1190 Call force-mode-line-update is the proper buffer (bug#16042).
1192 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1194 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1195 `log-edit-remember-comment', make argument optional. Adjust all
1197 (log-edit-mode): Add `log-edit-remember-comment' to
1198 `kill-buffer-hook' locally.
1199 (log-edit-kill-buffer): Don't remember comment explicitly since
1200 the buffer is killed anyway.
1202 2013-12-04 Juri Linkov <juri@jurta.org>
1204 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1205 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1207 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1209 * notifications.el (notifications-close-notification): Call the
1210 D-Bus method with ID being a `:uint32'. (Bug#16030)
1212 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1214 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1216 2013-12-03 Juri Linkov <juri@jurta.org>
1218 * progmodes/compile.el (compilation-start): Rename window alist
1219 entry `no-display-ok' to `allow-no-window'.
1221 * simple.el (shell-command): Add window alist entry
1222 `allow-no-window' to `display-buffer'.
1223 (async-shell-command): Doc fix.
1225 * window.el (display-buffer-no-window): New action function.
1226 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1228 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1230 * vc/log-edit.el (log-edit-set-header): Extract from
1231 `log-edit-toggle-header'.
1232 (log-edit-extract-headers): Separate the summary, when extracted
1233 from header, from the rest of the message with an empty line.
1235 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1236 line, if present, to the Summary header.
1238 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1240 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1241 in current-buffer (bug#16029).
1243 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1245 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1246 (debugger-mode-map): Bind it.
1247 (debugger--backtrace-base): New function.
1248 (debugger-eval-expression): Use it.
1249 (debugger-frame-number): Skip local vars when present.
1250 (debugger--locals-visible-p, debugger--insert-locals)
1251 (debugger--show-locals, debugger--hide-locals): New functions.
1253 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1255 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1257 (tramp-get-remote-locale): New defun.
1258 (tramp-open-connection-setup-interactive-shell): Use it.
1260 2013-12-02 Leo Liu <sdl.web@gmail.com>
1262 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1264 * progmodes/sh-script.el (sh-shell-process):
1265 * progmodes/octave.el (inferior-octave-process-live-p):
1266 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1267 (gdb-inferior-io-sentinel):
1268 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1270 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1272 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1273 `save-selected-window' to `log-edit-hide-buf'. This makes
1274 `log-edit-show-files' idempotent.
1275 (log-edit-show-files): Mark the new window as dedicated.
1277 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1279 * vc/log-edit.el (log-edit-mode-map): Add binding for
1280 `log-edit-kill-biffer'.
1281 (log-edit-hide-buf): Add a FIXME comment.
1282 (log-edit-add-new-comment): New function, extracted from
1284 (log-edit-done, log-edit-add-to-changelog): Use it.
1285 (log-edit-kill-buffer): New command.
1287 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1289 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1290 instead of killing the buffer.
1292 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1294 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1296 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1298 * net/eww.el (eww-form-checkbox-selected-symbol)
1299 (eww-form-checkbox-symbol): New customizable variable.
1300 (eww-form-checkbox, eww-toggle-checkbox):
1301 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1303 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1304 (shr--get-media-pref, shr--extract-best-source): New function.
1305 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1306 no :src tag was specified.
1308 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1309 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1310 Use \\` to match beginning of string instead of ^.
1311 (eww-browse-with-external-browser): Provide optional URL parameter.
1312 (eww-render): Set `eww-current-title' back to "".
1314 * net/shr.el (shr-tag-video): Display content for video if no
1315 poster is available.
1316 (shr-tag-audio): Add support for <audio> tag.
1318 * net/eww.el (eww-text-input-types): New const.
1319 (eww-process-text-input): Treat input types in
1320 `eww-text-input-types' as text.
1322 * net/shr.el (shr-tag-table): Fix comment typo.
1324 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1326 * net/eww.el (eww-follow-link): New command to avoid reloading
1327 pages when we follow #target links (bug#15243).
1328 (eww-quit): Special mode buffers shouldn't query before exiting.
1330 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1332 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1335 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1337 * net/eww.el (eww-restore-history): Update the window title after
1338 moving in the history.
1339 (eww-current-dom): New variable used to save the current DOM.
1341 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1343 * vc/log-edit.el (log-edit-mode-map): Add binding for
1344 `log-edit-beginning-of-line'.
1345 (log-edit-setup-add-author): New user option.
1346 (log-edit-beginning-of-line): New command.
1347 (log-edit): Move major mode call above the contents setup so that
1348 the local variable values are already applied.
1349 (log-edit): Only insert "Author: " when
1350 `log-edit-setup-add-author' is non-nil.
1351 (log-edit): When SETUP is non-nil, position point after ": "
1352 instead of point-min.
1354 2013-12-01 Glenn Morris <rgm@gnu.org>
1356 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1358 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1360 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1361 redisplay to make sure the initial frame gets a chance to become
1362 visible. (Bug#16014)
1364 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1366 Support resizing frames and windows pixelwise.
1367 * cus-start.el (frame-resize-pixelwise)
1368 (window-resize-pixelwise): New entries.
1369 * emacs-lisp/debug.el (debug): Use window-total-height instead
1370 of window-total-size.
1371 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1372 * help.el (describe-bindings-internal): Call help-buffer
1373 (temp-buffer-max-width): New option.
1374 (resize-temp-buffer-window, help-window-setup)
1375 (with-help-window): Rewrite.
1376 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1378 * window.el (frame-char-size, window-min-pixel-height)
1379 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1380 (window-min-pixel-width, window-safe-min-pixel-size)
1381 (window-combination-p, window-safe-min-size)
1382 (window-resizable-p, window--size-to-pixel)
1383 (window--pixel-to-size, window--resize-apply-p): New functions.
1384 (window-safe-min-height): Fix doc-string.
1385 (window-size, window-min-size, window--min-size-1)
1386 (window-sizable, window-sizable-p, window--min-delta-1)
1387 (window-min-delta, window--max-delta-1, window-max-delta)
1388 (window--resizable, window--resizable-p, window-resizable)
1389 (window-full-height-p, window-full-width-p, window-at-side-p)
1390 (window--in-direction-2, window-in-direction)
1391 (window--resize-reset-1, window--resize-mini-window)
1392 (window-resize, window-resize-no-error)
1393 (window--resize-child-windows-normal)
1394 (window--resize-child-windows, window--resize-siblings)
1395 (window--resize-this-window, window--resize-root-window)
1396 (window--resize-root-window-vertically)
1397 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1398 (maximize-window, minimize-window, delete-window)
1399 (quit-restore-window, window-split-min-size, split-window)
1400 (balance-windows-2, balance-windows)
1401 (balance-windows-area-adjust, balance-windows-area)
1402 (window--state-get-1, window-state-get, window--state-put-1)
1403 (window--state-put-2, window-state-put)
1404 (display-buffer-record-window, window--display-buffer):
1405 Make functions handle pixelwise sizing of windows.
1406 (display-buffer--action-function-custom-type)
1407 (display-buffer-fallback-action):
1408 Add display-buffer-in-previous-window.
1409 (display-buffer-use-some-window): Resize window to height it had
1411 (fit-window-to-buffer-horizontally): New option.
1412 (fit-frame-to-buffer): Describe new values.
1413 (fit-frame-to-buffer-bottom-margin): Replace with
1414 fit-frame-to-buffer-margins.
1415 (window--sanitize-margin): New function.
1416 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1417 using window-text-pixel-size.
1419 2013-11-30 Glenn Morris <rgm@gnu.org>
1421 * emacs-lisp/bytecomp.el (byte-compile-form):
1422 Make the `interactive-only' warning like the `obsolete' one.
1423 * comint.el (comint-run):
1424 * files.el (insert-file-literally, insert-file):
1425 * replace.el (replace-string, replace-regexp):
1426 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1427 (goto-line, insert-buffer, next-line, previous-line):
1428 Tweak `interactive-only' spec.
1430 Stop keeping (most) generated cedet grammar files in the repository.
1431 * Makefile.in (semantic): New.
1432 (compile-main): Depend on semantic.
1434 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1436 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1437 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1439 * uniquify.el (uniquify-buffer-name-style): Change default.
1441 * loadup.el: Preload "uniquify".
1443 * time.el (display-time-update): Update all mode lines (bug#15999).
1445 * electric.el (electric-indent-mode): Enable by default.
1446 * loadup.el: Preload "electric".
1448 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1450 * emacs-lisp/helpers.el (string-empty-p): New function.
1451 (string-blank-p): New function.
1453 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1455 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1458 2013-11-29 Andreas Politz <politza@fh-trier.de>
1459 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1460 allow non-lambda lists as functions.
1461 (imenu--in-alist): Don't recurse into non-subalists.
1462 (imenu): Don't pass function itself as an argument (Bug#14029).
1464 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1466 * progmodes/python.el (python-mode-map): Remove binding for ":".
1467 (python-indent-electric-colon): Remove command.
1468 (python-indent-post-self-insert-function): Integrate the previous code
1469 of python-indent-electric-colon. Make it conditional on
1470 electric-indent-mode.
1471 (python-mode): Add ?: to electric-indent-chars.
1472 Move python-indent-post-self-insert-function to the end of
1473 post-self-insert-hook.
1475 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1477 * doc-view.el (doc-view-goto-page): Update mode-line.
1479 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1481 2013-11-27 Glenn Morris <rgm@gnu.org>
1483 * international/charprop.el, international/uni-bidi.el:
1484 * international/uni-category.el, international/uni-combining.el:
1485 * international/uni-comment.el, international/uni-decimal.el:
1486 * international/uni-decomposition.el, international/uni-digit.el:
1487 * international/uni-lowercase.el, international/uni-mirrored.el:
1488 * international/uni-name.el, international/uni-numeric.el:
1489 * international/uni-old-name.el, international/uni-titlecase.el:
1490 * international/uni-uppercase.el:
1491 Remove generated files from VCS repository.
1493 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1495 * filenotify.el (file-notify-add-watch): Don't special-case
1496 w32notify when computing the directory to watch.
1498 2013-11-27 Glenn Morris <rgm@gnu.org>
1500 Make bootstrap without generated uni-*.el files possible again.
1501 * loadup.el: Update command-line-args checking for unidata-gen.
1502 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1503 * composite.el, international/characters.el:
1504 Handle unicode tables being undefined.
1506 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1507 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1508 (compile-main): Depend on leim rule.
1510 * loadup.el: Move leim-list.el to leim/ subdirectory.
1511 * startup.el (normal-top-level): No more leim directory.
1512 * international/ja-dic-cnv.el (skkdic-convert):
1513 Disable version-control and autoloads in output files.
1514 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1515 Disable version-control and autoloads in output files.
1516 * leim/quail: Move here from ../leim.
1517 * leim/quail/hangul.el (hangul-input-method-activate):
1518 Add autoload cookie.
1519 (generated-autoload-load-name): Set file-local value.
1520 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1521 (generated-autoload-load-name): Set file-local value.
1523 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1525 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1526 (eww-add-bookmark): Ask confirmation when add to bookmarks
1527 (eww-quit): Ask confirmation before quitting eww.
1529 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1531 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1532 reading output from Diff on MS-Windows and MS-DOS.
1534 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1536 * emacs-lisp/helpers.el (string-reverse): New function.
1538 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1540 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1541 names on MS Windows, like "/[::1]:".
1543 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1546 2013-11-26 Glenn Morris <rgm@gnu.org>
1548 * progmodes/python.el (python-indent-guess-indent-offset):
1549 Avoid corner-case error. (Bug#15975)
1551 Preload leim-list.el. (Bug#4789)
1552 * loadup.el: Load leim-list.el when found.
1553 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1555 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1557 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1559 * emacs-lisp/helpers.el (string-join): New function.
1561 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1563 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1564 Mark as obsolete and replace it with a symbol property.
1565 (byte-compile-form): Use new 'interactive-only property.
1566 * comint.el, files.el, replace.el, simple.el:
1567 Apply new 'interactive-only properly.
1569 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1571 * window.el (display-buffer-at-bottom): Make sure that
1572 split-window-sensibly creates the new window on bottom
1575 2013-11-23 David Kastrup <dak@gnu.org>
1577 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1578 on the conflict markers when available.
1579 (smerge--get-marker): New function.
1580 (smerge-end-re, smerge-base-re): Add subgroup.
1582 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1584 * frame.el (handle-focus-in, handle-focus-out): Add missing
1587 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1589 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1590 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1592 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1594 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1595 (gomoku--last-pos): New var.
1596 (gomoku--intangible-chars): New const.
1597 (gomoku--intangible): New function.
1598 (gomoku-mode): Use it. Derive from special-mode.
1599 (gomoku-move-up): Adjust line count.
1600 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1601 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1602 Simplify accordingly.
1604 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1605 Remove blink-cursor code.
1606 (blink-cursor-timer-function, blink-cursor-suspend):
1607 Don't special-case GUIs.
1608 (blink-cursor-mode): Use focus-in/out-hook.
1610 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1612 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1613 work when annotation is invisible (Bug#13886).
1615 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1617 * json.el (json-alist-p): Only return non-nil if the alist has
1618 simple keys (Bug#13518).
1620 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1622 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1623 when control-statement is the first statement in a buffer (Bug#15956).
1625 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1627 * imenu.el (imenu-generic-skip-comments-and-strings):
1628 New option (Bug#15560).
1629 (imenu--generic-function): Use it.
1631 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1633 * minibuffer.el (completion--in-region-1): Scroll the correct
1636 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1638 * emacs-lisp/helpers.el: Add some string helpers.
1639 (string-trim-left): Removes leading whitespace.
1640 (string-trim-right): Removes trailing whitespace.
1641 (string-trim): Removes leading and trailing whitespace.
1643 * subr.el (string-suffix-p): New function.
1645 2013-11-23 Glenn Morris <rgm@gnu.org>
1647 * progmodes/python.el (python-shell-send-file):
1648 Add option to delete file when done. (Bug#15647)
1649 (python-shell-send-string, python-shell-send-region): Use it.
1651 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1653 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1654 to set buffer-read-only to t, never to nil. (Bug#15938)
1656 * textmodes/tex-mode.el (latex-noindent-environments):
1657 Add safe-local-variable property. (Bug#15936)
1659 2013-11-23 Glenn Morris <rgm@gnu.org>
1661 * textmodes/enriched.el (enriched-mode): Doc fix.
1662 * emacs-lisp/authors.el (authors-renamed-files-alist):
1663 Add enriched.doc -> enriched.txt.
1665 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1667 2013-11-22 Leo Liu <sdl.web@gmail.com>
1669 * progmodes/octave.el (inferior-octave-startup): Spit out error
1672 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1674 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1677 (ruby-encoding-magic-comment-style): Add :version.
1679 2013-11-22 Leo Liu <sdl.web@gmail.com>
1681 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1683 (octave-help-mode): Adapt to change to help-mode-finish to use
1684 derived-mode-p on 2013-09-17.
1685 (inferior-octave-prompt): Also match octave-gui.
1686 (octave-kill-process): Don't ask twice. (Bug#10564)
1688 2013-11-22 Leo Liu <sdl.web@gmail.com>
1690 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1691 (inferior-octave-startup, inferior-octave-check-process)
1692 (inferior-octave-track-window-width-change)
1693 (octave-completion-at-point, octave-eldoc-function): Use it.
1694 (octave-kill-process): Provide confirmation. (Bug#10564)
1696 2013-11-21 Leo Liu <sdl.web@gmail.com>
1698 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1699 Fix obsolete variable comment-use-global-state.
1701 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1703 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1704 Add `octave-source-file'.
1705 (octave-source-file): New function. (Bug#15935)
1707 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1709 * net/eww.el (eww-local-regex): New variable.
1710 (eww): Use it to detect localhost and similar.
1712 2013-11-21 Leo Liu <sdl.web@gmail.com>
1714 Add completion for command `ag'.
1715 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1716 (pcomplete/ag): New function.
1717 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1719 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1721 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1723 (make-obsolete): Remove interactive spec.
1725 2013-11-21 Glenn Morris <rgm@gnu.org>
1727 * startup.el (command-line-1): Use path-separator with -L.
1729 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1731 * emacs-lisp/package.el (describe-package-1): Add package archive
1734 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1736 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1737 Change default to "# encoding: %s" to differentiate it from the
1738 default Ruby encoding comment template.
1740 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1742 * ses.el (ses-mode): Doc fix. (Bug#14748)
1744 2013-11-20 Leo Liu <sdl.web@gmail.com>
1746 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1748 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1750 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1751 when rebase or bisect are in progress.
1753 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1755 * filenotify.el (file-notify-add-watch): Doc fix.
1757 2013-11-19 Leo Liu <sdl.web@gmail.com>
1759 * obsolete/rcompile.el: Mark obsolete.
1761 * progmodes/compile.el (compilation-start)
1762 (compilation-goto-locus, compilation-find-file):
1763 Pass no-display-ok and handle nil value from display-buffer.
1766 * window.el (display-buffer-alist, display-buffer): Document the
1767 new parameter no-display-ok. Return either a window or nil
1768 but never a non-window value.
1770 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1772 * electric.el (electric-indent-mode-map): Remove.
1773 (electric-indent-mode): Change the global-map instead (bug#15915).
1775 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1778 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1780 * emacs-lisp/nadvice.el (remove-function): Align with
1781 add-function's behavior.
1783 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1784 (gdb--string-regexp): New constant.
1785 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1786 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1787 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1789 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1790 Adjust use accordingly.
1791 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1793 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1795 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1796 interpolation curlies (Bug#15914).
1798 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1800 * calc/calc.el (calc-context-sensitive-enter): New variable.
1801 (calc-enter): Use `calc-context-sensitive-enter'.
1803 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1805 * progmodes/cfengine.el: Version bump.
1806 (cfengine-cf-promises): New defcustom to locate cf-promises.
1807 (cfengine3-vartypes): Add new "data" type.
1808 (cfengine3--current-word): New function to get current name-like
1810 (cfengine3--current-function): New function to look up a CFEngine
1811 function's definition.
1812 (cfengine3-format-function-docstring): New function.
1813 (cfengine3-make-syntax-cache): New function.
1814 (cfengine3-documentation-function): New function: ElDoc glue.
1815 (cfengine3-completion-function): New function: completion glue.
1816 (cfengine3-mode): Set `compile-command',
1817 `eldoc-documentation-function', and add to
1818 `completion-at-point-functions'.
1820 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1822 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1823 `tramp-current-connection'.
1825 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1827 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1828 nil/self/true/false with "end of symbol".
1830 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1832 * subr.el (version-regexp-alist): Fix a typo.
1834 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1836 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1837 "en_US.utf8" and "LC_CTYPE" to "".
1838 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1839 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1841 2013-11-15 Leo Liu <sdl.web@gmail.com>
1843 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1845 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1847 * progmodes/gud.el (ctl-x-map):
1848 Remove C-x SPC binding. (Bug#12342)
1849 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1851 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1853 * subr.el (version-regexp-alist):
1854 Recognize hg, svn and darcs versions as snapshot versions.
1856 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1857 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1858 (ruby--encoding-comment-required-p): Extract from
1859 `ruby-mode-set-encoding'.
1860 (ruby-mode-set-encoding): Add the ability to always insert an
1861 utf-8 encoding comment. Fix and simplify coding comment update
1864 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1866 * net/tramp-gvfs.el (top): Run init code only when
1867 `tramp-gvfs-enabled' is not nil.
1868 (tramp-gvfs-enabled): Check also :system bus.
1870 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1872 Sync with upstream verilog-mode revision 78e66ba.
1873 * progmodes/verilog-mode.el (verilog-end-of-defun)
1874 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1875 (verilog-get-end-of-defun): Remove unused argument.
1876 (verilog-comment-depth): Remove unused local `e'.
1877 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1878 Don't pass arg to verilog-get-end-of-defun.
1880 2013-11-14 Glenn Morris <rgm@gnu.org>
1882 * obsolete/assoc.el (aget): Prefix dynamic variable.
1884 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1886 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1888 * widget.el, hfy-cmap.el: Remove bogus package version number.
1890 2013-11-13 Glenn Morris <rgm@gnu.org>
1892 * replace.el (replace-eval-replacement):
1893 Try to give more helpful error message. (Bug#15836)
1895 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1896 (archive-7z-update): Avoid custom type mismatches.
1898 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1900 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1902 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1903 address can be empty.
1905 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1906 Accept nil SWITCHES.
1907 (tramp-gvfs-handle-write-region): Implement APPEND.
1909 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1911 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1912 binary "|" operator and closing block args delimiter.
1913 Remove FIXME comment referring to Ruby 1.8-only syntax.
1914 (ruby-smie--implicit-semi-p): Not after "|" operator.
1915 (ruby-smie--closing-pipe-p): New function.
1916 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1917 (ruby-smie-rules): Indent after "|".
1919 2013-11-12 Glenn Morris <rgm@gnu.org>
1921 * ps-print.el (ps-face-attribute-list):
1922 Handle anonymous faces. (Bug#15827)
1924 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1926 * window.el (display-buffer-other-frame): Fix doc-string.
1929 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1931 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1933 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1935 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1936 (tramp-sh-handle-file-local-copy): Don't write a message when
1937 saving temporary files.
1939 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1940 both directories are remote.
1941 (tramp-smb-handle-directory-files): Do not return double entries.
1942 Do not expand full file names.
1943 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1944 (tramp-smb-handle-write-region): Implement APPEND.
1945 (tramp-smb-get-stat-capability): Fix a stupid bug.
1947 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1949 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1951 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1953 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1954 throwing error over malformed let/let* (bug#15814).
1956 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1958 * iswitchb.el (iswitchb-mode): Mark obsolete.
1960 2013-11-11 Glenn Morris <rgm@gnu.org>
1962 * international/uni-bidi.el, international/uni-category.el:
1963 * international/uni-name.el, international/uni-numeric.el:
1964 Regenerate for Unicode 6.3.0.
1966 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1968 * net/tramp.el (tramp-methods):
1969 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1970 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1972 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1974 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1975 Force highlighting text after Summary keyword in doc face for rpm.
1977 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1979 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1980 available and the word has no wildcards, append one to the grep pattern.
1981 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1982 (ispell-complete-word): Call `ispell-lookup-words' with the value
1983 independent of `ispell-look-p'.
1985 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1987 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1989 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1992 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1994 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1995 (ruby-font-lock-keywords): Use backquote.
1997 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1999 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2000 (ruby-smie--backward-token): Only consider full-string matches.
2002 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2004 * faces.el (describe-face): Add distant-foreground.
2006 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2008 * progmodes/ruby-mode.el: Improve encoding comment handling.
2009 (ruby-encoding-magic-comment-style): New option.
2010 (ruby-custom-encoding-magic-comment-template): New option.
2011 (ruby--insert-coding-comment, ruby--detect-encoding):
2012 New functions extracted from `ruby-mode-set-encoding'.
2013 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2014 to control the style of the auto-inserted encoding comment.
2016 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2018 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2019 Use `smie-backward-sexp' with token argument.
2021 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2023 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2024 Remove instrumentation code.
2026 2013-11-08 Glenn Morris <rgm@gnu.org>
2028 * progmodes/autoconf.el (autoconf-mode):
2029 Tweak comment-start-skip. (Bug#15822)
2031 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2033 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2034 at bobp (bug#15826).
2035 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2037 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2039 * man.el (Man-start-calling): New macro, extracted from
2040 Man-getpage-in-background.
2041 (Man-getpage-in-background): Use it.
2042 (Man-update-manpage): New command.
2043 (Man-mode-map): Bind it.
2045 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2047 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2048 of "and", "or", "&&" and "||".
2049 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2050 argument. Prohibit opening curly brace because it could only be a
2051 block opener in that position.
2052 (ruby-smie--forward-token, ruby-smie--backward-token):
2053 Separate "|" from "&" or "*" going after it. That can happen in block
2055 (ruby-smie--indent-to-stmt): New function, seeks the end of
2056 previous statement or beginning of buffer.
2057 (ruby-smie-rules): Use it.
2058 (ruby-smie-rules): Check if there's a ":" before a curly block
2059 opener candidate; if there is, it's a hash.
2061 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2063 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2064 (cl--block-wrapper): Fix last accidental change.
2066 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2068 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2069 Instrument, in order to hunt failure on hydra.
2071 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2073 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2074 malformed bindings form (bug#15814).
2076 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2078 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2079 "." compared to " @ ". This incidentally fixes some indentation
2081 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2082 (ruby-smie-grammar): New tokens: "and" and "or".
2083 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2084 Exclude "and" and "or". Remove "do" in order to work around token
2086 (ruby-smie-rules): Add all infix tokens. Handle the case of
2087 beginning-of-buffer.
2089 2013-11-06 Glenn Morris <rgm@gnu.org>
2091 * Makefile.in (setwins_almost, setwins_for_subdirs):
2092 Avoid accidental matches.
2094 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2096 * menu-bar.el (popup-menu): Use key-binding.
2098 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2100 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2101 menus, support also the menus produced by minor modes.
2104 2013-11-06 Leo Liu <sdl.web@gmail.com>
2106 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2107 DISTANCE to bound the search. All uses changed. (Bug#15808)
2109 2013-11-06 Glenn Morris <rgm@gnu.org>
2111 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2112 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2113 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2115 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2117 * electric.el (electric-indent-just-newline): New command.
2118 (electric-indent-mode-map): New keymap.
2119 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2120 Re-add :group which weren't redundant.
2122 * electric.el (electric-indent-local-mode): New minor mode.
2123 (electric-indent-functions-without-reindent): New var.
2124 (electric-indent-post-self-insert-function): Use it.
2125 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2127 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2129 * international/quail.el (quail-help): Be more explicit about the
2130 meaning of the labels shown on the keys. (Bug#15800)
2132 * startup.el (normal-top-level): Load the subdirs.el files before
2133 setting the locale environment. (Bug#15805)
2135 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2137 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2138 via arguments so as to get the right ones (bug#15418).
2140 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2142 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2144 Fix problems found while writing a test suite.
2146 * net/tramp-compat.el (tramp-compat-load): New defun.
2147 * net/tramp.el (tramp-handle-load): Use it.
2149 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2150 "(numberp ok-if-already-exists)" correctly.
2152 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2154 * international/characters.el (glyphless-char-display-control):
2157 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2159 * progmodes/python.el (python-mode):
2160 * progmodes/scheme.el (scheme-mode):
2161 * progmodes/prolog.el (prolog-mode):
2162 * progmodes/ruby-mode.el (ruby-mode):
2163 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2164 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2166 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2168 * rect.el (rectangle--highlight-for-redisplay):
2169 * emacs-lisp/smie.el (smie--next-indent-change):
2170 Use buffer-chars-modified-tick.
2172 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2174 * electric.el (electric-indent-post-self-insert-function):
2175 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2177 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2179 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2181 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2183 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2186 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2188 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2190 * progmodes/python.el: Fix up last change.
2191 (python-shell--save-temp-file): New function.
2192 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2193 `string' comes from the current buffer.
2194 (python-shell-send-string-no-output): Remove `msg' arg.
2195 (python--use-fake-loc): New var.
2196 (python-shell-buffer-substring): Obey it. Try to compensate for the
2197 extra coding line added by python-shell--save-temp-file.
2198 (python-shell-send-region): Use python-shell--save-temp-file and
2199 python-shell-send-file directly. Add `nomain' argument.
2200 (python-shell-send-buffer): Use python-shell-send-region.
2201 (python-electric-pair-string-delimiter): New function.
2202 (python-mode): Use it.
2204 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2206 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2207 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2208 environment and decoding all of the default-directory's to here
2210 (command-line): Decode also argv[0].
2212 * loadup.el: Error out if default-directory is a multibyte string
2213 when we are dumping.
2215 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2217 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2219 * emacs-lisp/package.el (package-menu-mode)
2220 (package-menu--print-info, package-menu--archive-predicate):
2221 Add Archive column to package list.
2223 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2225 Fix problems found while writing a test suite.
2227 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2228 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2229 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2230 to nil when running original file name handler. Otherwise,
2231 there are problems with constructs like "$$FOO".
2233 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2236 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2238 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2240 * subr.el (version<, version<=, version=):
2241 Update docstrings with information for snapshot versions.
2243 * helpers.el: New library for misc helper functions.
2244 (hash-table-keys): New function returning a list of hash keys.
2245 (hash-table-values): New function returning a list of hash values.
2247 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2249 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2250 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2252 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2254 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2255 checking whether point is after a 1-letter word.
2257 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2259 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2260 Don't infloop when expanding region over `multiline' syntax-type that
2261 begins a line (bug#15778).
2263 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2265 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2266 Make it into a proper minor mode.
2267 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2268 (rectangle-mark-mode-map): New keymap.
2269 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2271 2013-11-04 Glenn Morris <rgm@gnu.org>
2273 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2275 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2277 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2278 (ruby-smie-rules): Use smie-rule-parent instead.
2280 * emacs-lisp/smie.el (smie-rule-parent): Always call
2281 smie-indent-virtual rather than only for hanging tokens.
2282 (smie--next-indent-change): New helper command.
2284 2013-11-03 Glenn Morris <rgm@gnu.org>
2286 * Makefile.in (abs_srcdir): Remove.
2287 (emacs): Unset EMACSLOADPATH.
2289 2013-11-02 Glenn Morris <rgm@gnu.org>
2291 * Makefile.in (EMACS): Use a relative filename.
2292 (abs_top_builddir): Remove.
2293 (custom-deps, finder-data, autoloads): Use --chdir.
2295 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2297 Use relative filenames in TAGS files.
2298 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2299 (lisptagsfiles4, TAGS): Use relative file names.
2300 (TAGS-LISP): Remove.
2301 (maintainer-clean): No more TAGS-LISP file.
2303 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2304 (lisptagsfiles4): Use absolute filenames again.
2305 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2306 Remove all *loaddefs files, not just the first. Remove esh-groups.
2307 (maintainer-clean): Delete TAGS, TAGS-LISP.
2309 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2311 * emacs-lisp/package.el (package-version-join):
2312 Recognize snapshot versions.
2314 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2316 * subr.el (version-regexp-alist): Add support for snapshot versions.
2318 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2320 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2321 New function, replacement for `smie-rule-parent' for when we want to
2322 skip over our direct parent if it's an assignment token..
2323 (ruby-smie-rules): Use it.
2325 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2327 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2328 unconditionally. Remove now unnecessary forward declarations.
2329 Remove XEmacs-specific setup.
2330 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2331 (ruby-font-lock-syntactic-keywords)
2332 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2333 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2334 (ruby-here-doc-end-syntax): Remove.
2335 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2336 defined as function.
2338 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2340 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2342 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2344 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2345 table and abbrev table, `define-derived-mode' does that for us
2348 2013-11-01 Glenn Morris <rgm@gnu.org>
2350 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2351 files is atomic for some time, so no parallel compilation issues).
2353 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2355 * faces.el (face-x-resources): Add :distant-foreground.
2356 (region): Use :distant-foreground for gtk and ns.
2358 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2360 Allow multiple bibliographies when BibLaTeX is used rather than
2362 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2363 (reftex-locate-bibliography-files): Us it.
2365 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2367 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2368 allow comments in pbm files.
2370 * term/w32-win.el (dynamic-library-alist): Support newer versions
2371 of libjpeg starting with v7: look only for the DLL from the
2372 version against which Emacs was built.
2373 Support versions of libpng beyond 1.4.x.
2374 Support libtiff v4.x.
2376 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2378 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2379 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2381 (ruby-deep-arglist): Add property :type.
2383 2013-10-31 Glenn Morris <rgm@gnu.org>
2385 * Makefile.in (custom-deps, finder-data): No need to setq the target
2386 variables, we are in the right directory and the defaults work fine.
2388 2013-10-30 Glenn Morris <rgm@gnu.org>
2390 * Makefile.in (autoloads): Do not use abs_lisp.
2392 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2393 `newline' does not respect `standard-output', so use `princ'.
2395 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2397 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2398 * buff-menu.el (Buffer-menu--unmark): New function.
2399 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2401 2013-10-30 Glenn Morris <rgm@gnu.org>
2403 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2405 * emacs-lisp/package.el (lm-homepage): Declare.
2407 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2410 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2412 * Makefile.in (finder-data, autoloads, update-subdirs)
2413 (compile-main, compile-clean, compile-always, bootstrap-clean):
2414 Check return value of cd.
2415 (compile-calc): Remove.
2417 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2419 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2421 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2422 (byte-compile-and-folded): New function.
2423 (=, <, >, <=, >=): Use it.
2425 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2426 (path-separator, null-device, buffer-file-coding-system)
2427 (lpr-headers-switches): Check system-type before modifying them.
2428 (find-buffer-file-type-coding-system): Mark obsolete.
2429 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2430 find-file-not-found-set-buffer-file-coding-system.
2431 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2432 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2433 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2434 (w32-direct-print-region-helper, w32-direct-print-region-function)
2435 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2436 * startup.el (normal-top-level-add-subdirs-to-load-path):
2437 * ps-print.el (ps-print-region-function):
2438 * lpr.el (print-region-function): Use new name.
2440 * subr.el (custom-declare-variable-early): Remove function.
2441 (custom-declare-variable-list): Remove var.
2442 (error, user-error): Remove `while' loop.
2443 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2444 (user-emacs-directory-warning, locate-user-emacs-file):
2446 * simple.el (read-quoted-char-radix, read-quoted-char):
2447 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2449 * custom.el (custom-declare-variable-list): Don't process
2450 custom-declare-variable-list.
2452 * progmodes/python.el (python-shell-get-buffer): New function.
2453 (python-shell-get-process): Use it.
2454 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2455 Python which encoding was used. Don't split-string since we only care
2456 about the first line. Return the temp-file, if applicable.
2457 (python-shell-send-region): Tell compile.el how to turn locations in
2458 the temp-file into locations in the source buffer.
2460 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2462 * subr.el (undefined): Add missing behavior from the C code for
2465 * rect.el: Use lexical-binding. Add new rectangular region support.
2466 (rectangle-mark): New command.
2467 (rectangle--region): New var.
2468 (deactivate-mark-hook): Reset rectangle--region.
2469 (rectangle--extract-region, rectangle--insert-for-yank)
2470 (rectangle--highlight-for-redisplay)
2471 (rectangle--unhighlight-for-redisplay): New functions.
2472 (region-extract-function, redisplay-unhighlight-region-function)
2473 (redisplay-highlight-region-function): Use them to handle
2475 * simple.el (region-extract-function): New var.
2476 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2477 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2478 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2479 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2480 (redisplay-unhighlight-region-function)
2481 (redisplay-highlight-region-function): New vars.
2482 (redisplay--update-region-highlight): New function.
2483 (pre-redisplay-function): Use it.
2484 (exchange-point-and-mark): Don't deactivate the mark before
2485 reactivate-it anyway.
2486 * comint.el (comint-kill-region): Remove yank-handler argument.
2487 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2488 (delete-char): Remove property, since it's now part of their
2490 (self-insert-iso): Remove property since this command doesn't exist.
2492 * emacs-lisp/package.el (package--download-one-archive)
2493 (describe-package-1): Don't query the user about final newline.
2495 2013-10-29 Daniel Colascione <dancol@dancol.org>
2497 * net/tramp.el (tramp-methods): Document new functionality.
2498 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2499 tramp-hostname-checker if method provides one instead of scanning
2500 argument list for "%h" to decide hostname acceptability.
2502 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2504 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2505 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2506 Handle COPY-CONTENTS. (Bug#15737)
2508 2013-10-28 Daiki Ueno <ueno@gnu.org>
2511 (epa-file-cache-passphrase-for-symmetric-encryption):
2512 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2514 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2516 * image.el (defimage):
2517 (image-load-path): Doc fixes.
2519 2013-10-27 Alan Mackenzie <acm@muc.de>
2521 Indent statements in macros following "##" correctly.
2522 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2523 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2525 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2527 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2529 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2531 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2532 after `=' is probably a new expression.
2534 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2536 * man.el (man-imenu-title): New option.
2537 (Man-mode-map): Add menu. (Bug#15722)
2538 (Man-mode): Add imenu to menu.
2540 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2542 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2543 specific in what the first arg can be: a non-keyword word,
2544 string/regexp/percent literal opener, opening paren, or unary
2545 operator followed directly by word.
2547 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2549 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2550 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2551 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2552 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2553 Remove vars, they do not apply any more.
2554 (prolog-mode-abbrev-table): Remove redundant declaration.
2555 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2556 (prolog-use-smie): Remove.
2557 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2558 supported by prolog-electric-if-then-else-flag.
2559 (prolog-mode-variables, prolog-menu): Use setq-local.
2560 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2561 Remove binding to `Backspace' since this key doesn't exist anyway.
2562 Remove bindings for electric self-inserting keys.
2563 (prog-mode): Assume it's defined.
2564 (prolog-post-self-insert): New function.
2565 (prolog-mode): Use it.
2566 (prolog-indent-line, prolog-indent-level)
2567 (prolog-find-indent-of-matching-paren)
2568 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2569 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2570 (prolog-goto-next-paren, prolog-in-string-or-comment)
2571 (prolog-tokenize, prolog-inside-mline-comment)
2572 (prolog-find-start-of-mline-comment): Remove functions.
2573 (prolog-find-unmatched-paren, prolog-clause-end)
2574 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2575 (prolog-electric--if-then-else): Rename from
2576 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2577 (prolog-tokenize-searchkey): Remove const.
2578 (prolog-clause-info): Use forward-sexp.
2579 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2580 (prolog-electric-if-then-else): Remove commands.
2581 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2582 for use in post-self-insert-hook.
2583 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2584 for use in post-self-insert-hook.
2585 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2586 for use in post-self-insert-hook.
2587 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2588 adapt it for use in post-self-insert-hook.
2590 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2592 * emacs-lisp/ert.el (ert-run-tests-interactively):
2593 Use `completing-read'. (Bug#9756)
2595 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2597 * simple.el (line-move): Call line-move-1 instead of
2598 line-move-visual when the current window hscroll is zero, but
2599 temporary-goal-column indicates we will need to hscroll as result
2600 of the movement. (Bug#15712)
2602 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2604 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2605 capitalization. Use :visible instead of :active.
2606 Fix `ruby-indent-exp' reference. Add menu items for the generic
2607 commands that are used with SMIE.
2608 (ruby-do-end-to-brace): Insert space after `{'.
2610 2013-10-25 John Anthony <john@jo.hnanthony.com>
2612 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2614 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2616 2013-10-25 Glenn Morris <rgm@gnu.org>
2618 * vc/vc.el (vc-print-log): Don't use a working revision unless
2619 one was explicitly specified. (Bug#15322)
2621 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2623 * subr.el (add-to-list): Preserve return value in compiler-macro
2626 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2628 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2629 result. Ask user to retry using '-all' flag. (Bug#15701)
2631 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2633 * emacs-lisp/smie.el: New smie-config system.
2634 (smie-config): New defcustom.
2635 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2636 (smie-config-guess, smie-config-save): New commands.
2637 (smie-config--mode-local, smie-config--buffer-local)
2638 (smie-config--trace, smie-config--modefuns): New vars.
2639 (smie-config--advice, smie-config--mode-hook)
2640 (smie-config--setter, smie-config-local, smie-config--get-trace)
2641 (smie-config--guess-value, smie-config--guess): New functions.
2642 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2643 text properties. Treat "string fence" syntax like string syntax.
2645 * progmodes/sh-script.el (sh-use-smie): Change default.
2646 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2647 (sh-var-value): Simplify by CSE.
2648 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2649 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2651 (sh-guess-basic-offset): Use cl-incf.
2652 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2654 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2656 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2659 2013-10-24 Glenn Morris <rgm@gnu.org>
2661 * Makefile.in (abs_top_srcdir): Remove.
2662 (update-subdirs): Use relative path to update-subdirs.
2664 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2666 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2667 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2668 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2669 Call unmsys--file-name before expand-file-name, not after it.
2671 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2673 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2674 (ert-test-skipped): New error.
2675 (ert-skip, ert-stats-skipped): New defuns.
2676 (ert--skip-unless): New macro.
2677 (ert-test-skipped): New struct.
2678 (ert--run-test-debugger, ert-test-result-type-p)
2679 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2680 (ert--stats-set-test-and-result, ert-char-for-test-result)
2681 (ert-string-for-test-result, ert-run-tests-batch)
2682 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2683 Handle skipped tests. (Bug#9803)
2685 2013-10-24 Glenn Morris <rgm@gnu.org>
2687 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2689 * Makefile.in (abs_top_srcdir): New, set by configure.
2690 (update-subdirs): Correct build-aux location.
2692 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2694 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2695 value, whether we could auto-deduce `backend', or not.
2697 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2698 with parameters" example. Simplify the "is it block or is it
2699 hash" check, but also make it more thorough.
2701 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2703 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2705 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2707 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2710 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2713 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2715 * progmodes/compile.el (compilation-directory-matcher)
2716 (compilation-page-delimiter):
2717 Support GNU Make-4.0 directory quoting. (Bug#15678)
2719 2013-10-23 Leo Liu <sdl.web@gmail.com>
2721 * ido.el (ido-tidy): Handle read-only text.
2723 2013-10-23 Glenn Morris <rgm@gnu.org>
2725 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2726 (emacs, compile, compile-always):
2727 Quote entities that might contain whitespace.
2728 (custom-deps, finder-data, autoloads): Use abs_lisp.
2729 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2730 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2731 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2733 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2735 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2736 Use `following-char'.
2738 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2740 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2741 * progmodes/ruby-mode.el (ruby-smie-rules):
2742 Remove corresponding workaround. Fix indentation rule of ";" so it
2743 also applies when ";" is the parent.
2745 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2747 * frame.el (display-screens, display-pixel-height)
2748 (display-pixel-width, display-mm-width, display-backing-store)
2749 (display-save-under, display-planes, display-color-cells)
2750 (display-visual-class, display-monitor-attributes-list):
2751 Mention the optional ‘display’ argument in doc strings.
2753 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2755 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2756 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2758 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2760 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2761 TODO. Add "." after " @ ".
2762 (ruby-smie--at-dot-call): New function. Checks if point at method
2763 call with explicit target.
2764 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2765 to the method name tokens when it precedes them.
2766 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2767 (ruby-smie-rules): Add rule for indentation before and after "."
2770 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2772 * textmodes/remember.el (remember-diary-extract-entries):
2775 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2778 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2780 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2781 (ruby-smie--implicit-semi-p): Add new operator chars.
2783 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2785 (ruby-smie--args-separator-p): Check that there's no newline
2786 between method call and its arguments.
2788 2013-10-20 Alan Mackenzie <acm@muc.de>
2790 Allow comma separated lists after Java "implements".
2792 * progmodes/cc-engine.el (c-backward-over-enum-header):
2794 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2795 from a "disallowed" list in enum fontification.
2797 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2799 * startup.el (default-frame-background-mode): Remove unused defvar.
2801 * progmodes/verilog-mode.el (verilog-mode): Don't set
2802 comment-indent-function globally.
2804 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2806 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2807 Move Info menu item creation to ns-win.el.
2809 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2812 * menu-bar.el: Move GNUStep specific menus...
2814 * term/ns-win.el (ns-initialize-window-system): ... to here.
2816 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2818 * simple.el (newline): Only run post-self-insert-hook when
2819 called interactively.
2821 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2823 * icomplete.el (icomplete-with-completion-tables): Add :version.
2825 2013-10-19 Alan Mackenzie <acm@muc.de>
2827 Fix fontification bugs with constructors and const.
2829 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2830 CASE 2) Remove the check for the absence of a suffix construct
2831 after a function declaration with only types (no identifiers) in
2832 the parentheses. Also, accept a function declaration with just a
2833 type inside the parentheses, if this type can be positively
2834 recognised as such, or if a prefix keyword like "explicit" nails
2835 down the construct as a declaration.
2837 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2839 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2840 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2841 the problem whereby selecting a menu item that leads to a
2842 minibuffer prompt moves the cursor out of the minibuffer window,
2843 making it hard to type at the prompt. Suggested by Stefan Monnier
2844 <monnier@iro.umontreal.ca>.
2846 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2848 * menu-bar.el: Don't make Services menu.
2850 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2852 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2853 (ffap-alist): Use ffap-c++-mode for c++-mode.
2854 (ffap-c++-path): New variable.
2855 (ffap-c++-mode): New function.
2857 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2859 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2861 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2863 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2864 introduced on 2013-09-08, which results in an infinite loop
2865 requesting a password.
2867 2013-10-18 Glenn Morris <rgm@gnu.org>
2869 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2871 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2873 Sync with upstream verilog-mode revision 1a6ecec7.
2874 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2875 (verilog-mode-release-date): Remove.
2876 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2877 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2878 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2879 (verilog-auto-tieoff-ignore-regexp)
2880 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2881 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2882 (verilog-signals-with, verilog-dir-cache-preserving)
2883 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2885 (verilog-case-fold): New option, to control case folding in
2886 regexp searches, bug597.
2887 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2888 (verilog-string-match-fold, verilog-in-paren-count)
2889 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2890 (verilog-at-close-struct-p): New functions.
2891 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2892 (verilog-forward-sexp, verilog-set-auto-endcomments):
2893 (verilog-leap-to-case-head): Handle "unique0" case.
2894 (verilog-in-constraint-re): New constant.
2895 (verilog-keywords, verilog-type-font-keywords):
2896 Add some SystemVerilog 1800-2012 keywords.
2897 (verilog-label-be): Remove unimplemented argument, bug669.
2898 (verilog-batch-execute-func): When batch expanding clear
2899 create-lockfiles to prevent spurious user locks when a file ends
2901 (verilog-calculate-indent, verilog-calc-1)
2902 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2903 (verilog-do-indent): Fix indentation of nested constraints
2905 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2906 (verilog-auto-inst-param): Use verilog-string-match-fold.
2907 (verilog-read-inst-module-matcher):
2908 Fix AUTOINST on gate primitives with #1.
2909 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2910 Reads all user-defined typed variables.
2911 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2912 (verilog-signals-matching-regexp)
2913 (verilog-signals-not-matching-regexp, verilog-auto):
2914 Respect verilog-case-fold.
2915 (verilog-diff-report): Fix line count.
2916 (verilog-auto-assign-modport): Remove unused local `modi'.
2917 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2918 better handle multidimensional arrays.
2919 Fix packed array ports misadding bit index in AUTOINST, bug637.
2920 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2921 to not double-declare existing outputs and inputs, respectively.
2922 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2923 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2924 (verilog-sk-uvm-component): New skeleton.
2925 (verilog-submit-bug-report): Add verilog-case-fold,
2926 remove verilog-mode-release-date.
2928 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2930 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2933 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2935 * textmodes/remember.el (remember): Set buffer-offer-save in
2936 remember buffers (bug#13566).
2938 2013-10-18 Daniel Colascione <dancol@dancol.org>
2940 When evaluating forms in ielm, direct standard output to ielm
2941 buffer. Add new ielm-return-for-effect command. Remove trailing
2942 whitespace throughout.
2944 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2945 (ielm-return-for-effect): New command.
2946 (ielm-send-input): Accept optional `for-effect' parameter.
2947 (ielm-eval-input): Accept optional `for-effect' parameter.
2948 Bind `standard-output' to stream we create using
2949 `ielm-standard-output-impl'. Suppress printing result when
2951 (ielm-standard-output-impl): New function.
2952 (inferior-emacs-lisp-mode): Explain new features in documentation.
2954 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2958 * net/tramp.el (tramp-debug-message): Do not check for connection
2960 (tramp-message): Use "vector" connection property.
2962 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2963 (tramp-equal-remote, tramp-eshell-directory-change)
2964 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2965 (tramp-adb-handle-rename-file)
2966 * net/tramp-cmds.el (tramp-list-remote-buffers)
2967 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2968 * net/tramp-compat.el (tramp-compat-process-running-p)
2969 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2970 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2971 (tramp-gvfs-handle-rename-file)
2972 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2973 (tramp-set-file-uid-gid)
2974 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2975 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2978 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2979 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2980 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2981 (tramp-gw-open-network-stream): Suppress unrelated traces.
2983 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2984 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2985 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2986 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2987 connection property.
2989 * net/tramp-cache.el (top): Suppress traces when reading
2992 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2993 Refactor common code. Improve debug message.
2994 (tramp-maybe-open-connection)
2995 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2996 connection buffer too early.
2998 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2999 from `tramp-smb-actions-with-acl'.
3000 (tramp-smb-actions-set-acl): New defconst.
3001 (tramp-smb-handle-copy-directory)
3002 (tramp-smb-action-get-acl): New defun, renamed from
3003 `tramp-smb-action-with-acl'.
3004 (tramp-smb-action-set-acl): New defun.
3005 (tramp-smb-handle-set-file-acl): Rewrite.
3007 2013-10-17 Glenn Morris <rgm@gnu.org>
3009 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3011 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3013 * skeleton.el (skeleton-newline): Remove.
3014 (skeleton-internal-1): Use (insert "\n") instead.
3016 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3019 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3020 forward-sexp-function while we redo its job (bug#15613).
3022 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3024 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3025 represented by lists.
3027 2013-10-16 Glenn Morris <rgm@gnu.org>
3029 * tmm.el (tmm--history): New dynamic variable.
3030 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3032 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3034 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3035 (tramp-smb-errors): Add error messages.
3036 (tramp-smb-actions-with-acl): New defconst.
3037 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3038 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3039 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3040 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3041 (tramp-smb-get-stat-capability): Fix tests.
3043 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3045 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3048 2013-10-16 Glenn Morris <rgm@gnu.org>
3050 * ansi-color.el (ansi-color-drop-regexp):
3051 Add 1J, 1K, 2K. (Bug#15617)
3053 * files.el (hack-local-variables--warned-lexical): New.
3054 (hack-local-variables):
3055 Warn about misplaced lexical-binding. (Bug#15616)
3057 * net/eww.el (eww-render): Always set eww-current-url,
3058 and update header line. (Bug#15622)
3059 (eww-display-html): ... Rather than just doing it here.
3061 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3063 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3064 menu navigations commands.
3066 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3068 * progmodes/subword.el (subword-capitalize): Be careful when
3069 the search for [[:alpha:]] fails (bug#15580).
3071 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3073 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3074 to commands that scroll the menu.
3076 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3078 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3079 Handle methods ending with `?' and `!'.
3081 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3083 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3084 `japanese-cp932' to `cp932' to fix the problem where saving a
3085 source file written in Shift_JIS twice would end up having
3086 `coding: japanese-cp932' which Ruby could not recognize.
3087 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3088 in `ruby-encoding-map'.
3089 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3090 doesn't need to be explicitly declared in magic comment.
3091 (ruby-encoding-map): Add type declaration for better customize UI.
3093 2013-10-13 Glenn Morris <rgm@gnu.org>
3095 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3096 Occur buffers are read-only. http://bugs.debian.org/720775
3098 * emacs-lisp/authors.el (authors-fixed-entries):
3099 Comment out old alpha stuff.
3101 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3103 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3104 to `after-save-hook' instead of `before-save-hook'.
3105 (ruby-mode-set-encoding): Use the value of coding system used to
3106 write the file. Call `basic-save-buffer-1' after modifying the
3109 2013-10-13 Alan Mackenzie <acm@muc.de>
3111 Fix indentation/fontification of Java enum with
3112 "implements"/generic.
3114 * progmodes/cc-engine.el (c-backward-over-enum-header):
3115 Extracted from the three other places and enhanced to handle generics.
3116 (c-inside-bracelist-p): Uses new function above.
3117 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3119 (c-font-lock-enum-tail): Uses new function above.
3121 2013-10-13 Kenichi Handa <handa@gnu.org>
3123 * international/mule-cmds.el (select-safe-coding-system): Remove a
3124 superfluous condition in chekcing whether a coding system is safe
3127 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3129 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3131 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3133 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3135 2013-10-13 Glenn Morris <rgm@gnu.org>
3137 * menu-bar.el (menu-bar-update-buffers):
3138 Unify Buffers menu prompt string. (Bug#15576)
3140 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3142 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3144 (authors-fixed-entries): Use accented form of name.
3146 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3148 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3149 method calls (bug#15594).
3150 (ruby-smie--args-separator-p): New function.
3151 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3152 recognize paren-free method calls.
3154 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3155 internals of universal-argument.
3157 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3159 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3160 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3161 dropped menu on second mouse click on the menu bar.
3163 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3165 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3166 (explicit-shell-file-name): Declare.
3167 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3168 (sh-completion-at-point-function): New function.
3170 (sh-smie--keyword-p): Remove unused argument.
3171 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3173 (sh-set-shell): Always setup SMIE, even if we use the
3174 old indentation code.
3176 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3178 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3180 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3181 predicate would return nil are almost non-existent.
3182 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3184 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3185 cache also after commands that modify the buffer but don't move
3188 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3190 * env.el (substitute-env-in-file-name): New function.
3191 (substitute-env-vars): Extend the meaning of the optional arg.
3193 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3195 * term/w32-win.el (dynamic-library-alist): Define separate lists
3196 of GIF DLLs for versions before and after 5.0.0 of giflib.
3199 2013-10-10 João Távora <joaotavora@gmail.com>
3201 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3202 not locked, use last revision and current source as
3203 defaults. (Bug#15569)
3205 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3207 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3210 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3212 * window.el (pop-to-buffer-same-window): Fix doc-string.
3215 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3217 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3219 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3221 * calendar/icalendar.el (icalendar-import-file):
3222 Fix interactive spec. (Bug#15482)
3224 2013-10-10 Glenn Morris <rgm@gnu.org>
3226 * desktop.el (desktop-save): Default to saving in .emacs.d,
3227 since PWD is no longer in desktop-path by default. (Bug#15319)
3229 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3230 now that text mode has a menu with the same entry.
3231 (menu-bar-text-mode-auto-fill): Remove now unused func.
3232 * textmodes/text-mode.el (text-mode-map):
3233 Use auto-fill help text from menu-bar.el.
3235 2013-10-10 John Anthony <john@jo.hnanthony.com>
3237 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3239 2013-10-09 Juri Linkov <juri@jurta.org>
3241 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3242 instead of this-command-keys. Add universal-argument-more and
3243 universal-argument-minus to the list of prefix commands. (Bug#15568)
3245 2013-10-09 Glenn Morris <rgm@gnu.org>
3247 * vc/vc-svn.el (vc-svn-create-repo):
3248 Expand paths in file://... url. (Bug#15446)
3250 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3252 (authors): Remove unused local variables.
3254 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3256 * profiler.el: Create a more coherent calltree from partial backtraces.
3257 (profiler-format): Hide the tail with `invisible' so that C-s can still
3258 find the hidden elements.
3259 (profiler-calltree-depth): Don't recurse so enthusiastically.
3260 (profiler-function-equal): New hash-table-test.
3261 (profiler-calltree-build-unified): New function.
3262 (profiler-calltree-build): Use it.
3263 (profiler-report-make-name-part): Indent the calltree less.
3264 (profiler-report-mode): Add visibility specs for profiler-format.
3265 (profiler-report-expand-entry, profiler-report-toggle-entry):
3266 Expand the whole subtree when provided with a prefix arg.
3268 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3270 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3272 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3273 hanging iuwu-mod token.
3274 (ruby-smie--forward-token): Do not include a dot after a token in
3276 (ruby-smie--backward-token): Likewise.
3278 2013-10-08 Juri Linkov <juri@jurta.org>
3280 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3281 to isearch-other-control-char.
3282 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3283 and isearch-post-command-hook to post-command-hook.
3284 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3285 and isearch-post-command-hook from post-command-hook.
3286 (isearch-unread-key-sequence)
3287 (isearch-reread-key-sequence-naturally)
3288 (isearch-lookup-scroll-key, isearch-other-control-char)
3289 (isearch-other-meta-char): Remove functions.
3290 (isearch-pre-command-hook, isearch-post-command-hook):
3291 New functions based on isearch-other-meta-char rewritten
3292 relying on the new behavior of overriding-terminal-local-map
3293 that does not replace the local keymaps any more. (Bug#15200)
3295 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3297 Support menus on text-mode terminals.
3298 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3301 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3303 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3304 Move here from mouse.el.
3305 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3307 (tty-menu-navigation-map): New map for TTY menu navigation.
3309 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3311 * frame.el (display-mouse-p): Report text-mode mouse as available
3313 (display-popup-menus-p): Report availability if mouse is
3314 available; don't condition on window-system.
3316 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3317 (tty-menu-selected-face): New faces.
3319 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3321 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3322 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3323 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3324 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3326 (lisp-mode-variables): New `elisp' argument.
3327 (emacs-lisp-mode): Use it.
3328 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3329 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3331 * indent.el: Use lexical-binding.
3332 (indent-region): Add progress reporter.
3333 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3335 (indent--next-tab-stop): New function to implement this behavior.
3336 (tab-to-tab-stop, move-to-tab-stop): Use it.
3338 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3340 * indent.el (indent-rigidly--current-indentation): New function.
3341 (indent-rigidly-map): New var.
3342 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3344 2013-10-08 Bastien Guerry <bzg@gnu.org>
3346 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3348 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3350 * progmodes/perl-mode.el: Use lexical-binding.
3351 Remove redundant :group args.
3352 (perl-nochange): Change default to be closer to other major modes's
3354 (perl-indent-line): Don't consider text on current line as a
3355 valid beginning of function from which to indent.
3357 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3358 with more than one argument (bug#15538).
3360 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3362 * vc/pcvs.el: Use lexical-binding.
3363 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3364 environment of `eval'.
3365 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3366 than a list of expressions. Adjust callers.
3367 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3369 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3371 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3372 case of the dot in a chained method call being on the following line.
3374 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3376 * electric.el (electric-indent-inhibit): New var.
3377 (electric-indent-post-self-insert-function): Use it.
3378 * progmodes/python.el (python-mode): Set it.
3380 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3383 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3385 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3386 (css-mode): Use electric-indent-chars.
3388 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3389 (font-lock-beg, font-lock-end): Move before first use.
3390 (nxml-mode): Use syntax-propertize-function.
3391 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3392 (nxml-extend-after-change-region): Remove.
3393 * nxml/xmltok.el: Use lexical-binding.
3394 (xmltok-save): Use `declare'.
3395 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3396 * nxml/nxml-util.el: Use lexical-binding.
3397 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3399 * nxml/nxml-ns.el: Use lexical-binding.
3400 (nxml-ns-save): Use `declare'.
3401 (nxml-ns-prefixes-for): Avoid add-to-list.
3402 * nxml/rng-match.el: Use lexical-binding.
3403 (rng--ipattern): Use cl-defstruct.
3404 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3405 (rng-cons-group-after, rng-subst-group-after)
3406 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3407 Use closures instead of `(lambda...).
3409 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3411 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3414 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3415 Use `tramp-handle-insert-file-contents'.
3416 (tramp-gvfs-handle-insert-file-contents): Remove function.
3418 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3419 Use `save-restriction' in order to keep markers.
3421 * net/trampver.el: Update release number.
3423 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3425 * progmodes/compile.el (compilation-parse-errors):
3426 Use compilation--put-prop.
3427 (compilation--ensure-parse): Check compilation-multiline.
3429 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3431 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3434 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3436 * progmodes/ruby-mode.el: Fix recently added tests.
3437 (ruby-smie-grammar): Add - and +.
3438 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3439 (ruby-smie--backward-id): New functions.
3440 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3441 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3444 2013-10-07 Leo Liu <sdl.web@gmail.com>
3446 * register.el (register-preview-delay)
3447 (register-preview-functions): New variables.
3448 (register-read-with-preview, register-preview)
3449 (register-describe-oneline): New functions.
3450 (point-to-register, window-configuration-to-register)
3451 (frame-configuration-to-register, jump-to-register)
3452 (number-to-register, view-register, insert-register)
3453 (copy-to-register, append-to-register, prepend-to-register)
3454 (copy-rectangle-to-register): Use register-read-with-preview to
3455 read register. (Bug#15525)
3457 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3459 * net/network-stream.el (network-stream-open-starttls): Don't add
3460 --insecure if it's already present, because that gnutls-cli
3461 rejects getting that parameter twice.
3463 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3465 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3468 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3470 * newcomment.el (comment-use-global-state): Change default value
3471 to t, mark obsolete (Bug#15251).
3472 (comment-beginning): In addition to `comment-to-syntax', check the
3473 value of `comment-use-global-state'.
3475 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3477 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3478 (ruby-comment-column): Follow the global default, by default.
3479 (ruby-smie-grammar): Add assignment syntax.
3480 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3481 open-paren, a comma, or a \.
3482 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3483 and line continuations.
3484 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3485 followed by implicit semi-colons. Add rule for string concatenation
3486 and for indentation at BOB.
3487 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3489 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3490 calling next-sexp, since next-token may have skipped chars which
3491 next-sexp doesn't know should be skipped!
3493 2013-10-05 Leo Liu <sdl.web@gmail.com>
3495 * progmodes/octave.el (octave-send-region):
3496 Call compilation-forget-errors.
3498 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3500 * vc/vc-svn.el (vc-svn-find-admin-dir):
3501 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3502 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3503 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3504 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3506 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3508 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3510 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3512 * subr.el (read-passwd): Hide chars even when called within a context
3513 where after-change-functions is disabled (bug#15501).
3514 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3515 until we removed ourself from overriding-terminal-local-map.
3517 2013-10-04 Leo Liu <sdl.web@gmail.com>
3519 * progmodes/octave.el (inferior-octave-mode):
3520 Call compilation-forget-errors.
3522 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3524 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3526 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3528 * net/secrets.el (secrets-create-collection): Add optional
3529 argument ALIAS. Use proper Label keyword. Append ALIAS as
3530 dbus-call-method argument. (Bug#15516)
3532 2013-10-04 Leo Liu <sdl.web@gmail.com>
3534 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3535 (inferior-octave-compilation-font-lock-keywords): New variables.
3536 (compilation-error-regexp-alist)
3537 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3538 (inferior-octave-mode): Use compilation-shell-minor-mode.
3540 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3542 * minibuffer.el (completion--replace): Be careful that `end' might be
3545 2013-10-03 Daiki Ueno <ueno@gnu.org>
3547 Add support for package signature checking.
3548 * emacs-lisp/package.el (url-http-file-exists-p)
3549 (epg-make-context, epg-context-set-home-directory)
3550 (epg-verify-string, epg-context-result-for)
3551 (epg-signature-status, epg-signature-to-string)
3552 (epg-check-configuration, epg-configuration)
3553 (epg-import-keys-from-file): Declare.
3554 (package-check-signature): New user option.
3555 (package-unsigned-archives): New user option.
3556 (package-desc): Add `signed' field.
3557 (package-load-descriptor): Set `signed' field if .signed file exists.
3558 (package--archive-file-exists-p): New function.
3559 (package--check-signature): New function.
3560 (package-install-from-archive): Check package signature.
3561 (package--download-one-archive): Check archive signature.
3562 (package-delete): Remove .signed file.
3563 (package-import-keyring): New command.
3564 (package-refresh-contents): Import default keyring.
3565 (package-desc-status): Add "unsigned" status.
3566 (describe-package-1, package-menu--print-info)
3567 (package-menu-mark-delete, package-menu--find-upgrades)
3568 (package-menu--status-predicate): Support "unsigned" status.
3570 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3572 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3573 the new compilation scheme using the new byte-codes.
3575 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3576 (byte-pophandler): New byte codes.
3577 (byte-goto-ops): Adjust accordingly.
3578 (byte-compile--use-old-handlers): New var.
3579 (byte-compile-catch): Use new byte codes depending on
3580 byte-compile--use-old-handlers.
3581 (byte-compile-condition-case--old): Rename from
3582 byte-compile-condition-case.
3583 (byte-compile-condition-case--new): New function.
3584 (byte-compile-condition-case): New function that dispatches depending
3585 on byte-compile--use-old-handlers.
3586 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3589 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3590 Optimize under `condition-case' and `catch' if
3591 byte-compile--use-old-handlers is nil.
3592 (disassemble-offset): Handle new bytecodes.
3594 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3596 * subr.el (error): Use `declare'.
3597 (decode-char, encode-char): Use advertised-calling-convention instead
3598 of the docstring to discourage use of the `restriction' arg.
3600 2013-10-03 Daiki Ueno <ueno@gnu.org>
3602 * epg.el (epg-verify-file): Add a comment saying that it does not
3603 notify verification error as a return value nor a signal.
3604 (epg-verify-string): Ditto.
3606 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3608 * progmodes/compile.el (compilation-start): Try globbing the arg to
3611 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3613 Sync with Tramp 2.2.8.
3615 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3616 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3617 * net/trampver.el: Update release number.
3619 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3621 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3622 and default-process-coding-system for darwin only.
3624 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3626 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3628 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3630 * vc/vc-git.el (vc-git-grep): Disable pager.
3632 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3634 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3635 Use :url instead of :homepage, as per
3636 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3638 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3639 non-nil, use `syntax-ppss' (Bug#15251).
3641 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3643 * progmodes/octave.el (inferior-octave-startup-file):
3644 Prefer ~/.emacs.d/init_octave.m.
3646 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3648 * emacs-lisp/package.el (package-desc-from-define):
3649 Accept additional arguments as plist, convert them to an alist and store
3650 them in the `extras' slot.
3651 (package-generate-description-file): Convert extras alist back to
3652 plist and append to the `define-package' form arguments.
3653 (package--alist-to-plist): New function.
3654 (package--ac-desc): Add `extras' slot.
3655 (package--add-to-archive-contents): Check if the archive-contents
3656 vector is long enough, and if it is, pass its `extras' slot value
3657 to `package-desc-create'.
3658 (package-buffer-info): Call `lm-homepage', pass the returned value
3659 to `package-desc-from-define'.
3660 (describe-package-1): Render the homepage button (Bug#13291).
3662 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3663 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3665 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3667 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3668 and default-process-coding-system to utf-8-unix (Bug#15402).
3670 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3672 * subr.el (looking-back): Do not recommend using looking-back.
3674 2013-09-28 Alan Mackenzie <acm@muc.de>
3676 Fix indentation/fontification of Java enum with "implements".
3678 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3679 regexp which matches "implements", etc., in Java.
3680 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3681 specifier clauses coming after "enum".
3682 * progmodes/cc-fonts.el (c-font-lock-declarations)
3683 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3686 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3688 * faces.el (region): Change ns_selection_color to
3689 ns_selection_fg_color, add ns_selection_bg_color.
3691 2013-09-28 Leo Liu <sdl.web@gmail.com>
3693 * progmodes/octave.el (inferior-octave-completion-table)
3694 (inferior-octave-completion-at-point): Minor tweaks.
3696 * textmodes/ispell.el (ispell-lookup-words): Rename from
3697 lookup-words. (Bug#15460)
3698 (lookup-words): Obsolete.
3699 (ispell-complete-word, ispell-command-loop): All uses changed.
3701 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3703 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3704 (octave-mode-menu): Add octave-send-buffer.
3705 (octave-send-buffer): New function.
3707 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3709 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3711 (octave-mode-menu): Add octave-lookfor.
3712 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3714 (octave-lookfor): New function.
3716 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3718 * emacs-lisp/cl-macs.el:
3719 (cl--loop-destr-temps): Remove.
3720 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3722 (cl--loop-set-iterator-function): New function.
3723 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3724 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3725 Bind `it' with `let' instead of substituting it with `cl-subst'.
3726 (cl--unused-var-p): New function.
3727 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3728 Eliminate some unused variable warnings (bug#15326).
3730 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3732 * doc-view.el (doc-view-scale-reset): Rename from
3733 `doc-view-reset-zoom-level'.
3734 (doc-view-scale-adjust): New command.
3735 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3736 `doc-view-scale-adjust'.
3738 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3740 * doc-view.el (doc-view-reset-zoom-level): New command.
3741 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3742 zoom commands (bug#15466).
3744 2013-09-26 Kenichi Handa <handa@gnu.org>
3746 * international/quail.el (quail-help): Make it not a command.
3748 2013-09-26 Leo Liu <sdl.web@gmail.com>
3750 * minibuffer.el (completion-all-sorted-completions): Make args
3751 optional as they are.
3753 2013-09-25 Daniel Colascione <dancol@dancol.org>
3755 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3756 specs are and that they're not evaluated.
3758 2013-09-24 Sam Steingold <sds@gnu.org>
3760 * midnight.el (clean-buffer-list-kill-regexps)
3761 (clean-buffer-list-kill-buffer-names): Update for the new Man
3762 buffer naming which includes the object name.
3764 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3766 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3767 (eshell-parse-command, eshell-parse-pipeline): Use it since
3768 eshell-separate-commands requires a dynamic scoped var.
3769 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3771 2013-09-23 Leo Liu <sdl.web@gmail.com>
3773 * autoinsert.el (auto-insert-alist): Make the value of
3774 lexical-binding match its file setting.
3776 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3778 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3780 * autoarg.el (autoarg-kp-digit-argument):
3781 * electric.el (Electric-command-loop):
3782 * kmacro.el (kmacro-step-edit-insert):
3783 Do not set universal-argument-num-events.
3785 2013-09-22 Leo Liu <sdl.web@gmail.com>
3787 * files.el (interpreter-mode-alist): Add octave.
3789 2013-09-21 Alan Mackenzie <acm@muc.de>
3791 C++: fontify identifier in declaration following "public:" correctly.
3792 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3793 to match "public", etc.
3794 (c-decl-prefix-re): Add ":" into the C++ value.
3795 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3796 bit. Add a check for a ":" preceded by "public", etc.
3798 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3800 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3801 recognized by GDB 7.5 and later.
3803 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3805 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3807 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3809 * subr.el (internal--call-interactively): New const.
3810 (called-interactively-p): Use it (bug#3984).
3812 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3814 * vc/pcvs.el (cvs-mode-ignore):
3815 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3816 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3818 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3820 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3821 (eshell-ls-orig-insert-directory): Remove.
3822 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3823 (eshell-ls-use-in-dired): Use advice-add/remove.
3824 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3825 Add `orig-fun' arg for use in :around advice.
3826 Make it check (redundantly) eshell-ls-use-in-dired.
3828 2013-09-19 Glenn Morris <rgm@gnu.org>
3830 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3832 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3834 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3836 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3838 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3839 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3840 (tramp-get-remote-python): New defuns.
3841 (tramp-get-remote-uid-with-perl)
3842 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3843 contributed by yary <not.com@gmail.com> (tiny change).
3844 (tramp-get-remote-uid-with-python)
3845 (tramp-get-remote-gid-with-python): New defuns. Python code
3846 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3847 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3849 2013-09-19 Glenn Morris <rgm@gnu.org>
3851 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3853 * eshell/em-unix.el (eshell-remove-entries):
3854 Rename argument to avoid name-clash with global `top-level'.
3856 * eshell/esh-proc.el (eshell-kill-process-function):
3857 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3858 (eshell-reset-after-proc): Remove unused arg `proc'.
3860 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3861 (directory-files-and-attributes): Mark unused arg.
3863 * eshell/em-unix.el (eshell-remove-entries):
3864 Remove unused arg `path'. Update callers.
3866 * eshell/em-hist.el (eshell-hist-parse-arguments):
3867 Remove unused arg `silent'. Update callers.
3869 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3870 Fix (f)boundp mix-up.
3872 * eshell/em-smart.el (eshell-smart-scroll-window)
3873 (eshell-disable-after-change):
3874 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3876 2013-09-18 Alan Mackenzie <acm@muc.de>
3878 Fix fontification of type when followed by "const".
3879 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3880 "known" types from fontification.
3882 2013-09-18 Glenn Morris <rgm@gnu.org>
3884 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3885 (chart-face-list): Drop Emacsen without display-color-p.
3887 * net/eww.el (libxml-parse-html-region): Declare.
3888 (eww-display-html): Explicit error if no libxml2 support.
3890 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3892 * image.el (image-type-from-buffer, image-multi-frame-p):
3893 Remove --without-x warning/error.
3895 * mouse.el (mouse-yank-primary):
3896 * term.el (term-mouse-paste):
3897 Reorder to silence --without-x compilation.
3899 * mpc.el (doc-view-mode): Silence --without-x compilation.
3901 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3902 Silence --without-x compilation.
3904 * progmodes/gud.el (gud-find-file, gud-mode):
3905 Silence --without-x compilation.
3906 (tooltip-mode): Declare.
3908 * wdired.el (dired-backup-overwrite): Remove declaration.
3909 (wdired-mode-map): Add doc string.
3911 * custom.el (x-get-resource): Declare.
3913 * eshell/em-glob.el (ange-cache):
3914 * eshell/em-unix.el (ange-cache): Declare.
3916 * faces.el (x-display-list, x-open-connection, x-get-resource):
3919 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3920 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3923 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3925 * net/gnutls.el (gnutls-log-level): Declare.
3927 * net/shr.el (image-size, image-animate): Declare.
3929 * simple.el (font-info): Declare.
3931 * subr.el (x-popup-dialog): Declare.
3933 * term/common-win.el (x-select-enable-primary)
3934 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3937 * term/ns-win.el (x-handle-args): Declare.
3939 * term/x-win.el (x-select-enable-clipboard): Declare.
3941 * term/w32-win.el (create-default-fontset): Declare.
3943 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3946 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3947 (fit-frame-to-buffer): Explicit error if --without-x.
3948 (mouse-autoselect-window-select): Silence compiler.
3950 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3952 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3953 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3954 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3955 * eshell/esh-util.el (eshell-sublist):
3956 Remove unused local variables.
3958 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3960 * textmodes/two-column.el: Make 2C-split work for --without-x.
3961 (scroll-bar-columns): Autoload.
3962 (top-level): Require fringe when compiling.
3964 2013-09-18 Leo Liu <sdl.web@gmail.com>
3966 * subr.el (add-hook): Robustify to handle closure as well.
3968 2013-09-17 Glenn Morris <rgm@gnu.org>
3970 * simple.el (messages-buffer-mode-map): Unbind "g".
3972 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3974 * help-mode.el (help-mode-finish): Use derived-mode-p.
3975 Remove obsolete highlighting.
3977 * play/life.el (life-mode): Use define-derived-mode. Derive from
3979 (life): Let-bind inhibit-read-only.
3980 (life-setup): Avoid `setq'. Use `life-mode'.
3982 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3983 which should not be needed any more.
3984 (package-menu-refresh, package-menu-describe-package): Use user-error.
3986 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3987 (eshell-post-rewrite-command-hook): Make obsolete.
3988 (eshell-parse-command): Simplify.
3989 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3990 (eshell--cmd): Declare.
3991 (eshell-parse-pipeline): Remove unused var `final-p'.
3992 Pass a dynvar to eshell-post-rewrite-command-hook.
3993 Implement the new eshell-post-rewrite-command-function.
3994 (eshell-invoke-directly): Remove unused arg `input'.
3995 * eshell/esh-io.el (eshell-io-initialize):
3996 Use eshell-post-rewrite-command-function (bug#15399).
3997 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3998 adjust to new calling convention.
3999 (eshell-create-handles): Rename args to avoid clashing with dynvar
4002 2013-09-17 Glenn Morris <rgm@gnu.org>
4004 * simple.el (messages-buffer-mode): New major mode.
4005 (messages-buffer): New function.
4006 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4007 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4008 (ert-run-test): Use `messages-buffer' function.
4009 (ert--force-message-log-buffer-truncation): Ignore read-only.
4010 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4011 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4013 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4015 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4017 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4019 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4021 * icomplete.el (icomplete-in-buffer): New var.
4022 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4023 vars and replace them with functions.
4024 (icomplete-minibuffer-setup): Adjust accordingly.
4025 (icomplete--completion-table, icomplete--completion-predicate)
4026 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4028 (icomplete-forward-completions, icomplete-backward-completions)
4029 (icomplete-simple-completing-p, icomplete-exhibit)
4030 (icomplete-completions): Use them.
4031 (icomplete--in-region-buffer): New var.
4032 (icomplete--in-region-setup): New function.
4033 (icomplete-mode): Use it.
4035 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4037 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4038 return args and options.
4039 (eshell-eval-using-options): Use the new return value of
4040 eshell--do-opts to set the options's vars in their scope.
4041 (eshell--set-option): Rename from eshell-set-option.
4043 (eshell--process-option): Rename from eshell-process-option.
4045 (eshell--process-args): Use an `opt-vals' alist to store the options's
4046 values during their processing and return them additionally to the
4049 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4051 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4052 continuation character an operator, as far as indentation is
4053 concerned (Bug#15369).
4055 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4057 * window.el (window--state-put-2): Don't process buffer state
4058 when buffer doesn't exist any more (Bug#15382).
4060 2013-09-15 Glenn Morris <rgm@gnu.org>
4062 * eshell/em-unix.el (eshell/rm):
4063 Make -f ignore missing files. (Bug#15373)
4065 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4066 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4067 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4069 2013-09-14 Glenn Morris <rgm@gnu.org>
4071 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4073 2013-09-13 Glenn Morris <rgm@gnu.org>
4075 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4076 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4078 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4080 * frame.el (x-focus-frame): Mark as declared in frame.c.
4082 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4084 * ls-lisp.el: Use advice-add.
4085 (original-insert-directory): Remove.
4086 (ls-lisp--insert-directory): Rename from insert-directory; add
4087 `orig-fun' argument.
4088 (insert-directory): Advise.
4090 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4092 * term.el (term-emulate-terminal): Decode the command string
4093 before passing it to term-command-hook. (Bug#15337)
4095 2013-09-13 Glenn Morris <rgm@gnu.org>
4097 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4099 * eshell/esh-ext.el (eshell-search-path): Declare.
4101 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4102 Otherwise an error occurs if eshell-dirs module not loaded.
4104 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4106 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4108 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4109 `tramp-check-proper-host'. Check for a valid method name.
4111 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4112 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4113 * net/tramp-sh.el (tramp-maybe-open-connection):
4114 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4116 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4117 also for hash values.
4119 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4121 * term/ns-win.el (parameters): Don't declare as dynamic.
4122 (before-make-frame-hook): Don't add ineffective function.
4124 * eshell/*.el: Use lexical-binding (bug#15231).
4126 2013-09-12 Kenichi Handa <handa@gnu.org>
4128 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4130 2013-09-12 Glenn Morris <rgm@gnu.org>
4132 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4133 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4135 * subr.el (do-after-load-evaluation): Also give compiler warnings
4136 when obsolete files are used (except by obsolete files).
4138 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4139 in the status output, assume `filename' is the first. (Bug#15322)
4141 * vc/vc.el (vc-deduce-fileset): Doc fix.
4143 * calc/calc-help.el (Info-goto-node):
4144 * progmodes/cperl-mode.el (Info-find-node):
4145 * vc/ediff.el (Info-goto-node): Update declarations.
4147 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4149 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4150 (vc-bzr-pull): Require vc-dispatcher.
4151 * vc/vc-git.el (vc-compilation-mode): Declare.
4152 (vc-git-pull): Require vc-dispatcher.
4154 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4156 * progmodes/octave.el (help-button-action): Declare.
4158 * shell.el (shell-directory-tracker): Output error as a message
4159 rather than just returning it as a string.
4160 (shell-process-pushd): Remove useless use of message.
4162 * dframe.el (dframe-timer-fn):
4163 * files.el (dir-locals-read-from-file):
4164 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4166 * reveal.el (reveal-post-command):
4167 * saveplace.el (load-save-place-alist-from-file):
4168 * shell.el (shell-resync-dirs):
4169 * w32-common-fns.el (x-get-selection-value):
4170 * emacs-lisp/copyright.el (copyright-find-copyright):
4171 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4172 * emulation/tpu-edt.el (tpu-copy-keyfile):
4173 * play/bubbles.el (bubbles--mark-neighbourhood):
4174 * progmodes/executable.el
4175 (executable-make-buffer-file-executable-if-script-p):
4176 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4178 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4180 Cleanup Eshell to rely less on dynamic scoping.
4181 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4182 last-value, and ext-command here. Bind `args' closer to `body'.
4183 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4184 (eshell--args): Declare new dynamic var.
4185 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4186 last-value, and ext-command. Pass `args' to `body'.
4187 (eshell-process-args): Bind eshell--args.
4188 (eshell-set-option): Use eshell--args.
4189 * eshell/eshell.el (eshell): Use derived-mode-p.
4190 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4191 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4192 (eshell-glob-function): Declare.
4193 * eshell/esh-util.el: Require cl-lib.
4194 (eshell-read-hosts-file): Avoid add-to-list.
4195 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4197 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4199 (eshell/diff): Remove unused var `err'.
4200 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4202 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4203 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4205 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4206 Move declaration before first use.
4207 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4208 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4211 2013-09-12 Glenn Morris <rgm@gnu.org>
4213 * term/ns-win.el (global-map): Remove binding for ispell-next,
4214 deleted 1999-05-29. (Bug#15357)
4216 2013-09-11 Glenn Morris <rgm@gnu.org>
4218 * echistory.el (electric-command-history): Remove call to deleted func.
4220 * play/landmark.el (landmark-mode): Fix typos.
4222 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4223 Check cvs-sort-ignore-file is bound.
4225 * savehist.el: No need for cl when compiling on Emacs.
4227 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4229 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4231 (eshell-self-insert-command, eshell-send-invisible):
4232 Remove unused argument.
4233 (eshell-handle-control-codes): Remove unused var `orig'.
4234 Avoid delete-backward-char.
4236 * files.el (set-auto-mode): Simplify a bit further.
4238 2013-09-11 Glenn Morris <rgm@gnu.org>
4240 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4241 (set-auto-mode): Don't regexp-quote elements.
4242 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4243 * progmodes/cc-mode.el (interpreter-mode-alist):
4244 * progmodes/ruby-mode.el (interpreter-mode-alist):
4245 Revert previous change.
4247 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4249 * play/snake.el (snake-mode):
4250 * play/mpuz.el (mpuz-mode):
4251 * play/landmark.el (lm-mode):
4252 * play/blackbox.el (blackbox-mode):
4253 * play/5x5.el (5x5-mode):
4254 * obsolete/options.el (Edit-options-mode):
4255 * net/quickurl.el (quickurl-list-mode):
4256 * net/newst-treeview.el (newsticker-treeview-mode):
4257 * mail/rmailsum.el (rmail-summary-mode):
4258 * mail/mspools.el (mspools-mode):
4259 * locate.el (locate-mode):
4260 * ibuffer.el (ibuffer-mode):
4261 * emulation/ws-mode.el (wordstar-mode):
4262 * emacs-lisp/debug.el (debugger-mode):
4263 * array.el (array-mode):
4264 * net/eudc.el (eudc-mode): Use define-derived-mode.
4265 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4266 Move initialization into declaration.
4267 (mairix-searches-mode): Use define-derived-mode.
4268 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4269 (eudc-edit-hotlist): Use dolist.
4270 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4271 (Man-mode): Use define-derived-mode.
4272 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4273 (Info-edit-mode): Use define-derived-mode.
4274 (Info-cease-edit): Use Info-mode.
4275 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4277 (eshell-mode): Use define-derived-mode.
4278 * chistory.el (command-history-mode-map): Rename from
4279 command-history-map.
4280 (command-history-mode): Use define-derived-mode.
4281 (Command-history-setup): Remove function.
4282 * calc/calc.el (calc-trail-mode-map): New var.
4283 (calc-trail-mode): Use define-derived-mode.
4284 (calc-trail-buffer): Set calc-main-buffer manually.
4285 * bookmark.el (bookmark-insert-annotation): New function.
4286 (bookmark-edit-annotation): Use it.
4287 (bookmark-edit-annotation-mode): Make it a proper major mode.
4288 (bookmark-send-edited-annotation): Use derived-mode-p.
4289 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4290 closer to its ideal place. Use \' to match EOS.
4292 * profiler.el (profiler-calltree-find): Use function-equal.
4294 2013-09-10 Glenn Morris <rgm@gnu.org>
4296 * files.el (interpreter-mode-alist): Convert to regexps.
4297 (set-auto-mode): Adapt for this. (Bug#15306)
4298 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4299 Comment out unused variable.
4300 * progmodes/cc-mode.el (interpreter-mode-alist):
4301 * progmodes/python.el (interpreter-mode-alist):
4302 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4303 * progmodes/sh-script.el (sh-set-shell):
4304 No longer use interpreter-mode-alist to get list of shells.
4306 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4308 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4310 * simple.el: Use set-temporary-overlay-map for universal-argument.
4311 (universal-argument-map): Don't use default-bindings (bug#15317).
4312 Bind switch-frame explicitly. Replace universal-argument-minus with
4313 a conditional binding.
4314 (universal-argument-num-events, saved-overriding-map): Remove.
4315 (restore-overriding-map): Remove.
4316 (universal-argument--mode): Rename from save&set-overriding-map,
4318 (universal-argument, universal-argument-more, negative-argument)
4319 (digit-argument): Adjust accordingly.
4320 (universal-argument-minus): Remove.
4321 (universal-argument-other-key): Remove.
4323 * subr.el (with-demoted-errors): Add `format' argument.
4325 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4327 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4328 `tramp-cleanup-connection'.
4330 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4331 parameters KEEP-DEBUG and KEEP-PASSWORD.
4333 * net/tramp.el (tramp-file-name-handler):
4334 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4335 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4336 (tramp-maybe-open-connection):
4337 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4338 Use `tramp-cleanup-connection'.
4340 * net/tramp-sh.el (tramp-maybe-open-connection):
4341 Catch 'uname-changed inside the progress reporter.
4343 2013-09-10 Glenn Morris <rgm@gnu.org>
4345 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4347 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4348 returns "alternate access method" in mode (eg "-rw-r--r--.").
4350 2013-09-08 Glenn Morris <rgm@gnu.org>
4352 * saveplace.el (load-save-place-alist-from-file):
4353 Demote errors. (Bug#15305)
4355 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4357 Improve compatibility with older Emacsen, and XEmacs.
4359 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4360 only if it is bound. It isn't for XEmacs.
4361 (with-tramp-progress-reporter): Do not let-bind `result'.
4362 This yields to scoping errors in XEmacs.
4363 (tramp-handle-make-auto-save-file-name): New function, moved from
4366 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4367 for `make-auto-save-file-name'.
4368 (tramp-adb--gnu-switches-to-ash):
4369 Use `tramp-compat-replace-regexp-in-string'.
4371 * net/tramp-cache.el (tramp-cache-print): Call
4372 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4374 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4375 bound. It isn't for XEmacs.
4377 * net/tramp-compat.el (tramp-compat-copy-file):
4378 Catch `wrong-number-of-arguments' error.
4379 (tramp-compat-replace-regexp-in-string): New defun.
4381 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4382 for `make-auto-save-file-name'.
4383 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4385 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4386 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4387 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4389 * net/tramp-gw.el (tramp-gw-open-network-stream):
4390 Use `tramp-compat-replace-regexp-in-string'.
4392 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4393 Call `tramp-handle-make-auto-save-file-name'.
4394 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4395 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4396 (tramp-sh-file-inotifywait-process-filter):
4397 Use `tramp-compat-replace-regexp-in-string'.
4398 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4400 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4401 for `make-auto-save-file-name'.
4402 (tramp-smb-handle-copy-directory):
4403 Call `tramp-compat-replace-regexp-in-string'.
4404 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4405 (tramp-smb-handle-copy-file): Improve error message.
4406 (tramp-smb-handle-rename-file): Rename directly only in case
4407 `newname' does not exist yet. This is a restriction of smbclient.
4408 (tramp-smb-maybe-open-connection): Rerun the function only when
4409 `auth-sources' is non-nil.
4411 2013-09-08 Kenichi Handa <handa@gnu.org>
4413 * international/characters.el: Set category "^" (Combining) for
4416 2013-09-07 Alan Mackenzie <acm@muc.de>
4418 Correctly fontify Java class constructors.
4419 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4421 (c-recognize-typeless-decls): Set the Java value to t.
4422 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4423 While handling a "(", add a check for, effectively, Java, and handle a
4424 "typeless" declaration there.
4426 2013-09-07 Roland Winkler <winkler@gnu.org>
4428 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4429 field subtitle for entry type book.
4431 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4433 * minibuffer.el: Make minibuffer-complete call completion-in-region
4434 rather than other way around.
4435 (completion--some, completion-pcm--find-all-completions):
4436 Don't delay signals when debugging.
4437 (minibuffer-completion-contents): Beware fields within the
4438 minibuffer contents.
4439 (completion-all-sorted-completions): Use defvar-local.
4440 (completion--do-completion, completion--cache-all-sorted-completions)
4441 (completion-all-sorted-completions, minibuffer-force-complete):
4442 Add args `beg' and `end'.
4443 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4444 (minibuffer-complete): Use completion-in-region.
4445 (completion-complete-and-exit): New fun, extracted from
4446 minibuffer-complete-and-exit.
4447 (minibuffer-complete-and-exit): Use it.
4448 (completion--complete-and-exit): Rename from
4449 minibuffer--complete-and-exit.
4450 (completion-in-region--single-word): New function, extracted from
4451 minibuffer-complete-word.
4452 (minibuffer-complete-word): Use it.
4453 (display-completion-list): Make `common-substring' argument obsolete.
4454 (completion--in-region): Call completion--in-region-1 instead of
4455 minibuffer-complete.
4456 (completion-help-at-point): Pass boundaries to
4457 minibuffer-completion-help as args rather than via an overlay.
4458 (completion-pcm--string->pattern): Use `any-delim'.
4459 (completion-pcm--optimize-pattern): New function.
4460 (completion-pcm--pattern->regex): Handle `any-delim'.
4461 * icomplete.el (icomplete-forward-completions)
4462 (icomplete-backward-completions, icomplete-completions):
4463 Adjust calls to completion-all-sorted-completions and
4464 completion--cache-all-sorted-completions.
4465 (icomplete-with-completion-tables): Default to t.
4466 * emacs-lisp/crm.el (crm--current-element): Rename from
4467 crm--select-current-element. Don't put an overlay but return the
4469 (crm--completion-command): Take two new args to bind to the boundaries.
4470 (crm-completion-help): Adjust accordingly.
4471 (crm-complete): Use completion-in-region.
4472 (crm-complete-word): Use completion-in-region--single-word.
4473 (crm-complete-and-exit): Use completion-complete-and-exit.
4475 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4477 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4480 2013-09-06 Juri Linkov <juri@jurta.org>
4482 * info.el (Info-display-images-node): When image file doesn't exist
4483 display text version of the image if it's provided in the Info file.
4484 Otherwise, display the location of missing image from SRC attribute.
4485 Add help-echo text property from ALT attribute. (Bug#15279)
4487 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4489 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4490 (edit-abbrevs-mode): Use define-derived-mode.
4492 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4493 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4495 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4496 Use define-derived-mode.
4498 * epg.el (epg-start-encrypt): Minor CSE simplification.
4500 2013-09-06 William Xu <william.xwl@gmail.com>
4502 * arc-mode.el: Add support for 7za (bug#15264).
4503 (archive-7z-program): New var.
4504 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4505 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4506 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4508 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4512 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4513 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4514 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4515 (tramp-postfix-host-format, tramp-file-name-regexp)
4516 (tramp-completion-file-name-regexp)
4517 (tramp-completion-dissect-file-name)
4518 (tramp-handle-substitute-in-file-name): Remove 'url case.
4519 (tramp-file-name-regexp-url)
4520 (tramp-completion-file-name-regexp-url): Remove constants.
4522 2013-09-06 Glenn Morris <rgm@gnu.org>
4524 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4526 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4528 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4529 keywords" below "here-doc beginnings" (Bug#15270).
4531 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4533 * subr.el (pop): Use `car-safe'.
4534 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4535 to detect unused `pop' return value.
4537 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4539 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4540 (python-fill-string): Remove unused var `marker'.
4541 (python-skeleton-add-menu-items): Remove unused var `items'.
4543 * international/mule-cmds.el: Require CL.
4544 (find-coding-systems-for-charsets): Avoid add-to-list.
4545 (sanitize-coding-system-list): New function, extracted from
4546 select-safe-coding-system-interactively.
4547 (select-safe-coding-system-interactively): Use it.
4548 (read-input-method-name): Accept symbols for `default'.
4550 * emacs-lisp/advice.el (defadvice): Add indent rule.
4552 2013-09-05 Daniel Hackney <dan@haxney.org>
4556 * net/browse-url.el:
4559 * net/eudcb-ldap.el:
4572 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4573 byte compiler. Remove some unused let-bound variables.
4575 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4577 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4578 a "ref-cell", since it gets better optimized (bug#14883).
4580 2013-09-05 Glenn Morris <rgm@gnu.org>
4582 * progmodes/cc-awk.el (c-forward-sws): Declare.
4584 2013-09-04 Glenn Morris <rgm@gnu.org>
4586 * generic-x.el [rul-generic-mode]: Require cc-mode.
4587 (c++-mode-syntax-table): Declare.
4588 (rul-generic-mode-syntax-table): Init in the defvar.
4590 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4592 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4593 (vc-do-command, vc-set-async-update):
4594 * vc/vc-mtn.el (vc-mtn-dir-status):
4595 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4596 (vc-hg-pull, vc-hg-merge-branch):
4597 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4598 (vc-git-merge-branch):
4599 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4600 (vc-cvs-dir-status-files):
4601 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4602 (vc-bzr-dir-status-files):
4603 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4604 * vc/vc-annotate.el: Use lexical-binding.
4605 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4606 (vc-sentinel-movepoint): Declare.
4607 (vc-annotate): Don't use `goto-line'.
4608 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4609 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4610 (vc-sentinel-movepoint): Declare.
4611 * vc/vc-svn.el: Use lexical-binding.
4612 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4614 * vc/vc-rcs.el: Use lexical-binding.
4616 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4617 `deleted'. Don't drop errors silently.
4619 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4621 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4623 * vc/vc.el (vc-ignore): Rewrite.
4624 (vc-default-ignore): New function.
4625 (vc-default-ignore-completion-table): Use find-ignore-file.
4627 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4628 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4629 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4630 Remove. Most code moved to vc.el.
4632 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4634 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4635 * net/tramp-smb.el (tramp-smb-get-file-entries):
4636 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4637 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4639 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4641 (eww-change-select): Remove unused var `properties'.
4642 (eww-make-unique-file-name): Remove unused var `base'.
4644 * finder.el (finder-compile-keywords): Don't mess with windows.
4646 * calculator.el (calculator-funcall): Fix typo in last change.
4648 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4650 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4651 <pkg>-autoloads.el file stop us.
4653 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4654 warnings, and factor out common code.
4656 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4658 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4659 two-character operators and whether the character preceding them
4660 changes their meaning (Bug#15208).
4662 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4664 Format code sent to Python shell for robustness.
4665 * progmodes/python.el (python-shell-buffer-substring):
4667 (python-shell-send-region, python-shell-send-buffer): Use it.
4669 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4671 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4672 * net/tramp.el (tramp-user-error): ... here.
4673 (tramp-find-method, tramp-check-proper-host)
4674 (tramp-dissect-file-name, tramp-debug-message)
4675 (tramp-handle-shell-command):
4676 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4677 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4679 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4681 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4683 * avoid.el (mouse-avoidance-point-position)
4684 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4687 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4689 * progmodes/python.el (python-shell-completion-get-completions):
4690 Drop use of deleted `comint-last-prompt-overlay'.
4691 (python-nav-if-name-main): New command.
4693 2013-09-01 Glenn Morris <rgm@gnu.org>
4695 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4696 Avoid leading space in $wins. Otherwise the sed command used by
4697 eg compile-main ends up containing "/*.el". (Bug#15170)
4699 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4701 2013-08-30 Glenn Morris <rgm@gnu.org>
4703 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4704 Fix is-this-a-directory logic. (Bug#15220)
4706 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4708 * textmodes/css-mode.el: Use SMIE.
4709 (css-smie-grammar): New var.
4710 (css-smie--forward-token, css-smie--backward-token)
4711 (css-smie-rules): New functions.
4712 (css-mode): Use them.
4713 (css-navigation-syntax-table): Remove var.
4714 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4715 (css-indent-calculate, css-indent-line): Remove functions.
4717 Misc changes to reduce use of `(lambda...); and other cleanups.
4718 * cus-edit.el: Use lexical-binding.
4719 (customize-push-and-save, customize-apropos)
4720 (custom-buffer-create-internal): Use closures.
4721 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4722 * progmodes/ada-xref.el: Use setq.
4723 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4724 * dframe.el: Use lexical-binding.
4725 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4726 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4727 * descr-text.el: Use lexical-binding.
4728 (describe-text-widget, describe-text-sexp, describe-property-list):
4730 * comint.el (comint-history-isearch-push-state): Use a closure.
4731 * calculator.el: Use lexical-binding.
4732 (calculator-number-to-string): Make it work with lexical-binding.
4733 (calculator-funcall): Same and use cl-letf.
4735 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4736 (lisp--company-doc-string, lisp--company-location): New functions.
4737 (lisp-completion-at-point): Use them to improve Company support.
4739 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4740 params of lambda expressions.
4741 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4742 (ruby-smie--opening-pipe-p): New function.
4743 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4744 symbols and matched |...| for formal params.
4745 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4746 from being treated as hanging. Handle "rescue".
4748 2013-08-29 Glenn Morris <rgm@gnu.org>
4750 * progmodes/cc-engine.el (c-pull-open-brace):
4751 Move definition before use.
4753 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4755 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4756 are immutable. Don't use `unsafe' any more.
4757 (cl--defsubst-expand): Don't substitute at the same time as keeping
4758 a residual unused let-binding. Don't use `unsafe' any more.
4760 2013-08-29 Glenn Morris <rgm@gnu.org>
4762 * calendar/cal-china.el (calendar-chinese-year-cache):
4765 * nxml/nxml-util.el (nxml-debug-clear-inside):
4766 Use cl-loop rather than loop.
4768 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4770 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4772 2013-08-28 Glenn Morris <rgm@gnu.org>
4774 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4776 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4778 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4780 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4782 * simple.el (repeat-complex-command--called-interactively-skip):
4784 (repeat-complex-command): Use it (bug#14136).
4786 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4787 (c-define-abbrev-table): Add `doc' argument.
4788 (c-mode-abbrev-table, c++-mode-abbrev-table)
4789 (objc-mode-abbrev-table, java-mode-abbrev-table)
4790 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4791 (awk-mode-abbrev-table): Use it.
4792 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4793 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4794 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4795 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4796 Move initialization into the declaration; and remove any
4799 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4800 and dynamic let binding.
4802 * vc/smerge-mode.el: Remove redundant :group args.
4804 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4807 2013-08-28 Juri Linkov <juri@jurta.org>
4809 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4810 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4811 (isearch-other-meta-char): Handle an undefined shifted printing
4812 character by downshifting it. (Bug#15200)
4814 2013-08-28 Juri Linkov <juri@jurta.org>
4816 * isearch.el (isearch-search): Change regexp error message for
4817 non-regexp searches. (Bug#15166)
4819 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4821 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4822 for portability to hosts where /bin/sh has problems.
4824 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4826 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4828 2013-08-27 Juri Linkov <juri@jurta.org>
4830 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4831 in the keyboard macro. (Bug#15126)
4833 2013-08-27 Juri Linkov <juri@jurta.org>
4835 * isearch.el (isearch-quote-char): Comment out converting unibyte
4836 to multibyte, thus syncing with its `quoted-insert' counterpart.
4839 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4841 * window.el (display-buffer-use-some-window): Add missing
4842 argument in call of get-largest-window (Bug#15185).
4843 Reported by Stephen Leake.
4845 2013-08-27 Glenn Morris <rgm@gnu.org>
4847 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4849 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4851 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4852 from a matcher-function unless there's no more matches (bug#15161).
4854 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4856 * minibuffer.el: Revert change from 2013-08-20.
4858 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4859 with text property `tramp-default', if appropriate.
4860 (tramp-check-proper-host): New defun.
4861 (tramp-dissect-file-name): Do not check hostname. Revert change
4863 (tramp-backtrace): Make VEC-OR-PROC optional.
4865 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4866 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4867 * net/tramp-sh.el (tramp-maybe-open-connection):
4868 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4869 Apply `tramp-check-proper-host'.
4871 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4873 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4874 lambda expression in order to have `describe-variable' display it.
4876 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4878 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4879 BUF can be optional. (Bug#15186)
4881 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4883 * progmodes/flymake.el (flymake-get-real-file-name-function):
4884 Fix broken customization. (Bug#15184)
4886 2013-08-25 Alan Mackenzie <acm@muc.de>
4888 Improve indentation of bracelists defined by macros (without "=").
4890 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4891 expansion begins with "{", regard it as bracelist when it doesn't
4894 Parse C++ inher-intro when there's a template split over 2 lines.
4896 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4897 rigorously the search for "class" etc. followed by ":".
4899 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4900 random languages a regexp which never matches rather than nil.
4902 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4904 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4905 (c-awk-regexp-one-line-possibly-open-char-list-re)
4906 (c-awk-one-line-possibly-open-regexp-re)
4907 (c-awk-one-line-non-syn-ws*-re): Remove.
4908 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4909 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4910 (c-awk-space*-unclosed-regexp-/-re): New constants.
4911 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4912 aren't regexp delimiters.
4914 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4915 handling for a rare situation in AWK Mode involving unterminated
4918 2013-08-23 Glenn Morris <rgm@gnu.org>
4920 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4922 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4924 * files.el (create-file-buffer): If the result would begin with
4925 spaces, prepend a "|" instead of removing them. (Bug#15162)
4927 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4929 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4930 text-properties (bug#15155).
4932 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4934 (calc-keypad-redraw): Remove unused var `pad'.
4935 (calc-keypad-press): Remove unused var `menu'.
4937 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4939 * window.el (display-buffer-pop-up-frame):
4940 Call pop-up-frame-function with BUFFER current so `make-frame' will
4941 use it as the new frame's buffer (Bug#15133).
4943 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4945 * calendar/timeclock.el: Minor cleanups.
4946 (timeclock-ask-before-exiting, timeclock-use-display-time):
4948 (timeclock-modeline-display): Define as alias before the
4950 (timeclock-mode-line-display): Use define-minor-mode.
4951 (timeclock-day-list-template): Make it a function, add an argument.
4952 (timeclock-day-list-required, timeclock-day-list-length)
4953 (timeclock-day-list-debt, timeclock-day-list-span)
4954 (timeclock-day-list-break): Adjust calls accordingly.
4956 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4958 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4959 Use read--expression so that completion works again.
4961 2013-08-21 Sam Steingold <sds@gnu.org>
4963 Add rudimentary inferior shell interaction
4964 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4965 (sh-set-shell): Reset it.
4966 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4967 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4969 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4971 * align.el: Use lexical-binding.
4972 (align-region): Simplify accordingly.
4974 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4976 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4978 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4981 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4985 * net/tramp-cmds.el:
4987 * net/tramp-gvfs.el:
4989 * net/tramp-sh.el: Don't wrap external variable declarations by
4990 `eval-when-compile'.
4992 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4994 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4995 now that Emacs supports ImageMagick animations.
4997 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4999 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5000 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5002 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5004 * window.el (mouse-autoselect-window-select): Do autoselect when
5005 mouse pointer is on margin.
5007 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5009 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5011 2013-08-16 Glenn Morris <rgm@gnu.org>
5013 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5014 Handle "Remote Directory" response of some clients. (Bug#15058)
5016 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5017 Tweak warning. (Bug#14926)
5019 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5020 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5022 * image-mode.el (image-mode-map): Add menu items to reverse,
5023 increase, decrease, reset animation speed.
5024 (image--set-speed, image-increase-speed, image-decrease-speed)
5025 (image-reverse-speed, image-reset-speed): New functions.
5026 (image-mode-map): Add bindings for speed commands.
5028 * image.el (image-animate-get-speed, image-animate-set-speed):
5030 (image-animate-timeout): Respect image :speed property.
5032 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5034 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5035 previous line (bug#15101).
5036 (debugger-eval-expression, debugger-record-expression):
5037 Use read--expression (bug#15102).
5039 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5041 Remove byte compiler warnings, visible when compiling with
5042 `byte-compile-force-lexical-warnings' set to t.
5044 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5045 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5046 (tramp-handle-unhandled-file-name-directory)
5047 (tramp-handle-file-notify-add-watch, tramp-action-login)
5048 (tramp-action-succeed, tramp-action-permission-denied)
5049 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5052 * net/tramp-adb.el (tramp-adb-parse-device-names)
5053 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5054 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5055 (tramp-adb-handle-file-truename): Remove unused arguments.
5057 * net/tramp-cache.el (tramp-flush-directory-property)
5058 (tramp-flush-connection-property, tramp-list-connections)
5059 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5061 * net/tramp-compat.el (tramp-compat-make-temp-file):
5062 Rename FILENAME to F.
5064 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5065 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5066 (tramp-zeroconf-parse-workstation-device-names)
5067 (tramp-zeroconf-parse-webdav-device-names)
5068 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5070 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5071 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5073 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5075 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5076 (tramp-sh-handle-insert-file-contents-literally)
5077 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5079 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5080 Remove unused variables.
5082 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5083 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5084 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5086 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5087 Make them a defconst.
5088 (tramp-uuencode-region): Remove unused variable.
5090 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5092 * frameset.el (frameset--prop-setter): New function.
5093 (frameset-prop): Add gv-setter declaration.
5094 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5095 parameter was already set in FILTERED. Doc fix.
5096 (frameset--record-minibuffer-relationships): Allow saving a
5097 minibufferless frame without its corresponding minibuffer frame.
5098 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5099 frame, if the frame id matches.
5100 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5101 frames before orphaned ones.
5102 (frameset-restore): Warn about orphaned windows, instead of error out.
5104 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5106 * window.el (window-make-atom): Don't overwrite parameter
5108 (display-buffer-in-atom-window): Handle special case where we
5109 split an already atomic window.
5110 (window--major-non-side-window, display-buffer-in-side-window)
5111 (window--side-check): Ignore minibuffer window when walking
5113 (window-deletable-p): Return 'frame only if no other frame uses
5114 our minibuffer window.
5115 (record-window-buffer): Run buffer-list-update-hook.
5116 (split-window): Make sure window--check-frame won't destroy an
5117 existing atomic window in case the new window gets nested
5119 (display-buffer-at-bottom): Ignore minibuffer window when
5120 walking window tree. Don't split a side window.
5121 (pop-to-buffer): Don't set-buffer here, the select-window call
5123 (mouse-autoselect-window-select): Autoselect only if we are in the
5124 text portion of the window.
5126 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5128 * net/shr.el (shr-parse-image-data): New function to grab both the
5129 data itself and the Content-Type.
5130 (shr-put-image): Use it.
5132 * net/eww.el (eww-display-image): Ditto.
5134 * image.el (image-content-type-suffixes): New variable.
5136 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5138 * progmodes/python.el (python-imenu--build-tree)
5139 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5141 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5143 * simple.el (backward-word): Mention the optional argument.
5145 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5147 * frameset.el (frameset--make): Rename constructor from make-frameset.
5148 (frameset-p, frameset-valid-p): Don't autoload.
5149 (frameset-valid-p): Use normal accessors.
5151 2013-08-13 Glenn Morris <rgm@gnu.org>
5153 * progmodes/compile.el (compile-command): Tweak example in doc.
5154 * obsolete/scribe.el (scribe-mode):
5155 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5157 * mail/feedmail.el (feedmail-confirm-outgoing)
5158 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5160 * cus-start.el (truncate-partial-width-windows): Fix type.
5162 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5164 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5166 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5168 * emacs-lisp/timer.el (timer--time-setter): New function.
5169 (timer--time): Use it as gv-setter.
5171 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5172 setter is not a symbol.
5174 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5176 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5177 if sending fails. This makes debugging easier.
5179 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5181 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5182 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5183 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5185 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5187 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5189 2013-08-12 Glenn Morris <rgm@gnu.org>
5191 * format.el (format-annotate-function):
5192 Handle read-only text properties in the source. (Bug#14887)
5194 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5196 * net/eww.el (eww-display-html): Ignore coding system errors.
5197 One web site uses "utf-8lias" as the coding system.
5199 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5201 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5203 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5205 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5206 (tutorial--detailed-help): Remove unused local variables.
5207 (tutorial--save-tutorial-to): Use ignore-errors.
5208 (help-with-tutorial): Use looking-at-p.
5210 * view.el (view-buffer-other-window, view-buffer-other-frame):
5211 Mark unused arguments.
5213 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5214 (woman-select-symbol-fonts, woman, woman-find-file)
5215 (woman-insert-file-contents, woman-non-underline-faces):
5217 (woman1-unquote): Move declaration.
5219 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5220 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5221 argument. Remove unused local variable.
5222 (xml-parse-elem-type): Use string-match-p.
5223 (xml-substitute-numeric-entities): Use ignore-errors.
5225 * calculator.el (calculator): Mark unused argument.
5226 (calculator-paste, calculator-quit, calculator-integer-p):
5228 (calculator-string-to-number, calculator-decimal, calculator-exp)
5229 (calculator-op-or-exp): Use string-match-p.
5231 * dired.el (dired-buffer-more-recently-used-p): Declare.
5232 (dired-insert-set-properties, dired-insert-old-subdirs):
5235 * dired-aux.el (dired-compress): Use ignore-errors.
5236 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5237 (dired-do-async-shell-command, dired-do-shell-command)
5238 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5239 (dired-insert-subdir-validate): Use string-match-p.
5240 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5241 (dired-add-entry): Use string-match-p, looking-at-p.
5242 (dired-insert-subdir-newpos): Remove unused local variable.
5244 * filenotify.el (file-notify-callback): Remove unused local variable.
5246 * filesets.el (filesets-error): Mark unused argument.
5247 (filesets-which-command-p, filesets-filter-dir-names)
5248 (filesets-directory-files, filesets-get-external-viewer)
5249 (filesets-ingroup-get-data): Use string-match-p.
5251 * find-file.el (ff-other-file-name, ff-other-file-name)
5252 (ff-find-the-other-file, ff-cc-hh-converter):
5253 Remove unused local variables.
5254 (ff-get-file-name): Use string-match-p.
5255 (ff-all-dirs-under): Use ignore-errors.
5257 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5258 (follow-select-if-visible): Remove unused local variable.
5260 * forms.el (read-file-filter): Move declaration.
5261 (forms--make-format, forms--make-parser, forms-insert-record):
5262 Quote function with #'.
5263 (forms--update): Use string-match-p. Quote function with #'.
5265 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5266 (help-make-xrefs): Use looking-at-p.
5267 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5269 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5270 (ibuffer-confirm-operation-on): Use string-match-p.
5272 * msb.el (msb-item-handler, msb-dired-item-handler):
5273 Mark unused arguments.
5275 * ses.el (ses-decode-cell-symbol)
5276 (ses-kill-override): Remove unused local variable.
5277 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5278 (ses-load): Use ignore-errors, looking-at-p.
5279 (ses-jump-safe): Use ignore-errors.
5280 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5282 * tabify.el (untabify, tabify): Mark unused arguments.
5284 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5285 Mark unused argument.
5286 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5287 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5289 * emacs-lisp/timer.el (timer--time): Define setter with
5290 gv-define-setter to avoid deprecation warning.
5292 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5293 (*record-cmpl-statistics-p*): Remove (was commented out).
5294 (cmpl-statistics-block): Remove (body was commented out).
5295 All callers changed.
5296 (add-completions-from-buffer, load-completions-from-file):
5297 Remove unused variables.
5299 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5301 * filecache.el (file-cache-delete-file-list):
5302 Print message only when told so.
5303 (file-cache-files-matching): Use #' in mapconcat argument.
5305 * ffap.el (ffap-url-at-point): Fix reference to variable
5306 thing-at-point-default-mail-uri-scheme.
5308 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5310 * subr.el (define-error): New function.
5311 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5312 error-file-not-found and define with define-error.
5313 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5314 and define with define-error.
5315 * userlock.el (file-locked, file-supersession):
5316 * simple.el (mark-inactive):
5317 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5318 * progmodes/ada-mode.el (ada-mode-errors):
5319 * play/life.el (life-extinct):
5320 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5321 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5322 * nxml/rng-util.el (rng-error):
5323 * nxml/rng-uri.el (rng-uri-error):
5324 * nxml/rng-match.el (rng-compile-error):
5325 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5326 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5327 * nxml/nxml-rap.el (nxml-scan-error):
5328 * nxml/nxml-outln.el (nxml-outline-error):
5329 * net/soap-client.el (soap-error):
5330 * net/gnutls.el (gnutls-error):
5331 * net/ange-ftp.el (ftp-error):
5332 * mpc.el (mpc-proc-error):
5333 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5334 (json-number-format, json-string-escape, json-string-format)
5335 (json-key-format, json-object-format):
5336 * jka-compr.el (compression-error):
5337 * international/quail.el (quail-error):
5338 * international/kkc.el (kkc-error):
5339 * emacs-lisp/ert.el (ert-test-failed):
5340 * calc/calc.el (calc-error, inexact-result, math-overflow)
5342 * bookmark.el (bookmark-error-no-filename):
5343 * epg.el (epg-error): Define with define-error.
5345 * time.el (display-time-event-handler)
5346 (display-time-next-load-average): Don't call sit-for since it seems
5347 unnecessary (bug#15045).
5349 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5350 Use #' instead of ' to quote functions.
5351 (checkdoc-output-mode): Use setq-local.
5352 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5353 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5354 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5355 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5356 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5357 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5358 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5359 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5361 * ido.el (ido-completion-help): Fix up compiler warning.
5363 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5365 * frameset.el (frameset-p): Add autoload cookie.
5366 (frameset--jump-to-register): New function, based on code moved from
5368 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5370 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5371 (frameset-restore, frameset-save, frameset-session-filter-alist):
5372 Remove declarations.
5373 (register-alist): Doc fix.
5374 (frameset-to-register): Move to frameset.el.
5375 (jump-to-register, describe-register-1): Remove frameset-specific code.
5377 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5379 * allout-widgets.el (allout-widgets-pre-command-business)
5380 (allout-widgets-post-command-business)
5381 (allout-widgets-after-change-handler)
5382 (allout-decorate-item-and-context, allout-set-boundary-marker)
5383 (allout-body-modification-handler)
5384 (allout-graphics-modification-handler): Mark ignored arguments.
5385 (allout-widgets-post-command-business)
5386 (allout-widgets-exposure-change-processor)
5387 (allout-widgets-exposure-undo-processor)
5388 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5389 (allout-parse-item-at-point, allout-decorate-item-guides)
5390 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5391 * allout.el (epa-passphrase-callback-function): Declare.
5392 (allout-overlay-insert-in-front-handler)
5393 (allout-overlay-interior-modification-handler)
5394 (allout-isearch-end-handler, allout-chart-siblings)
5395 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5396 (allout-yank-processing, allout-process-exposed)
5397 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5398 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5399 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5400 (lisp-indent-defform): Mark ignored arguments.
5401 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5402 (calculate-lisp-indent): Remove unused variables.
5403 * international/characters.el (indian-2-column, arabic-2-column)
5404 (tibetan): Mark ignored arguments.
5405 (use-cjk-char-width-table): Mark ignored arguments.
5406 Remove unused variables.
5407 * international/fontset.el (build-default-fontset-data)
5408 (x-compose-font-name, create-fontset-from-fontset-spec):
5409 Mark ignored arguments.
5410 (fontset-plain-name): Remove unused variables.
5411 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5412 (keyboard-coding-system): Mark ignored arguments.
5413 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5414 * help.el (resize-temp-buffer-window):
5415 * window.el (display-buffer-in-major-side-window)
5416 (display-buffer-in-side-window, display-buffer-in-previous-window):
5417 Remove unused variables.
5418 * isearch.el (isearch-forward-symbol):
5419 * version.el (emacs-bzr-version-bzr):
5420 * international/mule-cmds.el (current-language-environment):
5421 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5423 * term/pc-win.el (x-list-fonts, x-display-planes)
5424 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5425 (x-server-version, x-display-screens, x-display-mm-height)
5426 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5427 (x-selection-owner-p, x-own-selection-internal)
5428 (x-disown-selection-internal, x-get-selection-internal)
5429 (msdos-initialize-window-system):
5430 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5431 * term/x-win.el (x-handle-no-bitmap-icon):
5432 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5433 (vc-default-find-file-hook, vc-default-extra-menu):
5434 Mark ignored arguments.
5436 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5438 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5439 break-condition in the context of the debugged code (bug#12685).
5441 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5444 Do not use an overlay to highlight the last prompt. (Bug#14744)
5445 (comint-mode): Make comint-last-prompt buffer local.
5446 (comint-last-prompt): New variable.
5447 (comint-last-prompt-overlay): Remove. Superseded by
5449 (comint-snapshot-last-prompt, comint-output-filter):
5450 Use comint-last-prompt.
5452 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5454 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5455 (frameset-save): Check validity of the resulting frameset.
5457 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5459 * ido.el (ido-record-command): Add doc string.
5461 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5463 * frameset.el (frameset): Do not disable creation of the default
5464 frameset-p predicate. Doc fix.
5465 (frameset-valid-p): New function, copied from the old predicate-p.
5466 Add additional checks.
5467 (frameset-restore): Check with frameset-valid-p.
5468 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5469 (frameset-name, frameset-description, frameset-properties)
5470 (frameset-states): Add docstring.
5471 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5472 (frameset-filter-alist): Doc fixes.
5474 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5476 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5478 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5480 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5481 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5482 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5483 (byte-compile-normal-call): Remove obsolescence check.
5485 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5487 * frameset.el (frameset-restore): Doc fix.
5489 * register.el (frameset-frame-id, frameset-frame-with-id)
5490 (frameset-p, frameset-restore, frameset-save): Declare.
5491 (register-alist): Document framesets.
5492 (frameset-session-filter-alist): Declare.
5493 (frameset-to-register): New function.
5494 (jump-to-register): Implement jumping to framesets. Doc fix.
5495 (describe-register-1): Describe framesets.
5497 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5499 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5501 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5502 Use lexical-binding.
5504 * frameset.el (frameset): Use type vector, not list (incompatible
5505 change). Do not declare a new constructor, use the default one.
5506 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5507 `name' and `description', respectively, and add read-only slot
5508 `timestamp'. Doc fixes.
5509 (frameset-copy, frameset-persistent-filter-alist)
5510 (frameset-filter-alist, frameset-switch-to-gui-p)
5511 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5512 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5513 (frameset-filter-iconified, frameset-keep-original-display-p):
5515 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5516 Rename from frameset-filter-(save|restore)-param. All callers changed.
5518 (frameset-p): Adapt to change to vector and be more thorough.
5519 Change arg name to OBJECT. Doc fix.
5520 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5521 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5522 All callers changed.
5523 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5524 All callers changed.
5525 (frameset--record-minibuffer-relationships): Rename from
5526 frameset--process-minibuffer-frames. All callers changed.
5527 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5528 Use new default constructor (again). Doc fix.
5529 (frameset--find-frame-if): Rename from `frameset--find-frame.
5530 All callers changed.
5531 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5532 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5534 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5535 PARAMETERS and WINDOW-STATE, respectively.
5536 (frameset-restore): Add new keyword argument PREDICATE.
5537 Reset frameset--target-display to nil. Doc fix.
5539 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5541 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5543 (bat-mode-syntax-table): Mark \n as end-of-comment.
5544 (bat-font-lock-keywords): Remove comment rule.
5546 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5547 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5549 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5550 (byte-compile-callargs-warn): Use `push'.
5551 (byte-compile-arglist-warn): Ignore higher-order "calls".
5552 (byte-compile-file-form-autoload): Use `pcase'.
5553 (byte-compile-function-form): If quoting a symbol, check that it exists.
5555 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5557 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5558 and add a few popular commands found in batch files.
5559 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5560 (dos-mode): Doc fixes.
5562 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5564 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5565 (dos-mode): Use setq-local. Add space after "rem".
5566 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5567 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5569 2013-08-07 Arni Magnusson <arnima@hafro.is>
5571 * progmodes/dos.el: New file.
5572 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5575 2013-08-06 Glenn Morris <rgm@gnu.org>
5577 * calendar/calendar.el: Add new faces, and day-header-array.
5578 (calendar-weekday-header, calendar-weekend-header)
5579 (calendar-month-header): New faces.
5580 (calendar-day-header-construct): New function.
5581 (calendar-day-header-width): Also :set calendar-day-header-array.
5582 (calendar-american-month-header, calendar-european-month-header)
5583 (calendar-iso-month-header): Use calendar- faces.
5584 (calendar-generate-month):
5585 Use calendar-day-header-array for day headers; apply faces to them.
5586 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5587 (calendar-abbrev-construct): Add optional maxlen argument.
5588 (calendar-day-name-array): Doc fix.
5589 (calendar-day-name-array, calendar-abbrev-length)
5590 (calendar-day-abbrev-array):
5591 Also :set calendar-day-header-array, and maybe redraw.
5592 (calendar-day-header-array): New option. (Bug#15007)
5593 (calendar-font-lock-keywords): Set to nil and make obsolete.
5594 (calendar-day-name): Add option to use header array.
5596 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5598 * net/shr.el (shr-render-td): Remove debugging.
5599 (shr-render-td): Make width computation consistent by defaulting
5600 all zero-width columns to 10 characters. This may not be optimal,
5601 but it's at least consistent.
5602 (shr-make-table-1): Redo last change to fix the real problem in
5605 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5607 * files.el (cache-long-line-scans):
5608 Make obsolete alias to `cache-long-scans'.
5610 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5612 * frameset.el (frameset, frameset-filter-alist)
5613 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5614 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5615 (frameset-compute-pos): Rename from frameset--compute-pos,
5617 (frameset-move-onscreen): Use frameset-compute-pos.
5618 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5620 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5621 Fix typos in docstrings.
5623 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5625 * frame.el (get-other-frame): Tiny cleanup.
5627 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5629 * vc/vc.el (vc-default-ignore-completion-table):
5630 Silence byte-compiler warning.
5632 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5633 slot , which can indeed be nil.
5634 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5635 Move entry for `left' from persistent to live filter alist.
5636 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5638 (frameset-filter-params): When restoring a frame, copy items added to
5639 `filtered', to avoid unwittingly modifying the original parameters.
5640 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5641 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5643 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5644 to use looking-at-p instead of looking-at. (Bug#15028)
5646 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5648 Revert introduction of isearch-filter-predicates (bug#14714).
5649 Rely on add-function instead.
5650 * isearch.el (isearch-filter-predicates): Rename it back to
5651 isearch-filter-predicate.
5652 (isearch-message-prefix): Use advice-function-mapc and advice
5653 properties to get the isearch-message-prefix.
5654 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5655 instead of run-hook-with-args-until-failure.
5656 (isearch-filter-visible): Not obsolete any more.
5657 * loadup.el: Preload nadvice.
5658 * replace.el (perform-replace): Revert to funcall
5659 instead of run-hook-with-args-until-failure.
5660 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5661 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5662 dired-isearch-filenames-toggle; make it into a proper minor mode.
5663 Use add/remove-function.
5664 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5665 Call the minor-mode rather than add/remove-hook.
5666 (dired-isearch-filter-filenames):
5667 Remove isearch-message-prefix property.
5668 * info.el (Info--search-loop): New function, extracted from Info-search.
5669 Funcall isearch-filter-predicate instead of
5670 run-hook-with-args-until-failure isearch-filter-predicates.
5671 (Info-search): Use it.
5672 (Info-mode): Use isearch-filter-predicate instead of
5673 isearch-filter-predicates.
5675 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5677 Do not call to `selected-window' where it is assumed by default.
5678 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5679 `window-hscroll', `window-width', `window-height', `window-buffer',
5680 `window-frame', `window-start', `window-point', `next-window'
5681 and `window-display-table'.
5682 * abbrev.el (abbrev--default-expand):
5683 * bs.el (bs--show-with-configuration):
5684 * buff-menu.el (Buffer-menu-mouse-select):
5685 * calc/calc.el (calc):
5686 * calendar/calendar.el (calendar-generate-window):
5687 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5689 * comint.el (send-invisible, comint-dynamic-complete-filename)
5690 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5691 * completion.el (complete):
5692 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5693 * disp-table.el (describe-current-display-table):
5694 * doc-view.el (doc-view-insert-image):
5695 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5696 * ehelp.el (with-electric-help):
5697 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5698 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5699 * emacs-lisp/helper.el (Helper-help-scroller):
5700 * emulation/cua-base.el (cua--post-command-handler-1):
5701 * eshell/esh-mode.el (eshell-output-filter):
5702 * ffap.el (ffap-gnus-wrapper):
5703 * help-macro.el (make-help-screen):
5704 * hilit-chg.el (highlight-compare-buffers):
5705 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5706 * hl-line.el (global-hl-line-highlight):
5707 * icomplete.el (icomplete-simple-completing-p):
5708 * isearch.el (isearch-done):
5709 * jit-lock.el (jit-lock-stealth-fontify):
5710 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5711 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5712 * mpc.el (mpc-tagbrowser, mpc):
5713 * net/rcirc.el (rcirc-any-buffer):
5714 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5715 * play/landmark.el (landmark-max-width, landmark-max-height):
5716 * play/zone.el (zone):
5717 * progmodes/compile.el (compilation-goto-locus):
5718 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5719 * progmodes/etags.el (find-tag-other-window):
5720 * progmodes/fortran.el (fortran-column-ruler):
5721 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5722 * progmodes/verilog-mode.el (verilog-point-text):
5723 * reposition.el (reposition-window):
5724 * rot13.el (toggle-rot13-mode):
5725 * server.el (server-switch-buffer):
5726 * shell.el (shell-dynamic-complete-command)
5727 (shell-dynamic-complete-environment-variable):
5728 * simple.el (insert-buffer, set-selective-display)
5729 (delete-completion-window):
5730 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5731 (speedbar-recenter):
5732 * startup.el (fancy-splash-head):
5733 * textmodes/ispell.el (ispell-command-loop):
5734 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5735 * tutorial.el (help-with-tutorial):
5736 * vc/add-log.el (add-change-log-entry):
5737 * vc/compare-w.el (compare-windows):
5738 * vc/ediff-help.el (ediff-indent-help-message):
5739 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5740 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5741 (ediff-setup-control-frame):
5742 * vc/emerge.el (emerge-position-region):
5743 * vc/pcvs-util.el (cvs-bury-buffer):
5744 * window.el (walk-windows, mouse-autoselect-window-select):
5745 * winner.el (winner-set-conf, winner-undo): Related users changed.
5747 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5749 * frameset.el (frameset--set-id): Doc fix.
5750 (frameset-frame-id, frameset-frame-id-equal-p)
5751 (frameset-locate-frame-id): New functions.
5752 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5753 (frameset-restore): Use them.
5755 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5757 Do not call to `selected-frame' where it is assumed by default.
5758 Affected functions are `raise-frame', `redraw-frame',
5759 `frame-first-window', `frame-terminal' and `delete-frame'.
5760 * calendar/appt.el (appt-disp-window):
5761 * epg.el (epg-wait-for-completion):
5762 * follow.el (follow-delete-other-windows-and-split)
5763 (follow-avoid-tail-recenter):
5764 * international/mule.el (set-terminal-coding-system):
5765 * mail/rmail.el (rmail-mail-return):
5766 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5767 * progmodes/f90.el (f90-add-imenu-menu):
5768 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5769 * server.el (server-switch-buffer):
5770 * simple.el (delete-completion-window):
5772 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5773 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5774 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5775 * vc/ediff.el (ediff-documentation): Related users changed.
5776 * frame.el (selected-terminal): Remove the leftover.
5778 2013-08-05 Glenn Morris <rgm@gnu.org>
5780 * calendar/calendar.el (calendar-generate-month):
5781 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5782 (calendar-generate-month, calendar-font-lock-keywords):
5783 Fix for calendar-day-header-width > length of any day name.
5785 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5787 * desktop.el (desktop-clear): Use new name of sort predicate.
5789 * frameset.el (frameset): Add docstring. Move :version property to its
5791 (frameset-copy): Rename from copy-frameset.
5792 (frameset-p): Check more thoroughly.
5793 (frameset-prop): Do not check for :version, which is no longer a prop.
5794 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5795 Use new :never value instead of t.
5796 (frameset-filter-alist): Expand and clarify docstring.
5797 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5798 (frameset-filter-minibuffer, frameset-filter-save-param)
5799 (frameset-filter-restore-param, frameset-filter-iconified):
5800 Add pointer to docstring of frameset-filter-alist.
5801 (frameset-filter-params): Rename filter values to be more meaningful:
5802 :never instead of t, and reverse the meanings of :save and :restore.
5803 (frameset--process-minibuffer-frames): Clarify error message.
5804 (frameset-save): Avoid unnecessary and confusing call to framep.
5805 Use new BOA constructor for framesets.
5806 (frameset--reuse-list): Doc fix.
5807 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5808 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5809 (frameset-minibufferless-first-p): Doc fix.
5810 Rename from frameset-sort-frames-for-deletion.
5811 (frameset-restore): Doc fixes. Use new function names.
5812 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5814 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5816 * desktop.el (desktop-restore-forces-onscreen)
5817 (desktop-restore-reuses-frames): Document :keyword constant values.
5818 (desktop-filter-parameters-alist): Remove, now identical to
5819 frameset-filter-alist.
5820 (desktop--filter-tty*): Remove, moved to frameset.el.
5821 (desktop-save-frameset, desktop-restore-frameset):
5822 Do not pass :filters argument.
5824 * frameset.el (frameset-live-filter-alist)
5825 (frameset-persistent-filter-alist): New variables.
5826 (frameset-filter-alist): Use them. Add autoload cookie.
5827 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5828 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5829 `frameset--id' (it's supposed to be internal to frameset.el).
5830 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5831 (frameset--initial-params): New function.
5832 (frameset--get-frame): Use it. Doc fix.
5833 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5834 Accept :all, not 'all.
5835 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5836 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5837 with fbound symbols. Fix frame id matching, and remove matching ids if
5838 the frame being restored is deleted. Obey :delete.
5840 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5842 * subr.el (macrop): New function.
5843 (text-clone--maintaining): New var.
5844 (text-clone--maintain): Rename from text-clone-maintain. Use it
5845 instead of inhibit-modification-hooks.
5847 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5848 a proxy, so as handle autoloads and redefinitions of the target.
5849 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5851 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5852 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5853 (pcase--mutually-exclusive-p): New function.
5854 (pcase--split-consp): Use it.
5855 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5856 mutually exclusive with the current predicate.
5858 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5859 (edebug-macrop): Remove. Use `macrop' instead.
5860 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5862 * eshell/esh-cmd.el (eshell-macrop):
5863 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5865 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5867 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5868 (advice-mapc): New function, using it.
5869 (advice-function-member-p): New function.
5870 (advice--normalize): Store the cdr in advice--saved-rewrite since
5871 that's the part that will be changed.
5872 (advice--symbol-function): New function.
5873 (advice-remove): Handle removal before the function is defined.
5874 Adjust to new advice--saved-rewrite.
5875 (advice-member-p): Use advice-function-member-p and
5876 advice--symbol-function.
5878 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5880 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5881 (frameset-filter-minibuffer): Doc fix.
5882 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5883 (frameset--set-id, frameset--process-minibuffer-frames)
5884 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5885 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5887 * desktop.el (desktop-clear): Only delete frames when called
5888 interactively and desktop-restore-frames is non-nil. Doc fix.
5889 (desktop-read): Set desktop-saved-frameset to nil.
5891 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5893 * vc/vc.el (vc-ignore): Rewrite.
5894 (vc-default-ignore-completion-table):
5896 (vc--add-line, vc--remove-regexp): New functions.
5898 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5899 (vc-svn-ignore-completion-table): New function.
5901 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5902 (vc-hg-ignore-completion-table):
5903 (vc-hg-find-ignore-file): New functions.
5905 * vc/vc-git.el (vc-git-ignore): Rewrite.
5906 (vc-git-ignore-completion-table):
5907 (vc-git-find-ignore-file): New functions.
5909 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5911 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5912 (vc-bzr-ignore-completion-table):
5913 (vc-bzr-find-ignore-file): New functions.
5915 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5917 * frameset.el (frameset-prop): New function and setter.
5918 (frameset-save): Do not modify frame list passed by the caller.
5920 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5922 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5924 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5926 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5927 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5929 * custom.el (custom-initialize-default, custom-initialize-set)
5930 (custom-initialize-reset, custom-initialize-changed): Affect the
5931 toplevel-default-value (bug#6275, bug#14586).
5932 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5935 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5937 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5938 Add cl-def* expressions.
5940 * frameset.el (frameset-filter-params): Fix order of arguments.
5942 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5944 Move code related to saving frames to frameset.el.
5945 * desktop.el: Require frameset.
5946 (desktop-restore-frames): Doc fix.
5947 (desktop-restore-reuses-frames): Rename from
5948 desktop-restoring-reuses-frames.
5949 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5950 (desktop-clear): Clear frames too.
5951 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5952 (desktop--filter-tty*, desktop-save, desktop-read):
5953 Use frameset functions.
5954 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5955 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5956 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5957 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5958 (desktop--process-minibuffer-frames, desktop-save-frames)
5959 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5960 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5961 (desktop--sort-states, desktop-restoring-frames-p)
5962 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5963 (desktop-restoring-frameset-p, desktop-restore-frameset)
5964 (desktop--check-dont-save, desktop-save-frameset): New functions.
5965 (desktop--app-id): New constant.
5966 (desktop-first-buffer, desktop-buffer-ok-count)
5967 (desktop-buffer-fail-count): Move before first use.
5968 * frameset.el: New file.
5970 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5972 * files.el: Use lexical-binding.
5973 (dir-locals-read-from-file): Remove unused `err' variable.
5974 (hack-dir-local-variables--warned-coding): New var.
5975 (hack-dir-local-variables): Use it to avoid repeated warnings.
5976 (make-backup-file-name--default-function): New function.
5977 (make-backup-file-name-function): Use it as default.
5978 (buffer-stale--default-function): New function.
5979 (buffer-stale-function): Use it as default.
5980 (revert-buffer-insert-file-contents--default-function): New function.
5981 (revert-buffer-insert-file-contents-function): Use it as default.
5982 (insert-directory): Avoid add-to-list.
5984 * autorevert.el (auto-revert-handler): Simplify.
5985 Use buffer-stale--default-function.
5987 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5989 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5991 * whitespace.el (whitespace-ensure-local-variables): New function.
5992 (whitespace-cleanup-region): Call it.
5993 (whitespace-turn-on): Call it.
5995 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5997 Complete file name handlers.
5999 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6000 (tramp-handle-verify-visited-file-modtime)
6001 (tramp-handle-file-notify-rm-watch): New functions.
6002 (tramp-call-process): Do not bind `default-directory'.
6004 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6005 Order alphabetically.
6006 [access-file, add-name-to-file, dired-call-process]:
6007 [dired-compress-file, file-acl, file-notify-rm-watch]:
6008 [file-ownership-preserved-p, file-selinux-context]:
6009 [make-directory-internal, make-symbolic-link, set-file-acl]:
6010 [set-file-selinux-context, set-visited-file-modtime]:
6011 [verify-visited-file-modtime]: Add handler.
6012 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6014 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6015 [file-notify-add-watch, file-notify-rm-watch]:
6016 [set-file-times, set-visited-file-modtime]:
6017 [verify-visited-file-modtime]: Add handler.
6018 (with-tramp-gvfs-error-message)
6019 (tramp-gvfs-handle-set-visited-file-modtime)
6020 (tramp-gvfs-fuse-file-name): Remove.
6021 (tramp-gvfs-handle-file-notify-add-watch)
6022 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6023 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6025 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6026 Order alphabetically.
6027 [file-notify-rm-watch ]: Use default Tramp handler.
6028 [executable-find]: Remove private handler.
6029 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6030 `default-directory'.
6031 (tramp-sh-handle-executable-find)
6032 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6033 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6034 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6035 Do not use `format' in `tramp-message'.
6037 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6038 [file-notify-rm-watch, set-visited-file-modtime]:
6039 [verify-visited-file-modtime]: Add handler.
6040 (tramp-smb-call-winexe): Do not bind `default-directory'.
6042 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6044 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6046 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6048 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6050 (log-view-diff-changeset): Same.
6051 (log-view-diff-common): Call backend command `previous-revision'
6052 to find out the previous revision, in both cases. Swap the
6053 variables `to' and `fr', so that `fr' usually refers to the
6054 earlier revision (Bug#14989).
6056 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6058 * ibuf-ext.el (ibuffer-filter-by-filename):
6059 Make it work with dired buffers too.
6061 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6063 * emacs-lisp/re-builder.el (reb-color-display-p):
6064 * files.el (save-buffers-kill-terminal):
6065 * net/browse-url.el (browse-url):
6066 * server.el (server-save-buffers-kill-terminal):
6067 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6068 Prefer nil to selected-frame for the first arg of frame-parameter.
6070 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6072 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6074 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6076 * minibuffer.el (completion--twq-all): Try and preserve each
6077 completion's case choice (bug#14907).
6079 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6081 * net/network-stream.el (open-network-stream): Mention the new
6082 :nogreeting parameter.
6083 (network-stream-open-starttls): Use the :nogreeting parameter
6086 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6088 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6089 more natural than popping.
6091 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6092 (shr-urlify): Highlight under mouse.
6094 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6096 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6098 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6100 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6103 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6104 point-min==1. Fix search string. Fix parentheses missing.
6106 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6107 assume point-min==1. Fix search string. Fix parentheses missing.
6109 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6111 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6114 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6116 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6117 initial frame is minibuffer-less. (Bug#14841)
6119 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6121 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6124 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6125 (tramp-maybe-open-connection): Use it.
6127 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6129 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6130 minimal set of parameters passed when creating a frame, because
6131 the minibuffer status of a frame cannot be changed later.
6133 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6135 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6136 replace-regexp-in-string and inadvertent omissions in previous change.
6137 (todo-filter-items): Ensure only file names are comma-separated in
6138 name of filtered items buffer.
6140 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6142 * desktop.el: Optionally force offscreen frames back onscreen.
6143 (desktop-restoring-reuses-frames): New option.
6144 (desktop--compute-pos, desktop--move-onscreen): New functions.
6145 (desktop--make-frame): Use desktop--move-onscreen.
6147 2013-07-27 Alan Mackenzie <acm@muc.de>
6149 Fontify a Java generic method as a function.
6150 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6153 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6155 * calendar/todo-mode.el: Add command to rename todo files.
6156 (todo-rename-file): New command.
6157 (todo-key-bindings-t): Add key binding for it. Change the
6158 bindings of todo-filter-regexp-items(-multifile) to use `x'
6159 instead of `r', since the latter is better suited to the new
6162 2013-07-27 Alan Mackenzie <acm@muc.de>
6164 Make Java try-with-resources statement parse properly.
6165 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6166 (c-block-stmt-1-2-key): New language constants/variables.
6167 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6168 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6169 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6170 with c-block-stmt-1-2-key.
6172 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6174 * desktop.el (desktop--make-frame): Apply most frame parameters after
6175 creating the frame to force (partially or totally) offscreen frames to
6176 be restored as such.
6178 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6180 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6183 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6185 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6186 `base' arg of backtrace-frame.
6188 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6190 * simple.el (list-processes): Doc fix.
6192 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6194 * desktop.el (desktop--select-frame):
6195 Try harder to reuse existing frames.
6197 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6199 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6200 (edebug-eval): Use backtrace-eval.
6201 (edebug--display, edebug--recursive-edit): Don't let-bind the
6202 edebug-outer-* vars that keep track of variables we locally let-bind.
6203 (edebug-outside-excursion): Don't restore outside values of locally
6205 (edebug--display): Use user-error.
6206 (cl-lexical-debug, cl-debug-env): Remove.
6208 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6210 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6211 are restored to be sure that they are visible before deleting any
6214 2013-07-26 Matthias Meulien <orontee@gmail.com>
6216 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6217 vc-print-root-log. (Bug#14948)
6219 2013-07-26 Richard Stallman <rms@gnu.org>
6221 Add aliases for encrypting mail.
6222 * epa.el (epa-mail-aliases): New option.
6223 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6224 Bind inhibit-read-only so read-only text doesn't ruin everything.
6225 (epa-mail-default-recipients): New subroutine broken out.
6226 Handle epa-mail-aliases.
6228 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6230 Add support for lexical variables to the debugger's `e' command.
6231 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6232 vars, except for debugger-outer-match-data.
6233 (debugger-frame-number): Move check for "on a function call" from
6234 callers into it. Add `skip-base' argument.
6235 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6236 (debugger-env-macro): Only reset the state stored in non-variables,
6237 i.e. current-buffer and match-data.
6238 (debugger-eval-expression): Rewrite using backtrace-eval.
6239 * subr.el (internal--called-interactively-p--get-frame): Remove.
6240 (called-interactively-p):
6241 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6242 `base' arg of backtrace-frame instead.
6244 2013-07-26 Glenn Morris <rgm@gnu.org>
6246 * align.el (align-regexp): Doc fix. (Bug#14857)
6247 (align-region): Explicit error if subexpression missing/does not match.
6249 * simple.el (global-visual-line-mode):
6250 Do not duplicate the mode lighter. (Bug#14858)
6252 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6254 * window.el (display-buffer): In display-buffer bind
6255 split-window-keep-point to t, bug#14829.
6257 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6259 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6260 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6261 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6262 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6264 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6265 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6267 2013-07-25 Glenn Morris <rgm@gnu.org>
6269 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6271 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6273 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6274 parameter to modify-frame-parameters if the value has not changed;
6275 this is a workaround for bug#14949.
6276 (desktop--make-frame): On cl-delete-if call, check parameter name,
6279 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6281 * vc/vc.el (vc-ignore): New function.
6283 * vc/vc-svn.el (vc-svn-ignore): New function.
6285 * vc/vc-hg.el (vc-hg-ignore): New function.
6287 * vc/vc-git.el (vc-git-ignore): New function.
6289 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6290 (vc-dir-ignore): New function.
6292 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6293 (cvs-append-to-ignore): Move here from pcvs.el.
6295 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6297 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6299 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6301 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6302 (desktop-restore-frames): Warn when deleting an existing frame failed.
6304 2013-07-24 Glenn Morris <rgm@gnu.org>
6306 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6308 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6310 * filenotify.el (file-notify-supported-p):
6311 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6314 * autorevert.el (auto-revert-use-notify):
6315 (auto-revert-notify-add-watch):
6316 * net/tramp.el (tramp-file-name-for-operation):
6317 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6318 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6319 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6320 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6321 Remove `file-notify-supported-p' entry.
6323 2013-07-24 Glenn Morris <rgm@gnu.org>
6325 * printing.el: Replace all uses of deleted ps-windows-system,
6326 ps-lp-system, ps-flatten-list with lpr- versions.
6328 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6330 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6331 checked with memq (bug#14935).
6333 * files.el (revert-buffer-function): Use a non-nil default.
6334 (revert-buffer-preserve-modes): Declare var to
6335 provide access to the `preserve-modes' argument.
6336 (revert-buffer): Let-bind it.
6337 (revert-buffer--default): New function, extracted from revert-buffer.
6339 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6341 * lpr.el: Signal print errors more prominently.
6342 (print-region-function): Don't default to nil.
6343 (lpr-print-region): New function, extracted from print-region-1.
6344 Check lpr's return value and signal an error in case of problem.
6345 (print-region-1): Use it.
6346 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6348 (ps-printer-name): Default to nil.
6349 (ps-printer-name-option): Default to lpr-printer-switch.
6350 (ps-print-region-function): Don't default to nil.
6351 (ps-postscript-code-directory): Simplify default.
6352 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6353 (ps-string-list, ps-eval-switch, ps-flatten-list)
6354 (ps-flatten-list-1): Remove.
6355 (ps-multibyte-buffer): Avoid setq.
6356 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6357 (print-region-function, ps-print-region-function): Don't set them here.
6359 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6361 * ido.el (ido-fractionp):
6362 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6363 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6364 (ido-max-directory-size, ido-max-dir-file-cache)
6365 (ido-decorations): Doc fix.
6367 * ansi-color.el: Fix old URL.
6369 2013-07-23 Michael R. Mauger <michael@mauger.com>
6371 * progmodes/sql.el: Version 3.3
6372 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6373 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6374 (sql-interactive-remove-continuation-prompt): Rewrite, use
6375 functions above. Fix continuation prompt and complete output line
6377 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6378 redirected output buffer.
6379 (sql-mode): Restore deleted code (Bug#13591).
6381 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6383 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6385 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6387 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6389 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6390 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6391 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6393 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6395 * desktop.el (desktop-clear): Simplify; remove useless checks
6396 against invalid buffer names.
6397 (desktop-list*): Use cl-list*.
6398 (desktop-buffer-info, desktop-create-buffer): Simplify.
6400 2013-07-23 Leo Liu <sdl.web@gmail.com>
6402 * bookmark.el (bookmark-make-record): Restore NAME as a default
6405 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6407 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6408 extracted from autoload--insert-text.
6409 (autoload--insert-text): Remove.
6410 (autoload--print-cookie-text): New function, extracted from
6411 autoload--insert-cookie-text.
6412 (autoload--insert-cookie-text): Remove.
6413 (autoload-generate-file-autoloads): Adjust calls accordingly.
6415 * winner.el (winner-hook-installed-p): Remove.
6416 (winner-mode): Simplify accordingly.
6418 * subr.el (add-to-list): Fix compiler-macro when `append' is
6419 not constant. Don't use `cl-member' for the base case.
6421 * progmodes/subword.el: Fix boundary case (bug#13758).
6422 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6424 (subword-backward-regexp): Make it a constant.
6425 (subword-forward-internal): Don't treat a trailing capital as the
6426 beginning of a word.
6428 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6430 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6431 global value of tabulated-list-revert-hook (bug#14930).
6433 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6435 * desktop.el: Require 'cl-lib.
6436 (desktop-before-saving-frames-functions): New hook.
6437 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6438 for frames being saved. Rename from desktop--save-minibuffer-frames.
6439 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6440 Do not save frames with non-nil `desktop-dont-save' parameter.
6441 Filter out deleted frames.
6442 (desktop--find-frame): Use cl-find-if.
6443 (desktop--select-frame): Use cl-(first|second|third) to access values
6445 (desktop--make-frame): Use cl-delete-if.
6446 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6447 (desktop-restore-frames): Use cl-(first|second|third) to access values
6448 of desktop-mini. Look for visible frame at the end, not while
6451 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6452 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6453 Use string-match-p, looking-at-p (bug#14927).
6455 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6457 * desktop.el (desktop-saved-frame-states):
6458 Rename from desktop--saved-states; all users changed.
6459 (desktop-save-frames): Rename from desktop--save-frames.
6460 Do not save state to desktop file.
6461 (desktop-save): Save desktop-saved-frame-states to desktop file
6463 (desktop-restoring-frames-p): New function.
6464 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6465 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6466 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6468 * desktop.el: Correctly restore iconified frames.
6469 (desktop--filter-iconified-position): New function.
6470 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6472 2013-07-20 Glenn Morris <rgm@gnu.org>
6474 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6475 Let `message' do the formatting.
6476 (def-gdb-preempt-display-buffer): Add explicit format.
6478 * image-dired.el (image-dired-track-original-file):
6479 Use with-current-buffer.
6480 (image-dired-track-thumbnail): Use with-current-buffer.
6481 Avoid changing point of wrong window.
6483 * image-dired.el (image-dired-track-original-file):
6484 Avoid changing point of wrong window. (Bug#14909)
6486 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6488 * progmodes/gdb-mi.el (gdb-done-or-error):
6489 Guard against "%" in gdb output. (Bug#14127)
6491 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6493 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6496 * international/mule.el (coding-system-iso-2022-flags): Fix last
6499 2013-07-20 Kenichi Handa <handa@gnu.org>
6501 * international/mule.el (coding-system-iso-2022-flags):
6502 Add `8-bit-level-4'. (Bug#8522)
6504 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6506 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6509 * net/eww.el (eww-process-text-input): Allow inputting when the
6510 point is at the start of the line, as the properties aren't
6513 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6516 2013-07-19 Richard Stallman <rms@gnu.org>
6518 * epa.el (epa-popup-info-window): Doc fix.
6520 * subr.el (split-string): New arg TRIM.
6522 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6524 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6525 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6527 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6529 * filenotify.el (file-notify--library): Rename from
6530 `file-notify-support'. Do not autoload. Adapt all uses.
6531 (file-notify-supported-p): New defun.
6533 * autorevert.el (auto-revert-use-notify):
6534 Use `file-notify-supported-p' instead of `file-notify-support'.
6536 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6538 * net/tramp.el (tramp-file-name-for-operation):
6539 Add `file-notify-supported-p'.
6541 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6543 (tramp-sh-file-name-handler-alist): Add it as handler for
6544 `file-notify-supported-p '.
6546 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6547 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6548 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6549 Add `ignore' as handler for `file-notify-*' functions.
6551 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6553 * simple.el (line-move-partial, line-move): Don't start vscroll or
6554 scroll-up if the current line is not taller than the window.
6557 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6559 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6560 highlight question marks in the method names as strings.
6561 (ruby-block-beg-keywords): Inline.
6562 (ruby-font-lock-keyword-beg-re): Extract from
6563 `ruby-font-lock-keywords'.
6565 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6567 * frame.el (blink-cursor-blinks): New defcustom.
6568 (blink-cursor-blinks-done): New defvar.
6569 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6570 (blink-cursor-timer-function): Check if number of blinks has been
6572 (blink-cursor-suspend, blink-cursor-check): New defuns.
6574 2013-07-15 Glenn Morris <rgm@gnu.org>
6576 * edmacro.el (edmacro-format-keys): Fix previous change.
6578 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6580 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6581 The hack didn't work outside English locales anyway.
6583 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6585 * simple.el (define-alternatives): Rename from alternatives-define,
6586 per RMS' suggestion.
6588 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6590 * desktop.el (desktop-restore-frames): Change default to t.
6591 (desktop-restore-in-current-display): Now offer more options.
6592 (desktop-restoring-reuses-frames): New customization option.
6593 (desktop--saved-states): Doc fix.
6594 (desktop-filter-parameters-alist): New variable, renamed and expanded
6595 from desktop--excluded-frame-parameters.
6596 (desktop--target-display): New variable.
6597 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6598 (desktop--filter-tty*, desktop--filter-*-color)
6599 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6600 (desktop--filter-save-desktop-parm)
6601 (desktop-restore-in-original-display-p): New functions.
6602 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6603 (desktop--save-minibuffer-frames): New function, inspired by a similar
6604 function from Martin Rudalics.
6605 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6606 (desktop--restore-in-this-display-p): Remove.
6607 (desktop--find-frame): Rename from desktop--find-frame-in-display
6608 and add predicate argument.
6609 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6610 (desktop--reuse-list): New variable.
6611 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6613 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6615 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6617 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6619 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6621 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6622 Highlight conversion methods on Kernel.
6624 2013-07-13 Alan Mackenzie <acm@muc.de>
6626 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6627 and comment it out. This out-commenting enables certain C++
6628 declarations to be parsed correctly.
6630 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6632 * international/mule.el (define-coding-system): Doc fix.
6634 * simple.el (default-font-height): Don't call font-info if the
6635 frame's default font didn't change since the frame was created.
6638 2013-07-13 Leo Liu <sdl.web@gmail.com>
6640 * ido.el (ido-read-file-name): Guard against non-symbol value.
6642 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6644 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6647 2013-07-13 Leo Liu <sdl.web@gmail.com>
6649 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6650 ido-set-matches call. (Bug#6852)
6652 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6654 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6655 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6657 (ruby-font-lock-keywords): Distinguish calls to functions with
6658 module-like names from module references. Highlight character
6661 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6663 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6664 (gdb-send): Handle continued commands. (Bug#14847)
6666 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6668 * desktop.el (desktop--v2s): Remove unused local variable.
6669 (desktop-save-buffer): Make defvar-local; adjust docstring.
6670 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6671 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6673 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6675 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6677 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6679 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6682 2013-07-12 Glenn Morris <rgm@gnu.org>
6684 * doc-view.el: Require cl-lib at runtime too.
6685 (doc-view-remove-if): Remove.
6686 (doc-view-search-next-match, doc-view-search-previous-match):
6689 * edmacro.el: Require cl-lib at runtime too.
6690 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6691 (edmacro-mismatch, edmacro-subseq): Remove.
6693 * shadowfile.el: Require cl-lib.
6694 (shadow-remove-if): Remove.
6695 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6698 * wid-edit.el: Require cl-lib.
6699 (widget-choose): Use cl-remove-if.
6700 (widget-remove-if): Remove.
6702 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6703 (ebrowse-delete-if-not): Remove.
6704 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6705 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6706 Use cl-delete-if-not.
6708 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6710 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6711 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6713 2013-07-12 Leo Liu <sdl.web@gmail.com>
6715 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6717 2013-07-11 Glenn Morris <rgm@gnu.org>
6719 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6720 (edebug-gensym-index, edebug-gensym):
6721 Remove reimplementation of cl-gensym.
6722 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6724 * thumbs.el: Require cl-lib at run-time too.
6725 (thumbs-gensym-counter, thumbs-gensym):
6726 Remove reimplementation of cl-gensym.
6727 (thumbs-temp-file): Use cl-gensym.
6729 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6730 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6731 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6732 (ert--union, ert--gensym-counter, ert--gensym-counter)
6733 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6734 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6735 (ert-make-test-unbound, ert--expand-should-1)
6736 (ert--expand-should, ert--should-error-handle-error)
6737 (should-error, ert--explain-equal-rec)
6738 (ert--plist-difference-explanation, ert-select-tests)
6739 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6740 Use cl-lib functions rather than reimplementations.
6742 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6744 * net/tramp.el (tramp-methods): Extend docstring.
6745 (tramp-connection-timeout): New defcustom.
6746 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6747 (with-tramp-progress-reporter): Simplify.
6748 (tramp-process-actions): Improve messages.
6750 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6751 * net/tramp-sh.el (tramp-maybe-open-connection):
6752 Use `tramp-connection-timeout'.
6753 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6756 2013-07-11 Leo Liu <sdl.web@gmail.com>
6758 * ido.el (ido-read-file-name): Conform to the requirements of
6759 read-file-name. (Bug#11861)
6760 (ido-read-directory-name): Conform to the requirements of
6761 read-directory-name.
6763 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6765 * subr.el (delay-warning): New function.
6767 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6769 * simple.el (default-line-height): New function.
6770 (line-move-partial, line-move): Use it instead of computing the
6772 (line-move-partial): Always compute ROWH. If the last line is
6773 partially-visible, but its text is completely visible, allow
6774 cursor to enter such a partially-visible line.
6776 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6778 Improve error messages. (Bug#14808)
6780 * net/tramp.el (tramp-current-connection): New defvar, moved from
6782 (tramp-message-show-progress-reporter-message): Remove, not
6784 (tramp-error-with-buffer): Show message in minibuffer.
6785 Discard input before waiting. Reset connection timestamp.
6786 (with-tramp-progress-reporter): Improve messages.
6787 (tramp-process-actions): Use progress reporter. Delete process in
6788 case of error. Improve messages.
6790 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6791 Call `tramp-error-with-buffer' with vector and buffer.
6792 (tramp-current-connection): Remove.
6793 (tramp-maybe-open-connection): The car of
6794 `tramp-current-connection' are the first 3 slots of the vector.
6796 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6798 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6799 inside continued strings.
6801 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6803 Timestamp fixes for undo (Bug#14824).
6804 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6806 2013-07-10 Leo Liu <sdl.web@gmail.com>
6808 * files.el (require-final-newline): Allow safe local value.
6811 2013-07-09 Leo Liu <sdl.web@gmail.com>
6813 * ido.el (ido-read-directory-name): Handle fallback.
6814 (ido-read-file-name): Update DIR to ido-current-directory.
6816 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6818 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6820 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6821 "autoload". Remove "warn lower camel case" section, previously
6822 commented out. Highlight negation char. Do not highlight the
6823 target in singleton method definitions.
6825 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6827 * faces.el (tty-setup-hook): Declare the hook.
6829 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6830 and detect when a guard/pred depends on local vars (bug#14773).
6831 (pcase--u1): Adjust caller.
6833 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6835 * simple.el (line-move-partial, line-move): Account for
6837 (line-move-partial): Avoid setting vscroll when the last
6838 partially-visible line in window is of default height.
6840 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6842 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6845 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6847 * subr.el (read-quoted-char): Remove unused local variable `char'.
6849 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6851 * ediff.el (ediff-version): Version update.
6852 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6853 (ediff-merge-with-ancestor-command, ediff-directories-command)
6854 (ediff-directories3-command, ediff-merge-directories-command)
6855 (ediff-merge-directories-with-ancestor-command): New functions.
6856 All are command-line interfaces to ediff: to facilitate calling
6857 Emacs with the appropriate ediff functions invoked.
6859 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6860 (viper-save-kill-buffer): Check if buffer is modified.
6862 * viper.el (viper-version): Version update.
6863 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6865 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6867 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6868 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6869 (viper-intercept-ESC-key): Simplify.
6870 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6871 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6872 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6873 (viper-setup-ESC-to-escape): New functions.
6874 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6875 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6877 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6879 * simple.el (default-font-height, window-screen-lines):
6881 (line-move, line-move-partial): Use them instead of
6882 frame-char-height and window-text-height. This makes scrolling
6883 text smoother when the buffer's default face uses a font that is
6884 different from the frame's default font.
6886 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6888 * files.el (write-file): Do not display confirm dialog for NS,
6889 it does its own dialog, which can't be cancelled (Bug#14578).
6891 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6893 * simple.el (line-move-partial): Adjust the row returned by
6894 posn-at-point for the current window-vscroll. (Bug#14567)
6896 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6898 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6899 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6902 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6904 * window.el (window-state-put-stale-windows): New variable.
6905 (window--state-put-2): Save list of windows without matching buffer.
6906 (window-state-put): Remove "bufferless" windows if possible.
6908 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6910 * simple.el (alternatives-define): Remove leftover :group keyword.
6913 2013-07-06 Leo Liu <sdl.web@gmail.com>
6915 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6916 (ido-enable-virtual-buffers): New variable.
6917 (ido-buffer-internal, ido-toggle-virtual-buffers)
6918 (ido-make-buffer-list): Use it.
6919 (ido-exhibit): Support turning on and off virtual buffers
6922 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6924 * simple.el (alternatives-define): New macro.
6926 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6928 * subr.el (read-quoted-char): Use read-key.
6929 (sit-for): Let read-event decode tty input (bug#14782).
6931 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6933 * calendar/todo-mode.el: Add handling of file deletion, both by
6934 mode command and externally. Fix various related bugs.
6935 Clarify Commentary and improve some documentation strings and code.
6936 (todo-delete-file): New command.
6937 (todo-check-file): New function.
6938 (todo-show): Handle external deletion of the file we're trying to
6939 show (bug#14688). Replace called-interactively-p by an optional
6940 prefix argument to avoid problematic interaction with catch form
6941 when byte compiled (bug#14702).
6942 (todo-quit): Handle external deletion of the archive's todo file.
6943 Make sure the buffer that was visiting the archive file is still
6944 live before trying to bury it.
6945 (todo-category-completions): Handle external deletion of any
6946 category completion files.
6947 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6948 of todo files, in case of external deletion.
6949 (todo-add-file): Replace unnecessary setq by let-binding.
6950 (todo-find-archive): Check whether there are any archives.
6951 Replace unnecessary setq by let-binding.
6952 (todo-archive-done-item): Use find-file-noselect to get the
6953 archive buffer whether or not the archive already exists.
6954 Remove superfluous code. Use file size instead of buffer-file-name to
6955 check if the archive is new; if it is, update list of archives.
6956 (todo-default-todo-file): Allow nil to be a valid value for when
6957 there are no todo files.
6958 (todo-reevaluate-default-file-defcustom): Use corrected definition
6959 of todo-default-todo-file.
6960 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6961 (todo-delete-category, todo-show-categories-table)
6962 (todo-category-number): Clarify comment.
6963 (todo-filter-items): Clarify documentation string.
6964 (todo-show-current-file, todo-display-as-todo-file)
6965 (todo-reset-and-enable-done-separator): Tweak documentation string.
6966 (todo-done-separator): Make separator length window-width, since
6967 bug#2749 is now fixed.
6969 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6971 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6972 Support both "gvfs-monitor-dir" and "inotifywait".
6973 (tramp-sh-file-inotifywait-process-filter): Rename from
6974 `tramp-sh-file-notify-process-filter'.
6975 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6976 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6978 2013-07-05 Leo Liu <sdl.web@gmail.com>
6980 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6982 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6984 * frame.el (display-pixel-height, display-pixel-width)
6985 (display-mm-height, display-mm-width): Mention behavior on
6986 multi-monitor setups in docstrings.
6987 (w32-display-monitor-attributes-list): Declare function.
6988 (display-monitor-attributes-list): Use it.
6990 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6992 * filenotify.el: New package.
6994 * autorevert.el (top): Require filenotify.el.
6995 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6997 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6998 (auto-revert-notify-handler): Use `file-notify-*' functions.
7000 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7002 * net/tramp.el (tramp-file-name-for-operation):
7003 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7005 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7006 for `file-notify-add-watch' and `file-notify-rm-watch'.
7007 (tramp-process-sentinel): Improve trace.
7008 (tramp-sh-handle-file-notify-add-watch)
7009 (tramp-sh-file-notify-process-filter)
7010 (tramp-sh-handle-file-notify-rm-watch)
7011 (tramp-get-remote-inotifywait): New defuns.
7013 2013-07-03 Juri Linkov <juri@jurta.org>
7015 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7016 call of `occur-read-primary-args' to interactive spec.
7018 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7019 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7021 2013-07-03 Matthias Meulien <orontee@gmail.com>
7023 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7024 `Buffer-menu-multi-occur'. Add it to the menu.
7025 (Buffer-menu-mode): Document it in docstring.
7026 (Buffer-menu-multi-occur): New command. (Bug#14673)
7028 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7030 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7031 keywords and built-ins.
7033 2013-07-03 Glenn Morris <rgm@gnu.org>
7035 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7037 Make info-xref checks case-sensitive by default
7038 * info.el (Info-find-node, Info-find-in-tag-table)
7039 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7040 Add option for exact case matching of nodes.
7041 * info-xref.el (info-xref): New custom group.
7042 (info-xref-case-fold): New option.
7043 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7045 2013-07-03 Leo Liu <sdl.web@gmail.com>
7047 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7049 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7051 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7052 middle of block statement initially, lower the depth. Remove
7053 FIXME comment, not longer valid. Remove middle of block statement
7054 detection, no need to do that anymore since we've been using
7055 `ruby-parse-region' here.
7057 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7059 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7061 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7063 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7065 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7067 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7068 (desktop-restore-in-current-display): New customization option.
7069 (desktop--excluded-frame-parameters): Add `font'.
7070 (desktop--save-frames): Rename from desktop--save-windows.
7071 (desktop--restore-in-this-display-p): New function.
7072 (desktop--make-full-frame): Remove unwanted width/height from
7073 full(width|height) frames.
7074 (desktop--restore-frames): Rename from desktop--restore-windows.
7075 Obey desktop-restore-current-display. Do not delete old frames or
7076 select a new frame unless we were able to restore at least one frame.
7078 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7080 * files.el (find-file-noselect): Simplify conditional expression.
7082 * remember.el (remember-append-to-file):
7083 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7085 Add `remember-notes' function to store random notes across Emacs
7087 * remember.el (remember-data-file): Add :set callback to affect
7088 notes buffer (if any).
7089 (remember-notes): New command.
7090 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7091 New defcustoms for the `remember-notes' function.
7092 (remember-notes-save-and-bury-buffer): New command.
7093 (remember-notes-mode-map): New variable.
7094 (remember-mode): New minor mode.
7095 (remember-notes--kill-buffer-query): New function.
7096 * startup.el (initial-buffer-choice): Add notes to custom type.
7098 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7100 * bindings.el (right-char, left-char): Don't call sit-for, this is
7101 no longer needed. Use arithmetic comparison only for numerical
7104 * international/mule-cmds.el (select-safe-coding-system):
7105 Handle the case of FROM being a string correctly. (Bug#14755)
7107 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7109 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7110 progression on degenerate tables.
7111 (shr-rescale-image): ImageMagick animated images currently don't work.
7113 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7115 Some fixes and improvements for desktop frame restoration.
7116 It is still experimental and disabled by default.
7117 * desktop.el (desktop--save-windows): Put the selected frame at
7118 the head of the list.
7119 (desktop--make-full-frame): New function.
7120 (desktop--restore-windows): Try to re-select the frame that was
7121 selected upon saving. Do not abort if some frames fail to restore,
7122 just show an error message and continue. Set up maximized frames
7123 so they have default non-maximized dimensions.
7125 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7127 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7128 Don't start heredoc inside a string or comment.
7130 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7132 * bindings.el (visual-order-cursor-movement): New defcustom.
7133 (right-char, left-char): Provide visual-order cursor motion by
7134 calling move-point-visually. Update the doc strings.
7136 2013-06-28 Kenichi Handa <handa@gnu.org>
7138 * international/mule.el (define-coding-system): New coding system
7139 properties :inhibit-null-byte-detection,
7140 :inhibit-iso-escape-detection, and :prefer-utf-8.
7141 (set-buffer-file-coding-system): If :charset-list property of
7142 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7143 appropriate for setting.
7145 * international/mule-cmds.el (select-safe-coding-system):
7146 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7147 multibyte characters, return utf-8 (or one of its siblings).
7149 * international/mule-conf.el (prefer-utf-8): New coding system.
7150 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7153 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7155 * net/shr.el (shr-render-region): New function.
7157 * net/eww.el: Autoload `eww-browse-url'.
7159 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7161 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7162 Adapt to `package-desc-version' being a list.
7163 Use `package--ac-desc-version' to retrieve version from a package
7166 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7168 New experimental feature to save&restore window and frame setup.
7169 * desktop.el (desktop-save-windows): New defcustom.
7170 (desktop--saved-states): New var.
7171 (desktop--excluded-frame-parameters): New defconst.
7172 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7173 (desktop--restore-windows, desktop--save-windows): New functions.
7174 (desktop-save): Call `desktop--save-windows'.
7175 (desktop-read): Call `desktop--restore-windows'.
7177 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7179 * net/shr.el (add-face-text-property): Remove compat definition.
7181 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7183 * info.el (Info-try-follow-nearest-node): Move search for footnote
7184 above search for node name to prevent missing a footnote (bug#14717).
7186 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7188 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7190 2013-06-27 Leo Liu <sdl.web@gmail.com>
7192 * net/eww.el (eww-read-bookmarks): Check file size.
7194 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7196 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7197 advice--pending if newdef is nil or an autoload (bug#13820).
7198 (advice-mapc): New function.
7200 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7202 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7204 (eww-mode-map): Add a menu bar.
7205 (eww-add-bookmark): New command.
7206 (eww-bookmark-mode): New mode and commands.
7207 (eww-add-bookmark): Remove newlines from the title.
7208 (eww-bookmark-browse): Don't bug out if it's the only window.
7210 2013-06-26 Glenn Morris <rgm@gnu.org>
7212 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7213 (hfy-size): Handle ttys. (Bug#14668)
7215 * info-xref.el: Update for Texinfo 5 change in *note format.
7216 (info-xref-node-re, info-xref-note-re): New constants.
7217 (info-xref-check-buffer): Use info-xref-note-re.
7219 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7221 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7223 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7224 nil terminate the loop (bug#14718).
7226 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7228 * net/eww.el: Rework history traversal. When going forward/back,
7229 put these actions into the history, too, so that they can be
7231 (eww-render): Move the history reset to the correct buffer.
7233 2013-06-25 Juri Linkov <juri@jurta.org>
7235 * files-x.el (modify-dir-local-variable): Change the header comment
7236 in the file with directory local variables. (Bug#14692)
7238 * files-x.el (read-file-local-variable-value): Add `default'.
7241 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7243 * net/eww.el (eww-make-unique-file-name): Create a unique file
7244 name before saving to entering `y' accidentally asynchronously.
7246 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7248 * net/eww.el (eww-download): New command and keystroke.
7250 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7252 * net/eww.el (eww-copy-page-url): Change name of command.
7254 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7255 be more consistent with Info and dired.
7257 * net/eww.el (eww-mode-map): Ditto.
7259 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7261 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7262 packages from archives.
7263 (package-archive-contents): Change format; include obsolete packages.
7264 (package-desc): Use `dir' to mark builtin packages.
7265 (package--from-builtin): Set the `dir' field to `builtin'.
7266 (generated-autoload-file, version-control): Declare.
7267 (package-compute-transaction): Change first arg and return value to be
7268 lists of package-descs. Adjust to new package-archive-contents format.
7269 (package--add-to-archive-contents): Adjust to new
7270 package-archive-contents format.
7271 (package-download-transaction): Arg is now a list of package-descs.
7272 (package-install): If `pkg' is a package name, pass it as
7273 a requirement, so it is subject to the usual (e.g. disabled) checks.
7274 (describe-package): Accept package-desc as well.
7275 (describe-package-1): Describe a specific package-desc. Add links to
7276 other package-descs for the same package name.
7277 (package-menu-describe-package): Pass the actual package-desc.
7278 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7280 (package-desc-status): New function.
7281 (package-menu--refresh): New function, extracted
7282 from package-menu--generate.
7283 (package-menu--generate): Use it.
7284 (package-delete): Update package-alist.
7285 (package-menu-execute): Don't call package-initialize.
7287 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7288 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7289 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7290 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7291 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7292 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7294 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7296 * window.el (window--state-get-1): Workaround for bug#14527.
7297 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7299 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7301 * net/eww.el (eww-back-url): Implement the history by stashing all
7302 the data into a list.
7303 (eww-forward-url): Allow going forward in the history, too.
7305 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7307 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7308 for values and use read--expression for expressions (bug#14710).
7309 (read-file-local-variable): Avoid setq.
7310 (read-file-local-variable-mode): Use minor-mode-list.
7312 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7314 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7317 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7319 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7320 Update imenu-support when dialect changes.
7322 2013-06-25 Leo Liu <sdl.web@gmail.com>
7324 * ido.el (ido-read-internal): Allow forward slash on windows.
7326 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7328 * net/eww.el (eww): Start of strings is \\`, not ^.
7330 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7332 * net/shr.el (shr-browse-url): Fix interactive spec.
7334 * net/eww.el (eww): Add a trailing slash to domain names.
7336 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7338 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7340 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7342 * net/shr.el (shr-browse-url): Use an external browser if given a
7345 * net/eww.el (eww-external-browser): Move to shr.
7347 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7349 * net/eww.el (eww): Work more correctly for file: URLs.
7350 (eww-detect-charset): Allow quoted charsets.
7351 (eww-yank-page-url): New command and keystroke.
7353 2013-06-24 Daiki Ueno <ueno@gnu.org>
7355 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7356 file name of gpg executable.
7357 (epg-context-program): New function.
7358 (epg-context-home-directory): New function.
7359 (epg-context-set-program): New function.
7360 (epg-context-set-home-directory): New function.
7361 (epg--start): Use `epg-context-program' instead of
7363 (epg--list-keys-1): Likewise.
7365 2013-06-24 Leo Liu <sdl.web@gmail.com>
7367 * ido.el (ido-read-internal): Fix bug#14620.
7369 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7371 * faces.el (face-documentation): Simplify.
7372 (read-face-attribute, tty-find-type, x-resolve-font-name):
7373 Use `string-match-p'.
7374 (list-faces-display): Use `string-match-p'. Simplify.
7375 (face-spec-recalc): Check face to avoid face alias loops.
7376 (read-color): Use `string-match-p' and non-capturing parenthesis.
7378 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7380 * net/shr.el (shr-rescale-image): Use the new
7381 :max-width/:max-height functionality.
7383 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7385 * net/eww.el (eww-search-prefix): New variable.
7387 (eww-external-browser): New variable.
7388 (eww-mode-map): New keystroke.
7389 (eww-browse-with-external-browser): New command.
7391 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7393 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7395 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7396 Don't skip aligning the next header field when padding is 0;
7397 otherwise, field width is not respected unless the title is as
7400 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7402 * emacs-lisp/package.el (package-el-version): Remove.
7403 (package-process-define-package): Fix inf-loop.
7404 (package-install): Allow symbols as arguments again.
7406 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7408 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7409 add some more keyword-like methods.
7410 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7412 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7414 * bs.el (bs-buffer-show-mark): Make defvar-local.
7415 (bs-mode): Use setq-local.
7417 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7418 (emacs-lock--try-unlocking): Make defvar-local.
7420 2013-06-22 Glenn Morris <rgm@gnu.org>
7422 * play/cookie1.el (cookie-apropos): Minor simplification.
7424 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7426 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7428 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7429 `regexp-opt', it breaks the build during dumping.
7431 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7433 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7434 Highlight keyword-like methods on Kernel and Module with
7435 font-lock-builtin-face.
7436 (auto-mode-alist): Consolidate different entries into one regexp
7437 and add more *file-s.
7439 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7441 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7443 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7444 (diary-entry): Use it in the action of this button type instead of
7447 * calendar/todo-mode.el: New version.
7448 (todo-add-category): Append new category to end of file and give
7449 it the highest number, instead of putting it at the beginning and
7450 giving it 0. Incorporate noninteractive functionality.
7451 (todo-forward-category): Adapt to 1-based category numbering.
7452 Allow skipping over archived categories.
7453 (todo-backward-category): Derive from todo-forward-category.
7454 (todo-backward-item, todo-forward-item): Make noninteractive and
7455 delegate interactive part to new commands. Make sensitive to done items.
7456 (todo-categories): Make value an alist of category names and
7457 vectors of item counts.
7458 (todo-category-beg): Make a defconst.
7459 (todo-category-number): Use 1 instead of 0 as initial value.
7460 (todo-category-select): Make sensitive to overlays, optional item
7461 highlighting and done items.
7462 (todo-delete-item): Make sensitive to overlays and marked and done items.
7463 (todo-edit-item): Make sensitive to overlays and editing of
7464 date/time header optional. Add format checks.
7465 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7466 no-op if point is not on an item. Advertise using todo-edit-quit.
7467 (todo-edit-mode): Make sensitive to new format, font-locking, and
7468 multiple todo files.
7469 (todo-insert-item, todo-insert-item-here): Derive from
7470 todo-basic-insert-item and extend functionality.
7471 (todo-item-end, todo-item-start): Make sensitive to done items.
7472 (todo-item-string): Don't return text properties. Restore point.
7473 (todo-jump-to-category): Make sensitive to multiple todo files and
7474 todo archives. Use extended category completion.
7475 (todo-lower-item, todo-raise-item): Rename to *-priority and
7476 derive from todo-set-item-priority.
7477 (todo-mode): Derive from special-mode. Make sensitive to new
7478 format, font-locking and multiple todo files. Make read-only.
7479 (todo-mode-map): Don't suppress digit keys, so they can supply
7480 prefix arguments. Add many new key bindings.
7481 (todo-prefix): Insert as an overlay instead of file text.
7482 Change semantics from diary date expression to purely visual mark.
7483 (todo-print): Rename to todo-print-buffer. Make buffer display
7484 features printable. Remove option to restrict number of items
7485 printed. Add option to print to file.
7486 (todo-print-function): Rename to todo-print-buffer-function.
7487 (todo-quit): Extend to handle exiting new todo modes.
7488 (todo-remove-item): Make sensitive to overlays.
7489 (todo-save): Extend to buffers of filtered items.
7490 (todo-show): Make sensitive to done items, multiple todo files and
7491 new todo modes. Offer to convert legacy todo file before creating
7492 first new todo file.
7493 (todo-show-priorities): Rename to todo-top-priorities.
7494 Change semantics of value 0.
7495 (todo-top-priorities): Rename to todo-filter-top-priorities,
7496 derive from todo-filter-items and extend functionality.
7497 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7498 and extend functionality to other types of filtered items.
7499 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7500 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7501 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7502 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7503 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7504 (todo-edit-mode-hook, todo-entry-prefix-function)
7505 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7506 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7507 (todo-initials, todo-insert-threshold, todo-item-string-start)
7508 (todo-line-string, todo-menu, todo-mode-hook)
7509 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7510 (todo-print-priorities, todo-remove-separator)
7511 (todo-save-top-priorities-too, todo-string-count-lines)
7512 (todo-string-multiline-p, todo-time-string-format)
7513 (todo-tmp-buffer-name): Remove.
7514 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7515 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7516 (todo-edit-category-diary-inclusion)
7517 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7518 (todo-edit-file, todo-edit-item-date-day)
7519 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7520 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7521 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7522 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7523 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7524 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7525 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7526 (todo-filter-top-priorities-multifile, todo-find-archive)
7527 (todo-find-filtered-items-file, todo-go-to-source-item)
7528 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7529 (todo-jump-to-archive-category, todo-lower-category)
7530 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7531 (todo-move-category, todo-move-item, todo-next-button)
7532 (todo-next-item, todo-padded-string, todo-powerset)
7533 (todo-previous-button, todo-previous-item)
7534 (todo-print-buffer-to-file, todo-raise-category)
7535 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7536 (todo-set-category-number, todo-set-item-priority)
7537 (todo-set-top-priorities-in-category)
7538 (todo-set-top-priorities-in-file, todo-show-categories-table)
7539 (todo-sort-categories-alphabetically-or-numerically)
7540 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7541 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7542 (todo-toggle-item-header, todo-toggle-item-highlighting)
7543 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7544 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7545 (todo-unarchive-items, todo-unmark-category): New commands.
7546 (todo-absolute-file-name, todo-add-to-buffer-list)
7547 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7548 (todo-basic-insert-item, todo-category-completions)
7549 (todo-category-number, todo-category-string-matcher-1)
7550 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7551 (todo-check-format, todo-clear-matches)
7552 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7553 (todo-current-category, todo-date-string-matcher)
7554 (todo-define-insertion-command, todo-diary-expired-matcher)
7555 (todo-diary-goto-entry, todo-diary-item-p)
7556 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7557 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7558 (todo-done-item-section-p, todo-done-separator)
7559 (todo-done-string-matcher, todo-files, todo-filter-items)
7560 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7561 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7562 (todo-insert-category-line, todo-insert-item-from-calendar)
7563 (todo-insert-sort-button, todo-insert-with-overlays)
7564 (todo-insertion-command-name, todo-insertion-key-bindings)
7565 (todo-label-to-key, todo-longest-category-name-length)
7566 (todo-make-categories-list, todo-mode-external-set)
7567 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7568 (todo-modes-set-3, todo-multiple-filter-files)
7569 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7570 (todo-read-category, todo-read-date, todo-read-dayname)
7571 (todo-read-file-name, todo-read-time)
7572 (todo-reevaluate-category-completions-files-defcustom)
7573 (todo-reevaluate-default-file-defcustom)
7574 (todo-reevaluate-filelist-defcustoms)
7575 (todo-reevaluate-filter-files-defcustom)
7576 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7577 (todo-reset-done-separator, todo-reset-done-separator-string)
7578 (todo-reset-done-string, todo-reset-global-current-todo-file)
7579 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7580 (todo-reset-prefix, todo-set-categories)
7581 (todo-set-date-from-calendar, todo-set-show-current-file)
7582 (todo-set-top-priorities, todo-short-file-name)
7583 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7584 (todo-total-item-counts, todo-update-buffer-list)
7585 (todo-update-categories-display, todo-update-categories-sexp)
7586 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7588 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7590 (todo-categories, todo-display, todo-edit, todo-faces)
7591 (todo-filtered): New defgroups.
7592 (todo-archived-only, todo-button, todo-category-string, todo-date)
7593 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7594 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7595 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7596 (todo-add-item-if-new-category, todo-always-add-time-string)
7597 (todo-categories-align, todo-categories-archived-label)
7598 (todo-categories-category-label, todo-categories-diary-label)
7599 (todo-categories-done-label, todo-categories-number-separator)
7600 (todo-categories-todo-label, todo-categories-totals-label)
7601 (todo-category-completions-files, todo-completion-ignore-case)
7602 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7603 (todo-done-separator-string, todo-done-string)
7604 (todo-files-function, todo-filter-done-items, todo-filter-files)
7605 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7606 (todo-initial-category, todo-initial-file, todo-item-mark)
7607 (todo-legacy-date-time-regexp, todo-mode-line-function)
7608 (todo-nondiary-marker, todo-number-prefix)
7609 (todo-print-buffer-function, todo-show-current-file)
7610 (todo-show-done-only, todo-show-first, todo-show-with-done)
7611 (todo-skip-archived-categories, todo-top-priorities-overrides)
7612 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7613 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7615 (todo-category-done, todo-date-pattern, todo-date-string-start)
7616 (todo-diary-items-buffer, todo-done-string-start)
7617 (todo-filtered-items-buffer, todo-item-start)
7618 (todo-month-abbrev-array, todo-month-name-array)
7619 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7620 (todo-top-priorities-buffer): New defconsts.
7621 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7622 (todo-categories-with-marks, todo-category-string-face)
7623 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7624 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7625 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7626 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7627 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7628 (todo-font-lock-keywords, todo-global-current-todo-file)
7629 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7630 (todo-insertion-commands-args)
7631 (todo-insertion-commands-args-genlist)
7632 (todo-insertion-commands-names, todo-insertion-map)
7633 (todo-key-bindings-t, todo-key-bindings-t+a)
7634 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7635 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7636 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7637 (todo-visited): New variables.
7639 2013-06-21 Glenn Morris <rgm@gnu.org>
7641 * play/cookie1.el (cookie-apropos): Add optional display argument.
7642 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7643 (psychoanalyze-pinhead): Use cookie-doctor.
7645 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7647 * emacs-lisp/package.el (tar-get-file-descriptor)
7648 (tar--extract): Declare.
7650 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7652 Extend flymake's warning predicate to be a function (bug#14217).
7653 * progmodes/flymake.el (flymake-warning-predicate): New.
7654 (flymake-parse-line): Use it.
7655 (flymake-warning-re): Make obsolete alias to
7656 `flymake-warning-predicate'.
7658 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7660 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7661 (package-obsolete-list): Remove.
7662 (package-activate): Remove min-version argument. Add `force' argument.
7663 Adjust to new package-alist format.
7664 (package-mark-obsolete): Remove.
7665 (package-unpack): Force reload of the package's autoloads.
7666 (package-installed-p): Check builtins if the installed package is not
7668 (package-initialize): Don't reset package-obsolete-list.
7669 Don't specify which package version to activate.
7670 (package-process-define-package, describe-package-1)
7671 (package-menu--generate): Adjust to new package-alist format.
7673 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7675 * allout-widgets.el (allout-widgets-mode-off)
7676 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7677 (allout-widgets-post-command-business)
7678 (allout-widgets-after-copy-or-kill-function)
7679 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7680 (allout-decorate-item-and-context)
7681 (allout-graphics-modification-handler): Fix typos in docstrings.
7682 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7684 * cmuscheme.el (scheme-start-file): Doc fix.
7685 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7686 (scheme-input-filter): Use `string-match-p'.
7688 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7690 * dired-x.el: Use Dired consistently in docstrings.
7692 * dired.el: Use Dired consistently in docstrings.
7693 (dired-readin, dired-mode): Use `setq-local'.
7694 (dired-switches-alist): Make defvar-local.
7695 (dired-buffers-for-dir): Use `zerop'.
7696 (dired-safe-switches-p, dired-switches-escape-p)
7697 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7698 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7699 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7700 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7701 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7702 (dired-toggle-marks, dired-mark-files-containing-regexp)
7703 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7704 (dired-flag-auto-save-files, dired-flag-backup-files):
7706 (dired-mark-files-regexp, dired-build-subdir-alist):
7707 Use `string-match-p', `looking-at-p'.
7709 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7710 (direct-print-region-helper): Use `string-match-p'.
7712 2013-06-21 Leo Liu <sdl.web@gmail.com>
7714 * comint.el (comint-redirect-results-list-from-process):
7717 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7719 * net/eww.el (eww-update-header-line-format): Quote % characters.
7721 2013-06-21 Glenn Morris <rgm@gnu.org>
7723 * play/cookie1.el (cookie): New custom group.
7724 (cookie-file): New option.
7725 (cookie-check-file): New function.
7726 (cookie): Make it interactive. Make start and end messages optional.
7727 Interactively, display the result. Default to cookie-file.
7728 (cookie-insert): Default to cookie-file.
7729 (cookie-snarf): Make start and end messages optional.
7730 Default to cookie-file. Use with-temp-buffer.
7731 (cookie-read): Rename from read-cookie.
7732 Make start and end messages optional. Default to cookie-file.
7733 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7735 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7736 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7738 2013-06-21 Leo Liu <sdl.web@gmail.com>
7740 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7742 2013-06-21 Glenn Morris <rgm@gnu.org>
7744 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7746 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7747 Daniel Hackney <dan@haxney.org>
7749 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7750 Consolidate the single-file vs tarball code.
7751 (package-desc-suffix): New function.
7752 (package-desc-full-name): Don't bother inlining it.
7753 (package-load-descriptor): Return the new package-desc.
7754 (package-mark-obsolete): Remove unused arg `package'.
7755 (package-unpack): Make it work for single files as well.
7756 Make it update package-alist.
7757 (package--make-autoloads-and-stuff): Rename from
7758 package--make-autoloads-and-compile. Don't compile any more.
7759 (package--compile): New function.
7760 (package-generate-description-file): New function, extracted from
7761 package-unpack-single.
7762 (package-unpack-single): Remove.
7763 (package--with-work-buffer): Add indentation and debugging info.
7764 (package-download-single): Remove.
7765 (package-install-from-archive): Rename from package-download-tar, make
7766 it take a pkg-desc, and make it work for single files as well.
7767 (package-download-transaction): Simplify.
7768 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7769 external tar program.
7770 (package-install-from-buffer): Remove `pkg-desc' argument.
7771 Use package-tar-file-info for tar-mode buffers.
7772 (package-install-file): Simplify accordingly.
7773 (package-archive-base): Change to take a pkg-desc.
7774 * tar-mode.el (tar--check-descriptor): New function, extracted from
7776 (tar-get-descriptor): Use it.
7777 (tar-get-file-descriptor): New function.
7778 (tar--extract): New function, extracted from tar-extract.
7779 (tar--extract): Use it.
7780 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7781 case the summary uses non-ascii. Adjust to new calling convention of
7782 package-tar-file-info.
7784 2013-06-21 Leo Liu <sdl.web@gmail.com>
7786 * comint.el (comint-redirect-results-list-from-process):
7787 Fix random delay. (Bug#14681)
7789 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7791 * profiler.el (profiler-format-number): Use log, not log10.
7793 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7795 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7797 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7799 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7800 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7802 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7803 (AUTOGENEL): ... here.
7804 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7805 (cl--defsubst-expand): Use it.
7807 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7809 * subr.el (log10): Move here from C code, and declare as obsolete.
7810 All uses of (log10 X) replaced with (log X 10).
7812 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7814 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7815 Declare with `defvar-local'.
7816 (tabulated-list-use-header-line, tabulated-list-entries)
7817 (tabulated-list-padding, tabulated-list-printer)
7818 (tabulated-list-sort-key): Declare with `defvar-local'.
7819 (tabulated-list-init-header, tabulated-list-print-fake-header):
7822 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7824 * arc-mode.el (archive-mode): Add `archive-write-file' to
7825 `write-contents-functions' also for remote files. (Bug#14652)
7827 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7829 * cus-edit.el (custom-commands): Fix typos.
7830 (custom-display): Fix tooltip text.
7831 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7832 Fix typos in docstrings.
7833 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7834 (custom-unlispify-menu-entry, custom-magic-value-create)
7835 (custom-add-see-also, custom-group-value-create): Use ?\s.
7836 (custom-guess-type, customize-apropos, editable-field)
7837 (custom-face-value-create): Use `string-match-p'.
7838 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7840 * custom.el (custom-load-symbol): Use `string-match-p'.
7842 * ansi-color.el: Convert to lexical binding.
7843 (ansi-colors): Fix URL.
7844 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7845 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7846 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7848 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7850 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7852 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7854 2013-06-19 Tom Tromey <tromey@redhat.com>
7856 * net/eww.el (eww-top-url): Remove.
7857 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7858 (eww-render): Set new variables. Don't set eww-top-url.
7859 (eww-handle-link): Handle "prev", "home", and "contents".
7860 Downcase the rel text.
7861 (eww-top-url): Choose best top URL.
7863 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7865 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7866 relying in widget.el. Using widget.el leads to too many
7867 user interface inconsistencies.
7868 (eww-self-insert): Implement entering commands in text fields.
7869 (eww-process-text-input): New function to make text input field editing
7871 (eww-submit): Rewrite to use the new-style form methods.
7872 (eww-select-display): Display the correct selected item.
7873 (eww-change-select): Implement changing the select value.
7874 (eww-toggle-checkbox): Implement radio/checkboxes.
7875 (eww-update-field): Fix compilation error.
7876 (eww-tag-textarea): Implement <textarea>.
7878 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7879 we don't shadow mode-specific bindings.
7881 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7884 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7886 2013-06-19 Glenn Morris <rgm@gnu.org>
7888 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7890 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7892 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7895 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7897 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7899 * net/browse-url.el (browse-url-browser-function):
7900 `eww-browse-url' has the right calling signature, `eww' does not.
7902 2013-06-19 Glenn Morris <rgm@gnu.org>
7904 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7905 Only eval autoloaded macros.
7906 (byte-compile-autoload): Only give the macro warning for macros.
7908 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7909 (ps-underlined-faces): Declare.
7911 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7912 (speedbar-add-supported-extension): Declare.
7914 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7915 Don't include a date stamp in the header of the generated file;
7916 it leads to needless differences between output files.
7918 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7920 * net/secrets.el (secrets-struct-secret-content-type):
7921 Replace check of introspection data by a test call of "CreateItem".
7922 Some servers do not offer introspection.
7924 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7926 * electric.el (electric-pair-mode): Improve interaction with
7927 electric-layout-mode.
7928 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7929 (electric-pair-syntax): Use text-mode-syntax-table in comments
7931 (electric-pair--insert): New function.
7932 (electric-pair-post-self-insert-function): Use it and
7933 electric--after-char-pos.
7935 2013-06-19 Leo Liu <sdl.web@gmail.com>
7937 * progmodes/octave.el (octave-help): Fix regexp.
7939 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7941 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7942 (shr-table-horizontal-line): Allow nil as a value, and change the
7944 (shr-insert-table-ruler): Respect the nil value.
7946 2013-06-18 Tom Tromey <tromey@barimba>
7948 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7950 (eww-open-file): New defun.
7951 (eww-render): Initialize new variables.
7952 (eww-display-html): Handle "link" and "a".
7953 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7954 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7955 (eww-back-url): Rename from eww-previous-url.
7956 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7959 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7961 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7962 Distinguish ternary operator tokens from slash symbol and slash
7965 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7967 Convert symbol prettification into minor mode and global minor mode.
7969 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7970 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7971 (prettify-symbols--keywords): Rename from
7972 `prog-prettify-symbols-alist' and make a local defvar.
7973 (prettify-symbols--compose-symbol): Rename from
7974 `prog--prettify-font-lock-compose-symbol'.
7975 (prettify-symbols--make-keywords): Rename from
7976 `prog-prettify-font-lock-symbols-keywords' and simplify.
7977 (prog-prettify-install): Remove.
7978 (prettify-symbols-mode): New minor mode, based on
7979 `prog-prettify-install'.
7980 (turn-on-prettify-symbols-mode): New function.
7981 (global-prettify-symbols-mode): New globalized minor mode.
7983 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7984 * progmodes/cfengine.el (cfengine3-mode):
7985 * progmodes/perl-mode.el (perl-mode): Don't call
7986 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7988 2013-06-18 Juri Linkov <juri@jurta.org>
7990 * files-x.el (modify-file-local-variable-message): New function.
7991 (modify-file-local-variable)
7992 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7993 and call `modify-file-local-variable-message' when it's non-nil.
7994 (add-file-local-variable, delete-file-local-variable)
7995 (add-file-local-variable-prop-line)
7996 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7997 and use it. (Bug#9820)
7999 2013-06-18 Juri Linkov <juri@jurta.org>
8001 * emulation/vi.el (vi-shell-op):
8002 * emulation/vip.el (vip-execute-com, ex-command):
8003 * emulation/viper-cmd.el (viper-exec-bang):
8004 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8005 the call of `shell-command-on-region'. (Bug#14637)
8007 * simple.el (shell-command-on-region): Doc fix.
8009 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8011 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8014 2013-06-18 Glenn Morris <rgm@gnu.org>
8016 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8018 * newcomment.el (comment-search-forward, comment-search-backward):
8019 Doc fix. (Bug#14376)
8021 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8023 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8024 (buffer-face-mode-invoke): Doc fix.
8026 2013-06-18 Matthias Meulien <orontee@gmail.com>
8028 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8029 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8031 2013-06-18 Glenn Morris <rgm@gnu.org>
8033 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8034 Replace obsolete function generic-make-keywords with its expansion.
8036 * progmodes/python.el (ffap-alist): Declare.
8038 * textmodes/reftex.el (bibtex-mode-map): Declare.
8040 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8042 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8043 (package-unpack, package-unpack-single): Return the pkg-dir.
8044 (package-download-transaction): Use it to update package-alist.
8046 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8048 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8051 2013-06-17 Juri Linkov <juri@jurta.org>
8053 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8055 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8057 * emacs-lisp/package.el (package-load-descriptor):
8058 Remove `with-syntax-table' call, `read' doesn't need it.
8059 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8061 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8063 * startup.el (command-line): Expand package name returned by
8064 `package--description-file' (bug#14639).
8066 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8068 * emacs-lisp/package.el (package-load-descriptor): Do not call
8069 `emacs-lisp-mode', just use its syntax table.
8071 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8073 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8074 `font-lock-extra-managed-props' if any prettifying keyword is added.
8075 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8076 (prog-mode): Use `setq-local'.
8078 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8080 * international/characters.el (standard-case-table): Set syntax of ?»
8081 and ?« to punctuation.
8083 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8085 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8086 Save relevant match data before calling `syntax-ppss' (bug#14595).
8088 2013-06-15 Juri Linkov <juri@jurta.org>
8090 * files-x.el (modify-file-local-variable-prop-line): Add local
8091 variables to the end of the existing comment on the first line.
8092 Use `file-auto-mode-skip' to skip interpreter magic line,
8093 and also skip XML declaration.
8095 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8097 * startup.el (package--builtin-versions): New var.
8098 (package-subdirectory-regexp): Remove.
8099 (package--description-file): Hard code its value instead.
8101 * emacs-lisp/package.el: Don't activate packages older than builtin.
8102 (package-obsolete-list): Rename from package-obsolete-alist, and make
8103 it into a simple list of package-desc.
8104 (package-strip-version): Remove.
8105 (package-built-in-p): Use package--builtin-versions.
8106 (package-mark-obsolete): Simplify.
8107 (package-process-define-package): Mark it obsolete if older than the
8109 (package-handle-response): Use line-end-position.
8110 (package-read-archive-contents, package--download-one-archive):
8112 (package--add-to-archive-contents): Skip if older than the builtin or
8114 (package-menu-describe-package): Fix last change.
8115 (package-list-unversioned): New var.
8116 (package-menu--generate): Use it.
8118 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8119 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8120 (autoload-builtin-package-versions): New variable.
8121 (autoload-generate-file-autoloads): Use them.
8122 Remove the list of autoloaded functions/macros from the
8123 (autoload...) comments.
8125 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8127 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8129 * simple.el (line-move-partial): Don't jump to the next screen
8130 line as soon as it becomes visible. Instead, continue enlarging
8131 the vscroll until the portion of a tall screen line that's left on
8132 display is about the height of the frame's default font.
8135 2013-06-15 Glenn Morris <rgm@gnu.org>
8137 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8138 compilation-error-regexp-alist void, or local while let-bound.
8140 * progmodes/make-mode.el (makefile-mode-syntax-table):
8141 Treat "=" as punctuation. (Bug#14614)
8143 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8145 * help-fns.el (describe-variable):
8146 Add extra line for permanent-local variables.
8148 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8150 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8151 Add export, import, library. (Bug#9164)
8152 (library): Set indent function.
8154 2013-06-14 Glenn Morris <rgm@gnu.org>
8156 * term/xterm.el (xterm--query):
8157 Stop after first matching handler. (Bug#14615)
8159 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8161 Add support for dired in saveplace.
8162 * dired.el (dired-initial-position-hook): New variable.
8163 (dired-initial-position): Call hook to place cursor position.
8164 * saveplace.el (save-place-to-alist): Add dired position.
8165 (save-place-dired-hook): New function.
8167 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8169 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8170 through a symbol rather than letrec.
8172 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8173 (package-desc): Add `dir' field.
8174 (package-desc-full-name): New function.
8175 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8176 (package-maybe-load-descriptor): Remove.
8177 (package-load-all-descriptors): Just call package-load-descriptor.
8178 (package--disabled-p): New function.
8179 (package-desc-vers, package-desc-doc): Remove aliases.
8180 (package--dir): Remove function.
8181 (package-activate): Check if a package is disabled.
8182 (package-process-define-package): New function, extracted from
8184 (define-package): Turn into a place holder.
8185 (package-unpack-single, package-tar-file-info):
8186 Use package--description-file.
8187 (package-compute-transaction): Use package--disabled-p.
8188 (package-download-transaction): Don't call
8189 package-maybe-load-descriptor since they're all loaded anyway.
8190 (package-install): Change argument to be a pkg-desc.
8191 (package-delete): Use a single pkg-desc argument.
8192 (describe-package-1): Use package-desc-dir instead of package--dir.
8193 Use package-desc property instead of package-symbol.
8194 (package-install-button-action): Adjust accordingly.
8195 (package--push): Rewrite.
8196 (package-menu--print-info): Adjust accordingly. Change the ID format
8198 (package-menu-describe-package, package-menu-get-status)
8199 (package-menu--find-upgrades, package-menu-mark-upgrades)
8200 (package-menu-execute, package-menu--name-predicate):
8202 * startup.el (package--description-file): New function.
8203 (command-line): Use it.
8204 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8205 Use package-desc-version.
8207 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8208 (byte-compile-preprocess): Use it.
8209 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8210 can't quite recognize.
8211 (byte-compile-add-to-list): Remove.
8212 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8213 (cconv-closure-convert): Add assertion.
8215 * emacs-lisp/map-ynp.el: Use lexical-binding.
8216 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8217 Factor out some repeated code.
8219 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8221 * subr.el (with-eval-after-load): New macro.
8222 (eval-after-load): Allow form to be a function.
8223 take advantage of lexical-binding.
8224 (do-after-load-evaluation): Use dolist and adjust to new format.
8225 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8227 2013-06-13 Juri Linkov <juri@jurta.org>
8229 * replace.el (perform-replace): Display "symbol " and other search
8230 modes from `isearch-message-prefix' in the *Help* buffer.
8232 * isearch.el (isearch-query-replace): Add " symbol" and other
8233 possible search modes from `isearch-message-prefix' to the prompt.
8234 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8235 when reading a regexp to collect.
8237 2013-06-13 Juri Linkov <juri@jurta.org>
8239 * isearch.el (word-search-regexp): Match whitespace if the search
8240 string begins or ends in whitespace. The LAX arg is applied to
8241 both ends of the search string. Use `regexp-quote' and explicit
8242 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8243 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8244 boundaries are replaced with symbol boundaries, and characters
8245 between symbols match non-word non-symbol syntax. (Bug#14602)
8247 2013-06-13 Juri Linkov <juri@jurta.org>
8249 * isearch.el (isearch-del-char): Don't exceed the length of
8250 `isearch-string' by the prefix arg. (Bug#14563)
8252 2013-06-13 Juri Linkov <juri@jurta.org>
8254 * isearch.el (isearch-yank-word, isearch-yank-line)
8255 (isearch-char-by-name, isearch-quote-char)
8256 (isearch-printing-char, isearch-process-search-char):
8257 Add optional count prefix arg. (Bug#14563)
8259 * international/isearch-x.el
8260 (isearch-process-search-multibyte-characters):
8261 Add optional count prefix arg.
8263 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8265 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8266 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8269 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8271 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8273 2013-06-13 Glenn Morris <rgm@gnu.org>
8275 * startup.el (tty-handle-args):
8276 Don't just discard "--" and anything after. (Bug#14608)
8278 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8280 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8282 Implement changes in Secret Service API. Make it backward compatible.
8283 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8284 (secrets-create-item): Use it. Prefix properties with interface.
8286 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8288 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8289 (term-emulate-terminal): Respect term-suppress-hard-newline.
8291 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8293 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8294 Only remove a `thumb-file' overlay. (Bug#14548)
8296 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8298 * mail/reporter.el (reporter-submit-bug-report):
8299 Handle missing package-name. (Bug#14600)
8301 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8303 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8304 (reftex-citation-prompt, reftex-default-bibliography)
8305 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8306 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8307 (reftex-bib-sort-author, reftex-bib-sort-year)
8308 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8309 (reftex-extract-bib-entries-from-thebibliography)
8310 (reftex-get-bibkey-default, reftex-get-bib-names)
8311 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8312 (reftex-format-bib-entry, reftex-parse-bibitem)
8313 (reftex-format-bibitem, reftex-do-citation)
8314 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8315 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8316 (reftex-insert-bib-matches, reftex-format-citation)
8317 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8318 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8319 existing comments into docstrings.
8321 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8323 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8325 2013-06-12 Andreas Schwab <schwab@suse.de>
8327 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8328 for auto-save files.
8330 2013-06-12 Glenn Morris <rgm@gnu.org>
8332 * ido.el (ido-delete-ignored-files): Remove.
8333 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8334 Go back to calling ido-ignore-item-p directly.
8336 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8338 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8340 * ido.el (ido-delete-ignored-files): New function,
8341 split from ido-make-file-list-1.
8342 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8343 (ido-make-file-list-1): Use ido-delete-ignored-files.
8345 2013-06-12 Leo Liu <sdl.web@gmail.com>
8347 * progmodes/octave.el (inferior-octave-startup)
8348 (inferior-octave-completion-table)
8349 (inferior-octave-track-window-width-change)
8350 (octave-eldoc-function-signatures, octave-help)
8351 (octave-find-definition): Use single quoted strings.
8352 (inferior-octave-startup-args): Change default value.
8353 (inferior-octave-startup): Do not hard code "-i" and
8354 "--no-line-editing".
8355 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8356 (inferior-octave-directory-tracker): Use it.
8357 (octave-goto-function-definition): Robustify.
8358 (octave-help): Support highlighting operators in 'See also'.
8359 (octave-find-definition): Find subfunctions only in Octave mode.
8361 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8363 * help-fns.el (help-fns--compiler-macro): If the handler function is
8364 named, then put a link to it.
8365 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8366 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8368 (cl-eval-when): Simplify debug spec.
8369 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8370 compiler-macro function instead of setting `compiler-macro-file'.
8372 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8374 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8375 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8377 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8378 Daniel Hackney <dan@haxney.org>
8380 First part of Daniel Hackney's patch to package.el.
8381 * emacs-lisp/package.el: Use defstruct.
8382 (package-desc): New, main struct.
8383 (package--bi-desc, package--ac-desc): New structs, used to describe the
8384 format in external files.
8385 (package-desc-vers): Replace with package-desc-version accessor.
8386 (package-desc-doc): Replace with package-desc-summary accessor.
8387 (package-activate-1): Remove `package' arg since the pkg-vec now
8389 (define-package): Use package-desc-from-define.
8390 (package-unpack-single): Change file-name arg to be a symbol.
8391 (package--add-to-archive-contents): Use package-desc-create and new
8392 accessor functions to package--ac-desc.
8393 (package-buffer-info, package-tar-file-info): Return a package-desc.
8394 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8395 arg to be a package-desc.
8396 (package-install-file): Adjust accordingly. Use \' to match EOS.
8397 (package--from-builtin): New function.
8398 (describe-package-1, package-menu--generate): Use it.
8399 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8400 (package-generate-autoloads): Idem and return the name of the file.
8401 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8402 Change pkg-info arg to be a package-desc.
8403 Use package-make-ac-desc.
8404 (package-upload-file): Use \' to match EOS.
8405 * finder.el (finder-compile-keywords): Use package-make-builtin.
8407 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8409 * vc/vc.el (vc-deduce-fileset): Change error message.
8410 (vc-read-backend): New function.
8411 (vc-next-action): Use it.
8413 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8415 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8416 (prolog-font-lock-keywords): Use regexp-opt instead.
8417 Don't manually highlight strings.
8418 (prolog-mode-variables): Simplify comment-start-skip.
8419 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8421 * emacs-lisp/generic.el (generic--normalise-comments)
8422 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8423 (generic-mode-set-comments): Use them.
8424 (generic-bracket-support): Use setq-local.
8425 (generic-make-keywords-list): Declare obsolete.
8427 2013-06-11 Glenn Morris <rgm@gnu.org>
8429 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8430 Prettify after setting font-lock-defaults. (Bug#14574)
8432 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8434 * replace.el (query-replace, occur-read-regexp-defaults-function)
8436 * subr.el (declare-function, number-sequence, local-set-key)
8437 (substitute-key-definition, locate-user-emacs-file)
8438 (with-silent-modifications, split-string, eval-after-load):
8439 Fix typos, remove unneeded backslashes and reflow some docstrings.
8441 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8443 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8444 default for Elisp files.
8446 2013-06-11 Glenn Morris <rgm@gnu.org>
8448 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8449 although define-derived-mode was doing this anyway. (Bug#14583)
8451 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8453 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8454 Fix make-variable-buffer-local call to refer to the correct variable.
8456 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8458 * eshell/em-term.el (eshell-visual-commands)
8459 (eshell-visual-subcommands, eshell-visual-options):
8460 Add summary line to docstrings. Add cross-references.
8462 2013-06-10 Glenn Morris <rgm@gnu.org>
8464 * epa.el (epa-read-file-name): New function. (Bug#14510)
8465 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8467 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8469 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8470 output redirection to be ignored with visual commands.
8472 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8474 * eshell/em-term.el (eshell-visual-command-p): New function.
8475 (eshell-term-initialize): Move long lambda to separate function
8476 eshell-visual-command-p.
8477 * eshell/em-dirs.el (eshell-dirs-initialise):
8478 * eshell/em-script.el (eshell-script-initialize):
8479 Add missing #' to lambda.
8481 2013-06-08 Leo Liu <sdl.web@gmail.com>
8483 * progmodes/octave.el (octave-add-log-current-defun): New function.
8484 (octave-mode): Set add-log-current-defun-function.
8485 (octave-goto-function-definition): Do not move point if not found.
8486 (octave-find-definition): Enhance to try subfunctions first.
8488 2013-06-08 Glenn Morris <rgm@gnu.org>
8490 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8491 (byte-compile-backward-char, byte-compile-backward-word):
8492 Improve previous change, to handle non-explicit nil.
8494 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8496 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8497 (smie--opener/closer-at-point): New function.
8498 (smie--matching-block-data): Use it. Don't match from right after an
8499 opener or right before a closer. Obey smie-blink-matching-inners.
8500 Don't signal a mismatch for repeated inners like "switch..case..case".
8502 2013-06-07 Leo Liu <sdl.web@gmail.com>
8504 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8506 (octave-function-header-regexp): Fix. (Bug#14570)
8507 (octave-help-mode-finish-hook, octave-help-mode-finish):
8508 Remove. Just use temp-buffer-show-hook.
8510 * newcomment.el (comment-search-backward): Revert last change.
8513 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8515 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8517 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8518 through xargs, to avoid failure due to MS-Windows limitations on
8519 command-line length.
8521 2013-06-06 Glenn Morris <rgm@gnu.org>
8523 * font-lock.el (lisp-font-lock-keywords-2):
8524 Treat user-error like error.
8526 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8527 (byte-compile-backward-char, byte-compile-backward-word):
8528 Handle explicit nil arguments. (Bug#14565)
8530 2013-06-05 Alan Mackenzie <acm@muc.de>
8532 * isearch.el (isearch-allow-prefix): New user option.
8533 (isearch-other-meta-char): Don't exit isearch when a prefix
8534 argument is typed whilst `isearch-allow-prefix' is non-nil.
8537 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8539 * autorevert.el (auto-revert-notify-handler): Use memq.
8540 Hide assertion failure.
8542 * skeleton.el: Use cl-lib.
8543 (skeleton-further-elements): Use defvar-local.
8544 (skeleton-insert): Use cl-progv.
8546 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8548 * progmodes/prog-mode.el (prog-prettify-symbols)
8549 (prog-prettify-install): Update docstrings.
8551 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8553 * simple.el: Move all the prog-mode code to prog-mode.el.
8554 * progmodes/prog-mode.el: New file.
8555 * loadup.el: Add prog-mode.el.
8557 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8559 * simple.el (prog-prettify-symbols): Add version.
8560 (prog-prettify-install): Add convenience function to prettify symbols.
8562 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8563 (perl--augmented-font-lock-keywords-1)
8564 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8565 variables and use it.
8567 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8568 (cfengine3-mode): Remove unneeded variable and use it.
8570 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8571 (lisp--augmented-font-lock-keywords-1)
8572 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8573 Remove unneeded variables and use it.
8575 2013-06-05 João Távora <joaotavora@gmail.com>
8577 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8578 to point when opening the connection. (Bug#14380)
8580 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8582 * subr.el (load-history-regexp, load-history-filename-element)
8583 (eval-after-load, after-load-functions, do-after-load-evaluation)
8584 (eval-next-after-load, display-delayed-warnings)
8585 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8586 definition of save-match-data.
8587 (overriding-local-map): Remove accidental obsolescence declaration.
8589 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8591 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8593 Generalize symbol prettify support to prog-mode and implement it
8594 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8595 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8596 (prog--prettify-font-lock-compose-symbol)
8597 (prog-prettify-font-lock-symbols-keywords): New variables and
8598 functions to support symbol prettification.
8599 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8600 (lisp--augmented-font-lock-keywords-1)
8601 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8602 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8603 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8604 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8605 Implement prettify of -> => :: strings.
8606 * progmodes/perl-mode.el (perl-prettify-symbols)
8607 (perl--font-lock-compose-symbol)
8608 (perl--font-lock-symbols-keywords): Move to prog-mode.
8609 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8610 (perl-font-lock-keywords-1)
8611 (perl-font-lock-keywords-2): Remove explicit prettify support.
8612 (perl--augmented-font-lock-keywords)
8613 (perl--augmented-font-lock-keywords-1)
8614 (perl--augmented-font-lock-keywords-2, perl-mode):
8615 Implement prettify support.
8617 2013-06-05 Leo Liu <sdl.web@gmail.com>
8619 Re-implement smie matching block highlight using
8620 show-paren-data-function. (Bug#14395)
8621 * emacs-lisp/smie.el (smie-matching-block-highlight)
8622 (smie--highlight-matching-block-overlay)
8623 (smie--highlight-matching-block-lastpos)
8624 (smie-highlight-matching-block)
8625 (smie-highlight-matching-block-mode): Remove.
8626 (smie--matching-block-data-cache): New variable.
8627 (smie--matching-block-data): New function.
8628 (smie-setup): Use smie--matching-block-data for
8629 show-paren-data-function.
8631 * progmodes/octave.el (octave-mode-menu): Fix.
8632 (octave-find-definition): Skip garbage lines.
8634 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8636 Fix compilation error with simultaneous dynamic+lexical scoping.
8637 Add warning when a defvar appears after the first let-binding.
8638 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8639 (byte-compile-close-variables): Initialize it.
8640 (byte-compile--declare-var): New function.
8641 (byte-compile-file-form-defvar)
8642 (byte-compile-file-form-define-abbrev-table)
8643 (byte-compile-file-form-custom-declare-variable): Use it.
8644 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8645 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8646 (byte-compile-bind): Handle dynamic bindings that shadow
8648 (byte-compile-unbind): Make arg non-optional.
8649 (byte-compile-let): Simplify.
8650 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8651 (cconv--analyse-function, cconv-analyse-form): Populate it.
8652 Protect byte-compile-bound-variables to limit the scope of defvars.
8653 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8654 Remove unneeded rule for `declare'.
8656 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8657 so as to avoid depending on cl-adjoin at run-time.
8658 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8660 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8661 (macroexp--warn-and-return): Use it.
8663 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8665 * lisp/subr.el: Convert to lexical binding.
8666 (overriding-local-map): Make obsolete.
8667 (add-to-list): Doc fix. Add compiler macro.
8668 (read-key): Swap values of local maps.
8670 2013-06-05 Leo Liu <sdl.web@gmail.com>
8672 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8674 2013-06-04 Leo Liu <sdl.web@gmail.com>
8676 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8677 (compilation-auto-jump): Suppress the "Mark set" message to give
8678 way to exit message.
8680 2013-06-04 Alan Mackenzie <acm@muc.de>
8682 Remove faulty optimisation from indentation calculation.
8683 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8684 search limit based on 2000 characters back from indent-point.
8686 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8688 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8690 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8692 * emacs-lisp/lisp.el: Use lexical-binding.
8693 (lisp--local-variables-1, lisp--local-variables): New functions.
8694 (lisp--local-variables-completion-table): New var.
8695 (lisp-completion-at-point): Use it complete let-bound vars.
8697 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8698 eagerly (bug#14422).
8700 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8702 * autorevert.el (auto-revert-notify-enabled)
8703 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8704 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8705 (auto-revert-notify-handler): Handle also gfilenotify.
8707 * subr.el (file-notify-handle-event): New defun. Replacing ...
8708 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8711 2013-06-03 Juri Linkov <juri@jurta.org>
8713 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8714 `M-s h .'. (Bug#14427)
8716 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8717 command `hi-lock-face-symbol-at-point'.
8718 (hi-lock-face-symbol-at-point): New command.
8719 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8720 (hi-lock-menu): Add `highlight-symbol-at-point'.
8721 (hi-lock-mode): Doc fix.
8723 * isearch.el (isearch-forward-symbol-at-point): New command.
8724 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8725 (isearch-highlight-regexp): Add a regexp which matches
8726 words/symbols for word/symbol mode.
8728 * subr.el (find-tag-default-bounds): New function with the body
8729 mostly moved from `find-tag-default'.
8730 (find-tag-default): Move most code to `find-tag-default-bounds',
8731 call it and apply `buffer-substring-no-properties' afterwards.
8733 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8735 * eshell/em-term.el (eshell-term-initialize):
8736 Use `cl-intersection' rather than `intersection'.
8738 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8740 * vc/log-view.el: Doc fix.
8741 (log-view-mode-map): Copy keymap from `special-mode-map'.
8743 2013-06-02 Eric Ludlam <zappo@gnu.org>
8745 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8746 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8747 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8748 (eieio-unbound, eieio-default-superclass)
8749 (eieio--define-field-accessors, method-static, method-before)
8750 (method-primary, method-after, method-num-lists)
8751 (method-generic-before, method-generic-primary)
8752 (method-generic-after, method-num-slots)
8753 (eieio-specialized-key-to-generic-key)
8754 (eieio--check-type, class-v, class-p)
8755 (eieio-class-name, define-obsolete-function-alias)
8756 (eieio-class-parents-fast, eieio-class-children-fast)
8757 (same-class-fast-p, class-constructor, generic-p)
8758 (generic-primary-only-p, generic-primary-only-one-p)
8759 (class-option-assoc, class-option, eieio-object-p)
8760 (class-abstract-p, class-method-invocation-order)
8761 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8762 (eieio-class-un-autoload, eieio-defclass)
8763 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8764 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8765 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8766 (eieio-defgeneric-reset-generic-form)
8767 (eieio-defgeneric-form-primary-only)
8768 (eieio-defgeneric-reset-generic-form-primary-only)
8769 (eieio-defgeneric-form-primary-only-one)
8770 (eieio-defgeneric-reset-generic-form-primary-only-one)
8771 (eieio-unbind-method-implementations)
8772 (eieio--defmethod, eieio--typep)
8773 (eieio-perform-slot-validation, eieio-validate-slot-value)
8774 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8775 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8776 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8777 (eieio-slot-name-index, eieio-class-slot-name-index)
8778 (eieio-set-defaults, eieio-initarg-to-attribute)
8779 (eieio-attribute-to-initarg, eieio-c3-candidate)
8780 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8781 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8782 (eieio-class-precedence-list, eieio-generic-call-methodname)
8783 (eieio-generic-call-arglst, eieio-generic-call-key)
8784 (eieio-generic-call-next-method-list)
8785 (eieio-pre-method-execution-functions, eieio-generic-call)
8786 (eieio-generic-call-primary-only, eieiomt-method-list)
8787 (eieiomt-optimizing-obarray, eieiomt-install)
8788 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8789 (eieio-generic-form, eieio-defmethod, make-obsolete)
8790 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8791 (defclass): Remove `eval-and-compile' from macro.
8792 (call-next-method, shared-initialize): Instead of using
8793 `scoped-class' variable, use new eieio--scoped-class, and
8794 eieio--with-scoped-class.
8795 (initialize-instance): Rename local variable 'scoped-class' to
8796 'this-class' to remove ambiguitity from old global.
8798 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8800 (eieio--scoped-class-stack): New variable.
8801 (eieio--scoped-class): New fcn.
8802 (eieio--with-scoped-class): New scoping macro.
8803 (eieio-defclass): Use pushnew instead of add-to-list.
8804 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8805 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8806 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8807 `scoped-class' variable, use new eieio--scoped-class, and
8808 eieio--with-scoped-class.
8810 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8812 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8814 * eshell/esh-ext.el (eshell-external-command): Pass args to
8815 `eshell-find-interpreter'.
8816 (eshell-find-interpreter): Add new second parameter ARGS.
8818 * eshell/em-script.el (eshell-script-initialize): Add second arg
8819 to the function added as MATCH to `eshell-interpreter-alist'.
8821 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8822 the function added as MATCH to `eshell-interpreter-alist'.
8824 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8825 (eshell-visual-options): New defcustom.
8826 (eshell-escape-control-x): Adapt docstring.
8827 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8828 `eshell-visual-options' in addition to `eshell-visual-commands'.
8829 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8831 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8833 * progmodes/python.el (python-indent-block-enders): Add break,
8834 continue and raise keywords.
8836 2013-06-01 Glenn Morris <rgm@gnu.org>
8838 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8840 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8841 * progmodes/cc-cmds.el (delete-forward-p):
8842 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8843 * progmodes/cc-engine.el (buffer-syntactic-context):
8844 * progmodes/cc-fonts.el (face-property-instance):
8845 * progmodes/cc-mode.el (set-keymap-parents):
8846 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8847 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8848 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8849 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8850 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8852 * progmodes/cc-vars.el (other): Emacs has this widget since
8853 at least 21.1, so don't (re)define it.
8855 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8856 Replace the obsolete alias pcomplete-arg-quote-list.
8858 2013-06-01 Leo Liu <sdl.web@gmail.com>
8860 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8862 (inferior-octave-minimal-columns)
8863 (inferior-octave-last-column-width): New variables.
8864 (inferior-octave-track-window-width-change): New function.
8865 (inferior-octave-mode): Adjust column width so that Octave output,
8866 for example from 'ls', can fit into the window nicely.
8868 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8870 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8871 Highlight expansions inside regexp literals.
8873 2013-05-31 Glenn Morris <rgm@gnu.org>
8875 * obsolete/sym-comp.el (symbol-complete):
8876 Replace obsolete completion-annotate-function.
8878 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8880 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8882 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8883 New function, checks if point is inside a literal that allows
8884 expression expansion.
8885 (ruby-syntax-propertize-expansion): Use it.
8886 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8889 2013-05-30 Juri Linkov <juri@jurta.org>
8891 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8893 (isearch-invisible): New variable.
8894 (isearch-forward): Doc fix.
8895 (isearch-mode): Set `isearch-invisible'
8896 to the value of `search-invisible'.
8897 (isearch-toggle-case-fold): Doc fix.
8898 (isearch-toggle-invisible): New command.
8899 (isearch-query-replace): Let-bind `search-invisible'
8900 to the value of `isearch-invisible'.
8901 (isearch-search): Use `isearch-invisible' instead of
8902 `search-invisible'. Let-bind `search-invisible'
8903 to the value of `isearch-invisible'. (Bug#11378)
8905 2013-05-30 Juri Linkov <juri@jurta.org>
8907 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8908 call when `query-flag' is nil and `search-invisible' is non-nil.
8911 2013-05-30 Glenn Morris <rgm@gnu.org>
8913 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8915 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8916 (cc-require): Suppress spurious "noruntime" warnings.
8917 (cc-require-when-compile): Use fboundp, for sake of compiler.
8919 * progmodes/cc-mode.el: Move load of cc-vars before that of
8920 cc-langs (which in turn loads cc-vars), to quieten compiler.
8922 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8924 * paren.el: Simplify the code.
8925 (show-paren-mode): Always start the timer.
8926 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8927 (show-paren--overlay, show-paren--overlay-1): Rename from
8928 show-paren-overlay and show-paren-overlay-1, and initialize to an
8929 overlay rather than to nil.
8930 (show-paren-function): Misc cleanup and simplifications.
8932 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8934 * paren.el (show-paren-data-function): New hook.
8935 (show-paren--default): New function, extracted from show-paren-function.
8936 (show-paren-function): Use show-paren-data-function.
8938 2013-05-30 Glenn Morris <rgm@gnu.org>
8940 * ielm.el (ielm-map, ielm-complete-symbol):
8941 Use completion-at-point rather than obsolete functions.
8942 (inferior-emacs-lisp-mode): Doc fix.
8943 Set completion-at-point-functions, rather than
8944 comint-dynamic-complete-functions.
8946 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8947 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8948 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8950 * image.el (image-animated-p): Tweak definition.
8952 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8953 (rlogin-process-connection-type): Tweak default. Add set-after.
8954 (rlogin-host): Doc fix.
8955 (rlogin): Tweak prompt.
8956 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8958 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8959 * progmodes/tcl.el (inferior-tcl-mode-map):
8960 Use completion-at-point rather than obsolete alias.
8962 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8964 * minibuffer.el (read-file-name-completion-ignore-case):
8965 Move before completion--in-region, for eager macro expansion.
8967 2013-05-29 Juri Linkov <juri@jurta.org>
8969 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8970 for total count of matching lines. Add `global-matches' for total
8971 count of matches. Rename `matches' to `lines' for count of
8972 matching lines. Add `matches' for count of matches.
8973 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8974 to `prev-line' for line number of prev match endpt.
8975 Increment `matches' for every match. Print the number of
8976 matching lines in the header.
8977 (occur-context-lines): Rename `lines' to `curr-line'.
8978 Rename `prev-lines' to `prev-line'. (Bug#14017)
8980 2013-05-29 Juri Linkov <juri@jurta.org>
8982 * replace.el (perform-replace): Add `skip-read-only-count',
8983 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8984 Increment them for corresponding conditions and report the number
8985 of skipped occurrences in the final message. (Bug#11746)
8986 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8987 (replace-string, replace-regexp): Doc fix.
8989 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8991 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8993 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8994 prog-mode-map (bug#14504).
8996 2013-05-29 Leo Liu <sdl.web@gmail.com>
8998 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8999 (octave-help): Small simplification.
9001 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9002 off the highlight first.
9004 2013-05-29 Glenn Morris <rgm@gnu.org>
9006 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9007 Handle idlwave-last-system-routine-info-cons-cell being nil.
9009 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9010 (idlwave-write-paths): Simplify via with-temp-buffer.
9012 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9013 * emulation/cua-rect.el: Also load cua-base at run time.
9015 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9016 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9017 (cperl-imenu-on-info): Require imenu.
9019 2013-05-28 Alan Mackenzie <acm@muc.de>
9021 Handle "capitalised keywords" correctly.
9022 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9024 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9026 * eshell/em-unix.el: Add -r option to cp.
9028 2013-05-28 Glenn Morris <rgm@gnu.org>
9030 * vc/vc-arch.el (vc-exec-after): Declare.
9031 (vc-switches): Autoload.
9032 * vc/vc-bzr.el: No need to require vc when compiling.
9033 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9034 (vc-resynch-buffer, vc-dir-refresh): Declare.
9035 (vc-setup-buffer, vc-switches): Autoload.
9036 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9037 (vc-resynch-buffer): Declare.
9038 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9039 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9040 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9041 (grep-read-regexp, grep-read-files, grep-expand-template)
9042 (vc-dir-refresh): Declare.
9043 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9044 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9045 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9046 * vc/vc-mtn.el (vc-exec-after): Declare.
9047 (vc-switches): Autoload.
9048 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9049 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9050 (vc-file-tree-walk): Declare.
9051 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9052 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9053 (vc-tag-precondition, vc-rename-master): Autoload.
9054 * vc/vc-svn.el (vc-exec-after): Declare.
9055 (vc-switches, vc-setup-buffer): Autoload.
9056 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9058 (vc-resynch-buffer): Declare.
9060 * obsolete/fast-lock.el (byte-compile-warnings):
9061 Don't warn about obsolete features in this obsolete file.
9063 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9064 Move definition before use.
9066 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9067 (dun-unix-verbs): Remove dun-zippy.
9068 (dun-zippy): Remove function.
9070 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9072 2013-05-27 Juri Linkov <juri@jurta.org>
9074 * replace.el (replace-search): New function with code moved out
9075 from `perform-replace'.
9076 (replace-highlight, replace-dehighlight): Move function definitions
9077 up closer to `replace-search'. (Bug#11746)
9079 2013-05-27 Juri Linkov <juri@jurta.org>
9081 * replace.el (perform-replace): Ignore invisible matches.
9082 In addition to checking `query-replace-skip-read-only', also
9083 filter out matches by calling `run-hook-with-args-until-failure'
9084 on `isearch-filter-predicates', and also check `search-invisible'
9085 for t or call `isearch-range-invisible'.
9086 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9088 2013-05-27 Juri Linkov <juri@jurta.org>
9090 * isearch.el (isearch-filter-predicates): Rename from
9091 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9092 (isearch-message-prefix): Display text from the property
9093 `isearch-message-prefix' of the currently active filters.
9094 (isearch-search): Don't compare `isearch-filter-predicate' with
9095 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9096 on `isearch-filter-predicates'. Also check `search-invisible' for t
9097 or call `isearch-range-invisible'.
9098 (isearch-filter-visible): Make obsolete.
9099 (isearch-lazy-highlight-search):
9100 Call `run-hook-with-args-until-failure' on
9101 `isearch-filter-predicates' and use `isearch-range-invisible'.
9103 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9104 `isearch-filter-predicates' instead of `funcall'ing
9105 `isearch-filter-predicate'.
9106 (Info-mode): Set `Info-isearch-filter' to
9107 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9109 * dired-aux.el (dired-isearch-filter-predicate-orig):
9111 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9112 (dired-isearch-filenames-end): Add and remove
9113 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9114 instead of changing the value of `isearch-filter-predicate'.
9115 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9116 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9117 Put property `isearch-message-prefix' to "filename " on
9118 `dired-isearch-filter-filenames'.
9120 * wdired.el (wdired-change-to-wdired-mode):
9121 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9122 locally instead of changing `isearch-filter-predicate'.
9123 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9125 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9127 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9128 return the commit hash (Bug#14459). Also set the
9129 `vc-git-detached' property.
9130 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9131 (vc-git-mode-line-string): Use the same help-echo format whether
9132 in detached mode or not, because we know the actual revision now.
9133 When in detached mode, shorten the revision to 7 chars.
9135 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9137 * emacs-lisp/easy-mmode.el (define-minor-mode):
9138 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9139 mode hook and provide a docstring.
9141 2013-05-27 Alan Mackenzie <acm@muc.de>
9143 Remove spurious syntax-table text properties inserted by C-y.
9144 * progmodes/cc-mode.el (c-after-change): Also clear hard
9145 syntax-table property with value nil.
9147 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9149 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9150 when reading the events; the buffer layout shall not be changed.
9152 2013-05-27 Leo Liu <sdl.web@gmail.com>
9154 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9156 (inferior-octave-directory-tracker): Automatically re-sync
9158 (octave-help): Improve handling of 'See also'.
9160 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9162 * doc-view.el: Minor naming convention tweaks.
9163 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9165 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9166 even if there's no `display' property yet (bug#14435).
9168 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9170 * subr.el (unmsys--file-name): Rename from reveal-filename.
9172 * Makefile.in (custom-deps, finder-data, autoloads)
9173 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9174 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9175 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9177 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9179 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9180 error-completion on the first 2 args of condition-case (bug#14446).
9183 2013-05-25 Leo Liu <sdl.web@gmail.com>
9185 * comint.el (comint-previous-matching-input): Do not flood the
9186 *Messages* buffer with trivial messages.
9188 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9190 * progmodes/flymake.el (flymake-nop): Don't return a string.
9191 (flymake-set-at): Fix typo.
9193 * simple.el (read--expression): New function, extracted from
9194 eval-expression. Set completion-at-point-functions (bug#14465).
9195 (eval-expression, eval-minibuffer): Use it.
9197 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9199 * progmodes/flymake.el (flymake-save-buffer-in-file)
9200 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9201 (flymake-selected-frame, flymake-log, flymake-ins-after)
9202 (flymake-set-at, flymake-get-buildfile-from-cache)
9203 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9204 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9205 Refine the doc string.
9206 (flymake-get-file-name-mode-and-masks): Reformat.
9207 (flymake-get-real-file-name-function): Fix a minor bug.
9209 2013-05-24 Juri Linkov <juri@jurta.org>
9211 * progmodes/grep.el (grep-mode-font-lock-keywords):
9212 Support =linenumber= format used by git-grep for lines with
9213 function names. (Bug#13549)
9215 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9217 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9218 0 after a semi-colon; it works better for smie-auto-fill.
9219 (octave--indent-new-comment-line): New function.
9220 (octave-indent-new-comment-line): Use it (indirectly).
9221 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9222 modify comment-line-break-function.
9224 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9225 (smie-setup): Use add-function to set it.
9227 2013-05-24 Sam Steingold <sds@gnu.org>
9229 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9230 argument (before the `interactive' argument).
9232 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9234 * image-mode.el (image-mode-winprops): Add winprops to
9235 image-mode-winprops-alist before running
9236 image-mode-new-window-functions.
9237 * doc-view.el (doc-view-new-window-function): Don't delay
9238 doc-view-goto-page via timers (bug#14435).
9240 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9242 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9243 (doc-view-desktop-save-buffer): New function.
9244 (doc-view-restore-desktop-buffer): New function.
9245 (desktop-buffer-mode-handlers):
9246 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9248 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9249 `desktop-save-buffer' function.
9251 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9253 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9254 (tramp-gvfs-file-name-handler): Raise a user error when
9255 `tramp-gvfs-enabled' is nil.
9256 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9257 Do not raise a user error when loading package. (Bug#14447)
9259 * net/xesam.el: Move to obsolete/.
9261 2013-05-24 Glenn Morris <rgm@gnu.org>
9263 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9265 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9267 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9268 (Info-find-node, Man-getpage-in-background): Declare.
9270 * mail/unrmail.el (unrmail):
9271 Replace obsolete detect-coding-with-priority.
9273 * net/socks.el (socks-split-string): Use this rather than split-string.
9274 (socks-nslookup-host): Update for above change.
9275 (dynamic-choice, s5-dynamic-choice-match)
9276 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9277 Comment out unused code.
9279 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9280 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9281 (gud-tooltip-echo-area): Make obsolete.
9282 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9284 * progmodes/js.el (js--optimize-arglist): Declare.
9286 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9288 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9289 (ediff-window-C): Declare.
9291 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9292 Tweak requires to silence compiler.
9294 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9295 (he-search-string, he-tried-table, he-expand-list)
9296 (he-init-string, he-string-member, he-substitute-string)
9297 (he-reset-string): Declare.
9299 * obsolete/options.el (list-options): Use custom-variable-p,
9300 rather than obsolete alias.
9302 2013-05-23 Sam Steingold <sds@gnu.org>
9304 * simple.el (shell-command-on-region): Pass the `replace' argument
9305 down to `call-process-region' to comply with the doc as reported on
9306 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9308 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9310 * emacs-lisp/smie.el (smie-indent-forward-token)
9311 (smie-indent-backward-token): Handle string tokens (bug#14381).
9313 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9315 * ielm.el (ielm-menu): New menu.
9316 (inferior-emacs-lisp-mode): Set comment-start.
9318 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9320 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9321 Fix deactivate action.
9323 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9324 Add cleveref macros.
9326 * lisp/textmodes/reftex-parse.el
9327 (reftex-locate-bibliography-files): Accept options for
9328 bibliography commands.
9329 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9330 Add addbibresource. Basic Biblatex support.
9332 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9334 * net/tramp-gvfs.el (top):
9335 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9336 when loading package. (Bug#14447)
9338 2013-05-23 Glenn Morris <rgm@gnu.org>
9340 * progmodes/js.el: No need to load comint when compiling.
9341 (ring-insert, comint-send-string, comint-send-input)
9342 (comint-last-input-end, ido-chop): Declare.
9344 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9345 * vc/ediff-mult.el: Adjust requires.
9346 (ediff-directories-internal, ediff-directory-revisions-internal)
9347 (ediff-patch-file-internal): Declare.
9348 * vc/ediff-ptch.el: Adjust requires.
9349 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9350 (ediff-find-file): Autoload.
9351 * vc/ediff-util.el: No need to load ediff when compiling.
9352 (ediff-regions-internal): Declare.
9353 * vc/ediff-wind.el: Adjust requires.
9354 (ediff-compute-toolbar-width): Define when compiling.
9355 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9356 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9357 (dired-get-filename, dired-get-marked-files)
9358 (ediff-last-dir-patch, ediff-patch-default-directory)
9359 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9360 (ediff-patch-buffer-internal): Declare.
9362 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9363 (ispell-process, ispell-buffer-local-words, lm-summary)
9364 (lm-section-start, lm-section-end): Declare.
9365 (checkdoc-ispell-init): Simplify.
9367 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9368 (he-string-member, he-reset-string, he-substitute-string): Declare.
9370 * eshell/em-ls.el: Adjust requires.
9371 (eshell-glob-regexp): Declare.
9372 * eshell/em-tramp.el: Adjust requires.
9373 (eshell-parse-command): Autoload.
9374 * eshell/em-xtra.el: Adjust requires.
9375 (eshell-parse-command): Autoload.
9376 * eshell/esh-ext.el: Adjust requires.
9377 (eshell-parse-command, eshell-close-handles): Autoload.
9378 * eshell/esh-io.el: Adjust requires.
9379 (eshell-output-filter): Autoload.
9380 * eshell/esh-util.el: No need to load tramp when compiling.
9381 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9383 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9384 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9385 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9386 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9387 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9388 * eshell/esh-opt.el, eshell/esh-proc.el:
9389 * eshell/esh-var.el: Adjust requires.
9390 * eshell/eshell.el: Do not require esh-util twice.
9391 (eshell-add-input-to-history): Declare.
9392 (eshell-command): Check history module is active before using it.
9394 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9396 2013-05-22 Leo Liu <sdl.web@gmail.com>
9398 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9400 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9402 * autorevert.el (auto-revert-notify-add-watch)
9403 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9404 it indicates changes in file modification time.
9406 2013-05-22 Glenn Morris <rgm@gnu.org>
9408 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9409 Always delete the autoloaded function from the noruntime and
9410 unresolved functions lists.
9412 * allout.el: No need to load epa, epg, overlay when compiling.
9413 (epg-context-set-passphrase-callback, epg-list-keys)
9414 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9415 (epg-key-user-id-list): Declare.
9417 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9418 (viper-set-parsing-style-toggling-macro)
9419 (viper-set-emacs-state-searchstyle-macros):
9420 Use called-interactively-p on Emacs.
9421 (viper-looking-back): Make it an obsolete alias. Update callers.
9422 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9423 Use looking-back rather than viper-looking-back.
9424 (viper-tmp-insert-at-eob, viper-enlarge-region)
9425 (viper-read-string-with-history, viper-register-to-point)
9426 (viper-append-to-register, viper-change-state-to-vi)
9427 (viper-backward-char-carefully, viper-forward-char-carefully)
9428 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9429 (viper-change-state-to-emacs): Declare.
9430 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9431 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9432 * emulation/viper-mous.el: Do not load viper-cmd.
9433 (viper-backward-char-carefully, viper-forward-char-carefully)
9434 (viper-forward-word, viper-adjust-window): Declare.
9436 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9438 * progmodes/idlw-help.el (idlwave-help-fontify):
9439 Use called-interactively-p.
9441 * term/w32console.el (w32-get-console-codepage)
9442 (w32-get-console-output-codepage): Declare.
9444 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9445 Remove unnecessary declarations.
9446 (dframe-message): Doc fix.
9448 * info.el (dframe-select-attached-frame, dframe-current-frame):
9451 * speedbar.el (speedbar-message): Make it an obsolete alias.
9453 (speedbar-with-attached-buffer)
9454 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9455 (speedbar-with-writable): Use backquote.
9456 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9457 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9458 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9459 rather than speedbar- aliases.
9460 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9461 (speedbar-make-specialized-keymap, speedbar-insert-button)
9462 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9463 (speedbar-do-function-pointer): Declare.
9464 (rmail-speedbar-button, rmail-speedbar-find-file)
9465 (rmail-speedbar-move-message):
9466 Use dframe-with-attached-buffer rather than speedbar- alias.
9467 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9468 (dframe-message, speedbar-make-specialized-keymap)
9469 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9470 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9471 (speedbar-insert-button, dframe-select-attached-frame)
9472 (dframe-maybee-jump-to-attached-frame)
9473 (speedbar-change-initial-expansion-list)
9474 (speedbar-previously-used-expansion-list-name): Declare.
9475 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9476 Use dframe-message, dframe-with-attached-buffer rather than
9478 (gud-sentinel): Silence compiler.
9479 * progmodes/vhdl-mode.el (speedbar-refresh)
9480 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9481 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9482 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9483 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9484 (speedbar-file-lists, speedbar-make-tag-line)
9485 (speedbar-line-directory, speedbar-goto-this-file)
9486 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9487 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9488 (speedbar-make-button, speedbar-reset-scanners)
9489 (speedbar-files-item-info, speedbar-line-text)
9490 (speedbar-find-file-in-frame, speedbar-set-timer)
9491 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9492 (speedbar-with-writable): Do not (re)define it.
9493 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9494 rather than speedbar- alias.
9496 2013-05-21 Leo Liu <sdl.web@gmail.com>
9498 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9500 (octave-mode): Tweak fill-nobreak-predicate.
9501 (inferior-octave-startup): Check process to avoid infinite loop.
9502 (inferior-octave): Pop to buffer first to show abornmal process
9505 2013-05-21 Glenn Morris <rgm@gnu.org>
9507 * printing.el (pr-menu-bar): Define when compiling.
9509 2013-05-21 Leo Liu <sdl.web@gmail.com>
9511 * progmodes/octave.el (octave-auto-fill): Remove.
9512 (octave-indent-new-comment-line): Improve.
9513 (octave-mode): Use auto fill mode through
9514 comment-line-break-function and fill-nobreak-predicate.
9515 (octave-goto-function-definition): Support DEFUN_DLD.
9516 (octave-beginning-of-defun): Small tweak.
9517 (octave-help): Show parent directory.
9519 2013-05-21 Glenn Morris <rgm@gnu.org>
9521 * files.el (dired-unmark):
9522 * progmodes/gud.el (gdb-input): Update declarations.
9524 * calculator.el (electric, ehelp): No need to load when compiling.
9525 (Electric-command-loop, electric-describe-mode): Declare.
9527 * doc-view.el (doc-view-current-converter-processes): Move before use.
9529 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9530 Move MODE-set-explicitly definition before use.
9532 * international/mule-diag.el (mule-diag):
9533 Don't use obsolete window-system-version.
9535 * mail/feedmail.el (smtpmail): No need to load when compiling.
9536 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9538 * mail/mail-utils.el (rfc822): No need to load when compiling.
9539 (rfc822-addresses): Autoload it.
9540 (mail-strip-quoted-names): Trivial simplification.
9542 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9543 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9545 * net/snmp-mode.el (tempo): Don't duplicate requires.
9547 * progmodes/prolog.el (info): No need to load when compiling.
9548 (comint): Require before shell requires it.
9549 (Info-goto-node): Autoload it.
9550 (Info-follow-nearest-node): Declare.
9551 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9553 * textmodes/artist.el (picture-mode-exit): Declare.
9555 * textmodes/reftex-parse.el (reftex-parse-from-file):
9556 Trivial rewrite so the compiler can parse it better.
9558 2013-05-20 Leo Liu <sdl.web@gmail.com>
9560 * progmodes/octave.el (octave-help-mode-map)
9561 (octave-help-mode-finish-hook): New variables.
9562 (octave-help-mode, octave-help-mode-finish): New functions.
9563 (octave-help): Use octave-help-mode.
9565 2013-05-20 Glenn Morris <rgm@gnu.org>
9567 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9569 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9571 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9572 start at point, so that expansion starting right after opening
9573 slash in a regexp is recognized.
9574 (ruby-syntax-before-regexp-re): New defvar, extracted from
9575 ruby-syntax-propertize-function. Since the value of this regexp
9576 is looked up at runtime now, we should be able to turn
9577 `ruby-syntax-methods-before-regexp' into a defcustom later.
9578 (ruby-syntax-propertize-function): Split regexp matching into two
9579 parts, for opening and closing slashes. That allows us to skip
9580 over string interpolations and support multiline regexps.
9581 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9582 for them, which calls `ruby-syntax-propertize-expansion'.
9583 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9584 call to `ruby-syntax-propertize-function'.
9585 (ruby-syntax-propertize-expansion): Extracted from
9586 `ruby-syntax-propertize-expansions'. Handles one expansion.
9587 (ruby-syntax-propertize-percent-literal): Leave point right after
9588 the percent symbol, so that the expression expansion rule can
9589 propertize the contents.
9590 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9592 (ruby-syntax-propertize-expansions): Remove.
9594 2013-05-18 Juri Linkov <juri@jurta.org>
9596 * man.el (Man-default-man-entry): Remove `-' from the end
9597 of the default value. (Bug#14400)
9599 2013-05-18 Glenn Morris <rgm@gnu.org>
9601 * comint.el (comint-password-prompt-regexp):
9602 Allow "password for XXX" where XXX contains colons (eg https://...).
9604 2013-05-18 Leo Liu <sdl.web@gmail.com>
9606 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9607 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9608 (octave-source-directories): Don't check process.
9609 (octave-source-directories, octave-find-definition): Doc fix.
9611 2013-05-18 Glenn Morris <rgm@gnu.org>
9613 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9614 Remove backspace/delete bindings. (Bug#14392)
9616 * cus-dep.el (custom-make-dependencies): Sort the output.
9617 (custom-versions-load-alist): Convert comment to doc.
9619 2013-05-17 Leo Liu <sdl.web@gmail.com>
9621 * newcomment.el (comment-search-backward): Stricter in finding
9622 comment start. (Bug#14303)
9624 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9625 (octave-comment-start-skip): Properly anchored.
9627 2013-05-17 Leo Liu <sdl.web@gmail.com>
9629 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9630 Clean up when turned off. (Bug#14395)
9631 (smie--highlight-matching-block-overlay): No longer buffer-local.
9632 (smie-highlight-matching-block): Adjust.
9634 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9636 Doc string fix for "nanoseconds" (Bug#14406).
9637 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9638 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9640 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9642 * calc/calc-units.el (math-extract-units): Preserve powers
9645 2013-05-17 Leo Liu <sdl.web@gmail.com>
9647 * subr.el (delete-consecutive-dups): New function.
9648 * ido.el (ido-set-matches-1): Use it.
9649 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9650 * ido.el (ido-remove-consecutive-dups): Remove.
9652 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9654 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9655 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9656 regexp-opt's `words'.
9658 2013-05-16 Leo Liu <sdl.web@gmail.com>
9660 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9661 (smie--highlight-matching-block-overlay)
9662 (smie--highlight-matching-block-lastpos)
9663 (smie--highlight-matching-block-timer): New variables.
9664 (smie-highlight-matching-block): New function.
9665 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9666 (smie-setup): Conditionally enable smie-blink-matching-open.
9668 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9670 Sync with upstream verilog-mode r840.
9671 * progmodes/verilog-mode.el (verilog-mode-version)
9672 (verilog-mode-release-date): Update.
9673 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9674 (verilog-sig-tieoff): Fix string error on
9675 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9676 (verilog-read-decls): Fix parameters confusing
9677 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9679 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9681 * subr.el (reveal-filename): New function.
9683 * loadup.el: Compute Emacs executable versions on MS-Windows,
9684 where executables have the .exe extension. Add a hard link
9685 emacs-XX.YY.ZZ.exe on MS-Windows.
9687 * Makefile.in (XARGS_LIMIT): New variable.
9688 (custom-deps, finder-data, autoloads)
9689 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9690 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9691 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9692 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9694 2013-05-16 Leo Liu <sdl.web@gmail.com>
9696 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9697 (octave-mode-menu, octave-mode-map): Remove its uses.
9699 2013-05-16 Reto Zimmermann <reto@gnu.org>
9701 Sync with upstream vhdl mode v3.34.2.
9702 * progmodes/vhdl-mode.el: Use `push' throughout.
9703 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9704 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9705 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9706 (vhdl-actual-generic-name): New option to derive actual generic name.
9707 (vhdl-port-paste-signals): Replace formal by actual generics.
9708 (vhdl-beautify): New name for old group vhdl-align. Update users.
9709 (vhdl-beautify-options): New option.
9710 (vhdl-last-input-event): New compat alias. Use throughout.
9711 (vhdl-goto-line): Replace user level function `goto-line'.
9712 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9713 vhdl-fix-statement-buffer.
9714 (vhdl-create-mode-menu): Add some entries.
9715 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9716 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9717 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9718 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9719 to force statements on one line.
9720 (vhdl-remove-trailing-spaces-region):
9721 New, split from vhdl-remove-trailing-spaces.
9722 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9723 Respect vhdl-beautify-options.
9724 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9725 (vhdl-update-sensitivity-list): Not add with index if exists without.
9726 Not include array index with signal. Ignore keywords in comments.
9727 (vhdl-get-visible-signals): Regexp tweaks.
9728 (vhdl-template-component-inst): Handle empty library.
9729 (vhdl-template-type): Add template for 'enum' type.
9730 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9731 Use vhdl-replace-string.
9732 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9733 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9734 (vhdl-speedbar-initialize): Update for above name change.
9735 (vhdl-compose-wire-components): Fix in handling of constants.
9736 (vhdl-error-regexp-emacs-alist): New variable.
9737 (vhdl-error-regexp-add-emacs): New function;
9738 adds support for new compile.el (Emacs 22+)
9739 (vhdl-generate-makefile-1): Change target order for single lib. units.
9740 Allow use of absolute file names.
9742 2013-05-16 Leo Liu <sdl.web@gmail.com>
9744 * simple.el (prog-indent-sexp): Indent enclosing defun.
9746 2013-05-15 Glenn Morris <rgm@gnu.org>
9748 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9749 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9750 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9751 (whitespace-highlight): Move to whitespace group.
9753 * comint.el (comint-source):
9754 * pcmpl-linux.el (pcmpl-linux):
9755 * shell.el (shell-faces):
9756 * eshell/esh-opt.el (eshell-opt):
9757 * international/ccl.el (ccl): Remove empty custom groups.
9759 * completion.el (dynamic-completion-mode):
9760 * jit-lock.el (jit-lock-debug-mode):
9761 * minibuffer.el (completion-in-region-mode):
9762 * type-break.el (type-break-mode-line-message-mode)
9763 (type-break-query-mode):
9764 * emulation/tpu-edt.el (tpu-edt-mode):
9765 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9766 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9767 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9769 * term/xterm.el (xterm): Change parent group to terminals.
9771 * master.el (master): Remove empty custom group.
9772 (master-mode): Remove unused :group argument.
9773 * textmodes/refill.el (refill): Remove empty custom group.
9774 (refill-mode): Remove unused :group argument.
9776 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9778 * cus-dep.el: Provide a feature.
9779 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9780 Don't mistakenly ignore files whose basenames match a basename
9781 from preloaded-file-list (eg cedet/ede/simple.el).
9782 Add a fallback method for getting :group.
9784 2013-05-15 Juri Linkov <juri@jurta.org>
9786 * isearch.el (isearch-char-by-name): Rename from
9787 `isearch-insert-char-by-name'. Doc fix.
9788 (isearch-forward): Mention `isearch-char-by-name' in
9789 the docstring. (Bug#13348)
9791 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9792 `exit-minibuffer' instead of
9793 `isearch-nonincremental-exit-minibuffer'.
9794 (isearch-edit-string): Remove mention of
9795 `isearch-nonincremental-exit-minibuffer' from docstring.
9796 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9797 (isearch-forward-exit-minibuffer)
9798 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9800 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9802 * loadup.el: Just use unversioned DOC.
9804 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9805 literals as extending to EOB.
9806 (nxml-last-fontify-end): Remove unused variable.
9807 (nxml-after-change1): Use with-silent-modifications.
9808 (nxml-extend-after-change-region): Simplify.
9809 (nxml-extend-after-change-region1): Remove function.
9810 (nxml-after-change1): Don't adjust for dependent regions.
9811 (nxml-fontify-matcher): Simplify.
9812 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9813 (xmltok-add-dependent): Remove function.
9814 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9815 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9816 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9817 unclosed <[[, <?, comment, and other literals as extending to EOB.
9818 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9819 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9821 (rng-do-some-validation-1): Don't mark dependent regions.
9822 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9823 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9824 (nxml-clear-dependent-regions): Remove functions.
9825 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9826 (nxml-ensure-scan-up-to-date):
9827 Don't clear&mark dependent regions.
9829 2013-05-15 Leo Liu <sdl.web@gmail.com>
9831 * progmodes/octave.el (octave-goto-function-definition):
9832 Improve and fix callers.
9834 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9836 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9837 the setter (bug#14387).
9839 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9840 surrounding group (bug#14402).
9842 2013-05-14 Juri Linkov <juri@jurta.org>
9844 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9847 2013-05-14 Glenn Morris <rgm@gnu.org>
9849 * progmodes/f90.el (f90-imenu-generic-expression):
9850 Fix typo in 2013-05-08 change. (Bug#14402)
9852 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9854 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9855 Remove signals for which replies are never received.
9857 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9859 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9860 (gdb-handler-alist, gdb-handler-number): Remove variables.
9861 (gdb-handler-list): New variable.
9862 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9863 (gdb-pending-handler-p, gdb-handle-reply)
9864 (gdb-remove-all-pending-triggers): New functions.
9865 (gdb-discard-unordered-replies): New defcustom.
9866 (gdb-handler): New defstruct.
9867 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9868 instead of gdb-pending-triggers. Update docstring.
9869 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9870 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9871 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9872 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9873 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9874 (gdb-frame-handler): Pending triggers are now automatically managed.
9875 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9877 (gdb-input): Automatically handles pending triggers. Update docstring.
9878 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9879 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9881 (gdb-done-or-error): Now use gdb-handle-reply.
9883 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9885 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9888 2013-05-14 Glenn Morris <rgm@gnu.org>
9890 * subr.el (user-emacs-directory-warning): New option.
9891 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9893 2013-05-14 Leo Liu <sdl.web@gmail.com>
9895 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9897 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9898 (octave-font-lock-texinfo-comment): Fix invalid search bound
9899 error: wrong side of point.
9901 2013-05-14 Glenn Morris <rgm@gnu.org>
9903 * progmodes/flymake.el (flymake-xml-program): New option.
9904 (flymake-xml-init): Use it.
9906 * term/xterm.el: Provide a feature.
9908 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9910 2013-05-13 Glenn Morris <rgm@gnu.org>
9912 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9913 Add compat aliases as a hack workaround. (Bug#14384)
9915 2013-05-13 Leo Liu <sdl.web@gmail.com>
9917 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9919 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9921 (octave-comment-start-skip): Include %!.
9922 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9924 2013-05-12 Leo Liu <sdl.web@gmail.com>
9926 * progmodes/octave.el (inferior-octave-startup): Store the value
9927 of __octave_srcdir__ for octave-source-directories.
9928 (inferior-octave-check-process): New function refactored out of
9929 inferior-octave-send-list-and-digest.
9930 (octave-source-directories)
9931 (octave-find-definition-filename-function): New variables.
9932 (octave-source-directories)
9933 (octave-find-definition-default-filename): New functions.
9934 (octave-find-definition): Improve to find functions implemented in C++.
9936 2013-05-12 Glenn Morris <rgm@gnu.org>
9938 * calendar/diary-lib.el (diary-outlook-format-1):
9939 Don't include dayname in the output. (Bug#14349)
9941 2013-05-11 Glenn Morris <rgm@gnu.org>
9943 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9945 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9946 Treat cc-provide like provide.
9948 2013-05-11 Kevin Ryde <user42@zip.com.au>
9950 * cus-dep.el (custom-make-dependencies):
9951 Use generated-autoload-load-name for the sake of files such
9952 such cedet/semantic/bovine/c.el, where the base file name
9953 is not in load-path. (Bug#5277)
9955 2013-05-11 Glenn Morris <rgm@gnu.org>
9957 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9960 2013-05-11 Leo Liu <sdl.web@gmail.com>
9962 * progmodes/octave.el (octave-indent-comment): Improve.
9963 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9964 (octave-eldoc-function-signatures, octave-eldoc-function):
9966 (octave-mode, inferior-octave-mode): Add eldoc support.
9968 2013-05-11 Richard Stallman <rms@gnu.org>
9970 * epa.el (epa-decrypt-file): Take output file name as argument
9971 and read it using `interactive'.
9973 2013-05-11 Leo Liu <sdl.web@gmail.com>
9975 * progmodes/octave.el (octave-beginning-of-line)
9976 (octave-end-of-line): Check before using up-list because it jumps
9977 out of more syntactic contructs since moving to smie.
9978 (octave-indent-comment): New function.
9979 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9980 (octave-begin-keywords, octave-end-keywords)
9981 (octave-reserved-words, octave-smie-bnf-table)
9982 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9984 2013-05-11 Glenn Morris <rgm@gnu.org>
9986 * faces.el (internal-face-x-get-resource):
9987 * frame.el (ns-display-monitor-attributes-list):
9988 * calc/calc-aent.el (math-to-radians-2):
9989 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9992 * calc/calc-menu.el: Make it loadable in isolation.
9994 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9995 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9996 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9997 (eudc-bbdb-query-internal): Require 'bbdb.
9999 * lpr.el (lpr-headers-switches):
10000 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10002 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10004 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10006 * term.el (term-set-escape-char): Make it idempotent.
10008 2013-05-10 Leo Liu <sdl.web@gmail.com>
10010 * progmodes/octave.el (inferior-octave-completion-table):
10011 No longer a function and all uses changed. Use cache to speed up
10012 completion due to bug#11906.
10013 (octave-beginning-of-defun): Re-write to be more general.
10015 2013-05-10 Glenn Morris <rgm@gnu.org>
10017 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10019 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10021 * comint.el (comint-redirect-send-command-to-process): Use :around
10022 rather than :override for comint-redirect-filter.
10023 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10024 Call it instead of comint-redirect-original-filter-function (which
10025 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10027 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10029 * frame.el (display-monitor-attributes-list): Add NS case.
10030 (ns-display-monitor-attributes-list): Declare.
10032 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10034 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10036 2013-05-09 Glenn Morris <rgm@gnu.org>
10038 * international/fontset.el (vertical-centering-font-regexp):
10039 Set standard-value.
10041 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10043 * bookmark.el (bookmark-search-delay):
10044 * cus-start.el (vertical-centering-font-regexp):
10045 * ps-mule.el (ps-mule-font-info-database-default):
10046 * ps-print.el (ps-default-fg, ps-default-bg):
10047 * type-break.el (type-break-good-break-interval):
10048 * whitespace.el (whitespace-indentation-regexp)
10049 (whitespace-space-after-tab-regexp):
10050 * emacs-lisp/testcover.el (testcover-1value-functions)
10051 (testcover-noreturn-functions, testcover-progn-functions)
10052 (testcover-prog1-functions):
10053 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10054 * eshell/em-glob.el (eshell-glob-translate-alist):
10055 * play/tetris.el (tetris-tty-colors):
10056 * progmodes/cpp.el (cpp-face-default-list):
10057 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10058 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10059 (idlwave-help-browser-generic-args):
10060 * progmodes/make-mode.el (makefile-special-targets-list):
10061 * progmodes/python.el (python-shell-virtualenv-path):
10062 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10063 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10064 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10065 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10066 * textmodes/reftex-vars.el (reftex-format-label-function):
10067 * textmodes/remember.el (remember-diary-file): Fix custom types.
10069 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10072 2013-05-09 Leo Liu <sdl.web@gmail.com>
10074 * progmodes/octave.el (inferior-octave-completion-at-point):
10075 Restore file completion. (Bug#14300)
10076 (inferior-octave-startup): Fix incorrect highlighting for the
10079 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10081 * progmodes/ruby-mode.el: First cut at SMIE support.
10082 (ruby-use-smie): New var.
10083 (ruby-smie-grammar): New constant.
10084 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10085 (ruby-smie--forward-token, ruby-smie--backward-token)
10086 (ruby-smie-rules): New functions.
10087 (ruby-mode-variables): Setup SMIE if applicable.
10089 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10091 * simple.el (line-move-visual): Signal beginning/end of buffer
10092 only if vertical-motion moved less than it was requested. Avoids
10093 silly incorrect error messages when there are display strings with
10094 multiple newlines at EOL.
10096 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10098 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10099 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10100 (prolog-char-quote-workaround):
10101 * progmodes/cperl-mode.el (cperl-under-as-char):
10102 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10104 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10106 (vhdl-mode-syntax-table-init): Remove.
10108 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10111 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10113 (ld-script-font-lock-keywords):
10114 Change regexps to use things like \_< and \_>.
10116 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10117 Change all regexps to use things like \_< and \_>.
10119 * progmodes/autoconf.el (autoconf-definition-regexp)
10120 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10121 Handle a _ with symbol syntax.
10122 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10124 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10125 Consolidate declaration.
10126 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10128 (ada-create-syntax-table): Remove.
10129 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10130 already has the right syntax nowadays.
10131 (ada-goto-next-word): Don't change the syntax of "_".
10133 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10136 2013-05-08 Sam Steingold <sds@gnu.org>
10138 * thingatpt.el (thing-at-point): Accept optional second argument
10139 NO-PROPERTIES to strip the text properties from the return value.
10140 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10141 to `thing-at-point' instead of stripping the properties ourselves.
10142 Also, when `thing-at-point' fails to find a url, prepend "http://"
10143 to the filename at point on the assumption that the user is
10144 pointing at something like gnu.org/gnu.
10146 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10148 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10149 * faces.el (crm-separator):
10150 Silence byte-compiler.
10152 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10153 (tool-bar-map): Remove unneeded defvars.
10155 2013-05-08 Leo Liu <sdl.web@gmail.com>
10157 Re-work a fix for bug#10994 based on Le Wang's patch.
10158 * ido.el (ido-remove-consecutive-dups): New helper.
10159 (ido-completing-read): Use it.
10160 (ido-chop): Revert fix for bug#10994.
10162 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10164 * cus-edit.el (custom-save-variables):
10165 Pretty-print long values. (Bug#14187)
10167 2013-05-08 Glenn Morris <rgm@gnu.org>
10169 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10170 (m4-mode-syntax-table): Init in the defvar.
10171 (m4-mode-abbrev-table): Let define-derived-mode define it.
10173 2013-05-08 Tom Tromey <tromey@redhat.com>
10175 * progmodes/m4-mode.el (m4-mode-syntax-table):
10176 Do not treat "_" as word constituent. (Bug#14167)
10178 2013-05-07 Glenn Morris <rgm@gnu.org>
10180 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10181 Remove explicit eshell-isearch-cancel-map.
10183 * progmodes/f90.el (f90-smart-end-names): New option.
10184 (f90-smart-end): Doc fix.
10185 (f90-end-block-optional-name): New constant.
10186 (f90-block-match): Respect f90-smart-end-names.
10188 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10190 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10191 about implicit semi-colons (bug#14218).
10193 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10195 * frame.el (display-monitor-attributes-list)
10196 (frame-monitor-attributes): New functions.
10198 2013-05-06 Leo Liu <sdl.web@gmail.com>
10200 * progmodes/octave.el (octave-syntax-propertize-function): Change
10201 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10202 (octave-font-lock-keywords): Use octave-operator-regexp.
10203 (octave-completion-at-point): Rename from
10204 octave-completion-at-point-function.
10205 (inferior-octave-directory-tracker): Robustify.
10206 (octave-text-functions): Remove and fix its uses. No such things
10209 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10211 * emacs-lisp/trace.el (trace--display-buffer): New function.
10212 (trace-make-advice): Use it.
10214 2013-05-06 Juri Linkov <juri@jurta.org>
10216 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10217 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10219 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10220 in the help string. (Bug#12985)
10222 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10224 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10226 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10228 * progmodes/perl-mode.el: Add support for here documents.
10229 (perl-syntax-propertize-function): Match here-doc markers.
10230 (perl-syntax-propertize-special-constructs): Find their end.
10231 (perl-imenu-generic-expression): Use [:alnum:].
10233 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10234 (advice--add-function): Refresh the advice if already present
10237 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10239 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10241 2013-05-06 Glenn Morris <rgm@gnu.org>
10243 * w32-fns.el (w32-charset-info-alist): Declare.
10245 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10246 of its defcustom properties.
10247 (eshell-cmpl-initialize): No need to load pcomplete.
10249 * generic-x.el: No need to require comint when compiling.
10251 * net/eudc-export.el: Make it loadable without bbdb.
10252 (top-level): Use require rather than load-library.
10253 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10254 (eudc-batch-export-records-to-bbdb)
10255 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10258 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10260 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10261 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10262 some tweaks, instead.
10264 2013-05-05 Leo Liu <sdl.web@gmail.com>
10266 * progmodes/octave.el (octave-font-lock-keywords)
10267 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10268 (inferior-octave-send-list-and-digest): Improve error message.
10269 (octave-mode, inferior-octave-mode): Use setq-local.
10270 (octave-help): Set info-lookup-mode.
10272 2013-05-05 Richard Stallman <rms@gnu.org>
10274 * vc/compare-w.el (compare-windows-whitespace):
10275 Treat no-break space as whitespace.
10277 * mail/rmailsum.el (rmail-summary-rmail-update):
10278 Detect empty summary and don't change selected message.
10279 (rmail-summary-goto-msg): Likewise.
10281 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10282 Doc fixes, rename args.
10284 2013-05-05 Alan Mackenzie <acm@muc.de>
10286 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10288 2013-05-05 Juri Linkov <juri@jurta.org>
10290 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10291 to not add the length of the summary segment to the return value.
10294 2013-05-05 Leo Liu <sdl.web@gmail.com>
10296 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10297 (inferior-octave-output-filter): Remove.
10298 (octave-send-region, inferior-octave-startup): Fix callers.
10299 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10300 (octave-binary-file-extensions): New user variable.
10301 (octave-find-definition): Confirm if opening binary files.
10302 (octave-help-file): Use octave-find-definition to get the binary
10304 (octave-help): Adjust for octave-help-file change.
10306 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10308 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10309 Merge the two entries that handle function definitions.
10310 (pascal--syntax-propertize): New const.
10311 (pascal-mode): Use it. Use setq-local.
10313 2013-05-04 Glenn Morris <rgm@gnu.org>
10315 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10316 (diary-from-outlook): Respect diary-from-outlook-function.
10318 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10320 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10321 Move the declaration from C.
10322 (read-minibuffer, eval-minibuffer): Move from C.
10323 (completion-setup-function): Avoid minibuffer-completion-contents.
10325 2013-05-03 Leo Liu <sdl.web@gmail.com>
10327 * progmodes/octave.el (octave-font-lock-keywords): Do not
10328 dehighlight 'end' in comments or strings.
10329 (octave-completing-read, octave-goto-function-definition):
10331 (octave-help-buffer): New user variable.
10332 (octave-help-file, octave-help-function): New button types.
10333 (octave-help): New command and bind it to C-h ;.
10334 (octave-find-definition): New command and bind it to M-.
10335 (user-error): Alias to error if not defined.
10337 2013-05-02 Leo Liu <sdl.web@gmail.com>
10339 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10341 (octave-font-lock-keywords): Include [ and {.
10343 2013-05-02 Leo Liu <sdl.web@gmail.com>
10345 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10346 (inferior-octave): Remove calling comint-mode and return the buffer.
10347 (inferior-octave-startup): Cosmetic changes.
10349 2013-05-02 Leo Liu <sdl.web@gmail.com>
10351 * progmodes/octave.el (octave-syntax-propertize-function):
10352 Include the case when ' is at line beginning. (Bug#14336)
10354 2013-05-02 Glenn Morris <rgm@gnu.org>
10356 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10357 * desktop.el (vc-dir-mode): Just autoload it here.
10359 2013-05-02 Alan Mackenzie <acm@muc.de>
10361 Eliminate variable c-standard-font-lock-fontify-region-function.
10362 * progmodes/cc-mode.el
10363 (c-standard-font-lock-fontify-region-function): Remove.
10364 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10366 2013-05-01 Leo Liu <sdl.web@gmail.com>
10368 * progmodes/octave.el: Compatible with older emacs-24 releases.
10369 (inferior-octave-has-built-in-variables): Remove. Built-in
10370 variables were removed from Octave in 2007.
10371 (inferior-octave-startup): Fix uses.
10372 (comint-line-beginning-position): Remove compatibility code for
10375 2013-05-01 Juri Linkov <juri@jurta.org>
10377 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10379 2013-05-01 Juri Linkov <juri@jurta.org>
10381 * comint.el (comint-previous-matching-input): Don't print message
10382 "History item: %d" when `isearch-mode' is active.
10383 (comint-history-isearch-message): Print message "History item: %d"
10384 when `comint-input-ring-index' is not empty and this function is
10385 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10387 2013-05-01 Leo Liu <sdl.web@gmail.com>
10389 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10390 definitions. Use completion-at-point to insert keywords.
10391 (octave-abbrev-start): Remove.
10392 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10394 2013-04-30 Leo Liu <sdl.web@gmail.com>
10396 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10399 2013-04-30 Alan Mackenzie <acm@muc.de>
10401 Handle arbitrarily long C++ member initialisation lists.
10402 * progmodes/cc-engine.el (c-back-over-member-initializers):
10404 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10405 (most) member init lists.
10407 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10409 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10412 2013-04-30 Leo Liu <sdl.web@gmail.com>
10414 * progmodes/octave.el (octave-variables): Remove. No builtin
10415 variables any more. All converted to functions.
10416 (octave-font-lock-keywords, octave-completion-at-point-function):
10418 (octave-font-lock-texinfo-comment): New user variable.
10419 (octave-texinfo-font-lock-keywords): New variable for texinfo
10421 (octave-function-comment-block): New face.
10422 (octave-font-lock-texinfo-comment): New function.
10423 (octave-mode): Font lock texinfo comment block.
10425 2013-04-29 Leo Liu <sdl.web@gmail.com>
10427 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10428 indexing expression.
10429 (octave-continuation-string): Do not use \.
10430 (inferior-octave-complete-impossible): Remove.
10431 (inferior-octave-completion-table)
10432 (inferior-octave-completion-at-point): Remove its uses.
10433 (inferior-octave-startup): completion_matches was introduced to
10434 Octave in 1996 so safe to assume it.
10435 (octave-function-file-comment): Improve to follow how Octave does it.
10436 (octave-update-function-file-comment): Tweak.
10438 2013-04-29 Leo Liu <sdl.web@gmail.com>
10440 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10441 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10442 (octave-function-file-comment): Fix typo.
10443 (octave-sync-function-file-names): Use read-char-choice.
10445 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10447 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10448 to t for the less important warnings.
10450 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10452 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10454 2013-04-27 Glenn Morris <rgm@gnu.org>
10456 * vc/log-view.el (log-view-current-entry):
10457 Treat "---" separator lines as part of the following rev. (Bug#14169)
10459 2013-04-27 Juri Linkov <juri@jurta.org>
10461 * subr.el (read-number): Doc fix about using it by interactive
10462 code letter `n'. (Bug#14254)
10464 2013-04-27 Juri Linkov <juri@jurta.org>
10466 * desktop.el (desktop-auto-save-timeout): New option.
10467 (desktop-file-checksum): New variable.
10468 (desktop-save): Add optional arg `auto-save' and don't auto-save
10469 if nothing changed.
10470 (desktop-auto-save-timer): New variable.
10471 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10472 (after-init-hook): Call `desktop-auto-save-set-timer'.
10473 Suggested by Reuben Thomas <rrt@sc3d.org> in
10474 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10476 2013-04-27 Leo Liu <sdl.web@gmail.com>
10478 * progmodes/octave.el (octave-function-file-p)
10479 (octave-skip-comment-forward, octave-function-file-comment)
10480 (octave-update-function-file-comment): New functions.
10481 (octave-mode-map): Bind C-c ; to
10482 octave-update-function-file-comment.
10483 (octave-mode-menu): Add octave-update-function-file-comment.
10484 (octave-mode, inferior-octave-mode): Fix doc-string.
10485 (octave-insert-defun): Conform to Octave's coding convention.
10488 * files.el (basic-save-buffer): Don't let errors in
10489 before-save-hook prevent saving buffer.
10491 2013-04-20 Roland Winkler <winkler@gnu.org>
10493 * faces.el (read-face-name): Use completing-read if arg multiple
10496 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10498 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10499 displayed, move point to after the totals line.
10500 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10503 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10505 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10506 Add current dir to the load-path.
10507 (package-generate-autoloads): Don't rely on
10508 autoload-ensure-default-file.
10510 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10512 * textmodes/remember.el (remember-store-in-files): Document that
10513 the file name format is passed to `format-time-string'.
10515 2013-04-26 Leo Liu <sdl.web@gmail.com>
10517 * progmodes/octave.el (octave-sync-function-file-names): New function.
10518 (octave-mode): Use it in before-save-hook.
10520 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10522 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10525 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10526 \n and comment, even if it's not an implicit ; (bug#14218).
10528 2013-04-26 Glenn Morris <rgm@gnu.org>
10530 * subr.el (read-number): Once more use `read' rather than
10531 `string-to-number', to trap non-numeric input. (Bug#14254)
10533 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10535 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10536 Use `syntax-multiline' text property consistently instead of
10537 `font-lock-multiline'. (Bug#14237)
10539 2013-04-26 Glenn Morris <rgm@gnu.org>
10541 * emacs-lisp/shadow.el (list-load-path-shadows):
10542 No longer necessary to check for duplicate simple.el, since
10543 2012-07-07 change to init_lread to not include installation lisp
10544 directories in load-path when running uninstalled. (Bug#14270)
10546 2013-04-26 Leo Liu <sdl.web@gmail.com>
10548 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10549 (octave-mode, inferior-octave-mode): Use setq-local.
10550 (octave-not-in-string-or-comment-p): Rename to
10551 octave-in-string-or-comment-p.
10552 (octave-in-comment-p, octave-in-string-p)
10553 (octave-in-string-or-comment-p): Replace defsubst with defun.
10555 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10557 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10559 2013-04-25 Bastien Guerry <bzg@gnu.org>
10561 * textmodes/remember.el (remember-data-directory)
10562 (remember-directory-file-name-format): Fix custom types.
10564 2013-04-25 Leo Liu <sdl.web@gmail.com>
10566 * progmodes/octave.el (octave-completion-at-point-function):
10567 Make use of inferior octave process.
10568 (octave-initialize-completions): Remove.
10569 (inferior-octave-completion-table): New function.
10570 (inferior-octave-completion-at-point): Use it.
10571 (octave-completion-alist): Remove.
10573 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10575 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10576 (opascal-mode-syntax-table): New var.
10577 (opascal-literal-kind, opascal-is-literal-end)
10578 (opascal-literal-token-at): Rewrite.
10579 (opascal--literal-start-re, opascal-font-lock-keywords)
10580 (opascal--syntax-propertize): New constants.
10581 (opascal-font-lock-defaults): Adjust.
10582 (opascal-mode): Use them. Set comment-<foo> variables as well.
10583 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10584 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10585 (delphi-other-face, opascal-other-face): Remove face variables.
10586 (opascal-save-state): Remove macro.
10587 (opascal-fontifying-progress-step): Remove constant.
10588 (opascal--ignore-changes): Remove var.
10589 (opascal-set-token-property, opascal-parse-next-literal)
10590 (opascal-is-stable-literal, opascal-complete-literal)
10591 (opascal-is-literal-start, opascal-face-of)
10592 (opascal-parse-region, opascal-parse-region-until-stable)
10593 (opascal-fontify-region, opascal-after-change)
10594 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10595 (opascal-debug-parse-region, opascal-debug-parse-window)
10596 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10597 (opascal-debug-fontify-buffer): Remove.
10598 (opascal-debug-mode-map): Adjust accordingly.
10600 2013-04-25 Leo Liu <sdl.web@gmail.com>
10602 Merge octave-mod.el and octave-inf.el into octave.el with some
10604 * progmodes/octave.el: New file renamed from octave-mod.el.
10605 * progmodes/octave-inf.el: Merged into octave.el.
10606 * progmodes/octave-mod.el: Renamed to octave.el.
10608 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10610 * textmodes/reftex-vars.el
10611 (reftex-label-ignored-macros-and-environments): New defcustom.
10613 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10615 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10617 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10618 (smie-indent-keyword): Improve the check to ensure that the next
10619 comment is really on the same line.
10620 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10622 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10623 semi-colons if the line is not otherwise empty (bug#14218).
10625 2013-04-25 Glenn Morris <rgm@gnu.org>
10627 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10629 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10631 * progmodes/opascal.el (opascal-set-token-property): Rename from
10632 opascal-set-text-properties and only set `token' (bug#14134).
10633 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10634 (opascal-literal-text-properties): Remove.
10635 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10638 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10640 * textmodes/remember.el (remember-handler-functions): Add an
10641 option for a new handler `remember-store-in-files'.
10642 (remember-data-directory, remember-directory-file-name-format):
10644 (remember-store-in-files): New function to store remember notes
10645 as separate files within a directory.
10647 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10649 * progmodes/compile.el (compilation-next-error-function):
10650 Pass "formats" to compilation-find-file (bug#11777).
10652 2013-04-24 Glenn Morris <rgm@gnu.org>
10654 * vc/vc-bzr.el (vc-bzr-print-log):
10655 * vc/vc-hg.el (vc-hg-print-log):
10656 * vc/vc-svn.el (vc-svn-print-log):
10657 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10659 * vc/vc-bzr.el (vc-bzr-print-log):
10660 * vc/vc-cvs.el (vc-cvs-print-log):
10661 * vc/vc-git.el (vc-git-print-log):
10662 * vc/vc-hg.el (vc-hg-print-log):
10663 * vc/vc-mtn.el (vc-mtn-print-log):
10664 * vc/vc-rcs.el (vc-rcs-print-log):
10665 * vc/vc-sccs.el (vc-sccs-print-log):
10666 * vc/vc-svn.el (vc-svn-print-log):
10667 * vc/vc.el (vc-print-log-internal): Doc fixes.
10669 2013-04-23 Glenn Morris <rgm@gnu.org>
10671 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10672 Remove venerable code attempting to avoid substitute-command-keys.
10674 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10676 * textmodes/reftex-vars.el (reftex-label-regexps):
10677 Call `reftex-compile-variables' after changes to this variable.
10679 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10681 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10682 Use lexical-binding.
10683 (jit-lock-force-redisplay): Use markers, check buffer's continued
10684 existence and beware narrowed buffers.
10685 (jit-lock-fontify-now): Adjust call accordingly.
10687 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10689 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10690 to avoid misleading the user.
10692 2013-04-22 Leo Liu <sdl.web@gmail.com>
10694 * info-look.el: Prefer latex2e.info. (Bug#14240)
10696 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10698 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10700 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10701 * net/tramp.el (tramp-call-process): ... here.
10702 (tramp-set-completion-function, tramp-parse-putty):
10703 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10704 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10705 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10706 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10707 (tramp-call-local-coding-command): Use `tramp-call-process'
10708 instead of `tramp-compat-call-process'.
10710 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10711 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10712 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10713 (tramp-find-inline-compress): Improve traces.
10714 (tramp-maybe-send-script): Check for Perl binary.
10715 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10717 2013-04-22 Daiki Ueno <ueno@gnu.org>
10719 * epg.el (epg-context-pinentry-mode): New function.
10720 (epg-context-set-pinentry-mode): New function.
10721 (epg--start): Pass --pinentry-mode option to gpg command.
10723 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10725 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10726 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10727 `completion-at-point'. (Bug#13774)
10729 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10730 default key binding for `describe-distribution' has been moved to
10731 `C-h C-o'. (Bug#13970)
10733 2013-04-21 Glenn Morris <rgm@gnu.org>
10735 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10737 (vc-print-log): Clarify interactive prompt.
10739 2013-04-20 Glenn Morris <rgm@gnu.org>
10741 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10742 No longer include timestamp etc information.
10744 2013-04-20 Roland Winkler <winkler@gnu.org>
10746 * faces.el (read-face-name): Bug fix, return just one face if arg
10747 multiple is nil. (Bug#14209)
10749 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10751 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10752 (remove-function): Autoload.
10754 * comint.el (comint-redirect-original-filter-function): Remove.
10755 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10756 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10757 (vc-cvs-annotate-command):
10758 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10759 * progmodes/prolog.el (prolog-consult-compile):
10760 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10761 Use add/remove-function instead.
10762 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10763 (gud-tooltip-process-output, gud-tooltip-tips):
10764 Use add/remove-function instead.
10765 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10766 (scheme-interaction-mode, exit-scheme-interaction-mode):
10767 Use add/remove-function instead.
10769 * vc/vc-dispatcher.el: Use lexical-binding.
10770 (vc--process-sentinel): Rename from vc-process-sentinel.
10771 Change last arg to be the code to run. Don't use vc-previous-sentinel
10772 and vc-sentinel-commands any more.
10773 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10774 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10776 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10778 * progmodes/sh-script.el (sh-imenu-generic-expression):
10779 Handle function names with a single character. (Bug#14111)
10781 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10783 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10784 for subroutines defined in an eval (bug#14182).
10786 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10788 * bookmark.el (bookmark-completing-read): Improve handling of empty
10789 string (bug#14176).
10791 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10793 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10795 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10797 New faster Imenu implementation (bug#14058).
10798 * progmodes/python.el:
10799 (python-imenu-prev-index-position):
10800 (python-imenu-format-item-label-function)
10801 (python-imenu-format-parent-item-label-function)
10802 (python-imenu-format-parent-item-jump-label-function):
10804 (python-imenu-format-item-label)
10805 (python-imenu-format-parent-item-label)
10806 (python-imenu-format-parent-item-jump-label)
10807 (python-imenu--put-parent, python-imenu--build-tree)
10808 (python-imenu-create-index, python-imenu-create-flat-index)
10809 (python-util-popn): New functions.
10810 (python-mode): Set imenu-create-index-function to
10811 python-imenu-create-index.
10813 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10815 * winner.el (winner-active-region): Use region-active-p, activate-mark
10816 and deactivate-mark (bug#14225).
10818 * simple.el (deactivate-mark): Don't inline it.
10820 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10822 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10824 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10826 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10827 file extensions from the archive-mode entry in order to prefer
10828 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10830 2013-04-18 Leo Liu <sdl.web@gmail.com>
10832 * bindings.el (help-event-list): Add ?\?.
10834 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10836 * subr.el (with-wrapper-hook): Declare obsolete.
10837 * simple.el (filter-buffer-substring-function): New hook.
10838 (filter-buffer-substring): Use it.
10839 (filter-buffer-substring-functions): Mark obsolete.
10840 * minibuffer.el (completion-in-region-function): New hook.
10841 (completion-in-region): Use it.
10842 (completion-in-region-functions): Mark obsolete.
10843 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10844 * abbrev.el (abbrev-expand-function): New hook.
10845 (expand-abbrev): Use it.
10846 (abbrev-expand-functions): Mark obsolete.
10847 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10848 and :filter-return.
10850 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10852 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10853 and do not care about match data.
10855 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10857 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10858 completion tables when completing error conditions and
10859 `declare' arguments.
10860 (lisp-complete-symbol, field-complete): Mark as obsolete.
10861 (check-parens): Unmatched parens are user errors.
10862 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10864 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10866 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10867 command changed buffer (ie. `flyspell-pre-buffer' is not current
10868 buffer), which prevents making decisions based on invalid value of
10869 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10870 cause an error when `flyspell-pre-point' was nil after switching
10872 (flyspell-post-command-hook): No longer needs to change buffers when
10873 checking pre-word. While at it remove unnecessary progn.
10875 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10877 * textmodes/ispell.el (ispell-add-per-file-word-list):
10878 Fix `flyspell-correct-word-before-point' error when accepting
10879 words and `coment-padding' is an integer by using
10880 `comment-normalize-vars' (Bug #14214).
10882 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10884 New defun movement commands.
10885 * progmodes/python.el (python-nav--syntactically)
10886 (python-nav--forward-defun, python-nav-backward-defun)
10887 (python-nav-forward-defun): New functions.
10889 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10891 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10892 (python-syntax-context): Use named compiler-macro for backwards
10893 compatibility with Emacs 24.x.
10895 2013-04-17 Leo Liu <sdl.web@gmail.com>
10897 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10898 octave-hide-process-buffer.
10900 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10902 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10905 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10907 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10908 Fix adjustment of offset when receiving incomplete responses from GDB
10911 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10913 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10914 python-mode-abbrev-table.
10915 (python-skeleton-define): Adjust accordingly.
10916 (python-mode-abbrev-table): New table that inherits from it so that
10917 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10919 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10920 (abbrev-symbol): Use it.
10921 (abbrev--before-point): Use it since we already handle inheritance.
10923 2013-04-16 Leo Liu <sdl.web@gmail.com>
10925 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10926 binding to info-lookup-symbol.
10928 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10930 * minibuffer.el (completion--twq-all):
10931 * term/ns-win.el (ns-initialize-window-system):
10932 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10934 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10936 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10939 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10941 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10943 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10944 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10946 (ruby-end-of-defun): Remove the unused arg, change the docstring
10947 to reflect that this function is only used as the value of
10948 `end-of-defun-function'.
10949 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10950 to reflect an earlier change that beginning/end-of-defun functions
10951 jump between methods in a class definition, as well as top-level
10954 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10956 * minibuffer.el (minibuffer-complete): Don't just scroll
10957 a *Completions* that's been iconified.
10958 (minibuffer-force-complete): Make sure repetitions do cycle when going
10959 through completion-in-region -> minibuffer-complete.
10961 2013-04-15 Alan Mackenzie <acm@muc.de>
10963 Correct the placement of c-cpp-delimiters when there're #s not at
10966 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10967 place a submatch around the #.
10968 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10969 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10972 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10974 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10975 (advice--member-p): New arg `name'.
10976 (advice--add-function, advice-member-p): Use it (bug#14202).
10978 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10980 Reformulate java imenu-generic-expression.
10981 The old expression contained ill formed regexps.
10983 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10984 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10985 (cc-imenu-java-method-arg-regexp): New defconsts.
10986 (cc-imenu-java-build-type-args-regex): New defun.
10987 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10988 handling of spaces in the regexp.
10990 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10992 * textmodes/ispell.el (ispell-command-loop): Remove
10993 flyspell highlight of a word when ispell accepts it (bug #14178).
10995 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10997 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10998 uses code from the previous `ange-ftp-run-real-handler'.
10999 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11000 only in case that function exist. This is needed for proper
11001 unloading of Tramp.
11003 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11005 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11007 * textmodes/reftex.el (reftex-compile-variables): Use it.
11009 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11011 * files.el (normal-mode): Only use default major-mode if no other mode
11014 * emacs-lisp/trace.el (trace-values): New function.
11016 * files.el: Allow : in local variables (bug#14089).
11017 (hack-local-variable-regexp): New var.
11018 (hack-local-variables-prop-line, hack-local-variables): Use it.
11020 2013-04-13 Roland Winkler <winkler@gnu.org>
11022 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11023 data before it gets modified by bibtex-beginning-of-entry.
11025 2013-04-13 Roland Winkler <winkler@gnu.org>
11027 * textmodes/bibtex.el (bibtex-url): Doc fix.
11029 2013-04-13 Roland Winkler <winkler@gnu.org>
11031 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11032 does not visit a BibTeX file, exclude it from the list of buffers
11033 returned by bibtex-initialize.
11035 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11037 * window.el (split-window): Remove interactive form, since as a
11038 command this function is a special case of split-window-below.
11039 Correct doc string.
11041 2013-04-12 Roland Winkler <winkler@gnu.org>
11043 * faces.el (read-face-name): Do not override value of arg default.
11044 Allow single faces and strings as default values. Remove those
11045 elements from return value that are not faces.
11046 (describe-face): Simplify.
11047 (face-at-point): New optional args thing and multiple so that this
11048 function can provide the same functionality previously provided by
11050 (make-face-bold, make-face-unbold, make-face-italic)
11051 (make-face-unitalic, make-face-bold-italic, invert-face)
11052 (modify-face, read-face-and-attribute): Use face-at-point.
11054 * cus-edit.el (customize-face, customize-face-other-window)
11055 * cus-theme.el (custom-theme-add-face)
11056 * face-remap.el (buffer-face-set)
11057 * facemenu.el (facemenu-set-face): Use face-at-point.
11059 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11061 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11063 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11065 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11066 off leading { and trailing } from field values.
11068 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11070 * emacs-lisp/timer.el (timer--check): New function.
11071 (timer--time, timer-set-function, timer-event-handler): Use it.
11072 (timer-set-idle-time): Simplify.
11073 (timer--activate): CSE.
11074 (timer-event-handler): Give more info in error message.
11075 (internal-timer-start-idle): New function, moved from C.
11077 * mpc.el (mpc-proc): Add `restart' argument.
11078 (mpc-proc-cmd): Use it.
11079 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11080 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11083 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11085 * progmodes/sh-script.el: Implement `sh-mode' own
11086 `add-log-current-defun-function' (bug#14112).
11087 (sh-current-defun-name): New function.
11088 (sh-mode): Use the function.
11090 2013-04-09 Bastien Guerry <bzg@gnu.org>
11092 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11094 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11096 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11098 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11101 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11103 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11106 2013-04-07 Leo Liu <sdl.web@gmail.com>
11108 * pcmpl-x.el: New file.
11110 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11112 Do not set x-display-name until X connection is established.
11113 This is needed to prevent from weird situation described at
11114 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11115 * frame.el (make-frame): Set x-display-name after call to
11116 window system initialization function, not before.
11117 * term/x-win.el (x-initialize-window-system): Add optional
11118 display argument and use it.
11119 * term/w32-win.el (w32-initialize-window-system):
11120 * term/ns-win.el (ns-initialize-window-system):
11121 * term/pc-win.el (msdos-initialize-window-system):
11122 Add compatible optional display argument.
11124 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11126 * files.el (normal-backup-enable-predicate): On MS-Windows and
11127 MS-DOS compare truenames of temporary-file-directory and of the
11128 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11129 don't fail comparison by compare-strings. Also, compare file
11130 names case-insensitively on MS-Windows and MS-DOS.
11132 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11134 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11135 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11137 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11139 * whitespace.el (whitespace-color-on, whitespace-color-off):
11140 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11142 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11144 * ispell.el (ispell-set-spellchecker-params):
11145 Really set `ispell-args' for all equivs.
11147 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11149 * ido.el (ido-completions): Use extra elements of ido-decorations
11151 (ido-decorations): Update docstring.
11153 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11155 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11156 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11157 nil during initialization, in order not to miss changes since the
11158 file was opened. (Bug#14140)
11160 2013-04-05 Leo Liu <sdl.web@gmail.com>
11162 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11164 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11166 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11168 2013-04-04 Glenn Morris <rgm@gnu.org>
11170 * electric.el (electric-pair-inhibit-predicate): Add :version.
11172 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11174 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11175 when a package is required several times (bug#14082).
11177 2013-04-04 Roland Winkler <winkler@gnu.org>
11179 * faces.el (read-face-name): Behave as promised by the docstring.
11180 Assume that arg default is a list of faces.
11181 (describe-face): Call read-face-name with list of default faces.
11183 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11185 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11186 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11187 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11189 (bookmark-exit-hook-internal): Save even if list is empty.
11191 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11193 * emacs-lisp/package.el (package-pinned-packages): New var.
11194 (package--add-to-archive-contents): Obey it (bug#14118).
11196 2013-04-03 Alan Mackenzie <acm@muc.de>
11198 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11199 Also adapt to the new values of element 7 of a parse state.
11201 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11202 parameter `not-in-delimiter'. Handle being inside comment opener.
11203 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11204 character in case we're typing a '*' after a '/'.
11205 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11206 instead by passing the parameter to c-state-pp-to-literal.
11208 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11209 for elt. 7 of a parse state.
11211 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11213 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11214 * international/latin1-disp.el, international/mule-util.el:
11215 * language/cyril-util.el, language/european.el, language/ind-util.el:
11216 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11217 * language/tibetan.el, language/viet-util.el:
11218 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11220 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11222 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11223 (electric-pair-post-self-insert-function): Use it.
11224 (electric-pair-default-inhibit): New function, extracted from
11225 electric-pair-post-self-insert-function.
11227 2013-03-31 Roland Winkler <winkler@gnu.org>
11229 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11231 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11233 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11235 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11237 Un-indent after "pass" and "return" statements (Bug#13888)
11238 * progmodes/python.el (python-indent-block-enders): New var.
11239 (python-indent-calculate-indentation): Use it.
11241 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11243 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11244 defun. Defining it as defalias could introduce too eager
11245 byte-compiler optimization. (Bug#14030)
11247 2013-03-30 Chong Yidong <cyd@gnu.org>
11249 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11251 2013-03-30 Leo Liu <sdl.web@gmail.com>
11253 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11254 (kmacro-execute-from-register): Pass the keyboard macro to
11255 kmacro-call-macro or repeating won't work correctly.
11257 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11259 * progmodes/subword.el: Back to using `forward-symbol'.
11261 * subr.el (forward-whitespace, forward-symbol)
11262 (forward-same-syntax): Move from thingatpt.el.
11264 2013-03-29 Leo Liu <sdl.web@gmail.com>
11266 * kmacro.el (kmacro-to-register): New command.
11267 (kmacro-execute-from-register): New function.
11268 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11270 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11272 * mpc.el: Use defvar-local and setq-local.
11273 (mpc--proc-connect): Connection failures are not bugs.
11274 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11275 (mpc-volume-map): Bind to the up-events.
11277 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11279 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11280 instead of `forward-symbol'.
11282 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11284 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11285 (edebug--recursive-edit): Use it.
11286 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11287 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11289 2013-03-28 Leo Liu <sdl.web@gmail.com>
11291 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11293 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11295 * facemenu.el (list-colors-callback): New defvar.
11296 (list-colors-redisplay): New function.
11297 (list-colors-display): Install list-colors-redisplay as the
11298 revert-buffer-function. (Bug#14063)
11300 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11302 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11303 and suffixes don't overlap (bug#14061).
11305 * case-table.el: Use lexical-binding.
11306 (case-table-get-table): New function.
11307 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11309 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11311 * progmodes/subword.el: Add `superword-mode' to do word motion
11312 over symbol_words (parallels and leverages `subword-mode' which
11313 does word motion inside MixedCaseWords).
11315 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11317 * eshell/em-unix.el: Move su and sudo to...
11318 * eshell/em-tramp.el: ...Eshell tramp module.
11320 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11322 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11323 Change return value to be a sexp. Delay `get-buffer' to after
11324 restoring the desktop (bug#13951).
11326 2013-03-26 Leo Liu <sdl.web@gmail.com>
11328 * register.el: Move semantic tag handling back to
11329 cedet/semantic/senator.el. (Bug#14052)
11331 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11333 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11334 into the prompt either (bug#13963).
11336 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11338 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11339 part of "(error-foo)".
11341 2013-03-24 Juri Linkov <juri@jurta.org>
11343 * replace.el (list-matching-lines-prefix-face): New defcustom.
11344 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11345 `occur-engine' if `face-differs-from-default-p' returns t.
11346 (occur-engine): Add `,' inside backquote construct to evaluate
11347 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11348 Pass `prefix-face' to the functions `occur-context-lines' and
11349 `occur-engine-add-prefix'.
11350 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11351 `prefix-face' and propertize the prefix with `prefix-face'.
11354 2013-03-24 Leo Liu <sdl.web@gmail.com>
11356 * nxml/rng-valid.el (rng-validate-while-idle)
11357 (rng-validate-quick-while-idle): Guard against deleted buffer.
11360 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11361 is the last entry in kill-buffer-hook.
11363 * files.el (kill-buffer-hook): Doc fix.
11365 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11367 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11368 Make it safe-local.
11370 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11372 2013-03-23 Leo Liu <sdl.web@gmail.com>
11374 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11377 * nxml/rng-valid.el (rng-validate-mode)
11378 (rng-after-change-function, rng-do-some-validation):
11379 * nxml/rng-maint.el (rng-validate-buffer):
11380 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11381 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11382 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11383 (nxml-extend-after-change-region): Use with-silent-modifications.
11385 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11388 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11389 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11390 timer-idle-list. (Bug#13999)
11392 2013-03-23 Juri Linkov <juri@jurta.org>
11394 * info.el (info-index-match): New face.
11395 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11396 main pattern and add text properties with the new face to matches
11397 in index entries relative to the beginning of the index entry.
11400 2013-03-21 Eric Ludlam <zappo@gnu.org>
11402 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11403 Inhibit read only while inserting objects.
11405 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11407 * progmodes/cfengine.el: Update docs to mention
11408 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11409 symbol motion. Remove "_" from the word syntax.
11411 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11413 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11414 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11416 2013-03-20 Juri Linkov <juri@jurta.org>
11418 * info.el (Info-next-reference-or-link)
11419 (Info-prev-reference-or-link): New functions.
11420 (Info-next-reference, Info-prev-reference): Use them.
11421 (Info-try-follow-nearest-node): Handle footnote navigation.
11422 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11424 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11426 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11427 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11429 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11431 Suppress unnecessary non-ASCII chatter during build process.
11432 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11433 (batch-skkdic-convert): Suppress most of the chatter.
11434 It's not needed so much now that machines are faster,
11435 and its non-ASCII component was confusing; see Dmitry Gutov in
11436 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11438 2013-03-20 Leo Liu <sdl.web@gmail.com>
11440 * ido.el (ido-chop): Fix bug#10994.
11442 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11444 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11446 (whitespace-color-on, whitespace-color-off):
11447 Use `font-lock-fontify-buffer' (Bug#13817).
11449 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11451 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11452 remapping in mode-line.
11453 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11455 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11457 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11458 value for `whitespace-line' face (Bug#13875).
11459 (whitespace-font-lock-keywords): Change description.
11460 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11461 the constructed keywords instead.
11462 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11464 2013-03-19 Leo Liu <sdl.web@gmail.com>
11466 * progmodes/compile.el (compilation-display-error): New command.
11467 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11470 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11472 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11474 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11476 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11478 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11480 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11482 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11483 * net/tramp-gvfs.el (top):
11484 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11485 (tramp-handle-shell-command): Use it.
11486 (tramp-dissect-file-name): Raise an error when hostname is a
11487 method name, and neither method nor user is specified.
11489 * net/trampver.el: Update release number.
11491 2013-03-18 Leo Liu <sdl.web@gmail.com>
11493 Make sure eldoc can be turned off properly.
11494 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11496 (eldoc-display-message-p): Revert last change.
11497 (eldoc-display-message-no-interference-p)
11498 (eldoc-print-current-symbol-info): Tweak.
11500 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11502 * doc-view.el (doc-view-new-window-function): Check the new window
11503 overlay's display property instead the char property of the
11504 buffer's first char. Use `with-selected-window' instead of
11505 `save-window-excursion' with `select-window'.
11506 (doc-view-document->bitmap): Check the current doc-view overlay's
11507 display property instead the char property of the buffer's first char.
11509 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11511 Automate the build of ja-dic.el (Bug#13984).
11512 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11513 from the input, rather than assume that it's been done for us by the
11514 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11515 the current date into a ja-dic.el comment, as that complicates
11516 regression testing.
11518 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11520 * whitespace.el: Fix double evaluation.
11521 (whitespace-space, whitespace-hspace, whitespace-tab)
11522 (whitespace-newline, whitespace-trailing, whitespace-line)
11523 (whitespace-space-before-tab, whitespace-indentation)
11524 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11526 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11527 (whitespace-color-on): Use a single font-lock-add-keywords call.
11528 Fix double-evaluation of face variables.
11530 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11532 * net/tramp-adb.el (tramp-adb-parse-device-names):
11533 Use `start-process' instead of `call-process'. Otherwise, the
11534 function might be blocked under MS Windows. (Bug#13299)
11536 2013-03-17 Leo Liu <sdl.web@gmail.com>
11538 Extend eldoc to display info in the mode-line. (Bug#13978)
11539 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11540 (eldoc-mode-line-string): New variable.
11541 (eldoc-minibuffer-message): New function.
11542 (eldoc-message-function): New variable.
11543 (eldoc-message): Use it.
11544 (eldoc-display-message-p)
11545 (eldoc-display-message-no-interference-p):
11546 Support eldoc-post-insert-mode.
11548 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11549 (eval-expression): Run it.
11551 2013-03-17 Roland Winkler <winkler@gnu.org>
11553 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11554 strings in the list of return values.
11556 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11558 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11559 radix before checking for HMS forms.
11561 2013-03-16 Leo Liu <sdl.web@gmail.com>
11563 * progmodes/scheme.el: Add indentation and font-locking for λ.
11566 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11568 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11569 token before point (bug#13942).
11571 2013-03-16 Leo Liu <sdl.web@gmail.com>
11573 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11575 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11577 * startup.el (command-line-normalize-file-name): Fix handling of
11578 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11579 <xfq.free@gmail.com> in
11580 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11582 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11584 Sync with Tramp 2.2.7.
11586 * net/trampver.el: Update release number.
11588 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11590 * doc-view.el: Fix bug#13887.
11591 (doc-view-insert-image): Don't modify overlay associated to
11592 non-live windows, and implement horizontal centering of image in
11593 case it's smaller than the window.
11594 (doc-view-new-window-function): Force redisplay of new windows on
11597 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11599 * saveplace.el (save-place-alist-to-file): Don't sort
11600 `save-place-alist', just pretty-print it (bug#13882).
11602 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11604 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11605 Check whether `default-file-name-coding-system' is bound.
11606 It isn't in XEmacs.
11608 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11610 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11611 backquotes for `obsolete' (bug#13929).
11613 * international/mule.el (find-auto-coding): Include file name in
11614 obsolescence warning (bug#13922).
11616 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11618 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11619 for CFEngine 3-specific indentation.
11620 (cfengine3-indent-line): Use it. Fix up category regex.
11621 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11623 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11625 * type-break.el (type-break-file-name):
11626 * textmodes/remember.el (remember-data-file):
11627 * strokes.el (strokes-file):
11628 * shadowfile.el (shadow-initialize):
11629 * saveplace.el (save-place-file):
11630 * ps-bdf.el (bdf-cache-file):
11631 * progmodes/idlwave.el (idlwave-config-directory):
11632 * net/quickurl.el (quickurl-url-file):
11633 * international/kkc.el (kkc-init-file-name):
11634 * ido.el (ido-save-directory-list-file):
11635 * emulation/viper.el (viper-custom-file-name):
11636 * emulation/vip.el (vip-startup-file):
11637 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11638 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11640 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11642 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11643 * language/thai-word.el: Switch to UTF-8.
11645 See ChangeLog.16 for earlier changes.
11647 ;; Local Variables:
11651 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11653 This file is part of GNU Emacs.
11655 GNU Emacs is free software: you can redistribute it and/or modify
11656 it under the terms of the GNU General Public License as published by
11657 the Free Software Foundation, either version 3 of the License, or
11658 (at your option) any later version.
11660 GNU Emacs is distributed in the hope that it will be useful,
11661 but WITHOUT ANY WARRANTY; without even the implied warranty of
11662 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11663 GNU General Public License for more details.
11665 You should have received a copy of the GNU General Public License
11666 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.